PERFORCE change 91013 for review

Robert Watson rwatson at FreeBSD.org
Sat Feb 4 00:48:21 GMT 2006


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

Change 91013 by rwatson at rwatson_peppercorn on 2006/02/04 00:47:21

	Correct a spelling error in the freebsd32 audit event list,
	regenerate.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_proto.h#9 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_syscall.h#9 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_syscalls.c#9 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_sysent.c#10 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/syscalls.master#11 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_proto.h#9 (text+ko) ====


==== //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_syscall.h#9 (text+ko) ====


==== //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_syscalls.c#9 (text+ko) ====


==== //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_sysent.c#10 (text+ko) ====

@@ -35,11 +35,11 @@
 	{ SYF_MPSAFE | 0, (sy_call_t *)nosys, AUE_NULL },	/* 0 = syscall */
 	{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT },	/* 1 = exit */
 	{ SYF_MPSAFE | 0, (sy_call_t *)fork, AUE_FORK },	/* 2 = fork */
-	{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read, AUE_NULL },	/* 3 = read */
-	{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write, AUE_NULL },	/* 4 = write */
+	{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read, AUE_READ },	/* 3 = read */
+	{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write, AUE_WRITE },	/* 4 = write */
 	{ SYF_MPSAFE | AS(open_args), (sy_call_t *)open, AUE_OPEN_RWTC },	/* 5 = open */
 	{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_CLOSE },	/* 6 = close */
-	{ SYF_MPSAFE | AS(freebsd32_wait4_args), (sy_call_t *)freebsd32_wait4, AUE_NULL },	/* 7 = freebsd32_wait4 */
+	{ SYF_MPSAFE | AS(freebsd32_wait4_args), (sy_call_t *)freebsd32_wait4, AUE_WAIT4 },	/* 7 = freebsd32_wait4 */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 8 = obsolete old creat */
 	{ SYF_MPSAFE | AS(link_args), (sy_call_t *)link, AUE_LINK },	/* 9 = link */
 	{ SYF_MPSAFE | AS(unlink_args), (sy_call_t *)unlink, AUE_UNLINK },	/* 10 = unlink */
@@ -56,8 +56,8 @@
 	{ AS(mount_args), (sy_call_t *)mount, AUE_MOUNT },	/* 21 = mount */
 	{ AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT },	/* 22 = unmount */
 	{ SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID },	/* 23 = setuid */
-	{ SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_NULL },	/* 24 = getuid */
-	{ SYF_MPSAFE | 0, (sy_call_t *)geteuid, AUE_NULL },	/* 25 = geteuid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_GETUID },	/* 24 = getuid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)geteuid, AUE_GETEUID },	/* 25 = geteuid */
 	{ SYF_MPSAFE | AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE },	/* 26 = ptrace */
 	{ SYF_MPSAFE | AS(freebsd32_recvmsg_args), (sy_call_t *)freebsd32_recvmsg, AUE_RECVMSG },	/* 27 = freebsd32_recvmsg */
 	{ SYF_MPSAFE | AS(freebsd32_sendmsg_args), (sy_call_t *)freebsd32_sendmsg, AUE_SENDMSG },	/* 28 = freebsd32_sendmsg */
@@ -132,7 +132,7 @@
 	{ SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket, AUE_SOCKET },	/* 97 = socket */
 	{ SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect, AUE_CONNECT },	/* 98 = connect */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 99 = obsolete oaccept */
-	{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORIT },	/* 100 = getpriority */
+	{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORITY },	/* 100 = getpriority */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 101 = obsolete osend */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 102 = obsolete orecv */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 103 = obsolete osigreturn */
@@ -150,7 +150,7 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 115 = obsolete vtrace */
 	{ SYF_MPSAFE | AS(freebsd32_gettimeofday_args), (sy_call_t *)freebsd32_gettimeofday, AUE_GETTIMEOFDAY },	/* 116 = freebsd32_gettimeofday */
 	{ SYF_MPSAFE | AS(freebsd32_getrusage_args), (sy_call_t *)freebsd32_getrusage, AUE_GETRUSAGE },	/* 117 = freebsd32_getrusage */
-	{ SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GTSOCKOPT },	/* 118 = getsockopt */
+	{ SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GETSOCKOPT },	/* 118 = getsockopt */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 119 = resuba */
 	{ SYF_MPSAFE | AS(freebsd32_readv_args), (sy_call_t *)freebsd32_readv, AUE_READV },	/* 120 = freebsd32_readv */
 	{ SYF_MPSAFE | AS(freebsd32_writev_args), (sy_call_t *)freebsd32_writev, AUE_WRITEV },	/* 121 = freebsd32_writev */
@@ -158,8 +158,8 @@
 	{ SYF_MPSAFE | AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN },	/* 123 = fchown */
 	{ SYF_MPSAFE | AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD },	/* 124 = fchmod */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 125 = obsolete orecvfrom */
-	{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_O_SETREUID },	/* 126 = setreuid */
-	{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_O_SETREGID },	/* 127 = setregid */
+	{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_SETREUID },	/* 126 = setreuid */
+	{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_SETREGID },	/* 127 = setregid */
 	{ SYF_MPSAFE | AS(rename_args), (sy_call_t *)rename, AUE_RENAME },	/* 128 = rename */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 129 = obsolete otruncate */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 130 = obsolete ftruncate */
@@ -265,7 +265,7 @@
 	{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt, AUE_SHMDT },	/* 230 = shmdt */
 	{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)shmget, AUE_SHMGET },	/* 231 = shmget */
 	{ SYF_MPSAFE | AS(freebsd32_clock_gettime_args), (sy_call_t *)freebsd32_clock_gettime, AUE_NULL },	/* 232 = freebsd32_clock_gettime */
-	{ SYF_MPSAFE | AS(freebsd32_clock_settime_args), (sy_call_t *)freebsd32_clock_settime, AUE_NULL },	/* 233 = freebsd32_clock_settime */
+	{ SYF_MPSAFE | AS(freebsd32_clock_settime_args), (sy_call_t *)freebsd32_clock_settime, AUE_CLOCK_SETTIME },	/* 233 = freebsd32_clock_settime */
 	{ SYF_MPSAFE | AS(freebsd32_clock_getres_args), (sy_call_t *)freebsd32_clock_getres, AUE_NULL },	/* 234 = freebsd32_clock_getres */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 235 = timer_create */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 236 = timer_delete */
@@ -284,7 +284,7 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 249 = nosys */
 	{ SYF_MPSAFE | AS(minherit_args), (sy_call_t *)minherit, AUE_MINHERIT },	/* 250 = minherit */
 	{ SYF_MPSAFE | AS(rfork_args), (sy_call_t *)rfork, AUE_RFORK },	/* 251 = rfork */
-	{ SYF_MPSAFE | AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_NULL },	/* 252 = openbsd_poll */
+	{ SYF_MPSAFE | AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_POLL },	/* 252 = openbsd_poll */
 	{ SYF_MPSAFE | 0, (sy_call_t *)issetugid, AUE_ISSETUGID },	/* 253 = issetugid */
 	{ SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN },	/* 254 = lchown */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 255 = nosys */
@@ -310,9 +310,9 @@
 	{ SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN },	/* 275 = netbsd_lchown */
 	{ SYF_MPSAFE | AS(freebsd32_lutimes_args), (sy_call_t *)freebsd32_lutimes, AUE_LUTIMES },	/* 276 = freebsd32_lutimes */
 	{ SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_MSYNC },	/* 277 = netbsd_msync */
-	{ SYF_MPSAFE | AS(nstat_args), (sy_call_t *)nstat, AUE_NULL },	/* 278 = nstat */
-	{ SYF_MPSAFE | AS(nfstat_args), (sy_call_t *)nfstat, AUE_NULL },	/* 279 = nfstat */
-	{ SYF_MPSAFE | AS(nlstat_args), (sy_call_t *)nlstat, AUE_NULL },	/* 280 = nlstat */
+	{ SYF_MPSAFE | AS(nstat_args), (sy_call_t *)nstat, AUE_STAT },	/* 278 = nstat */
+	{ SYF_MPSAFE | AS(nfstat_args), (sy_call_t *)nfstat, AUE_FSTAT },	/* 279 = nfstat */
+	{ SYF_MPSAFE | AS(nlstat_args), (sy_call_t *)nlstat, AUE_LSTAT },	/* 280 = nlstat */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 281 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 282 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 283 = nosys */
@@ -321,17 +321,17 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 286 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 287 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 288 = nosys */
-	{ SYF_MPSAFE | AS(freebsd32_preadv_args), (sy_call_t *)freebsd32_preadv, AUE_NULL },	/* 289 = freebsd32_preadv */
-	{ SYF_MPSAFE | AS(freebsd32_pwritev_args), (sy_call_t *)freebsd32_pwritev, AUE_NULL },	/* 290 = freebsd32_pwritev */
+	{ SYF_MPSAFE | AS(freebsd32_preadv_args), (sy_call_t *)freebsd32_preadv, AUE_PREADV },	/* 289 = freebsd32_preadv */
+	{ SYF_MPSAFE | AS(freebsd32_pwritev_args), (sy_call_t *)freebsd32_pwritev, AUE_PWRITEV },	/* 290 = freebsd32_pwritev */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 291 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 292 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 293 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 294 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 295 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 296 = nosys */
-	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_NULL },	/* 297 = old freebsd32_fhstatfs */
-	{ SYF_MPSAFE | AS(fhopen_args), (sy_call_t *)fhopen, AUE_NULL },	/* 298 = fhopen */
-	{ SYF_MPSAFE | AS(fhstat_args), (sy_call_t *)fhstat, AUE_NULL },	/* 299 = fhstat */
+	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_FHSTATFS },	/* 297 = old freebsd32_fhstatfs */
+	{ SYF_MPSAFE | AS(fhopen_args), (sy_call_t *)fhopen, AUE_FHOPEN },	/* 298 = fhopen */
+	{ SYF_MPSAFE | AS(fhstat_args), (sy_call_t *)fhstat, AUE_FHSTAT },	/* 299 = fhstat */
 	{ SYF_MPSAFE | AS(modnext_args), (sy_call_t *)modnext, AUE_NULL },	/* 300 = modnext */
 	{ SYF_MPSAFE | AS(freebsd32_modstat_args), (sy_call_t *)freebsd32_modstat, AUE_NULL },	/* 301 = freebsd32_modstat */
 	{ SYF_MPSAFE | AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL },	/* 302 = modfnext */
@@ -343,8 +343,8 @@
 	{ SYF_MPSAFE | AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL },	/* 308 = kldstat */
 	{ SYF_MPSAFE | AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL },	/* 309 = kldfirstmod */
 	{ SYF_MPSAFE | AS(getsid_args), (sy_call_t *)getsid, AUE_GETSID },	/* 310 = getsid */
-	{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_NULL },	/* 311 = setresuid */
-	{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_NULL },	/* 312 = setresgid */
+	{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_SETRESUID },	/* 311 = setresuid */
+	{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_SETRESGID },	/* 312 = setresgid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 313 = obsolete signanosleep */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 314 = aio_return */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 315 = aio_suspend */
@@ -368,7 +368,7 @@
 	{ SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL },	/* 333 = sched_get_priority_min */
 	{ SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL },	/* 334 = sched_rr_get_interval */
 	{ SYF_MPSAFE | AS(utrace_args), (sy_call_t *)utrace, AUE_NULL },	/* 335 = utrace */
-	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_sendfile_args),freebsd32_sendfile), AUE_NULL },	/* 336 = old freebsd32_sendfile */
+	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_sendfile_args),freebsd32_sendfile), AUE_SENDFILE },	/* 336 = old freebsd32_sendfile */
 	{ SYF_MPSAFE | AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL },	/* 337 = kldsym */
 	{ SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail, AUE_NULL },	/* 338 = jail */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 339 = pioctl */
@@ -379,7 +379,7 @@
 	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_sigreturn_args),freebsd32_sigreturn), AUE_SIGRETURN },	/* 344 = old freebsd32_sigreturn */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 345 = sigtimedwait */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 346 = sigwaitinfo */
-	{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL },	/* 347 = __acl_get_file */
+	{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_JAIL },	/* 347 = __acl_get_file */
 	{ SYF_MPSAFE | AS(__acl_set_file_args), (sy_call_t *)__acl_set_file, AUE_NULL },	/* 348 = __acl_set_file */
 	{ SYF_MPSAFE | AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd, AUE_NULL },	/* 349 = __acl_get_fd */
 	{ SYF_MPSAFE | AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd, AUE_NULL },	/* 350 = __acl_set_fd */

==== //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/syscalls.master#11 (text+ko) ====

@@ -5,7 +5,7 @@
 ; System call name/number master file.
 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
 
-; Columns: number [M]type nargs name alt{name,tag,rtyp}/comments
+; Columns: number audit [M]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
@@ -54,16 +54,16 @@
 1	AUE_EXIT	MNOPROTO { void sys_exit(int rval); } exit \
 				    sys_exit_args void
 2	AUE_FORK	MNOPROTO { int fork(void); }
-3	AUE_NULL	MNOPROTO { ssize_t read(int fd, void *buf, \
+3	AUE_READ	MNOPROTO { ssize_t read(int fd, void *buf, \
 				    size_t nbyte); }
-4	AUE_NULL	MNOPROTO { ssize_t write(int fd, const void *buf, \
+4	AUE_WRITE	MNOPROTO { ssize_t write(int fd, const void *buf, \
 				    size_t nbyte); }
 5	AUE_OPEN_RWTC	MNOPROTO { int open(char *path, int flags, \
 				    int mode); }
 6	AUE_CLOSE	MNOPROTO { int close(int fd); }
-7	AUE_NULL	MSTD	{ int freebsd32_wait4(int pid, int *status, \
+7	AUE_WAIT4	MSTD	{ int freebsd32_wait4(int pid, int *status, \
 				    int options, struct rusage32 *rusage); }
-8	AUE_O_CREAT	OBSOL	old creat
+8	AUE_CREAT	OBSOL	old creat
 9	AUE_LINK	MNOPROTO { int link(char *path, char *link); }
 10	AUE_UNLINK	MNOPROTO { int unlink(char *path); }
 11	AUE_NULL	OBSOL	execv
@@ -83,8 +83,8 @@
 				    int flags, caddr_t data); }
 22	AUE_UMOUNT	NOPROTO { int unmount(char *path, int flags); }
 23	AUE_SETUID	MNOPROTO { int setuid(uid_t uid); }
-24	AUE_NULL	MNOPROTO { uid_t getuid(void); }
-25	AUE_NULL	MNOPROTO { uid_t geteuid(void); }
+24	AUE_GETUID	MNOPROTO { uid_t getuid(void); }
+25	AUE_GETEUID	MNOPROTO { uid_t geteuid(void); }
 26	AUE_PTRACE	MNOPROTO { int ptrace(int req, pid_t pid, \
 				    caddr_t addr, int data); }
 ; XXX implement
@@ -174,7 +174,7 @@
 83	AUE_SETITIMER	MSTD	{ int freebsd32_setitimer(u_int which, \
 				    struct itimerval32 *itv, \
 				    struct itimerval32 *oitv); }
-84	AUE_O_WAIT	OBSOL	owait
+84	AUE_NULL	OBSOL	owait
 ; XXX implement
 85	AUE_SWAPON	OBSOL	oswapon
 86	AUE_GETITIMER	MSTD	{ int freebsd32_getitimer(u_int which, \
@@ -197,11 +197,11 @@
 				    int protocol); }
 98	AUE_CONNECT	MNOPROTO { int connect(int s, caddr_t name, \
 				    int namelen); }
-99	AUE_ACCEPT	OBSOL	oaccept
-100	AUE_GETPRIORIT	MNOPROTO { int getpriority(int which, int who); }
-101	AUE_O_SEND	OBSOL	osend
-102	AUE_O_RECV	OBSOL	orecv
-103	AUE_SIGRETURN	OBSOL	osigreturn
+99	AUE_NULL	OBSOL	oaccept
+100	AUE_GETPRIORITY	MNOPROTO { int getpriority(int which, int who); }
+101	AUE_NULL	OBSOL	osend
+102	AUE_NULL	OBSOL	orecv
+103	AUE_NULL	OBSOL	osigreturn
 104	AUE_BIND	MNOPROTO { int bind(int s, caddr_t name, \
 				    int namelen); }
 105	AUE_SETSOCKOPT	MNOPROTO { int setsockopt(int s, int level, \
@@ -217,15 +217,15 @@
 112	AUE_O_SIGSTACK	MCOMPAT	 { int freebsd32_sigstack( \
 				     struct sigstack32 *nss, \
 				     struct sigstack32 *oss); }
-113	AUE_O_RECVMSG	OBSOL	orecvmsg
-114	AUE_O_SENDMSG	OBSOL	osendmsg
+113	AUE_NULL	OBSOL	orecvmsg
+114	AUE_NULL	OBSOL	osendmsg
 115	AUE_NULL	OBSOL	vtrace
 116	AUE_GETTIMEOFDAY	MSTD	{ int freebsd32_gettimeofday( \
 				    struct timeval32 *tp, \
 				    struct timezone *tzp); }
 117	AUE_GETRUSAGE	MSTD	{ int freebsd32_getrusage(int who, \
 				    struct rusage32 *rusage); }
-118	AUE_GTSOCKOPT	MNOPROTO { int getsockopt(int s, int level, \
+118	AUE_GETSOCKOPT	MNOPROTO { int getsockopt(int s, int level, \
 				    int name, caddr_t val, int *avalsize); }
 119	AUE_NULL	UNIMPL	resuba (BSD/OS 2.x)
 120	AUE_READV	MSTD	{ int freebsd32_readv(int fd, \
@@ -238,11 +238,11 @@
 123	AUE_FCHOWN	MNOPROTO	{ int fchown(int fd, int uid, int gid); }
 124	AUE_FCHMOD	MNOPROTO	{ int fchmod(int fd, int mode); }
 125	AUE_RECVFROM	OBSOL	orecvfrom
-126	AUE_O_SETREUID	MNOPROTO { int setreuid(int ruid, int euid); }
-127	AUE_O_SETREGID	MNOPROTO { int setregid(int rgid, int egid); }
+126	AUE_SETREUID	MNOPROTO { int setreuid(int ruid, int euid); }
+127	AUE_SETREGID	MNOPROTO { int setregid(int rgid, int egid); }
 128	AUE_RENAME	MNOPROTO	{ int rename(char *from, char *to); }
-129	AUE_O_TRUNCATE	OBSOL	otruncate
-130	AUE_O_FTRUNCATE	OBSOL	ftruncate
+129	AUE_NULL	OBSOL	otruncate
+130	AUE_NULL	OBSOL	ftruncate
 131	AUE_FLOCK	MNOPROTO { int flock(int fd, int how); }
 132	AUE_MKFIFO	MNOPROTO	{ int mkfifo(char *path, int mode); }
 133	AUE_SENDTO	MNOPROTO { int sendto(int s, caddr_t buf, \
@@ -259,17 +259,17 @@
 140	AUE_ADJTIME	MSTD	{ int freebsd32_adjtime( \
 				    struct timeval32 *delta, \
 				    struct timeval32 *olddelta); }
-141	AUE_O_GETPEERNAME	OBSOL	ogetpeername
-142	AUE_O_GETHOSTID	OBSOL	ogethostid
-143	AUE_O_SETHOSTID	OBSOL	sethostid
-144	AUE_O_GETRLIMIT	OBSOL	getrlimit
-145	AUE_O_SETRLIMIT	OBSOL	setrlimit
-146	AUE_O_KILLPG	OBSOL	killpg
+141	AUE_NULL	OBSOL	ogetpeername
+142	AUE_NULL	OBSOL	ogethostid
+143	AUE_NULL	OBSOL	sethostid
+144	AUE_NULL	OBSOL	getrlimit
+145	AUE_NULL	OBSOL	setrlimit
+146	AUE_NULL	OBSOL	killpg
 147	AUE_SETSID	MNOPROTO { int setsid(void); }
 148	AUE_QUOTACTL	MNOPROTO	{ int quotactl(char *path, int cmd, int uid, \
 				    caddr_t arg); }
-149	AUE_O_QUOTA	OBSOL oquota
-150	AUE_GETSOCKNAME	OBSOL ogetsockname
+149	AUE_NULL	OBSOL oquota
+150	AUE_NULL	OBSOL ogetsockname
 
 ; Syscalls 151-180 inclusive are reserved for vendor-specific
 ; system calls.  (This includes various calls added for compatibity
@@ -282,7 +282,7 @@
 ; 155 is initialized by the NFS code, if present.
 ; XXX this is a problem!!!
 155	AUE_NFSSVC	UNIMPL	nfssvc
-156	AUE_O_GETDIRENTRIES	OBSOL	ogetdirentries
+156	AUE_NULL	OBSOL	ogetdirentries
 157	AUE_STATFS	MCOMPAT4	{ int freebsd32_statfs(char *path, \
 				    struct statfs32 *buf); }
 158	AUE_FSTATFS	MCOMPAT4	{ int freebsd32_fstatfs(int fd, \
@@ -423,7 +423,7 @@
 ;
 232	AUE_NULL	MSTD 	 { int freebsd32_clock_gettime(clockid_t clock_id, \
 				    struct timespec32 *tp); }
-233	AUE_NULL	MSTD	 { int freebsd32_clock_settime(clockid_t clock_id, \
+233	AUE_CLOCK_SETTIME	MSTD	 { int freebsd32_clock_settime(clockid_t clock_id, \
 				    const struct timespec32 *tp); }
 234	AUE_NULL	MSTD	 { int freebsd32_clock_getres(clockid_t clock_id, \
 				    struct timespec32 *tp); }
@@ -448,7 +448,7 @@
 250	AUE_MINHERIT	MNOPROTO { int minherit(void *addr, size_t len, \
 				    int inherit); }
 251	AUE_RFORK	MNOPROTO { int rfork(int flags); }
-252	AUE_NULL	MNOPROTO { int openbsd_poll(struct pollfd *fds, \
+252	AUE_POLL	MNOPROTO { int openbsd_poll(struct pollfd *fds, \
 				    u_int nfds, int timeout); }
 253	AUE_ISSETUGID	MNOPROTO { int issetugid(void); }
 254	AUE_LCHOWN	MNOPROTO	{ int lchown(char *path, int uid, int gid); }
@@ -480,9 +480,9 @@
 				    struct timeval32 *tptr); }
 277	AUE_MSYNC	MNOPROTO { int msync(void *addr, size_t len, \
 				    int flags); } netbsd_msync msync_args int
-278	AUE_NULL	MNOPROTO	{ int nstat(char *path, struct nstat *ub); }
-279	AUE_NULL	MNOPROTO { int nfstat(int fd, struct nstat *sb); }
-280	AUE_NULL	MNOPROTO	{ int nlstat(char *path, struct nstat *ub); }
+278	AUE_STAT	MNOPROTO	{ int nstat(char *path, struct nstat *ub); }
+279	AUE_FSTAT	MNOPROTO { int nfstat(int fd, struct nstat *sb); }
+280	AUE_LSTAT	MNOPROTO	{ int nlstat(char *path, struct nstat *ub); }
 281	AUE_NULL	UNIMPL	nosys
 282	AUE_NULL	UNIMPL	nosys
 283	AUE_NULL	UNIMPL	nosys
@@ -492,11 +492,11 @@
 287	AUE_NULL	UNIMPL	nosys
 288	AUE_NULL	UNIMPL	nosys
 ; 289 and 290 from NetBSD (OpenBSD: 267 and 268)
-289	AUE_NULL	MSTD	{ ssize_t freebsd32_preadv(int fd, \
+289	AUE_PREADV	MSTD	{ ssize_t freebsd32_preadv(int fd, \
 					struct iovec32 *iovp, \
 					u_int iovcnt, off_t offset); }
 ; XXX note - bigendian is different
-290	AUE_NULL	MSTD	{ ssize_t freebsd32_pwritev(int fd, \
+290	AUE_PWRITEV	MSTD	{ ssize_t freebsd32_pwritev(int fd, \
 					struct iovec32 *iovp, \
 					u_int iovcnt, off_t offset); }
 ; XXX note - bigendian is different
@@ -507,12 +507,12 @@
 295	AUE_NULL	UNIMPL	nosys
 296	AUE_NULL	UNIMPL	nosys
 ; XXX 297 is 300 in NetBSD 
-297	AUE_NULL	MCOMPAT4	{ int freebsd32_fhstatfs( \
+297	AUE_FHSTATFS	MCOMPAT4	{ int freebsd32_fhstatfs( \
 				    const struct fhandle *u_fhp, \
 				    struct statfs32 *buf); }
-298	AUE_NULL	MNOPROTO	{ int fhopen(const struct fhandle *u_fhp, \
+298	AUE_FHOPEN	MNOPROTO	{ int fhopen(const struct fhandle *u_fhp, \
 			 	    int flags); }
-299	AUE_NULL	MNOPROTO	{ int fhstat(const struct fhandle *u_fhp, \
+299	AUE_FHSTAT	MNOPROTO	{ int fhstat(const struct fhandle *u_fhp, \
 				    struct stat *sb); }
 ; syscall numbers for FreeBSD
 300	AUE_NULL	MNOPROTO { int modnext(int modid); }
@@ -528,9 +528,9 @@
 				    struct kld_file_stat* stat); }
 309	AUE_NULL	MNOPROTO { int kldfirstmod(int fileid); }
 310	AUE_GETSID	MNOPROTO { int getsid(pid_t pid); }
-311	AUE_NULL	MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
+311	AUE_SETRESUID	MNOPROTO { int setresuid(uid_t ruid, uid_t euid, \
 				    uid_t suid); }
-312	AUE_NULL	MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
+312	AUE_SETRESGID	MNOPROTO { int setresgid(gid_t rgid, gid_t egid, \
 				    gid_t sgid); }
 313	AUE_NULL	OBSOL	signanosleep
 314	AUE_NULL	UNIMPL	aio_return
@@ -564,7 +564,7 @@
 				    struct timespec *interval); }
 335	AUE_NULL	MNOPROTO { int utrace(const void *addr, size_t len); }
 ; XXX note - bigendian is different
-336	AUE_NULL	MCOMPAT4 { int freebsd32_sendfile(int fd, int s, \
+336	AUE_SENDFILE	MCOMPAT4 { int freebsd32_sendfile(int fd, int s, \
 				    u_int32_t offsetlo, u_int32_t offsethi, \
 				    size_t nbytes, struct sf_hdtr *hdtr, \
 				    off_t *sbytes, int flags); }
@@ -585,7 +585,7 @@
 345	AUE_NULL	UNIMPL	sigtimedwait
 ; XXX implement
 346	AUE_NULL	UNIMPL	sigwaitinfo
-347	AUE_NULL	MNOPROTO { int __acl_get_file(const char *path, \
+347	AUE_JAIL	MNOPROTO { int __acl_get_file(const char *path, \
 				    acl_type_t type, struct acl *aclp); }
 348	AUE_NULL	MNOPROTO { int __acl_set_file(const char *path, \
 				    acl_type_t type, struct acl *aclp); }
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