PERFORCE change 90931 for review

Robert Watson rwatson at FreeBSD.org
Thu Feb 2 20:43:14 GMT 2006


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

Change 90931 by rwatson at rwatson_peppercorn on 2006/02/02 20:42:25

	For a number of system calls, use the appropriate audit event
	identifier.  Fix comment.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/syscalls.master#6 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/alpha/linux/syscalls.master#6 (text+ko) ====

@@ -4,7 +4,7 @@
 ; System call name/number master file (or rather, slave, from LINUX).
 ; Processed to created linux_sysent.c, linux_syscalls.c and linux_syscall.h.
 
-; Columns: number type nargs name alt{name,tag,rtyp}/comments
+; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
 ;	number	system call number, must be in order
 ;	audit	the audit event associated with the system call
 ;		A value of AUE_NULL means no auditing, but it also means that
@@ -49,13 +49,13 @@
 1	AUE_EXIT	MNOPROTO	{ void sys_exit(int rval); } exit \
 				    sys_exit_args void
 2	AUE_FORK	MSTD	{ int linux_fork(void); }
-3	AUE_NULL	MNOPROTO	{ int read(int fd, char *buf, \
+3	AUE_READ	MNOPROTO	{ int read(int fd, char *buf, \
 				    u_int nbyte); }
-4	AUE_NULL	MNOPROTO	{ int write(int fd, char *buf, \
+4	AUE_WRITE	MNOPROTO	{ int write(int fd, char *buf, \
 				    u_int nbyte); }
 5	AUE_NULL	UNIMPL
 6	AUE_CLOSE	MNOPROTO	{ int close(int fd); }
-7	AUE_O_WAIT	MSTD	{ int osf1_wait4(int pid, int *status, \
+7	AUE_WAIT4	MSTD	{ int osf1_wait4(int pid, int *status, \
 				    int options, \
 				    struct osf1_rusage *rusage); }
 8	AUE_NULL	UNIMPL
@@ -142,7 +142,7 @@
 				    l_size_t len, l_ulong prot); }
 75	AUE_MADVISE	MNOPROTO	{ int madvise(void *addr, \
 				    size_t len, int behav); }
-76	AUE_NULL	MSTD	{ int linux_vhangup(void); }
+76	AUE_O_VHANGUP	MSTD	{ int linux_vhangup(void); }
 77	AUE_NULL	UNIMPL
 78	AUE_NULL	UNIMPL
 79	AUE_SETGROUPS	MSTD	{ int linux_setgroups(l_int gidsetsize, \
@@ -446,7 +446,7 @@
 311	AUE_REBOOT	MSTD	{ int linux_reboot(l_int magic1, \
 				    l_int magic2, l_uint cmd, void *arg); }
 312	AUE_RFORK	MSTD	{ int linux_clone(l_int flags, void *stack); }
-313	AUE_NULL	STD	{ int linux_uselib(char *library); }	
+313	AUE_USELIB	STD	{ int linux_uselib(char *library); }	
 314	AUE_MLOCK	MNOPROTO	{ int mlock(const void *addr, \
 				    size_t len); }
 315	AUE_MUNLOCK	MNOPROTO	{ int munlock(const void *addr, \
@@ -537,7 +537,7 @@
 				    struct l_timeval *times); }
 364	AUE_GETRUSAGE	MNOPROTO	{ int getrusage(int who, \
 				    struct rusage *rusage); }
-365	AUE_O_WAIT	MSTD	{ int linux_wait4(l_pid_t pid, \
+365	AUE_WAIT4	MSTD	{ int linux_wait4(l_pid_t pid, \
 				    l_uint *status, l_int options, \
 				    struct l_rusage *rusage); }		
 366	AUE_ADJTIME	MSTD	{ int linux_adjtimex(void); }
@@ -545,7 +545,7 @@
 				    l_ulong bufsize); }
 368	AUE_NULL	MSTD	{ int linux_capget(void); }
 369	AUE_NULL	MSTD	{ int linux_capset(void); }
-370	AUE_NULL	MSTD	{ int linux_sendfile(void); }
+370	AUE_SENDFILE	MSTD	{ int linux_sendfile(void); }
 371	AUE_SETRESGID	MNOPROTO	{ int setresgid(gid_t rgid, \
 				    gid_t egid, gid_t sgid); }
 372	AUE_GETRESGID	MNOPROTO	{ int getresgid(gid_t *rgid, \
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list