PERFORCE change 106295 for review

Robert Watson rwatson at FreeBSD.org
Mon Sep 18 08:13:24 PDT 2006


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

Change 106295 by rwatson at rwatson_zoo on 2006/09/18 15:02:27

	Provide AUDITDEV_FILENAME definition, and redefine
	AUDIT_TRIGGER_FILE in terms of the device filename.  This reduces
	FreeBSD-specific diffs against audit.h.

Affected files ...

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

Differences ...

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

@@ -30,7 +30,7 @@
  *
  * @APPLE_BSD_LICENSE_HEADER_END@
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#20 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#21 $
  */
 
 #ifndef _BSM_AUDIT_H
@@ -55,10 +55,10 @@
 #define	AUDIT_TRIGGER_MAX		6
 
 /*
- * Special file that will be read for trigger events from the kernel
- * (FreeBSD).
+ * The special device filename (FreeBSD).
  */
-#define	AUDIT_TRIGGER_FILE	"/dev/audit"
+#define	AUDITDEV_FILENAME	"audit"
+#define	AUDIT_TRIGGER_FILE	("/dev/" AUDITDEV_FILENAME)
 
 /*
  * Pre-defined audit IDs


More information about the trustedbsd-cvs mailing list