Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2006 13:47:02 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92721 for review
Message-ID:  <200603041347.k24Dl2iq045540@repoman.freebsd.org>

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

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



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