Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 12:36:55 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 75799 for review
Message-ID:  <200504231236.j3NCatTx066204@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=75799

Change 75799 by rwatson@rwatson_paprika on 2005/04/23 12:36:14

	FreeBSD and Darwin variants on _KERNEL.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/audit.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/audit.h#3 (text+ko) ====

@@ -284,7 +284,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);
@@ -295,7 +295,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
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504231236.j3NCatTx066204>