Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 13:01:36 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79985 for review
Message-ID:  <200507111301.j6BD1a1W048966@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79985

Change 79985 by rwatson@rwatson_paprika on 2005/07/11 13:01:25

	Assign initial audit event identifiers to most Linux emulated system
	calls on i386 and alpha.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_proto.h#4 edit
.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_syscall.h#4 edit
.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_sysent.c#4 edit
.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/syscalls.master#4 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/linux_proto.h#5 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/linux_syscall.h#5 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/linux_sysent.c#8 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/syscalls.master#7 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_proto.h#4 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call prototypes.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/linux/linux_proto.h,v 1.21 2005/05/30 15:20:17 rwatson Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp 
  */
 

==== //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_syscall.h#4 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/linux/linux_syscall.h,v 1.19 2005/05/30 15:20:17 rwatson Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp 
  */
 

==== //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_sysent.c#4 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/linux/linux_sysent.c,v 1.19 2005/05/30 15:20:17 rwatson Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp 
  */
 
@@ -21,162 +21,162 @@
 struct sysent linux_sysent[] = {
 #define	nosys	linux_nosys
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 0 =  */
-	{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_NULL },	/* 1 = exit */
-	{ SYF_MPSAFE | 0, (sy_call_t *)linux_fork, AUE_NULL },	/* 2 = linux_fork */
+	{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT },	/* 1 = exit */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_fork, AUE_FORK },	/* 2 = linux_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 */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 5 =  */
-	{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_NULL },	/* 6 = close */
-	{ SYF_MPSAFE | AS(osf1_wait4_args), (sy_call_t *)osf1_wait4, AUE_NULL },	/* 7 = osf1_wait4 */
+	{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_CLOSE },	/* 6 = close */
+	{ SYF_MPSAFE | AS(osf1_wait4_args), (sy_call_t *)osf1_wait4, AUE_O_WAIT },	/* 7 = osf1_wait4 */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 8 =  */
-	{ AS(linux_link_args), (sy_call_t *)linux_link, AUE_NULL },	/* 9 = linux_link */
-	{ AS(linux_unlink_args), (sy_call_t *)linux_unlink, AUE_NULL },	/* 10 = linux_unlink */
+	{ AS(linux_link_args), (sy_call_t *)linux_link, AUE_LINK },	/* 9 = linux_link */
+	{ AS(linux_unlink_args), (sy_call_t *)linux_unlink, AUE_UNLINK },	/* 10 = linux_unlink */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 11 =  */
-	{ AS(linux_chdir_args), (sy_call_t *)linux_chdir, AUE_NULL },	/* 12 = linux_chdir */
-	{ AS(fchdir_args), (sy_call_t *)fchdir, AUE_NULL },	/* 13 = fchdir */
-	{ AS(linux_mknod_args), (sy_call_t *)linux_mknod, AUE_NULL },	/* 14 = linux_mknod */
-	{ AS(linux_chmod_args), (sy_call_t *)linux_chmod, AUE_NULL },	/* 15 = linux_chmod */
-	{ AS(linux_chown_args), (sy_call_t *)linux_chown, AUE_NULL },	/* 16 = linux_chown */
+	{ AS(linux_chdir_args), (sy_call_t *)linux_chdir, AUE_CHDIR },	/* 12 = linux_chdir */
+	{ AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR },	/* 13 = fchdir */
+	{ AS(linux_mknod_args), (sy_call_t *)linux_mknod, AUE_MKNOD },	/* 14 = linux_mknod */
+	{ AS(linux_chmod_args), (sy_call_t *)linux_chmod, AUE_CHMOD },	/* 15 = linux_chmod */
+	{ AS(linux_chown_args), (sy_call_t *)linux_chown, AUE_CHOWN },	/* 16 = linux_chown */
 	{ AS(linux_brk_args), (sy_call_t *)linux_brk, AUE_NULL },	/* 17 = linux_brk */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 18 =  */
-	{ AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_NULL },	/* 19 = linux_lseek */
-	{ 0, (sy_call_t *)getpid, AUE_NULL },		/* 20 = getpid */
+	{ AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_LSEEK },	/* 19 = linux_lseek */
+	{ 0, (sy_call_t *)getpid, AUE_GETPID },		/* 20 = getpid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 21 = osf1_mount */
-	{ AS(linux_umount_args), (sy_call_t *)linux_umount, AUE_NULL },	/* 22 = linux_umount */
-	{ SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_NULL },	/* 23 = setuid */
-	{ SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_NULL },	/* 24 = getuid */
+	{ AS(linux_umount_args), (sy_call_t *)linux_umount, AUE_UNMOUNT },	/* 22 = linux_umount */
+	{ SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID },	/* 23 = setuid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_GETUID },	/* 24 = getuid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 25 =  */
-	{ SYF_MPSAFE | 0, (sy_call_t *)linux_ptrace, AUE_NULL },	/* 26 = linux_ptrace */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_ptrace, AUE_PTRACE },	/* 26 = linux_ptrace */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 27 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 28 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 29 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 30 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 31 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 32 =  */
-	{ AS(linux_access_args), (sy_call_t *)linux_access, AUE_NULL },	/* 33 = linux_access */
+	{ AS(linux_access_args), (sy_call_t *)linux_access, AUE_ACCESS },	/* 33 = linux_access */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 34 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 35 =  */
-	{ 0, (sy_call_t *)sync, AUE_NULL },		/* 36 = sync */
-	{ SYF_MPSAFE | AS(linux_kill_args), (sy_call_t *)linux_kill, AUE_NULL },	/* 37 = linux_kill */
+	{ 0, (sy_call_t *)sync, AUE_SYNC },		/* 36 = sync */
+	{ SYF_MPSAFE | AS(linux_kill_args), (sy_call_t *)linux_kill, AUE_KILL },	/* 37 = linux_kill */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 38 =  */
-	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_NULL },	/* 39 = setpgid */
+	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP },	/* 39 = setpgid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 40 =  */
-	{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_NULL },	/* 41 = dup */
-	{ SYF_MPSAFE | 0, (sy_call_t *)pipe, AUE_NULL },	/* 42 = pipe */
+	{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_DUP },	/* 41 = dup */
+	{ SYF_MPSAFE | 0, (sy_call_t *)pipe, AUE_PIPE },	/* 42 = pipe */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 43 = osf_set_program_attributes */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 44 =  */
-	{ AS(linux_open_args), (sy_call_t *)linux_open, AUE_NULL },	/* 45 = linux_open */
+	{ AS(linux_open_args), (sy_call_t *)linux_open, AUE_OPEN_RWTC },	/* 45 = linux_open */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 46 =  */
-	{ SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_NULL },	/* 47 = getgid */
-	{ SYF_MPSAFE | AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask, AUE_NULL },	/* 48 = osf1_sigprocmask */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_GETGID },	/* 47 = getgid */
+	{ SYF_MPSAFE | AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask, AUE_SIGPROCMASK },	/* 48 = osf1_sigprocmask */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 49 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 50 =  */
-	{ AS(acct_args), (sy_call_t *)acct, AUE_NULL },	/* 51 = acct */
-	{ SYF_MPSAFE | 0, (sy_call_t *)linux_sigpending, AUE_NULL },	/* 52 = linux_sigpending */
+	{ AS(acct_args), (sy_call_t *)acct, AUE_ACCT },	/* 51 = acct */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_sigpending, AUE_SIGPENDING },	/* 52 = linux_sigpending */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 53 =  */
-	{ AS(linux_ioctl_args), (sy_call_t *)linux_ioctl, AUE_NULL },	/* 54 = linux_ioctl */
+	{ AS(linux_ioctl_args), (sy_call_t *)linux_ioctl, AUE_IOCTL },	/* 54 = linux_ioctl */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 55 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 56 =  */
-	{ AS(linux_symlink_args), (sy_call_t *)linux_symlink, AUE_NULL },	/* 57 = linux_symlink */
-	{ AS(linux_readlink_args), (sy_call_t *)linux_readlink, AUE_NULL },	/* 58 = linux_readlink */
-	{ AS(linux_execve_args), (sy_call_t *)linux_execve, AUE_NULL },	/* 59 = linux_execve */
-	{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_NULL },	/* 60 = umask */
-	{ AS(chroot_args), (sy_call_t *)chroot, AUE_NULL },	/* 61 = chroot */
+	{ AS(linux_symlink_args), (sy_call_t *)linux_symlink, AUE_SYMLINK },	/* 57 = linux_symlink */
+	{ AS(linux_readlink_args), (sy_call_t *)linux_readlink, AUE_READLINK },	/* 58 = linux_readlink */
+	{ AS(linux_execve_args), (sy_call_t *)linux_execve, AUE_EXECVE },	/* 59 = linux_execve */
+	{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_UMASK },	/* 60 = umask */
+	{ AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT },	/* 61 = chroot */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 62 =  */
-	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_NULL },	/* 63 = getpgrp */
-	{ 0, (sy_call_t *)linux_getpagesize, AUE_NULL },	/* 64 = linux_getpagesize */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_GETPGRP },	/* 63 = getpgrp */
+	{ 0, (sy_call_t *)linux_getpagesize, AUE_O_GETPAGESIZE },	/* 64 = linux_getpagesize */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 65 =  */
-	{ SYF_MPSAFE | 0, (sy_call_t *)linux_vfork, AUE_NULL },	/* 66 = linux_vfork */
-	{ AS(linux_newstat_args), (sy_call_t *)linux_newstat, AUE_NULL },	/* 67 = linux_newstat */
-	{ AS(linux_newlstat_args), (sy_call_t *)linux_newlstat, AUE_NULL },	/* 68 = linux_newlstat */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_vfork, AUE_VFORK },	/* 66 = linux_vfork */
+	{ AS(linux_newstat_args), (sy_call_t *)linux_newstat, AUE_STAT },	/* 67 = linux_newstat */
+	{ AS(linux_newlstat_args), (sy_call_t *)linux_newlstat, AUE_LSTAT },	/* 68 = linux_newlstat */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 69 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 70 =  */
-	{ AS(linux_mmap_args), (sy_call_t *)linux_mmap, AUE_NULL },	/* 71 = linux_mmap */
+	{ AS(linux_mmap_args), (sy_call_t *)linux_mmap, AUE_MMAP },	/* 71 = linux_mmap */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 72 =  */
-	{ AS(linux_munmap_args), (sy_call_t *)linux_munmap, AUE_NULL },	/* 73 = linux_munmap */
-	{ AS(linux_mprotect_args), (sy_call_t *)linux_mprotect, AUE_NULL },	/* 74 = linux_mprotect */
-	{ SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise, AUE_NULL },	/* 75 = madvise */
+	{ AS(linux_munmap_args), (sy_call_t *)linux_munmap, AUE_MUNMAP },	/* 73 = linux_munmap */
+	{ AS(linux_mprotect_args), (sy_call_t *)linux_mprotect, AUE_MPROTECT },	/* 74 = linux_mprotect */
+	{ SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise, AUE_MADVISE },	/* 75 = madvise */
 	{ 0, (sy_call_t *)linux_vhangup, AUE_NULL },	/* 76 = linux_vhangup */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 77 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 78 =  */
-	{ SYF_MPSAFE | AS(linux_setgroups_args), (sy_call_t *)linux_setgroups, AUE_NULL },	/* 79 = linux_setgroups */
-	{ SYF_MPSAFE | AS(linux_getgroups_args), (sy_call_t *)linux_getgroups, AUE_NULL },	/* 80 = linux_getgroups */
+	{ SYF_MPSAFE | AS(linux_setgroups_args), (sy_call_t *)linux_setgroups, AUE_SETGROUPS },	/* 79 = linux_setgroups */
+	{ SYF_MPSAFE | AS(linux_getgroups_args), (sy_call_t *)linux_getgroups, AUE_GETGROUPS },	/* 80 = linux_getgroups */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 81 =  */
 	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_NULL },	/* 82 = setpgid */
-	{ AS(osf1_setitimer_args), (sy_call_t *)osf1_setitimer, AUE_NULL },	/* 83 = osf1_setitimer */
+	{ AS(osf1_setitimer_args), (sy_call_t *)osf1_setitimer, AUE_SETITIMER },	/* 83 = osf1_setitimer */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 84 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 85 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 86 = osf_getitimer */
-	{ 0, (sy_call_t *)linux_gethostname, AUE_NULL },	/* 87 = linux_gethostname */
-	{ SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname, AUE_NULL },	/* 88 = osethostname */
-	{ 0, (sy_call_t *)linux_getdtablesize, AUE_NULL },	/* 89 = linux_getdtablesize */
-	{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_NULL },	/* 90 = dup2 */
-	{ AS(linux_newfstat_args), (sy_call_t *)linux_newfstat, AUE_NULL },	/* 91 = linux_newfstat */
-	{ SYF_MPSAFE | AS(linux_fcntl_args), (sy_call_t *)linux_fcntl, AUE_NULL },	/* 92 = linux_fcntl */
-	{ AS(osf1_select_args), (sy_call_t *)osf1_select, AUE_NULL },	/* 93 = osf1_select */
-	{ AS(poll_args), (sy_call_t *)poll, AUE_NULL },	/* 94 = poll */
-	{ AS(fsync_args), (sy_call_t *)fsync, AUE_NULL },	/* 95 = fsync */
-	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_NULL },	/* 96 = setpriority */
-	{ AS(osf1_socket_args), (sy_call_t *)osf1_socket, AUE_NULL },	/* 97 = osf1_socket */
-	{ AS(linux_connect_args), (sy_call_t *)linux_connect, AUE_NULL },	/* 98 = linux_connect */
-	{ AS(accept_args), (sy_call_t *)oaccept, AUE_NULL },	/* 99 = accept */
+	{ 0, (sy_call_t *)linux_gethostname, AUE_O_GETHOSTNAME },	/* 87 = linux_gethostname */
+	{ SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname, AUE_O_SETHOTNAME },	/* 88 = osethostname */
+	{ 0, (sy_call_t *)linux_getdtablesize, AUE_GETDTABLESIZE },	/* 89 = linux_getdtablesize */
+	{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2 },	/* 90 = dup2 */
+	{ AS(linux_newfstat_args), (sy_call_t *)linux_newfstat, AUE_FSTAT },	/* 91 = linux_newfstat */
+	{ SYF_MPSAFE | AS(linux_fcntl_args), (sy_call_t *)linux_fcntl, AUE_FCNTL },	/* 92 = linux_fcntl */
+	{ AS(osf1_select_args), (sy_call_t *)osf1_select, AUE_SELECT },	/* 93 = osf1_select */
+	{ AS(poll_args), (sy_call_t *)poll, AUE_POLL },	/* 94 = poll */
+	{ AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC },	/* 95 = fsync */
+	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY },	/* 96 = setpriority */
+	{ AS(osf1_socket_args), (sy_call_t *)osf1_socket, AUE_SOCKET },	/* 97 = osf1_socket */
+	{ AS(linux_connect_args), (sy_call_t *)linux_connect, AUE_CONNECT },	/* 98 = linux_connect */
+	{ AS(accept_args), (sy_call_t *)oaccept, AUE_ACCEPT },	/* 99 = accept */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 100 = osf_getpriority */
-	{ AS(osend_args), (sy_call_t *)osend, AUE_NULL },	/* 101 = osend */
-	{ AS(orecv_args), (sy_call_t *)orecv, AUE_NULL },	/* 102 = orecv */
-	{ SYF_MPSAFE | AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn, AUE_NULL },	/* 103 = osf1_sigreturn */
-	{ AS(bind_args), (sy_call_t *)bind, AUE_NULL },	/* 104 = bind */
-	{ AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_NULL },	/* 105 = setsockopt */
-	{ AS(listen_args), (sy_call_t *)listen, AUE_NULL },	/* 106 = listen */
+	{ AS(osend_args), (sy_call_t *)osend, AUE_SEND },	/* 101 = osend */
+	{ AS(orecv_args), (sy_call_t *)orecv, AUE_RECV },	/* 102 = orecv */
+	{ SYF_MPSAFE | AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn, AUE_SIGRETURN },	/* 103 = osf1_sigreturn */
+	{ AS(bind_args), (sy_call_t *)bind, AUE_BIND },	/* 104 = bind */
+	{ AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT },	/* 105 = setsockopt */
+	{ AS(listen_args), (sy_call_t *)listen, AUE_LISTEN },	/* 106 = listen */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 107 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 108 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 109 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 110 =  */
-	{ SYF_MPSAFE | AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend, AUE_NULL },	/* 111 = osf1_sigsuspend */
+	{ SYF_MPSAFE | AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend, AUE_SIGSUSEND },	/* 111 = osf1_sigsuspend */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 112 = osf_sigstack */
-	{ 0, (sy_call_t *)linux_recvmsg, AUE_NULL },	/* 113 = linux_recvmsg */
-	{ 0, (sy_call_t *)linux_sendmsg, AUE_NULL },	/* 114 = linux_sendmsg */
+	{ 0, (sy_call_t *)linux_recvmsg, AUE_RECVMSG },	/* 113 = linux_recvmsg */
+	{ 0, (sy_call_t *)linux_sendmsg, AUE_SENDMSG },	/* 114 = linux_sendmsg */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 115 =  */
-	{ SYF_MPSAFE | AS(osf1_gettimeofday_args), (sy_call_t *)osf1_gettimeofday, AUE_NULL },	/* 116 = osf1_gettimeofday */
-	{ AS(osf1_getrusage_args), (sy_call_t *)osf1_getrusage, AUE_NULL },	/* 117 = osf1_getrusage */
-	{ AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_NULL },	/* 118 = getsockopt */
+	{ SYF_MPSAFE | AS(osf1_gettimeofday_args), (sy_call_t *)osf1_gettimeofday, AUE_GETTIMEOFDAY },	/* 116 = osf1_gettimeofday */
+	{ AS(osf1_getrusage_args), (sy_call_t *)osf1_getrusage, AUE_GETRUSAGE },	/* 117 = osf1_getrusage */
+	{ AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GETSOCKOPT },	/* 118 = getsockopt */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 119 =  */
-	{ AS(readv_args), (sy_call_t *)readv, AUE_NULL },	/* 120 = readv */
-	{ AS(writev_args), (sy_call_t *)writev, AUE_NULL },	/* 121 = writev */
+	{ AS(readv_args), (sy_call_t *)readv, AUE_READV },	/* 120 = readv */
+	{ AS(writev_args), (sy_call_t *)writev, AUE_WRITEV },	/* 121 = writev */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 122 = osf_settimeofday */
-	{ AS(fchown_args), (sy_call_t *)fchown, AUE_NULL },	/* 123 = fchown */
-	{ AS(fchmod_args), (sy_call_t *)fchmod, AUE_NULL },	/* 124 = fchmod */
-	{ AS(recvfrom_args), (sy_call_t *)orecvfrom, AUE_NULL },	/* 125 = recvfrom */
-	{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_NULL },	/* 126 = setreuid */
-	{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_NULL },	/* 127 = setregid */
-	{ AS(linux_rename_args), (sy_call_t *)linux_rename, AUE_NULL },	/* 128 = linux_rename */
-	{ AS(linux_truncate_args), (sy_call_t *)linux_truncate, AUE_NULL },	/* 129 = linux_truncate */
-	{ AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_NULL },	/* 130 = oftruncate */
-	{ AS(flock_args), (sy_call_t *)flock, AUE_NULL },	/* 131 = flock */
-	{ SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_NULL },	/* 132 = setgid */
-	{ AS(osf1_sendto_args), (sy_call_t *)osf1_sendto, AUE_NULL },	/* 133 = osf1_sendto */
-	{ AS(shutdown_args), (sy_call_t *)shutdown, AUE_NULL },	/* 134 = shutdown */
-	{ 0, (sy_call_t *)linux_socketpair, AUE_NULL },	/* 135 = linux_socketpair */
-	{ AS(linux_mkdir_args), (sy_call_t *)linux_mkdir, AUE_NULL },	/* 136 = linux_mkdir */
-	{ AS(linux_rmdir_args), (sy_call_t *)linux_rmdir, AUE_NULL },	/* 137 = linux_rmdir */
-	{ AS(utimes_args), (sy_call_t *)utimes, AUE_NULL },	/* 138 = utimes */
+	{ AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN },	/* 123 = fchown */
+	{ AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD },	/* 124 = fchmod */
+	{ AS(recvfrom_args), (sy_call_t *)orecvfrom, AUE_RECVFROM },	/* 125 = recvfrom */
+	{ 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 */
+	{ AS(linux_rename_args), (sy_call_t *)linux_rename, AUE_RENAME },	/* 128 = linux_rename */
+	{ AS(linux_truncate_args), (sy_call_t *)linux_truncate, AUE_TRUNCATE },	/* 129 = linux_truncate */
+	{ AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_FTRUNCATE },	/* 130 = oftruncate */
+	{ AS(flock_args), (sy_call_t *)flock, AUE_FLOCK },	/* 131 = flock */
+	{ SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_SETGID },	/* 132 = setgid */
+	{ AS(osf1_sendto_args), (sy_call_t *)osf1_sendto, AUE_SENDTO },	/* 133 = osf1_sendto */
+	{ AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN },	/* 134 = shutdown */
+	{ 0, (sy_call_t *)linux_socketpair, AUE_SOCKETPAIR },	/* 135 = linux_socketpair */
+	{ AS(linux_mkdir_args), (sy_call_t *)linux_mkdir, AUE_MKDIR },	/* 136 = linux_mkdir */
+	{ AS(linux_rmdir_args), (sy_call_t *)linux_rmdir, AUE_RMDIR },	/* 137 = linux_rmdir */
+	{ AS(utimes_args), (sy_call_t *)utimes, AUE_UTIMES },	/* 138 = utimes */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 139 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 140 =  */
-	{ AS(ogetpeername_args), (sy_call_t *)ogetpeername, AUE_NULL },	/* 141 = ogetpeername */
+	{ AS(ogetpeername_args), (sy_call_t *)ogetpeername, AUE_GETPEERNAME },	/* 141 = ogetpeername */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 142 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 143 =  */
-	{ SYF_MPSAFE | AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit, AUE_NULL },	/* 144 = linux_getrlimit */
-	{ SYF_MPSAFE | AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit, AUE_NULL },	/* 145 = linux_setrlimit */
+	{ SYF_MPSAFE | AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit, AUE_GETRLIMIT },	/* 144 = linux_getrlimit */
+	{ SYF_MPSAFE | AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit, AUE_SETRLIMIT },	/* 145 = linux_setrlimit */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 146 =  */
-	{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_NULL },	/* 147 = setsid */
-	{ 0, (sy_call_t *)linux_quotactl, AUE_NULL },	/* 148 = linux_quotactl */
+	{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_SETSID },	/* 147 = setsid */
+	{ 0, (sy_call_t *)linux_quotactl, AUE_QUOTACTL },	/* 148 = linux_quotactl */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 149 =  */
-	{ AS(getsockname_args), (sy_call_t *)ogetsockname, AUE_NULL },	/* 150 = getsockname */
+	{ AS(getsockname_args), (sy_call_t *)ogetsockname, AUE_GETSOCKNAME },	/* 150 = getsockname */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 151 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 152 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 153 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 154 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 155 =  */
-	{ SYF_MPSAFE | AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction, AUE_NULL },	/* 156 = osf1_sigaction */
+	{ SYF_MPSAFE | AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction, AUE_SIGCTION },	/* 156 = osf1_sigaction */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 157 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 158 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 159 = osf_getdirentries */
@@ -186,7 +186,7 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 163 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 164 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 165 = osf_getdomainname */
-	{ SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_NULL },	/* 166 = setdomainname */
+	{ SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_O_GETDOMAINNAME },	/* 166 = setdomainname */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 167 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 168 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 169 =  */
@@ -220,24 +220,24 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 197 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 198 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 199 = osf_swapon */
-	{ AS(linux_msgctl_args), (sy_call_t *)linux_msgctl, AUE_NULL },	/* 200 = linux_msgctl */
-	{ AS(linux_msgget_args), (sy_call_t *)linux_msgget, AUE_NULL },	/* 201 = linux_msgget */
-	{ AS(linux_msgrcv_args), (sy_call_t *)linux_msgrcv, AUE_NULL },	/* 202 = linux_msgrcv */
-	{ AS(linux_msgsnd_args), (sy_call_t *)linux_msgsnd, AUE_NULL },	/* 203 = linux_msgsnd */
-	{ AS(linux_semctl_args), (sy_call_t *)linux_semctl, AUE_NULL },	/* 204 = linux_semctl */
-	{ AS(linux_semget_args), (sy_call_t *)linux_semget, AUE_NULL },	/* 205 = linux_semget */
-	{ AS(linux_semop_args), (sy_call_t *)linux_semop, AUE_NULL },	/* 206 = linux_semop */
+	{ AS(linux_msgctl_args), (sy_call_t *)linux_msgctl, AUE_MSGCTL },	/* 200 = linux_msgctl */
+	{ AS(linux_msgget_args), (sy_call_t *)linux_msgget, AUE_MSGGET },	/* 201 = linux_msgget */
+	{ AS(linux_msgrcv_args), (sy_call_t *)linux_msgrcv, AUE_MSGRCV },	/* 202 = linux_msgrcv */
+	{ AS(linux_msgsnd_args), (sy_call_t *)linux_msgsnd, AUE_MSGSND },	/* 203 = linux_msgsnd */
+	{ AS(linux_semctl_args), (sy_call_t *)linux_semctl, AUE_SEMCTL },	/* 204 = linux_semctl */
+	{ AS(linux_semget_args), (sy_call_t *)linux_semget, AUE_SEMGET },	/* 205 = linux_semget */
+	{ AS(linux_semop_args), (sy_call_t *)linux_semop, AUE_SEMOP },	/* 206 = linux_semop */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 207 = osf_utsname */
-	{ AS(linux_lchown_args), (sy_call_t *)linux_lchown, AUE_NULL },	/* 208 = linux_lchown */
-	{ AS(linux_shmat_args), (sy_call_t *)linux_shmat, AUE_NULL },	/* 209 = linux_shmat */
-	{ AS(linux_shmctl_args), (sy_call_t *)linux_shmctl, AUE_NULL },	/* 210 = linux_shmctl */
-	{ AS(linux_shmdt_args), (sy_call_t *)linux_shmdt, AUE_NULL },	/* 211 = linux_shmdt */
-	{ AS(linux_shmget_args), (sy_call_t *)linux_shmget, AUE_NULL },	/* 212 = linux_shmget */
+	{ AS(linux_lchown_args), (sy_call_t *)linux_lchown, AUE_LCHOWN },	/* 208 = linux_lchown */
+	{ AS(linux_shmat_args), (sy_call_t *)linux_shmat, AUE_SHMAT },	/* 209 = linux_shmat */
+	{ AS(linux_shmctl_args), (sy_call_t *)linux_shmctl, AUE_SHMCTL },	/* 210 = linux_shmctl */
+	{ AS(linux_shmdt_args), (sy_call_t *)linux_shmdt, AUE_SHMDT },	/* 211 = linux_shmdt */
+	{ AS(linux_shmget_args), (sy_call_t *)linux_shmget, AUE_SHMGET },	/* 212 = linux_shmget */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 213 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 214 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 215 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 216 =  */
-	{ AS(linux_msync_args), (sy_call_t *)linux_msync, AUE_NULL },	/* 217 = linux_msync */
+	{ AS(linux_msync_args), (sy_call_t *)linux_msync, AUE_MSYNC },	/* 217 = linux_msync */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 218 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 219 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 220 =  */
@@ -253,9 +253,9 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 230 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 231 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 232 =  */
-	{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid, AUE_NULL },	/* 233 = getpgid */
-	{ SYF_MPSAFE | AS(linux_getsid_args), (sy_call_t *)linux_getsid, AUE_NULL },	/* 234 = linux_getsid */
-	{ 0, (sy_call_t *)linux_sigaltstack, AUE_NULL },	/* 235 = linux_sigaltstack */
+	{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid, AUE_GETPPID },	/* 233 = getpgid */
+	{ SYF_MPSAFE | AS(linux_getsid_args), (sy_call_t *)linux_getsid, AUE_GETSID },	/* 234 = linux_getsid */
+	{ 0, (sy_call_t *)linux_sigaltstack, AUE_SIGALTSTACK },	/* 235 = linux_sigaltstack */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 236 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 237 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 238 =  */
@@ -322,80 +322,80 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 299 =  */
 	{ 0, (sy_call_t *)linux_bdflush, AUE_NULL },	/* 300 = linux_bdflush */
 	{ 0, (sy_call_t *)linux_sethae, AUE_NULL },	/* 301 = linux_sethae */
-	{ AS(linux_mount_args), (sy_call_t *)linux_mount, AUE_NULL },	/* 302 = linux_mount */
-	{ 0, (sy_call_t *)linux_old_adjtimex, AUE_NULL },	/* 303 = linux_old_adjtimex */
-	{ 0, (sy_call_t *)linux_swapoff, AUE_NULL },	/* 304 = linux_swapoff */
-	{ AS(linux_getdents_args), (sy_call_t *)linux_getdents, AUE_NULL },	/* 305 = linux_getdents */
+	{ AS(linux_mount_args), (sy_call_t *)linux_mount, AUE_MOUNT },	/* 302 = linux_mount */
+	{ 0, (sy_call_t *)linux_old_adjtimex, AUE_ADJTIME },	/* 303 = linux_old_adjtimex */
+	{ 0, (sy_call_t *)linux_swapoff, AUE_SWAPOFF },	/* 304 = linux_swapoff */
+	{ AS(linux_getdents_args), (sy_call_t *)linux_getdents, AUE_O_GETDENTS },	/* 305 = linux_getdents */
 	{ 0, (sy_call_t *)linux_create_module, AUE_NULL },	/* 306 = linux_create_module */
 	{ 0, (sy_call_t *)linux_init_module, AUE_NULL },	/* 307 = linux_init_module */
 	{ 0, (sy_call_t *)linux_delete_module, AUE_NULL },	/* 308 = linux_delete_module */
 	{ 0, (sy_call_t *)linux_get_kernel_syms, AUE_NULL },	/* 309 = linux_get_kernel_syms */
 	{ AS(linux_syslog_args), (sy_call_t *)linux_syslog, AUE_NULL },	/* 310 = linux_syslog */
-	{ AS(linux_reboot_args), (sy_call_t *)linux_reboot, AUE_NULL },	/* 311 = linux_reboot */
-	{ SYF_MPSAFE | AS(linux_clone_args), (sy_call_t *)linux_clone, AUE_NULL },	/* 312 = linux_clone */
+	{ AS(linux_reboot_args), (sy_call_t *)linux_reboot, AUE_REBOOT },	/* 311 = linux_reboot */
+	{ SYF_MPSAFE | AS(linux_clone_args), (sy_call_t *)linux_clone, AUE_RFORK },	/* 312 = linux_clone */
 	{ AS(linux_uselib_args), (sy_call_t *)linux_uselib, AUE_NULL },	/* 313 = linux_uselib */
-	{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_NULL },	/* 314 = mlock */
-	{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_NULL },	/* 315 = munlock */
-	{ SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall, AUE_NULL },	/* 316 = mlockall */
-	{ SYF_MPSAFE | 0, (sy_call_t *)munlockall, AUE_NULL },	/* 317 = munlockall */
+	{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK },	/* 314 = mlock */
+	{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK },	/* 315 = munlock */
+	{ SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall, AUE_MLOCKALL },	/* 316 = mlockall */
+	{ SYF_MPSAFE | 0, (sy_call_t *)munlockall, AUE_MUNLOCKALL },	/* 317 = munlockall */
 	{ 0, (sy_call_t *)linux_sysinfo, AUE_NULL },	/* 318 = linux_sysinfo */
-	{ AS(linux_sysctl_args), (sy_call_t *)linux_sysctl, AUE_NULL },	/* 319 = linux_sysctl */
+	{ AS(linux_sysctl_args), (sy_call_t *)linux_sysctl, AUE_SYSCTL },	/* 319 = linux_sysctl */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 320 = sys_idle */
-	{ AS(linux_oldumount_args), (sy_call_t *)linux_oldumount, AUE_NULL },	/* 321 = linux_oldumount */
-	{ AS(swapon_args), (sy_call_t *)swapon, AUE_NULL },	/* 322 = swapon */
+	{ AS(linux_oldumount_args), (sy_call_t *)linux_oldumount, AUE_UMOUNT },	/* 321 = linux_oldumount */
+	{ AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON },	/* 322 = swapon */
 	{ AS(linux_times_args), (sy_call_t *)linux_times, AUE_NULL },	/* 323 = linux_times */
 	{ AS(linux_personality_args), (sy_call_t *)linux_personality, AUE_NULL },	/* 324 = linux_personality */
 	{ AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid, AUE_NULL },	/* 325 = linux_setfsuid */
 	{ AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid, AUE_NULL },	/* 326 = linux_setfsgid */
 	{ AS(linux_ustat_args), (sy_call_t *)linux_ustat, AUE_NULL },	/* 327 = linux_ustat */
-	{ AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_NULL },	/* 328 = linux_statfs */
-	{ AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs, AUE_NULL },	/* 329 = linux_fstatfs */
+	{ AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_STATFS },	/* 328 = linux_statfs */
+	{ AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs, AUE_FSTATFS },	/* 329 = linux_fstatfs */
 	{ SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL },	/* 330 = sched_setparam */
 	{ SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL },	/* 331 = sched_getparam */
 	{ SYF_MPSAFE | AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler, AUE_NULL },	/* 332 = linux_sched_setscheduler */
 	{ SYF_MPSAFE | AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler, AUE_NULL },	/* 333 = linux_sched_getscheduler */
 	{ SYF_MPSAFE | 0, (sy_call_t *)sched_yield, AUE_NULL },	/* 334 = sched_yield */
-	{ SYF_MPSAFE | AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max, AUE_NULL },	/* 335 = linux_sched_get_priority_max */
-	{ SYF_MPSAFE | AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min, AUE_NULL },	/* 336 = linux_sched_get_priority_min */
+	{ SYF_MPSAFE | AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max, AUE_GETPRIORITY },	/* 335 = linux_sched_get_priority_max */
+	{ SYF_MPSAFE | AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min, AUE_GETPRIORITY },	/* 336 = linux_sched_get_priority_min */
 	{ AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL },	/* 337 = sched_rr_get_interval */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 338 = sys_afs_syscall */
 	{ AS(linux_newuname_args), (sy_call_t *)linux_newuname, AUE_NULL },	/* 339 = linux_newuname */
 	{ SYF_MPSAFE | AS(nanosleep_args), (sy_call_t *)nanosleep, AUE_NULL },	/* 340 = nanosleep */
 	{ AS(linux_mremap_args), (sy_call_t *)linux_mremap, AUE_NULL },	/* 341 = linux_mremap */
 	{ 0, (sy_call_t *)linux_nfsservctl, AUE_NULL },	/* 342 = linux_nfsservctl */
-	{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_NULL },	/* 343 = setresuid */
-	{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid, AUE_NULL },	/* 344 = getresuid */
+	{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_SETRESUID },	/* 343 = setresuid */
+	{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid, AUE_GETRESUID },	/* 344 = getresuid */
 	{ 0, (sy_call_t *)linux_pciconfig_read, AUE_NULL },	/* 345 = linux_pciconfig_read */
 	{ 0, (sy_call_t *)linux_pciconfig_write, AUE_NULL },	/* 346 = linux_pciconfig_write */
 	{ 0, (sy_call_t *)linux_query_module, AUE_NULL },	/* 347 = linux_query_module */
 	{ 0, (sy_call_t *)linux_prctl, AUE_NULL },	/* 348 = linux_prctl */
-	{ AS(linux_pread_args), (sy_call_t *)linux_pread, AUE_NULL },	/* 349 = linux_pread */
-	{ AS(linux_pwrite_args), (sy_call_t *)linux_pwrite, AUE_NULL },	/* 350 = linux_pwrite */
-	{ 0, (sy_call_t *)linux_rt_sigreturn, AUE_NULL },	/* 351 = linux_rt_sigreturn */
-	{ SYF_MPSAFE | AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction, AUE_NULL },	/* 352 = linux_rt_sigaction */
-	{ SYF_MPSAFE | AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask, AUE_NULL },	/* 353 = linux_rt_sigprocmask */
-	{ 0, (sy_call_t *)linux_rt_sigpending, AUE_NULL },	/* 354 = linux_rt_sigpending */
-	{ 0, (sy_call_t *)linux_rt_sigtimedwait, AUE_NULL },	/* 355 = linux_rt_sigtimedwait */
+	{ AS(linux_pread_args), (sy_call_t *)linux_pread, AUE_PREAD },	/* 349 = linux_pread */
+	{ AS(linux_pwrite_args), (sy_call_t *)linux_pwrite, AUE_PWRITE },	/* 350 = linux_pwrite */
+	{ 0, (sy_call_t *)linux_rt_sigreturn, AUE_SIGRETURN },	/* 351 = linux_rt_sigreturn */
+	{ SYF_MPSAFE | AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction, AUE_SIGACTION },	/* 352 = linux_rt_sigaction */
+	{ SYF_MPSAFE | AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask, AUE_SIGPROCMASK },	/* 353 = linux_rt_sigprocmask */
+	{ 0, (sy_call_t *)linux_rt_sigpending, AUE_SIGPENDING },	/* 354 = linux_rt_sigpending */
+	{ 0, (sy_call_t *)linux_rt_sigtimedwait, AUE_SIGWAIT },	/* 355 = linux_rt_sigtimedwait */
 	{ 0, (sy_call_t *)linux_rt_sigqueueinfo, AUE_NULL },	/* 356 = linux_rt_sigqueueinfo */
-	{ SYF_MPSAFE | AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend, AUE_NULL },	/* 357 = linux_rt_sigsuspend */
-	{ AS(linux_select_args), (sy_call_t *)linux_select, AUE_NULL },	/* 358 = linux_select */
-	{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday, AUE_NULL },	/* 359 = gettimeofday */
-	{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday, AUE_NULL },	/* 360 = settimeofday */
-	{ SYF_MPSAFE | AS(linux_getitimer_args), (sy_call_t *)linux_getitimer, AUE_NULL },	/* 361 = linux_getitimer */
-	{ SYF_MPSAFE | AS(linux_setitimer_args), (sy_call_t *)linux_setitimer, AUE_NULL },	/* 362 = linux_setitimer */
-	{ AS(linux_utimes_args), (sy_call_t *)linux_utimes, AUE_NULL },	/* 363 = linux_utimes */
-	{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage, AUE_NULL },	/* 364 = getrusage */
-	{ SYF_MPSAFE | AS(linux_wait4_args), (sy_call_t *)linux_wait4, AUE_NULL },	/* 365 = linux_wait4 */
-	{ 0, (sy_call_t *)linux_adjtimex, AUE_NULL },	/* 366 = linux_adjtimex */
+	{ SYF_MPSAFE | AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend, AUE_SIGSUSPEND },	/* 357 = linux_rt_sigsuspend */
+	{ AS(linux_select_args), (sy_call_t *)linux_select, AUE_SELECT },	/* 358 = linux_select */
+	{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday, AUE_GETTMEOFDAY },	/* 359 = gettimeofday */
+	{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday, AUE_SETTIMEOFDAY },	/* 360 = settimeofday */
+	{ SYF_MPSAFE | AS(linux_getitimer_args), (sy_call_t *)linux_getitimer, AUE_GETITIMER },	/* 361 = linux_getitimer */
+	{ SYF_MPSAFE | AS(linux_setitimer_args), (sy_call_t *)linux_setitimer, AUE_SETITIMER },	/* 362 = linux_setitimer */
+	{ AS(linux_utimes_args), (sy_call_t *)linux_utimes, AUE_UTIMES },	/* 363 = linux_utimes */
+	{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage, AUE_GETRUSAGE },	/* 364 = getrusage */
+	{ SYF_MPSAFE | AS(linux_wait4_args), (sy_call_t *)linux_wait4, AUE_O_WAIT },	/* 365 = linux_wait4 */
+	{ 0, (sy_call_t *)linux_adjtimex, AUE_ADJTIMEULL },	/* 366 = linux_adjtimex */
 	{ AS(linux_getcwd_args), (sy_call_t *)linux_getcwd, AUE_NULL },	/* 367 = linux_getcwd */
 	{ 0, (sy_call_t *)linux_capget, AUE_NULL },	/* 368 = linux_capget */
 	{ 0, (sy_call_t *)linux_capset, AUE_NULL },	/* 369 = linux_capset */
 	{ 0, (sy_call_t *)linux_sendfile, AUE_NULL },	/* 370 = linux_sendfile */
-	{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_NULL },	/* 371 = setresgid */
-	{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid, AUE_NULL },	/* 372 = getresgid */
+	{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_SETRESGID },	/* 371 = setresgid */
+	{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid, AUE_GETRESGID },	/* 372 = getresgid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 373 = sys_dipc */
 	{ AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root, AUE_NULL },	/* 374 = linux_pivot_root */
-	{ AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_NULL },	/* 375 = linux_mincore */
+	{ AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE },	/* 375 = linux_mincore */
 	{ 0, (sy_call_t *)linux_pciconfig_iobase, AUE_NULL },	/* 376 = linux_pciconfig_iobase */
-	{ AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_NULL },	/* 377 = linux_getdents64 */
+	{ AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_O_GETDENTS },	/* 377 = linux_getdents64 */
 };

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

@@ -46,212 +46,213 @@
 ; #ifdef's, etc. may be included, and are copied to the output files.
 
 0	AUE_NULL	UNIMPL
-1	AUE_NULL	MNOPROTO	{ void sys_exit(int rval); } exit \
+1	AUE_EXIT	MNOPROTO	{ void sys_exit(int rval); } exit \
 				    sys_exit_args void
-2	AUE_NULL	MSTD	{ int linux_fork(void); }
+2	AUE_FORK	MSTD	{ int linux_fork(void); }
 3	AUE_NULL	MNOPROTO	{ int read(int fd, char *buf, \
 				    u_int nbyte); }
 4	AUE_NULL	MNOPROTO	{ int write(int fd, char *buf, \
 				    u_int nbyte); }
 5	AUE_NULL	UNIMPL
-6	AUE_NULL	MNOPROTO	{ int close(int fd); }
-7	AUE_NULL	MSTD	{ int osf1_wait4(int pid, int *status, \
+6	AUE_CLOSE	MNOPROTO	{ int close(int fd); }
+7	AUE_O_WAIT	MSTD	{ int osf1_wait4(int pid, int *status, \
 				    int options, \
 				    struct osf1_rusage *rusage); }
 8	AUE_NULL	UNIMPL
-9	AUE_NULL	STD	{ int linux_link(char *path, char *to); }
-10	AUE_NULL	STD	{ int linux_unlink(char *path); }
+9	AUE_LINK	STD	{ int linux_link(char *path, char *to); }
+10	AUE_UNLINK	STD	{ int linux_unlink(char *path); }
 11	AUE_NULL	UNIMPL
-12	AUE_NULL	STD	{ int linux_chdir(char *path); }
-13	AUE_NULL	NOPROTO	{ int fchdir(int fd); }
-14	AUE_NULL	STD	{ int linux_mknod(char *path, l_int mode, \
+12	AUE_CHDIR	STD	{ int linux_chdir(char *path); }
+13	AUE_FCHDIR	NOPROTO	{ int fchdir(int fd); }
+14	AUE_MKNOD	STD	{ int linux_mknod(char *path, l_int mode, \
 				    l_dev_t dev); }
-15	AUE_NULL	STD	{ int linux_chmod(char *path, \
+15	AUE_CHMOD	STD	{ int linux_chmod(char *path, \
 				    l_mode_t mode); }
-16	AUE_NULL	STD	{ int linux_chown(char *path, l_uid_t uid, \
+16	AUE_CHOWN	STD	{ int linux_chown(char *path, l_uid_t uid, \
 				    l_gid_t gid); }
 17	AUE_NULL	STD	{ int linux_brk(l_ulong dsend); }
 18	AUE_NULL	UNIMPL
-19	AUE_NULL	STD	{ int linux_lseek(l_uint fdes, l_off_t off, \
+19	AUE_LSEEK	STD	{ int linux_lseek(l_uint fdes, l_off_t off, \
 				    l_int whence); }
-20	AUE_NULL	NOPROTO	{ int getpid(void); } 
-21	AUE_NULL	UNIMPL	osf1_mount
-22	AUE_NULL	STD	{ int linux_umount(char *path, l_int flags); }
-23	AUE_NULL	MNOPROTO	{ int setuid(uid_t uid); }
-24	AUE_NULL	MNOPROTO	{ int getuid(void); }
+20	AUE_GETPID	NOPROTO	{ int getpid(void); } 
+21	AUE_MOUNT	UNIMPL	osf1_mount
+22	AUE_UNMOUNT	STD	{ int linux_umount(char *path, l_int flags); }
+23	AUE_SETUID	MNOPROTO	{ int setuid(uid_t uid); }
+24	AUE_GETUID	MNOPROTO	{ int getuid(void); }
 25	AUE_NULL	UNIMPL
-26	AUE_NULL	MSTD	{ int linux_ptrace(void); }
+26	AUE_PTRACE	MSTD	{ int linux_ptrace(void); }
 27	AUE_NULL	UNIMPL
 28	AUE_NULL	UNIMPL
 29	AUE_NULL	UNIMPL
 30	AUE_NULL	UNIMPL
 31	AUE_NULL	UNIMPL
 32	AUE_NULL	UNIMPL
-33	AUE_NULL	STD	{ int linux_access(char *path, l_int flags); }
+33	AUE_ACCESS	STD	{ int linux_access(char *path, l_int flags); }
 34	AUE_NULL	UNIMPL
 35	AUE_NULL	UNIMPL
-36	AUE_NULL	NOPROTO	{ int sync(void); }
-37	AUE_NULL	MSTD	{ int linux_kill(l_int pid, l_int signum); }
+36	AUE_SYNC	NOPROTO	{ int sync(void); }
+37	AUE_KILL	MSTD	{ int linux_kill(l_int pid, l_int signum); }
 38	AUE_NULL	UNIMPL
-39	AUE_NULL	MNOPROTO	{ int setpgid(int pid, int pgid); }
+39	AUE_SETPGRP	MNOPROTO	{ int setpgid(int pid, int pgid); }
 40	AUE_NULL	UNIMPL
-41	AUE_NULL	MNOPROTO	{ int dup(u_int fd); }
-42	AUE_NULL	MNOPROTO	{ int pipe(void); }
+41	AUE_DUP		MNOPROTO	{ int dup(u_int fd); }
+42	AUE_PIPE	MNOPROTO	{ int pipe(void); }
 43	AUE_NULL	UNIMPL	osf_set_program_attributes
 44	AUE_NULL	UNIMPL
-45	AUE_NULL	STD	{ int linux_open(char *path, l_int flags, \
+45	AUE_OPEN_RWTC	STD	{ int linux_open(char *path, l_int flags, \
 				    l_int mode); }
 46	AUE_NULL	UNIMPL
-47	AUE_NULL	MNOPROTO	{ int getgid(void); }
-48	AUE_NULL	MSTD	{ int osf1_sigprocmask(int how, \
+47	AUE_GETGID	MNOPROTO	{ int getgid(void); }
+48	AUE_SIGPROCMASK	MSTD	{ int osf1_sigprocmask(int how, \
 				    u_long mask); }
 49	AUE_NULL	UNIMPL
 50	AUE_NULL	UNIMPL
-51	AUE_NULL	NOPROTO	{ int acct(char *path); }
-52	AUE_NULL	MSTD	{ int linux_sigpending(void); }
+51	AUE_ACCT	NOPROTO	{ int acct(char *path); }
+52	AUE_SIGPENDING	MSTD	{ int linux_sigpending(void); }
 53	AUE_NULL	UNIMPL
-54	AUE_NULL	STD	{ int linux_ioctl(l_uint fd, l_uint cmd, \
+54	AUE_IOCTL	STD	{ int linux_ioctl(l_uint fd, l_uint cmd, \
 				    l_ulong arg); }
 55	AUE_NULL	UNIMPL
 56	AUE_NULL	UNIMPL
-57	AUE_NULL	STD	{ int linux_symlink(char *path, char *to); }
-58	AUE_NULL	STD	{ int linux_readlink(char *name, char *buf, \
+57	AUE_SYMLINK	STD	{ int linux_symlink(char *path, char *to); }
+58	AUE_READLINK	STD	{ int linux_readlink(char *name, char *buf, \
 				    l_int count); }
-59	AUE_NULL	STD	{ int linux_execve(char *path, char **argp, \
+59	AUE_EXECVE	STD	{ int linux_execve(char *path, char **argp, \
 				    char **envp); }
-60	AUE_NULL	MNOPROTO	{ int umask(int newmask); }
-61	AUE_NULL	NOPROTO	{ int chroot(char *path); }
+60	AUE_UMASK	MNOPROTO	{ int umask(int newmask); }
+61	AUE_CHROOT	NOPROTO	{ int chroot(char *path); }
 62	AUE_NULL	UNIMPL
-63	AUE_NULL	MNOPROTO	{ int getpgrp(void); }
-64	AUE_NULL	STD	{ int linux_getpagesize(void); }
+63	AUE_GETPGRP	MNOPROTO	{ int getpgrp(void); }
+64	AUE_O_GETPAGESIZE	STD	{ int linux_getpagesize(void); }
 65	AUE_NULL	UNIMPL
-66	AUE_NULL	MSTD	{ int linux_vfork(void); }
-67	AUE_NULL	STD	{ int linux_newstat(char *path, \
+66	AUE_VFORK	MSTD	{ int linux_vfork(void); }
+67	AUE_STAT	STD	{ int linux_newstat(char *path, \
 				    struct l_newstat *buf); }
-68	AUE_NULL	STD	{ int linux_newlstat(char *path, \
+68	AUE_LSTAT	STD	{ int linux_newlstat(char *path, \
 				    struct l_newstat *buf); }
 69	AUE_NULL	UNIMPL
 70	AUE_NULL	UNIMPL
-71	AUE_NULL	STD	{ int linux_mmap(l_ulong addr, l_ulong len, \
+71	AUE_MMAP	STD	{ int linux_mmap(l_ulong addr, l_ulong len, \
 				    l_ulong prot, l_ulong flags, l_ulong fd, \
 				    l_ulong pos); }
 72	AUE_NULL	UNIMPL
-73	AUE_NULL	STD	{ int linux_munmap(l_ulong addr, \
+73	AUE_MUNMAP	STD	{ int linux_munmap(l_ulong addr, \
 				    l_size_t len); }
-74	AUE_NULL	STD	{ int linux_mprotect(l_ulong addr, \
+74	AUE_MPROTECT	STD	{ int linux_mprotect(l_ulong addr, \
 				    l_size_t len, l_ulong prot); }
-75	AUE_NULL	MNOPROTO	{ int madvise(void *addr, \
+75	AUE_MADVISE	MNOPROTO	{ int madvise(void *addr, \
 				    size_t len, int behav); }
 76	AUE_NULL	STD	{ int linux_vhangup(void); }
 77	AUE_NULL	UNIMPL
 78	AUE_NULL	UNIMPL
-79	AUE_NULL	MSTD	{ int linux_setgroups(l_int gidsetsize, \
+79	AUE_SETGROUPS	MSTD	{ int linux_setgroups(l_int gidsetsize, \
 				    l_gid_t *grouplist); }
-80	AUE_NULL	MSTD	{ int linux_getgroups(l_int gidsetsize, \
+80	AUE_GETGROUPS	MSTD	{ int linux_getgroups(l_int gidsetsize, \
 				    l_gid_t *grouplist); }
 81	AUE_NULL	UNIMPL	
-82	AUE_NULL	MNODEF	setpgid setpgid setpgid_args int
-83	AUE_NULL	STD	{ int osf1_setitimer(u_int which, \
+82	AUE_SETPGRP	MNODEF	setpgid setpgid setpgid_args int
+83	AUE_SETITIMER	STD	{ int osf1_setitimer(u_int which, \
 				    struct itimerval *itv, \
 				    struct itimerval *oitv); }
 84	AUE_NULL	UNIMPL
 85	AUE_NULL	UNIMPL
-86	AUE_NULL	UNIMPL	osf_getitimer
-87	AUE_NULL	STD	{ int linux_gethostname(void); }
-88	AUE_NULL	MNOPROTO	{ int osethostname(char *hostname, \
-				    u_int len); } osethostname \
-				    sethostname_args int
-89	AUE_NULL	STD	{ int linux_getdtablesize(void); }
-90	AUE_NULL	MNOPROTO	{ int dup2(u_int from, u_int to); }
-91	AUE_NULL	STD	{ int linux_newfstat(l_uint fd, \
+86	AUE_GETITIMER	UNIMPL	osf_getitimer
+87	AUE_O_GETHOSTNAME	STD	{ int linux_gethostname(void); }
+88	AUE_O_SETHOTNAME	MNOPROTO	{ int osethostname( \
+				    char *hostname, u_int len); } \
+				    osethostname sethostname_args int
+89	AUE_GETDTABLESIZE	STD	{ int linux_getdtablesize(void); }
+90	AUE_DUP2	MNOPROTO	{ int dup2(u_int from, u_int to); }
+91	AUE_FSTAT	STD	{ int linux_newfstat(l_uint fd, \
 				    struct l_newstat *buf); }
-92	AUE_NULL	MSTD	{ int linux_fcntl(l_uint fd, l_uint cmd, \
+92	AUE_FCNTL	MSTD	{ int linux_fcntl(l_uint fd, l_uint cmd, \
 				    l_ulong arg); }
-93	AUE_NULL	STD	{ int osf1_select(u_int nd, fd_set *in, \
+93	AUE_SELECT	STD	{ int osf1_select(u_int nd, fd_set *in, \
 				    fd_set *ou, fd_set *ex, \
 				    struct timeval *tv); }
-94	AUE_NULL	NOPROTO	{ int poll(struct pollfd*, unsigned int \
+94	AUE_POLL	NOPROTO	{ int poll(struct pollfd*, unsigned int \
 				    nfds, long timeout); }
-95	AUE_NULL	NOPROTO	{ int fsync(int fd); }
-96	AUE_NULL	MNOPROTO	{ int setpriority(int which, \
+95	AUE_FSYNC	NOPROTO	{ int fsync(int fd); }
+96	AUE_SETPRIORITY	MNOPROTO	{ int setpriority(int which, \
 				    int who, int prio); }
-97	AUE_NULL	STD	{ int osf1_socket(int domain, int type, \
+97	AUE_SOCKET	STD	{ int osf1_socket(int domain, int type, \
 				    int protocol); }
-98	AUE_NULL	STD	{ int linux_connect(l_int s, \
+98	AUE_CONNECT	STD	{ int linux_connect(l_int s, \
 				    struct l_sockaddr *name, l_int namelen); }
-99	AUE_NULL	NOPROTO	{ int oaccept(int s, caddr_t name, \
+99	AUE_ACCEPT	NOPROTO	{ int oaccept(int s, caddr_t name, \
 				    int *anamelen); } accept accept_args int
-100	AUE_NULL	UNIMPL	osf_getpriority
-101	AUE_NULL	NOPROTO	{ int osend(int s, caddr_t buf, int len, \
+100	AUE_GETPRIORITY	UNIMPL	osf_getpriority
+101	AUE_SEND	NOPROTO	{ int osend(int s, caddr_t buf, int len, \
 				    int flags); }
-102	AUE_NULL	NOPROTO { int orecv(int s, caddr_t buf, int len, \
+102	AUE_RECV	NOPROTO { int orecv(int s, caddr_t buf, int len, \
 				    int flags); }
-103	AUE_NULL	MSTD	{ int osf1_sigreturn( \
+103	AUE_SIGRETURN	MSTD	{ int osf1_sigreturn( \
 				    struct osigcontext *sigcntxp); }
-104	AUE_NULL	NOPROTO	{ int bind(int s, caddr_t name, \
+104	AUE_BIND	NOPROTO	{ int bind(int s, caddr_t name, \
 				    int namelen); }
-105	AUE_NULL	NOPROTO	{ int setsockopt(int s, int level, int name, \
+105	AUE_SETSOCKOPT	NOPROTO	{ int setsockopt(int s, int level, int name, \
 				    caddr_t val, int valsize); }
-106	AUE_NULL	NOPROTO	{ int listen(int s, int backlog); }
+106	AUE_LISTEN	NOPROTO	{ int listen(int s, int backlog); }
 107	AUE_NULL	UNIMPL
 108	AUE_NULL	UNIMPL
 109	AUE_NULL	UNIMPL
 110	AUE_NULL	UNIMPL
-111	AUE_NULL	MSTD	{ int osf1_sigsuspend(unsigned long ss); }
-112	AUE_NULL	UNIMPL	osf_sigstack
-113	AUE_NULL	STD	{ int linux_recvmsg(void); }
-114	AUE_NULL	STD	{ int linux_sendmsg(void); }
+111	AUE_SIGSUSEND	MSTD	{ int osf1_sigsuspend(unsigned long ss); }
+112	AUE_O_SIGSTACK	UNIMPL	osf_sigstack
+113	AUE_RECVMSG	STD	{ int linux_recvmsg(void); }
+114	AUE_SENDMSG	STD	{ int linux_sendmsg(void); }
 115	AUE_NULL	UNIMPL
-116	AUE_NULL	MSTD	{ int osf1_gettimeofday(struct timeval *tp, \
+116	AUE_GETTIMEOFDAY	MSTD	{ int osf1_gettimeofday( \
+				    struct timeval *tp, \
 				    struct timezone *tzp); }
-117	AUE_NULL	STD	{ int osf1_getrusage(long who, \
+117	AUE_GETRUSAGE	STD	{ int osf1_getrusage(long who, \
 				    void *rusage); }
-118	AUE_NULL	NOPROTO	{ int getsockopt(int s, int level, int name, \
+118	AUE_GETSOCKOPT	NOPROTO	{ int getsockopt(int s, int level, int name, \
 				    caddr_t val, int *avalsize); }
 119	AUE_NULL	UNIMPL
-120	AUE_NULL	NOPROTO	{ int readv(int fd, struct iovec *iovp, \
+120	AUE_READV	NOPROTO	{ int readv(int fd, struct iovec *iovp, \
 				    u_int iovcnt); }
-121	AUE_NULL	NOPROTO	{ int writev(int fd, struct iovec *iovp, \
+121	AUE_WRITEV	NOPROTO	{ int writev(int fd, struct iovec *iovp, \
 				    u_int iovcnt); }
-122	AUE_NULL	UNIMPL	osf_settimeofday
-123	AUE_NULL	NOPROTO	{ int fchown(int fd, int uid, int gid); }
-124	AUE_NULL	NOPROTO	{ int fchmod(int fd, int mode); }
-125	AUE_NULL	NOPROTO	{ int orecvfrom(int s, caddr_t buf, \
+122	AUE_SETTIMEOFDAY	UNIMPL	osf_settimeofday
+123	AUE_FCHOWN	NOPROTO	{ int fchown(int fd, int uid, int gid); }
+124	AUE_FCHMOD	NOPROTO	{ int fchmod(int fd, int mode); }
+125	AUE_RECVFROM	NOPROTO	{ int orecvfrom(int s, caddr_t buf, \
 				    size_t len, int flags, caddr_t from, \
 				    int *fromlenaddr); } recvfrom \
 				    recvfrom_args int
-126	AUE_NULL	MNOPROTO	{ int setreuid(int ruid, int euid); }
-127	AUE_NULL	MNOPROTO	{ int setregid(int rgid, int egid); }
-128	AUE_NULL	STD	{ int linux_rename(char *from, char *to); }
-129	AUE_NULL	STD	{ int linux_truncate(char *path, \
+126	AUE_SETREUID	MNOPROTO	{ int setreuid(int ruid, int euid); }
+127	AUE_SETREGID	MNOPROTO	{ int setregid(int rgid, int egid); }
+128	AUE_RENAME	STD	{ int linux_rename(char *from, char *to); }
+129	AUE_TRUNCATE	STD	{ int linux_truncate(char *path, \
 				    l_ulong length); }
-130	AUE_NULL	NOPROTO	{ int oftruncate(int fd, long length); }
-131	AUE_NULL	NOPROTO	{ int flock(int fd, int how); }
-132	AUE_NULL	MNOPROTO	{ int setgid(gid_t gid); }
-133	AUE_NULL	STD	{ int osf1_sendto(int s, caddr_t buf, \
+130	AUE_FTRUNCATE	NOPROTO	{ int oftruncate(int fd, long length); }
+131	AUE_FLOCK	NOPROTO	{ int flock(int fd, int how); }
+132	AUE_SETGID	MNOPROTO	{ int setgid(gid_t gid); }
+133	AUE_SENDTO	STD	{ int osf1_sendto(int s, caddr_t buf, \
 				    size_t len, int flags, \
 				    struct sockaddr *to, int tolen); }
-134	AUE_NULL	NOPROTO	{ int shutdown(int s, int how); }
-135	AUE_NULL	STD	{ int linux_socketpair(void); }
-136	AUE_NULL	STD	{ int linux_mkdir(char *path, l_int mode); }
-137	AUE_NULL	STD	{ int linux_rmdir(char *path); }
-138	AUE_NULL	NOPROTO	{ int utimes(char *path, \
+134	AUE_SHUTDOWN	NOPROTO	{ int shutdown(int s, int how); }
+135	AUE_SOCKETPAIR	STD	{ int linux_socketpair(void); }
+136	AUE_MKDIR	STD	{ int linux_mkdir(char *path, l_int mode); }
+137	AUE_RMDIR	STD	{ int linux_rmdir(char *path); }
+138	AUE_UTIMES	NOPROTO	{ int utimes(char *path, \
 				    struct timeval *tptr); }
 139	AUE_NULL	UNIMPL
 140	AUE_NULL	UNIMPL
-141	AUE_NULL	NOPROTO	{ int ogetpeername(int fdes, caddr_t asa, \
+141	AUE_GETPEERNAME	NOPROTO	{ int ogetpeername(int fdes, caddr_t asa, \
 				    int *alen); }
 142	AUE_NULL	UNIMPL
 143	AUE_NULL	UNIMPL
-144	AUE_NULL	MSTD	{ int linux_getrlimit(l_uint resource, \
+144	AUE_GETRLIMIT	MSTD	{ int linux_getrlimit(l_uint resource, \
 				    struct l_rlimit *rlim); }
-145	AUE_NULL	MSTD	{ int linux_setrlimit(l_uint resource, \
+145	AUE_SETRLIMIT	MSTD	{ int linux_setrlimit(l_uint resource, \
 				    struct l_rlimit *rlim); }
 146	AUE_NULL	UNIMPL
-147	AUE_NULL	MNOPROTO	{ int setsid(void); }
-148	AUE_NULL	STD	{ int linux_quotactl(void); }
+147	AUE_SETSID	MNOPROTO	{ int setsid(void); }
+148	AUE_QUOTACTL	STD	{ int linux_quotactl(void); }
 149	AUE_NULL	UNIMPL
-150	AUE_NULL	NOPROTO	{ int ogetsockname(int fdec, caddr_t asa, \
+150	AUE_GETSOCKNAME	NOPROTO	{ int ogetsockname(int fdec, caddr_t asa, \
 				    int *alen);} getsockname \
 				    getsockname_args int
 151	AUE_NULL	UNIMPL
@@ -259,20 +260,20 @@
 153	AUE_NULL	UNIMPL
 154	AUE_NULL	UNIMPL
 155	AUE_NULL	UNIMPL
-156	AUE_NULL	MSTD	{ int osf1_sigaction(int sig, \
+156	AUE_SIGCTION	MSTD	{ int osf1_sigaction(int sig, \
 				    struct osf1_sigaction *nsa, \
 				    struct osf1_sigaction *osa); }
 157	AUE_NULL	UNIMPL
 158	AUE_NULL	UNIMPL
-159	AUE_NULL	UNIMPL	osf_getdirentries
-160	AUE_NULL	UNIMPL	osf_statfs
-161	AUE_NULL	UNIMPL	osf_fstatfs
+159	AUE_GETDIRENTRIES	UNIMPL	osf_getdirentries
+160	AUE_STATFS	UNIMPL	osf_statfs
+161	AUE_FSTATFS	UNIMPL	osf_fstatfs
 162	AUE_NULL	UNIMPL
 163	AUE_NULL	UNIMPL
 164	AUE_NULL	UNIMPL
-165	AUE_NULL	UNIMPL	osf_getdomainname
-166	AUE_NULL	MNOPROTO	{ int setdomainname(char *name, \
-				    int len); }
+165	AUE_O_GETDOMAINNAME	UNIMPL	osf_getdomainname
+166	AUE_O_GETDOMAINNAME	MNOPROTO	{ int setdomainname( \
+				    char *name, int len); }
 167	AUE_NULL	UNIMPL
 168	AUE_NULL	UNIMPL
 169	AUE_NULL	UNIMPL
@@ -305,39 +306,39 @@
 196	AUE_NULL	UNIMPL
 197	AUE_NULL	UNIMPL
 198	AUE_NULL	UNIMPL
-199	AUE_NULL	UNIMPL	osf_swapon
-200	AUE_NULL	STD	{ int linux_msgctl(l_int msqid, l_int cmd, \
+199	AUE_SWAPON	UNIMPL	osf_swapon
+200	AUE_MSGCTL	STD	{ int linux_msgctl(l_int msqid, l_int cmd, \
 				    struct l_msqid_ds *buf); }
-201	AUE_NULL	STD	{ int linux_msgget(l_key_t key, \
+201	AUE_MSGGET	STD	{ int linux_msgget(l_key_t key, \
 				    l_int msgflg); }
-202	AUE_NULL	STD	{ int linux_msgrcv(l_int msqid, \
+202	AUE_MSGRCV	STD	{ int linux_msgrcv(l_int msqid, \
 				    struct l_msgbuf *msgp, l_size_t msgsz, \
 				    l_long msgtyp, l_int msgflg); }
-203	AUE_NULL	STD	{ int linux_msgsnd(l_int msqid, \
+203	AUE_MSGSND	STD	{ int linux_msgsnd(l_int msqid, \
 				    struct l_msgbuf *msgp, l_size_t msgsz, \
 				    l_int msgflg); }
-204	AUE_NULL	STD	{ int linux_semctl(l_int semid, \
+204	AUE_SEMCTL	STD	{ int linux_semctl(l_int semid, \
 				    l_int semnum, l_int cmd, \
 				    union l_semun arg); }
-205	AUE_NULL	STD	{ int linux_semget(l_key_t key, l_int nsems, \
+205	AUE_SEMGET	STD	{ int linux_semget(l_key_t key, l_int nsems, \
 				    l_int semflg); }
-206	AUE_NULL	STD	{ int linux_semop(l_int semid, \
+206	AUE_SEMOP	STD	{ int linux_semop(l_int semid, \
 				    struct l_sembuf *tsops, l_uint nsops); }
 207	AUE_NULL	UNIMPL	osf_utsname
-208	AUE_NULL	STD	{ int linux_lchown(char *path, l_uid_t uid, \
+208	AUE_LCHOWN	STD	{ int linux_lchown(char *path, l_uid_t uid, \
 				    l_gid_t gid); }
-209	AUE_NULL	STD	{ int linux_shmat(l_int shmid, \
+209	AUE_SHMAT	STD	{ int linux_shmat(l_int shmid, \
 				    char *shmaddr, l_int shmflg); }
-210	AUE_NULL	STD	{ int linux_shmctl(l_int shmid, l_int cmd, \
+210	AUE_SHMCTL	STD	{ int linux_shmctl(l_int shmid, l_int cmd, \
 				    struct l_shmid_ds *buf); }
-211	AUE_NULL	STD	{ int linux_shmdt(char *shmaddr); }
-212	AUE_NULL	STD	{ int linux_shmget(l_key_t key, \
+211	AUE_SHMDT	STD	{ int linux_shmdt(char *shmaddr); }
+212	AUE_SHMGET	STD	{ int linux_shmget(l_key_t key, \
 				    l_size_t size, l_int shmflg); }
 213	AUE_NULL	UNIMPL
 214	AUE_NULL	UNIMPL
 215	AUE_NULL	UNIMPL
 216	AUE_NULL	UNIMPL
-217	AUE_NULL	STD	{ int linux_msync(l_ulong addr, \
+217	AUE_MSYNC	STD	{ int linux_msync(l_ulong addr, \
 				    l_size_t len, l_int fl); }
 218	AUE_NULL	UNIMPL
 219	AUE_NULL	UNIMPL
@@ -354,9 +355,9 @@
 230	AUE_NULL	UNIMPL
 231	AUE_NULL	UNIMPL
 232	AUE_NULL	UNIMPL
-233	AUE_NULL	MNOPROTO	{ int getpgid(int pid); }
-234	AUE_NULL	MSTD	{ int linux_getsid(l_pid_t pid); }
-235	AUE_NULL	STD	{ int linux_sigaltstack(void); }
+233	AUE_GETPPID	MNOPROTO	{ int getpgid(int pid); }
+234	AUE_GETSID	MSTD	{ int linux_getsid(l_pid_t pid); }
+235	AUE_SIGALTSTACK	STD	{ int linux_sigaltstack(void); }
 236	AUE_NULL	UNIMPL
 237	AUE_NULL	UNIMPL
 238	AUE_NULL	UNIMPL
@@ -429,12 +430,12 @@
 299	AUE_NULL	UNIMPL
 300	AUE_NULL	STD	{ int linux_bdflush(void); }
 301	AUE_NULL	STD	{ int linux_sethae(void); }
-302	AUE_NULL	STD	{ int linux_mount(char *specialfile, \
+302	AUE_MOUNT	STD	{ int linux_mount(char *specialfile, \
 				    char *dir, char *filesystemtype, \
 				    l_ulong rwflag, void *data); }
-303	AUE_NULL	STD	{ int linux_old_adjtimex(void); }
-304	AUE_NULL	STD	{ int linux_swapoff(void); }
-305	AUE_NULL	STD	{ int linux_getdents(l_uint fd, void *dent, \
+303	AUE_ADJTIME	STD	{ int linux_old_adjtimex(void); }
+304	AUE_SWAPOFF	STD	{ int linux_swapoff(void); }
+305	AUE_O_GETDENTS	STD	{ int linux_getdents(l_uint fd, void *dent, \
 				    l_uint count); }
 306	AUE_NULL	STD	{ int linux_create_module(void); }
 307	AUE_NULL	STD	{ int linux_init_module(void); }
@@ -442,31 +443,31 @@
 309	AUE_NULL	STD	{ int linux_get_kernel_syms(void); }
 310	AUE_NULL	STD	{ int linux_syslog(l_int type, char *buf, \
 				    l_int len); }
-311	AUE_NULL	STD	{ int linux_reboot(l_int magic1, \
+311	AUE_REBOOT	STD	{ int linux_reboot(l_int magic1, \
 				    l_int magic2, l_uint cmd, void *arg); }
-312	AUE_NULL	MSTD	{ int linux_clone(l_int flags, void *stack); }
+312	AUE_RFORK	MSTD	{ int linux_clone(l_int flags, void *stack); }
 313	AUE_NULL	STD	{ int linux_uselib(char *library); }	
-314	AUE_NULL	MNOPROTO	{ int mlock(const void *addr, \
+314	AUE_MLOCK	MNOPROTO	{ int mlock(const void *addr, \
 				    size_t len); }
-315	AUE_NULL	MNOPROTO	{ int munlock(const void *addr, \
+315	AUE_MUNLOCK	MNOPROTO	{ int munlock(const void *addr, \
 				    size_t len); }
-316	AUE_NULL	MNOPROTO	{ int mlockall(int how); }
-317	AUE_NULL	MNOPROTO	{ int munlockall(void); }
+316	AUE_MLOCKALL	MNOPROTO	{ int mlockall(int how); }
+317	AUE_MUNLOCKALL	MNOPROTO	{ int munlockall(void); }
 318	AUE_NULL	STD	{ int linux_sysinfo(void); }
-319	AUE_NULL	STD	{ int linux_sysctl( \
+319	AUE_SYSCTL	STD	{ int linux_sysctl( \
 				    struct l___sysctl_args *args); }
 320	AUE_NULL	UNIMPL	sys_idle
-321	AUE_NULL	STD	{ int linux_oldumount(char *path); }
-322	AUE_NULL	NOPROTO	{ int swapon(char *name); }
+321	AUE_UMOUNT	STD	{ int linux_oldumount(char *path); }
+322	AUE_SWAPON	NOPROTO	{ int swapon(char *name); }
 323	AUE_NULL	STD	{ int linux_times(struct l_times_argv *buf); }
 324	AUE_NULL	STD	{ int linux_personality(l_ulong per); }
 325	AUE_NULL	STD	{ int linux_setfsuid(l_uid_t uid); }
 326	AUE_NULL	STD	{ int linux_setfsgid(l_gid_t gid); }
 327	AUE_NULL	STD	{ int linux_ustat(l_dev_t dev, \
 				    struct l_ustat *ubuf); }
-328	AUE_NULL	STD	{ int linux_statfs(char *path, \
+328	AUE_STATFS	STD	{ int linux_statfs(char *path, \
 				    struct l_statfs_buf *buf); }
-329	AUE_NULL	STD	{ int linux_fstatfs(l_uint fd, \
+329	AUE_FSTATFS	STD	{ int linux_fstatfs(l_uint fd, \
 				    struct l_statfs_buf *buf); }
 330	AUE_NULL	MNOPROTO	{ int sched_setparam(pid_t pid, \
 				    const struct sched_param *param); }
@@ -477,9 +478,9 @@
 				    struct l_sched_param *param); }
 333	AUE_NULL	MSTD	{ int linux_sched_getscheduler(l_pid_t pid); }
 334	AUE_NULL	MNOPROTO	{ int sched_yield(void); }
-335	AUE_NULL	MSTD	{ int linux_sched_get_priority_max( \
+335	AUE_GETPRIORITY	MSTD	{ int linux_sched_get_priority_max( \
 				    l_int policy); }
-336	AUE_NULL	MSTD	{ int linux_sched_get_priority_min( \
+336	AUE_GETPRIORITY	MSTD	{ int linux_sched_get_priority_min( \
 				    l_int policy); }
 337	AUE_NULL	NOPROTO	{ int sched_rr_get_interval (pid_t pid, \
 				    struct timespec *interval); }
@@ -493,66 +494,66 @@
 				    l_ulong old_len, l_ulong new_len, \
 				    l_ulong flags, l_ulong new_addr); }
 342	AUE_NULL	STD	{ int linux_nfsservctl(void); }
-343	AUE_NULL	MNOPROTO	{ int setresuid(uid_t ruid, \
+343	AUE_SETRESUID	MNOPROTO	{ int setresuid(uid_t ruid, \
 				    uid_t euid, uid_t suid); }
-344	AUE_NULL	MNOPROTO	{ int getresuid(uid_t *ruid, \
+344	AUE_GETRESUID	MNOPROTO	{ int getresuid(uid_t *ruid, \
 				    uid_t *euid, uid_t *suid); }
 345	AUE_NULL	STD	{ int linux_pciconfig_read(void); }
 346	AUE_NULL	STD	{ int linux_pciconfig_write(void); }
 347	AUE_NULL	STD	{ int linux_query_module(void); }
 348	AUE_NULL	STD	{ int linux_prctl(void); }
-349	AUE_NULL	STD	{ int linux_pread(l_uint fd, char *buf, \
+349	AUE_PREAD	STD	{ int linux_pread(l_uint fd, char *buf, \
 				    l_size_t nbyte, l_loff_t offset); }
-350	AUE_NULL	STD	{ int linux_pwrite(l_uint fd, char *buf, \
+350	AUE_PWRITE	STD	{ int linux_pwrite(l_uint fd, char *buf, \
 				    l_size_t nbyte, l_loff_t offset); }

>>> TRUNCATED FOR MAIL (1000 lines) <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507111301.j6BD1a1W048966>