PERFORCE change 107221 for review

Robert Watson rwatson at FreeBSD.org
Tue Oct 3 14:39:07 PDT 2006


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

Change 107221 by rwatson at rwatson_peppercorn on 2006/10/03 21:35:23

	Define event numbers for some more interesting events.  Listen
	because it's interesting, and mlockall/munlockall because they
	require privilege.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/audit_kevents.h#46 edit
.. //depot/projects/trustedbsd/openbsm/etc/audit_event#19 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/audit_kevents.h#46 (text+ko) ====

@@ -30,7 +30,7 @@
  *
  * @APPLE_BSD_LICENSE_HEADER_END@
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit_kevents.h#45 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit_kevents.h#46 $
  */
 
 #ifndef _BSM_AUDIT_KEVENTS_H_
@@ -493,6 +493,9 @@
 #define	AUE_KMQ_TIMEDSEND	43137	/* FreeBSD. */
 #define	AUE_KMQ_NOTIFY		43138	/* FreeBSD. */
 #define	AUE_KMQ_UNLINK		43139	/* FreeBSD. */
+#define	AUE_LISTEN		43140	/* FreeBSD/Darwin/Linux. */
+#define	AUE_MLOCKALL		43141	/* FreeBSD. */
+#define	AUE_MUNLOCKALL		43142	/* FreeBSD. */
 
 /*
  * Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the
@@ -590,16 +593,13 @@
 #define	AUE_GETSOCKOPT		AUE_NULL
 #define	AUE_GTSOCKOPT		AUE_GETSOCKOPT	/* XXX: Typo in Darwin. */
 #define	AUE_ISSETUGID		AUE_NULL
-#define	AUE_LISTEN		AUE_NULL
 #define	AUE_LSTATV		AUE_NULL
 #define	AUE_MADVISE		AUE_NULL
 #define	AUE_MINCORE		AUE_NULL
 #define	AUE_MKCOMPLEX		AUE_NULL
-#define	AUE_MLOCKALL		AUE_NULL
 #define	AUE_MODWATCH		AUE_NULL
 #define	AUE_MSGCL		AUE_NULL
 #define	AUE_MSYNC		AUE_NULL
-#define	AUE_MUNLOCKALL		AUE_NULL
 #define	AUE_PREAD		AUE_NULL
 #define	AUE_PWRITE		AUE_NULL
 #define	AUE_PREADV		AUE_NULL

==== //depot/projects/trustedbsd/openbsm/etc/audit_event#19 (text+ko) ====

@@ -1,5 +1,5 @@
 #
-# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_event#18 $
+# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_event#19 $
 #
 0:AUE_NULL:indir system call:no
 1:AUE_EXIT:exit(2):pc
@@ -441,6 +441,9 @@
 43137:AUE_KMQ_TIMEDSEND:mq_timedsend(2):ip
 43138:AUE_KMQ_NOTIFY:mq_notify(2):ip
 43139:AUE_KMQ_UNLINK:mq_unlink(2):ip
+43140:AUE_LISTEN:listen(2):nt
+43141:AUE_MLOCKALL:mlockall(2):pc
+43142:AUE_MUNLOCKALL:munlockall(2):pc
 #
 # User space system events.
 #


More information about the trustedbsd-cvs mailing list