Date: Tue, 31 Jan 2006 21:02:04 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 90830 for review Message-ID: <200601312102.k0VL24It078902@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90830 Change 90830 by rwatson@rwatson_peppercorn on 2006/01/31 21:01:03 Sync to OpenBSM. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/bsm/audit.h#22 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/bsm/audit.h#22 (text+ko) ==== @@ -30,7 +30,7 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/audit3/sys/bsm/audit.h#21 $ + * $P4: //depot/projects/trustedbsd/audit3/sys/bsm/audit.h#22 $ */ #ifndef _BSM_AUDIT_H @@ -327,8 +327,7 @@ }; typedef struct au_evclass_map au_evclass_map_t; -#ifndef _KERNEL - +#if !defined(_KERNEL) && !defined(KERNEL) int audit(const void *, int); int auditon(int, void *, int); int auditctl(const char *); @@ -338,8 +337,7 @@ int setaudit(const struct auditinfo *); int getaudit_addr(struct auditinfo_addr *, int); int setaudit_addr(const struct auditinfo_addr *, int); - -#endif /* !_KERNEL */ +#endif /* defined(_KERNEL) || defined(KERNEL) */ __END_DECLS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601312102.k0VL24It078902>