PERFORCE change 92721 for review

Robert Watson rwatson at FreeBSD.org
Sat Mar 4 05:47:18 PST 2006


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

Change 92721 by rwatson at rwatson_zoo on 2006/03/04 13:46:13

	Forward declare struct au_record so that having it as a function
	argument for functions declared in audit_private.h does not
	require all consumers of the include file to include
	bsm/audit_internal.h.
	
	Remove nested include of audit.h, since all consumers include it
	already.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_private.h#18 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_private.h#18 (text+ko) ====

@@ -240,6 +240,7 @@
  * Functions relating to the conversion of internal kernel audit records to
  * the BSM file format.
  */
+struct au_record;
 int			 kaudit_to_bsm(struct kaudit_record *kar,
 			    struct au_record **pau);
 int			 bsm_rec_verify(void *rec);
@@ -266,7 +267,6 @@
 #include <sys/fcntl.h>
 #include <sys/kernel.h>
 #include <sys/malloc.h>
-#include <security/audit/audit.h>
 
 /*
  * Some of the BSM tokenizer functions take different parameters in the


More information about the trustedbsd-cvs mailing list