PERFORCE change 104218 for review

Robert Watson rwatson at FreeBSD.org
Wed Aug 16 13:14:27 UTC 2006


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

Change 104218 by rwatson at rwatson_zoo on 2006/08/16 13:13:52

	Clean up audit.h some more: expand/fix comments, remove old world
	order flags.

Affected files ...

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

Differences ...

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

@@ -30,7 +30,7 @@
  *
  * @APPLE_BSD_LICENSE_HEADER_END@
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#18 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#19 $
  */
 
 #ifndef _BSM_AUDIT_H
@@ -43,7 +43,7 @@
 #define	MIN_AUDIT_FILE_SIZE	(512 * 1024)
 
 /*
- * Triggers for the audit daemon
+ * Triggers for the audit daemon.
  */
 #define	AUDIT_TRIGGER_MIN		1
 #define	AUDIT_TRIGGER_LOW_SPACE		1
@@ -54,7 +54,8 @@
 #define	AUDIT_TRIGGER_MAX		5
 
 /*
- * File that will be read for trigger events from the kernel
+ * Special file that will be read for trigger events from the kernel
+ * (FreeBSD).
  */
 #define	AUDIT_TRIGGER_FILE	"/dev/audit"
 
@@ -102,7 +103,7 @@
 #define	AU_ALL		0xffffffff
 
 /*
- * IPC types
+ * IPC types.
  */
 #define	AT_IPC_MSG	((u_char)1)	/* Message IPC id. */
 #define	AT_IPC_SEM	((u_char)2)	/* Semaphore IPC id. */
@@ -147,23 +148,10 @@
 /*
  * Audit policy controls.
  */
-#ifdef OLD_WORLD_ORDER
 #define	AUDIT_CNT	0x0001
 #define	AUDIT_AHLT	0x0002
 #define	AUDIT_ARGV	0x0004
 #define	AUDIT_ARGE	0x0008
-#define	AUDIT_PASSWD	0x0010
-#define	AUDIT_SEQ	0x0020
-#define	AUDIT_WINDATA	0x0040
-#define	AUDIT_USER	0x0080
-#define	AUDIT_GROUP	0x0100
-#define	AUDIT_TRAIL	0x0200
-#define	AUDIT_PATH	0x0400
-#else	/* !OLD_WORLD_ORDER */
-#define	AUDIT_CNT	0x0001
-#define	AUDIT_AHLT	0x0002
-#define	AUDIT_ARGV	0x0004
-#define	AUDIT_ARGE	0x0008
 #define	AUDIT_SEQ	0x0010
 #define	AUDIT_WINDATA	0x0020
 #define	AUDIT_USER	0x0040
@@ -174,10 +162,9 @@
 #define	AUDIT_PUBLIC	0x0800
 #define	AUDIT_ZONENAME	0x1000
 #define	AUDIT_PERZONE	0x2000
-#endif	/* !OLD_WORLD_ORDER */
 
 /*
- * Audit queue control parameters
+ * Audit queue control parameters.
  */
 #define	AQ_HIWATER	100
 #define	AQ_MAXHIGH	10000


More information about the p4-projects mailing list