PERFORCE change 75736 for review
Robert Watson
rwatson at FreeBSD.org
Fri Apr 22 19:19:37 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=75736
Change 75736 by rwatson at rwatson_paprika on 2005/04/22 19:19:30
#ifdef DARWIN (is that the right ifdef?) Apple-specific notification
APIs, mach port include.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#2 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/libbsm/libbsm.h#2 (text+ko) ====
@@ -45,7 +45,9 @@
#include <bsm/audit.h>
#include <bsm/audit_record.h>
+#ifdef DARWIN
#include <mach/mach.h> /* audit_token_t */
+#endif
#define AU_PRS_SUCCESS 1
#define AU_PRS_FAILURE 2
@@ -838,6 +840,7 @@
void au_print_tok(FILE *outfp, tokenstr_t *tok, char *del, char raw, char sfrm);
__END_DECLS
+#ifdef DARWIN
/*
* Apple-internal "wrapping" and utility definitions and prototypes.
*/
@@ -906,6 +909,8 @@
int au_get_state(void);
__END_DECLS
+#endif /* !DARWIN */
+
/* OpenSSH compatibility */
#define cannot_audit(x) (au_get_state() == AUC_NOAUDIT)
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list