Date: Fri, 22 Apr 2005 19:19:37 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 75736 for review Message-ID: <200504221919.j3MJJbJk089762@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=75736 Change 75736 by rwatson@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504221919.j3MJJbJk089762>