Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jun 2005 13:42:20 GMT
From:      Wayne Salamon <wsalamon@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 78717 for review
Message-ID:  <200506191342.j5JDgKQc038661@repoman.freebsd.org>

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

Change 78717 by wsalamon@rickenbacker on 2005/06/19 13:41:49

	Define the needed trigger-related constants.

Affected files ...

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

Differences ...

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

@@ -32,11 +32,18 @@
 /*
  * Triggers for the audit daemon
  */
+#define AUDIT_TRIGGER_MIN		1
 #define AUDIT_TRIGGER_LOW_SPACE		1
 #define AUDIT_TRIGGER_OPEN_NEW		2
 #define AUDIT_TRIGGER_READ_FILE		3
 #define AUDIT_TRIGGER_CLOSE_AND_DIE	4
 #define AUDIT_TRIGGER_NO_SPACE		5
+#define AUDIT_TRIGGER_MAX		5
+
+/*
+ * File that will be read for trigger events from the kernel
+ */
+#define AUDIT_TRIGGER_FILE	"/dev/audit"
 
 /*
  * Pre-defined audit IDs
@@ -122,6 +129,7 @@
 #define A_GETPINFO_ADDR	28
 #define A_GETKAUDIT	29
 #define A_SETKAUDIT	30
+#define A_SENDTRIGGER	31
 
 /*
  * Audit policy controls.



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