Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2006 15:03:03 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 106295 for review
Message-ID:  <200609181503.k8IF33nX007359@repoman.freebsd.org>

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

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



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