PERFORCE change 45251 for review

Robert Watson rwatson at FreeBSD.org
Tue Jan 13 05:22:40 GMT 2004


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

Change 45251 by rwatson at rwatson_paprika on 2004/01/12 21:22:10

	Include audit-private header file.
	
	Use _KERNEL instead of KERNEL.

Affected files ...

.. //depot/projects/trustedbsd/audit2/sys/security/audit/bsm_token.c#6 edit

Differences ...

==== //depot/projects/trustedbsd/audit2/sys/security/audit/bsm_token.c#6 (text+ko) ====

@@ -38,6 +38,7 @@
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 
+#include <security/audit/audit_private.h>
 #include <security/audit/kern_audit.h>
 
 #define GET_TOKEN_AREA(tok, dptr, length)				\
@@ -490,7 +491,7 @@
 	return t;
 }
 
-#ifdef KERNEL
+#ifdef _KERNEL
 /*
  * Kernel version of the add file token function, where the time value 
  * is passed in as an additional parameter.
@@ -1246,7 +1247,7 @@
 }
 
 
-#ifdef KERNEL
+#ifdef _KERNEL
 /*
  * Kernel version of the BSM header token functions. These versions take 
  * a timespec struct as an additional parameter in order to obtain the
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