PERFORCE change 156532 for review

Stacey Son sson at FreeBSD.org
Thu Jan 22 09:16:05 PST 2009


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

Change 156532 by sson at sson_amd64 on 2009/01/22 17:15:06

	Add pread()/pwrite() to audit events.
	Remove duplicate *_extended() kernel events.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/etc/audit_event#36 edit
.. //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#5 edit

Differences ...

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

@@ -1,5 +1,5 @@
 #
-# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_event#35 $
+# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_event#36 $
 #
 # The mapping between event identifiers and values is also hard-coded in
 # audit_kevents.h and audit_uevents.h, so changes must occur in both places,
@@ -551,6 +551,8 @@
 43189:AUE_CAP_GETMODE:cap_getmode(2):pc
 43190:AUE_POSIX_SPAWN:posix_spawn(2):pc
 43191:AUE_FSGETPATH:fsgetpath(2):ot
+43192:AUE_PREAD:pread(2):no
+43193:AUE_PWRITE:pwrite(2):no
 #
 # Solaris userspace events.
 #

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

@@ -26,7 +26,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#4 $
+ * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#5 $
  */
 
 #ifndef _BSM_AUDIT_KEVENTS_H_
@@ -586,6 +586,8 @@
 #define	AUE_CAP_GETMODE		43189	/* TrustedBSD. */
 #define	AUE_POSIX_SPAWN		43190	/* Darwin. */
 #define	AUE_FSGETPATH		43191	/* Darwin. */
+#define	AUE_PREAD		43192	/* Darwin/FreeBSD. */
+#define	AUE_PWRITE		43193	/* Darwin/FreeBSD. */
 
 /*
  * Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the
@@ -657,7 +659,6 @@
 /*
  * Possible desired future values based on review of BSD/Darwin system calls.
  */
-#define	AUE_ACCESSEXTENDED	AUE_NULL
 #define	AUE_ATGETMSG		AUE_NULL
 #define	AUE_ATPUTMSG		AUE_NULL
 #define	AUE_ATSOCKET		AUE_NULL
@@ -668,11 +669,9 @@
 #define	AUE_BSDTHREADCREATE	AUE_NULL
 #define	AUE_BSDTHREADTERMINATE	AUE_NULL
 #define	AUE_BSDTHREADREGISTER	AUE_NULL
-#define	AUE_CHMODEXTENDED	AUE_NULL
 #define	AUE_CHUD		AUE_NULL
 #define	AUE_CSOPS		AUE_NULL
 #define	AUE_DUP			AUE_NULL
-#define	AUE_FCHMODEXTENDED	AUE_NULL
 #define	AUE_FDATASYNC		AUE_NULL
 #define	AUE_FFSCTL		AUE_NULL
 #define	AUE_FGETATTRLIST	AUE_NULL
@@ -682,11 +681,10 @@
 #define	AUE_FSCTL		AUE_NULL
 #define	AUE_FSETATTRLIST	AUE_NULL
 #define	AUE_FSETXATTR		AUE_NULL
-#define	AUE_FSTATEXTENDED	AUE_NULL
 #define	AUE_FSTATFS64		AUE_NULL
 #define	AUE_FSTATV		AUE_NULL
 #define	AUE_FSTAT64		AUE_NULL
-#define	AUE_FSTAT64EXTENDED	AUE_NULL
+#define	AUE_FSTAT64_EXTENDED	AUE_NULL
 #define	AUE_GCCONTROL		AUE_NULL
 #define	AUE_GETDIRENTRIES64	AUE_NULL
 #define	AUE_GETDTABLESIZE	AUE_NULL
@@ -720,21 +718,15 @@
 #define	AUE_ISSETUGID		AUE_NULL
 #define	AUE_LIOLISTIO		AUE_NULL
 #define	AUE_LISTXATTR		AUE_NULL
-#define	AUE_LSTATEXTENDED	AUE_NULL
 #define	AUE_LSTATV		AUE_NULL
 #define	AUE_LSTAT64		AUE_NULL
-#define	AUE_LSTAT64EXTENDED	AUE_NULL
+#define	AUE_LSTAT64_EXTENDED	AUE_NULL
 #define	AUE_MADVISE		AUE_NULL
 #define	AUE_MINCORE		AUE_NULL
 #define	AUE_MKCOMPLEX		AUE_NULL
-#define	AUE_MKDIREXTENDED	AUE_NULL
-#define	AUE_MKFIFOEXTENDED	AUE_NULL
 #define	AUE_MODWATCH		AUE_NULL
 #define	AUE_MSGCL		AUE_NULL
 #define	AUE_MSYNC		AUE_NULL
-#define	AUE_OPENEXTENDED	AUE_NULL
-#define	AUE_PREAD		AUE_NULL
-#define	AUE_PWRITE		AUE_NULL
 #define	AUE_PREADV		AUE_NULL
 #define	AUE_PROCINFO		AUE_NULL
 #define	AUE_PTHREADCANCELED	AUE_NULL
@@ -778,15 +770,13 @@
 #define	AUE_SIGWAIT		AUE_NULL
 #define	AUE_SSTK		AUE_NULL
 #define	AUE_STACKSNAPSHOT	AUE_NULL
-#define	AUE_STATEXTENDED	AUE_NULL
 #define	AUE_STATFS64		AUE_NULL
 #define	AUE_STATV		AUE_NULL
 #define	AUE_STAT64		AUE_NULL
-#define	AUE_STAT64EXTENDED	AUE_NULL
+#define	AUE_STAT64_EXTENDED	AUE_NULL
 #define	AUE_SYNC		AUE_NULL
 #define	AUE_SYSCALL		AUE_NULL
 #define	AUE_TABLE		AUE_NULL
-#define	AUE_UMASKEXTENDED	AUE_NULL
 #define	AUE_VMPRESSUREMONITOR	AUE_NULL
 #define	AUE_WAITEVENT		AUE_NULL
 #define	AUE_WAITID		AUE_NULL


More information about the p4-projects mailing list