Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 21:22:40 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 45251 for review
Message-ID:  <200401130522.i0D5Me3t004980@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45251

Change 45251 by rwatson@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



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