Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 22:41:33 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 84010 for review
Message-ID:  <200509202241.j8KMfX8w029304@repoman.freebsd.org>

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

Change 84010 by rwatson@rwatson_zoo on 2005/09/20 22:41:17

	Fix one mis-merge in the Linux i386 system call table.
	
	Regenerate system call files.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_proto.h#5 edit
.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_syscall.h#5 edit
.. //depot/projects/trustedbsd/audit3/sys/alpha/linux/linux_sysent.c#5 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_proto.h#7 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_syscall.h#7 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_syscalls.c#7 edit
.. //depot/projects/trustedbsd/audit3/sys/compat/freebsd32/freebsd32_sysent.c#8 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_syscall.h#3 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_sysent.c#3 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix.h#3 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_syscall.h#3 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_sysent.c#3 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/linux_proto.h#6 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/linux_syscall.h#6 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/linux_sysent.c#10 edit
.. //depot/projects/trustedbsd/audit3/sys/i386/linux/syscalls.master#10 edit
.. //depot/projects/trustedbsd/audit3/sys/kern/init_sysent.c#19 edit
.. //depot/projects/trustedbsd/audit3/sys/kern/syscalls.c#11 edit
.. //depot/projects/trustedbsd/audit3/sys/sys/syscall.h#11 edit
.. //depot/projects/trustedbsd/audit3/sys/sys/syscall.mk#12 edit
.. //depot/projects/trustedbsd/audit3/sys/sys/sysproto.h#15 edit

Differences ...

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp 
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.64 2005/07/13 20:32:41 jhb Exp 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -199,6 +199,10 @@
 	char name_l_[PADL_(struct l_sockaddr *)]; struct l_sockaddr * name; char name_r_[PADR_(struct l_sockaddr *)];
 	char namelen_l_[PADL_(l_int)]; l_int namelen; char namelen_r_[PADR_(l_int)];
 };
+struct linux_getpriority_args {
+	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
+	char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
+};
 struct osf1_sigreturn_args {
 	char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)];
 };
@@ -622,6 +626,7 @@
 int	osf1_select(struct thread *, struct osf1_select_args *);
 int	osf1_socket(struct thread *, struct osf1_socket_args *);
 int	linux_connect(struct thread *, struct linux_connect_args *);
+int	linux_getpriority(struct thread *, struct linux_getpriority_args *);
 int	osf1_sigreturn(struct thread *, struct osf1_sigreturn_args *);
 int	osf1_sigsuspend(struct thread *, struct osf1_sigsuspend_args *);
 int	linux_recvmsg(struct thread *, struct linux_recvmsg_args *);

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp 
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.64 2005/07/13 20:32:41 jhb Exp 
  */
 
 #define	LINUX_SYS_exit	1
@@ -69,6 +69,7 @@
 #define	LINUX_SYS_osf1_socket	97
 #define	LINUX_SYS_linux_connect	98
 #define	LINUX_SYS_accept	99
+#define	LINUX_SYS_linux_getpriority	100
 #define	LINUX_SYS_osend	101
 #define	LINUX_SYS_orecv	102
 #define	LINUX_SYS_osf1_sigreturn	103

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp 
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.64 2005/07/13 20:32:41 jhb Exp 
  */
 
 #include <bsm/audit_kevents.h>
@@ -29,18 +29,18 @@
 	{ 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_LINK },	/* 9 = linux_link */
-	{ AS(linux_unlink_args), (sy_call_t *)linux_unlink, AUE_UNLINK },	/* 10 = linux_unlink */
+	{ SYF_MPSAFE | AS(linux_link_args), (sy_call_t *)linux_link, AUE_LINK },	/* 9 = linux_link */
+	{ SYF_MPSAFE | 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_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 */
+	{ SYF_MPSAFE | AS(linux_chdir_args), (sy_call_t *)linux_chdir, AUE_CHDIR },	/* 12 = linux_chdir */
+	{ SYF_MPSAFE | AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR },	/* 13 = fchdir */
+	{ SYF_MPSAFE | AS(linux_mknod_args), (sy_call_t *)linux_mknod, AUE_MKNOD },	/* 14 = linux_mknod */
+	{ SYF_MPSAFE | AS(linux_chmod_args), (sy_call_t *)linux_chmod, AUE_CHMOD },	/* 15 = linux_chmod */
+	{ SYF_MPSAFE | 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_LSEEK },	/* 19 = linux_lseek */
-	{ 0, (sy_call_t *)getpid, AUE_GETPID },		/* 20 = getpid */
+	{ SYF_MPSAFE | AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_LSEEK },	/* 19 = linux_lseek */
+	{ SYF_MPSAFE | 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_UNMOUNT },	/* 22 = linux_umount */
 	{ SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID },	/* 23 = setuid */
@@ -53,10 +53,10 @@
 	{ 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_ACCESS },	/* 33 = linux_access */
+	{ SYF_MPSAFE | 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_SYNC },		/* 36 = sync */
+	{ SYF_MPSAFE | 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_SETPGRP },	/* 39 = setpgid */
@@ -65,112 +65,112 @@
 	{ 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_OPEN_RWTC },	/* 45 = linux_open */
+	{ SYF_MPSAFE | 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_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_ACCT },	/* 51 = acct */
+	{ SYF_MPSAFE | 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_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_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(linux_symlink_args), (sy_call_t *)linux_symlink, AUE_SYMLINK },	/* 57 = linux_symlink */
+	{ SYF_MPSAFE | AS(linux_readlink_args), (sy_call_t *)linux_readlink, AUE_READLINK },	/* 58 = linux_readlink */
+	{ SYF_MPSAFE | 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 */
+	{ SYF_MPSAFE | 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_GETPGRP },	/* 63 = getpgrp */
-	{ 0, (sy_call_t *)linux_getpagesize, AUE_O_GETPAGESIZE },	/* 64 = linux_getpagesize */
+	{ SYF_MPSAFE | 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_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 */
+	{ SYF_MPSAFE | AS(linux_newstat_args), (sy_call_t *)linux_newstat, AUE_STAT },	/* 67 = linux_newstat */
+	{ SYF_MPSAFE | 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_MMAP },	/* 71 = linux_mmap */
+	{ SYF_MPSAFE | 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_MUNMAP },	/* 73 = linux_munmap */
-	{ AS(linux_mprotect_args), (sy_call_t *)linux_mprotect, AUE_MPROTECT },	/* 74 = linux_mprotect */
+	{ SYF_MPSAFE | AS(linux_munmap_args), (sy_call_t *)linux_munmap, AUE_MUNMAP },	/* 73 = linux_munmap */
+	{ SYF_MPSAFE | 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 */
+	{ SYF_MPSAFE | 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_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_SETITIMER },	/* 83 = osf1_setitimer */
+	{ SYF_MPSAFE | 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_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 | 0, (sy_call_t *)linux_gethostname, AUE_O_GETHOSTNAME },	/* 87 = linux_gethostname */
+	{ SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname, AUE_O_SETHOSTNAME },	/* 88 = osethostname */
+	{ SYF_MPSAFE | 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_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(osf1_select_args), (sy_call_t *)osf1_select, AUE_SELECT },	/* 93 = osf1_select */
+	{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll, AUE_POLL },	/* 94 = poll */
+	{ SYF_MPSAFE | 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_SEND },	/* 101 = osend */
-	{ AS(orecv_args), (sy_call_t *)orecv, AUE_RECV },	/* 102 = orecv */
+	{ SYF_MPSAFE | AS(osf1_socket_args), (sy_call_t *)osf1_socket, AUE_SOCKET },	/* 97 = osf1_socket */
+	{ SYF_MPSAFE | AS(linux_connect_args), (sy_call_t *)linux_connect, AUE_CONNECT },	/* 98 = linux_connect */
+	{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)oaccept, AUE_ACCEPT },	/* 99 = accept */
+	{ SYF_MPSAFE | AS(linux_getpriority_args), (sy_call_t *)linux_getpriority, AUE_GETPRIORITY },	/* 100 = linux_getpriority */
+	{ SYF_MPSAFE | AS(osend_args), (sy_call_t *)osend, AUE_SEND },	/* 101 = osend */
+	{ SYF_MPSAFE | 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 */
+	{ SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind, AUE_BIND },	/* 104 = bind */
+	{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT },	/* 105 = setsockopt */
+	{ SYF_MPSAFE | 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_SIGSUSEND },	/* 111 = osf1_sigsuspend */
+	{ SYF_MPSAFE | AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend, AUE_SIGSUSPEND },	/* 111 = osf1_sigsuspend */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 112 = osf_sigstack */
-	{ 0, (sy_call_t *)linux_recvmsg, AUE_RECVMSG },	/* 113 = linux_recvmsg */
-	{ 0, (sy_call_t *)linux_sendmsg, AUE_SENDMSG },	/* 114 = linux_sendmsg */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_recvmsg, AUE_RECVMSG },	/* 113 = linux_recvmsg */
+	{ SYF_MPSAFE | 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_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 */
+	{ SYF_MPSAFE | AS(osf1_getrusage_args), (sy_call_t *)osf1_getrusage, AUE_GETRUSAGE },	/* 117 = osf1_getrusage */
+	{ SYF_MPSAFE | 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_READV },	/* 120 = readv */
-	{ AS(writev_args), (sy_call_t *)writev, AUE_WRITEV },	/* 121 = writev */
+	{ SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv, AUE_READV },	/* 120 = readv */
+	{ SYF_MPSAFE | 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_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(linux_rename_args), (sy_call_t *)linux_rename, AUE_RENAME },	/* 128 = linux_rename */
+	{ SYF_MPSAFE | AS(linux_truncate_args), (sy_call_t *)linux_truncate, AUE_TRUNCATE },	/* 129 = linux_truncate */
+	{ SYF_MPSAFE | AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_FTRUNCATE },	/* 130 = oftruncate */
+	{ SYF_MPSAFE | 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 */
+	{ SYF_MPSAFE | AS(osf1_sendto_args), (sy_call_t *)osf1_sendto, AUE_SENDTO },	/* 133 = osf1_sendto */
+	{ SYF_MPSAFE | AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN },	/* 134 = shutdown */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_socketpair, AUE_SOCKETPAIR },	/* 135 = linux_socketpair */
+	{ SYF_MPSAFE | AS(linux_mkdir_args), (sy_call_t *)linux_mkdir, AUE_MKDIR },	/* 136 = linux_mkdir */
+	{ SYF_MPSAFE | AS(linux_rmdir_args), (sy_call_t *)linux_rmdir, AUE_RMDIR },	/* 137 = linux_rmdir */
+	{ SYF_MPSAFE | 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_GETPEERNAME },	/* 141 = ogetpeername */
+	{ SYF_MPSAFE | 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_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_SETSID },	/* 147 = setsid */
-	{ 0, (sy_call_t *)linux_quotactl, AUE_QUOTACTL },	/* 148 = linux_quotactl */
+	{ SYF_MPSAFE | 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_GETSOCKNAME },	/* 150 = getsockname */
+	{ SYF_MPSAFE | 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 =  */
@@ -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_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 */
+	{ SYF_MPSAFE | AS(linux_msgctl_args), (sy_call_t *)linux_msgctl, AUE_MSGCTL },	/* 200 = linux_msgctl */
+	{ SYF_MPSAFE | AS(linux_msgget_args), (sy_call_t *)linux_msgget, AUE_MSGGET },	/* 201 = linux_msgget */
+	{ SYF_MPSAFE | AS(linux_msgrcv_args), (sy_call_t *)linux_msgrcv, AUE_MSGRCV },	/* 202 = linux_msgrcv */
+	{ SYF_MPSAFE | 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 */
+	{ SYF_MPSAFE | AS(linux_semget_args), (sy_call_t *)linux_semget, AUE_SEMGET },	/* 205 = linux_semget */
+	{ SYF_MPSAFE | 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_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 */
+	{ SYF_MPSAFE | AS(linux_lchown_args), (sy_call_t *)linux_lchown, AUE_LCHOWN },	/* 208 = linux_lchown */
+	{ SYF_MPSAFE | AS(linux_shmat_args), (sy_call_t *)linux_shmat, AUE_SHMAT },	/* 209 = linux_shmat */
+	{ SYF_MPSAFE | AS(linux_shmctl_args), (sy_call_t *)linux_shmctl, AUE_SHMCTL },	/* 210 = linux_shmctl */
+	{ SYF_MPSAFE | AS(linux_shmdt_args), (sy_call_t *)linux_shmdt, AUE_SHMDT },	/* 211 = linux_shmdt */
+	{ SYF_MPSAFE | 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_MSYNC },	/* 217 = linux_msync */
+	{ SYF_MPSAFE | 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 =  */
@@ -255,7 +255,7 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 232 =  */
 	{ 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 */
+	{ SYF_MPSAFE | 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 =  */
@@ -274,10 +274,10 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 251 = osf_usleep_thread */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 252 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 253 =  */
-	{ AS(linux_sysfs_args), (sy_call_t *)linux_sysfs, AUE_NULL },	/* 254 = linux_sysfs */
+	{ SYF_MPSAFE | AS(linux_sysfs_args), (sy_call_t *)linux_sysfs, AUE_NULL },	/* 254 = linux_sysfs */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 255 =  */
-	{ AS(osf1_getsysinfo_args), (sy_call_t *)osf1_getsysinfo, AUE_NULL },	/* 256 = osf1_getsysinfo */
-	{ AS(osf1_setsysinfo_args), (sy_call_t *)osf1_setsysinfo, AUE_NULL },	/* 257 = osf1_setsysinfo */
+	{ SYF_MPSAFE | AS(osf1_getsysinfo_args), (sy_call_t *)osf1_getsysinfo, AUE_NULL },	/* 256 = osf1_getsysinfo */
+	{ SYF_MPSAFE | AS(osf1_setsysinfo_args), (sy_call_t *)osf1_setsysinfo, AUE_NULL },	/* 257 = osf1_setsysinfo */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 258 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 259 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 260 =  */
@@ -320,36 +320,36 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 297 =  */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 298 =  */
 	{ 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 */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_bdflush, AUE_NULL },	/* 300 = linux_bdflush */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_sethae, AUE_NULL },	/* 301 = linux_sethae */
 	{ 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 */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_old_adjtimex, AUE_ADJTIME },	/* 303 = linux_old_adjtimex */
+	{ SYF_MPSAFE | 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_REBOOT },	/* 311 = linux_reboot */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_create_module, AUE_NULL },	/* 306 = linux_create_module */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_init_module, AUE_NULL },	/* 307 = linux_init_module */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_delete_module, AUE_NULL },	/* 308 = linux_delete_module */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_get_kernel_syms, AUE_NULL },	/* 309 = linux_get_kernel_syms */
+	{ SYF_MPSAFE | AS(linux_syslog_args), (sy_call_t *)linux_syslog, AUE_NULL },	/* 310 = linux_syslog */
+	{ SYF_MPSAFE | 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_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_SYSCTL },	/* 319 = linux_sysctl */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_sysinfo, AUE_NULL },	/* 318 = linux_sysinfo */
+	{ SYF_MPSAFE | 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_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_STATFS },	/* 328 = linux_statfs */
-	{ AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs, AUE_FSTATFS },	/* 329 = linux_fstatfs */
+	{ SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON },	/* 322 = swapon */
+	{ SYF_MPSAFE | AS(linux_times_args), (sy_call_t *)linux_times, AUE_NULL },	/* 323 = linux_times */
+	{ SYF_MPSAFE | AS(linux_personality_args), (sy_call_t *)linux_personality, AUE_NULL },	/* 324 = linux_personality */
+	{ SYF_MPSAFE | AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid, AUE_NULL },	/* 325 = linux_setfsuid */
+	{ SYF_MPSAFE | AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid, AUE_NULL },	/* 326 = linux_setfsgid */
+	{ SYF_MPSAFE | AS(linux_ustat_args), (sy_call_t *)linux_ustat, AUE_NULL },	/* 327 = linux_ustat */
+	{ SYF_MPSAFE | AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_STATFS },	/* 328 = linux_statfs */
+	{ SYF_MPSAFE | 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 */
@@ -357,45 +357,45 @@
 	{ 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_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 */
+	{ SYF_MPSAFE | 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(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(linux_mremap_args), (sy_call_t *)linux_mremap, AUE_NULL },	/* 341 = linux_mremap */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_nfsservctl, AUE_NULL },	/* 342 = linux_nfsservctl */
 	{ 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_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 | 0, (sy_call_t *)linux_pciconfig_read, AUE_NULL },	/* 345 = linux_pciconfig_read */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_pciconfig_write, AUE_NULL },	/* 346 = linux_pciconfig_write */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_query_module, AUE_NULL },	/* 347 = linux_query_module */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_prctl, AUE_NULL },	/* 348 = linux_prctl */
+	{ SYF_MPSAFE | AS(linux_pread_args), (sy_call_t *)linux_pread, AUE_PREAD },	/* 349 = linux_pread */
+	{ SYF_MPSAFE | AS(linux_pwrite_args), (sy_call_t *)linux_pwrite, AUE_PWRITE },	/* 350 = linux_pwrite */
+	{ SYF_MPSAFE | 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 | 0, (sy_call_t *)linux_rt_sigpending, AUE_SIGPENDING },	/* 354 = linux_rt_sigpending */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_rt_sigtimedwait, AUE_SIGWAIT },	/* 355 = linux_rt_sigtimedwait */
+	{ SYF_MPSAFE | 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_SIGSUSPEND },	/* 357 = linux_rt_sigsuspend */
-	{ AS(linux_select_args), (sy_call_t *)linux_select, AUE_SELECT },	/* 358 = linux_select */
+	{ SYF_MPSAFE | 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(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 | 0, (sy_call_t *)linux_adjtimex, AUE_ADJTIME },	/* 366 = linux_adjtimex */
+	{ SYF_MPSAFE | AS(linux_getcwd_args), (sy_call_t *)linux_getcwd, AUE_NULL },	/* 367 = linux_getcwd */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_capget, AUE_NULL },	/* 368 = linux_capget */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_capset, AUE_NULL },	/* 369 = linux_capset */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_sendfile, AUE_NULL },	/* 370 = linux_sendfile */
 	{ 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_MINCORE },	/* 375 = linux_mincore */
-	{ 0, (sy_call_t *)linux_pciconfig_iobase, AUE_NULL },	/* 376 = linux_pciconfig_iobase */
+	{ SYF_MPSAFE | AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root, AUE_NULL },	/* 374 = linux_pivot_root */
+	{ SYF_MPSAFE | AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_MINCORE },	/* 375 = linux_mincore */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_pciconfig_iobase, AUE_NULL },	/* 376 = linux_pciconfig_iobase */
 	{ AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_O_GETDENTS },	/* 377 = linux_getdents64 */
 };

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.49 2005/05/30 15:09:17 rwatson Exp 
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.51 2005/07/13 20:32:42 jhb Exp 
  */
 
 #ifndef _FREEBSD32_SYSPROTO_H_
@@ -183,6 +183,18 @@
 	char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)];
 	char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)];
 };
+struct freebsd32_preadv_args {
+	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
+	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
+	char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
+};
+struct freebsd32_pwritev_args {
+	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
+	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
+	char offset_l_[PADL_(off_t)]; off_t offset; char offset_r_[PADR_(off_t)];
+};
 struct freebsd32_modstat_args {
 	char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
 	char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
@@ -240,6 +252,8 @@
 int	freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
 int	freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
 int	freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
+int	freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *);
+int	freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *);
 int	freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *);
 int	freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *);
 int	freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *);

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.49 2005/05/30 15:09:17 rwatson Exp 
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.51 2005/07/13 20:32:42 jhb Exp 
  */
 
 #define	FREEBSD32_SYS_syscall	0
@@ -215,6 +215,8 @@
 #define	FREEBSD32_SYS_nstat	278
 #define	FREEBSD32_SYS_nfstat	279
 #define	FREEBSD32_SYS_nlstat	280
+#define	FREEBSD32_SYS_freebsd32_preadv	289
+#define	FREEBSD32_SYS_freebsd32_pwritev	290
 				/* 297 is old freebsd32_fhstatfs */
 #define	FREEBSD32_SYS_fhopen	298
 #define	FREEBSD32_SYS_fhstat	299

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.49 2005/05/30 15:09:17 rwatson Exp 
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.51 2005/07/13 20:32:42 jhb Exp 
  */
 
 const char *freebsd32_syscallnames[] = {
@@ -296,8 +296,8 @@
 	"#286",			/* 286 = nosys */
 	"#287",			/* 287 = nosys */
 	"#288",			/* 288 = nosys */
-	"#289",			/* 289 = nosys */
-	"#290",			/* 290 = nosys */
+	"freebsd32_preadv",			/* 289 = freebsd32_preadv */
+	"freebsd32_pwritev",			/* 290 = freebsd32_pwritev */
 	"#291",			/* 291 = nosys */
 	"#292",			/* 292 = nosys */
 	"#293",			/* 293 = nosys */

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

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.49 2005/05/30 15:09:17 rwatson Exp 
+ * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.51 2005/07/13 20:32:42 jhb Exp 
  */
 
 #include "opt_compat.h"
@@ -38,17 +38,17 @@
 	{ 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 */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 11 = obsolete execv */
-	{ AS(chdir_args), (sy_call_t *)chdir, AUE_CHDIR },	/* 12 = chdir */
-	{ AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR },	/* 13 = fchdir */
-	{ AS(mknod_args), (sy_call_t *)mknod, AUE_MKNOD },	/* 14 = mknod */
-	{ AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD },	/* 15 = chmod */
-	{ AS(chown_args), (sy_call_t *)chown, AUE_CHOWN },	/* 16 = chown */
+	{ SYF_MPSAFE | AS(chdir_args), (sy_call_t *)chdir, AUE_CHDIR },	/* 12 = chdir */
+	{ SYF_MPSAFE | AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR },	/* 13 = fchdir */
+	{ SYF_MPSAFE | AS(mknod_args), (sy_call_t *)mknod, AUE_MKNOD },	/* 14 = mknod */
+	{ SYF_MPSAFE | AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD },	/* 15 = chmod */
+	{ SYF_MPSAFE | AS(chown_args), (sy_call_t *)chown, AUE_CHOWN },	/* 16 = chown */
 	{ SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak, AUE_NULL },	/* 17 = break */
-	{ compat4(AS(freebsd4_freebsd32_getfsstat_args),freebsd32_getfsstat), AUE_GETFSSTAT },	/* 18 = old freebsd32_getfsstat */
+	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_getfsstat_args),freebsd32_getfsstat), AUE_GETFSSTAT },	/* 18 = old freebsd32_getfsstat */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 19 = obsolete olseek */
 	{ SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_GETPID },	/* 20 = getpid */
-	{ SYF_MPSAFE | AS(mount_args), (sy_call_t *)mount, AUE_MOUNT },	/* 21 = mount */
-	{ SYF_MPSAFE | AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT },	/* 22 = unmount */
+	{ 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 */
@@ -59,10 +59,10 @@
 	{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept, AUE_ACCEPT },	/* 30 = accept */
 	{ SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername, AUE_GETPEERNAME },	/* 31 = getpeername */
 	{ SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname, AUE_GETSOCKNAME },	/* 32 = getsockname */
-	{ AS(access_args), (sy_call_t *)access, AUE_ACCESS },	/* 33 = access */
-	{ AS(chflags_args), (sy_call_t *)chflags, AUE_CHFLAGS },	/* 34 = chflags */
-	{ AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS },	/* 35 = fchflags */
-	{ 0, (sy_call_t *)sync, AUE_SYNC },		/* 36 = sync */
+	{ SYF_MPSAFE | AS(access_args), (sy_call_t *)access, AUE_ACCESS },	/* 33 = access */
+	{ SYF_MPSAFE | AS(chflags_args), (sy_call_t *)chflags, AUE_CHFLAGS },	/* 34 = chflags */
+	{ SYF_MPSAFE | AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS },	/* 35 = fchflags */
+	{ SYF_MPSAFE | 0, (sy_call_t *)sync, AUE_SYNC },	/* 36 = sync */
 	{ SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill, AUE_KILL },	/* 37 = kill */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 38 = ostat */
 	{ SYF_MPSAFE | 0, (sy_call_t *)getppid, AUE_GETPPID },	/* 39 = getppid */
@@ -82,12 +82,12 @@
 	{ SYF_MPSAFE | AS(freebsd32_sigaltstack_args), (sy_call_t *)freebsd32_sigaltstack, AUE_SIGPENDING },	/* 53 = freebsd32_sigaltstack */
 	{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl, AUE_IOCTL },	/* 54 = ioctl */
 	{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot, AUE_REBOOT },	/* 55 = reboot */
-	{ AS(revoke_args), (sy_call_t *)revoke, AUE_REVOKE },	/* 56 = revoke */
-	{ AS(symlink_args), (sy_call_t *)symlink, AUE_SYMLINK },	/* 57 = symlink */
-	{ AS(readlink_args), (sy_call_t *)readlink, AUE_READLINK },	/* 58 = readlink */
-	{ AS(freebsd32_execve_args), (sy_call_t *)freebsd32_execve, AUE_EXECVE },	/* 59 = freebsd32_execve */
+	{ SYF_MPSAFE | AS(revoke_args), (sy_call_t *)revoke, AUE_REVOKE },	/* 56 = revoke */
+	{ SYF_MPSAFE | AS(symlink_args), (sy_call_t *)symlink, AUE_SYMLINK },	/* 57 = symlink */
+	{ SYF_MPSAFE | AS(readlink_args), (sy_call_t *)readlink, AUE_READLINK },	/* 58 = readlink */
+	{ SYF_MPSAFE | AS(freebsd32_execve_args), (sy_call_t *)freebsd32_execve, AUE_EXECVE },	/* 59 = freebsd32_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 */
+	{ SYF_MPSAFE | AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT },	/* 61 = chroot */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 62 = obsolete ofstat */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 63 = obsolete ogetkerninfo */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 64 = obsolete ogetpagesize */
@@ -108,21 +108,21 @@
 	{ SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS },	/* 79 = getgroups */
 	{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS },	/* 80 = setgroups */
 	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_GETPGRP },	/* 81 = getpgrp */
-	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_GETPGRP },	/* 82 = setpgid */
-	{ AS(freebsd32_setitimer_args), (sy_call_t *)freebsd32_setitimer, AUE_SETITIMER },	/* 83 = freebsd32_setitimer */
+	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP },	/* 82 = setpgid */
+	{ SYF_MPSAFE | AS(freebsd32_setitimer_args), (sy_call_t *)freebsd32_setitimer, AUE_SETITIMER },	/* 83 = freebsd32_setitimer */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 84 = obsolete owait */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 85 = obsolete oswapon */
-	{ AS(freebsd32_getitimer_args), (sy_call_t *)freebsd32_getitimer, AUE_GETITIMER },	/* 86 = freebsd32_getitimer */
+	{ SYF_MPSAFE | AS(freebsd32_getitimer_args), (sy_call_t *)freebsd32_getitimer, AUE_GETITIMER },	/* 86 = freebsd32_getitimer */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 87 = obsolete ogethostname */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 88 = obsolete osethostname */
 	{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize, AUE_GETDTABLESIZE },	/* 89 = getdtablesize */
 	{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2 },	/* 90 = dup2 */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 91 = getdopt */
 	{ SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl, AUE_FCNTL },	/* 92 = fcntl */
-	{ AS(freebsd32_select_args), (sy_call_t *)freebsd32_select, AUE_SELECT },	/* 93 = freebsd32_select */
+	{ SYF_MPSAFE | AS(freebsd32_select_args), (sy_call_t *)freebsd32_select, AUE_SELECT },	/* 93 = freebsd32_select */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 94 = setdopt */
-	{ AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC },	/* 95 = fsync */
-	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORIT },	/* 96 = setpriority */
+	{ SYF_MPSAFE | AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC },	/* 95 = fsync */
+	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY },	/* 96 = setpriority */
 	{ 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 */
@@ -143,22 +143,22 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 114 = obsolete osendmsg */
 	{ 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 */
-	{ AS(freebsd32_getrusage_args), (sy_call_t *)freebsd32_getrusage, AUE_GETRUSAGE },	/* 117 = freebsd32_getrusage */
+	{ 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 */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 119 = resuba */
-	{ AS(freebsd32_readv_args), (sy_call_t *)freebsd32_readv, AUE_READV },	/* 120 = freebsd32_readv */
-	{ AS(freebsd32_writev_args), (sy_call_t *)freebsd32_writev, AUE_WRITEV },	/* 121 = freebsd32_writev */
-	{ AS(freebsd32_settimeofday_args), (sy_call_t *)freebsd32_settimeofday, AUE_SETTIMEOFDAY },	/* 122 = freebsd32_settimeofday */
-	{ AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN },	/* 123 = fchown */
-	{ AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD },	/* 124 = fchmod */
+	{ 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 */
+	{ SYF_MPSAFE | AS(freebsd32_settimeofday_args), (sy_call_t *)freebsd32_settimeofday, AUE_SETTIMEOFDAY },	/* 122 = freebsd32_settimeofday */
+	{ 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 */
-	{ AS(rename_args), (sy_call_t *)rename, AUE_RENAME },	/* 128 = rename */
+	{ 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 */
 	{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock, AUE_FLOCK },	/* 131 = flock */
-	{ AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO },	/* 132 = mkfifo */
+	{ SYF_MPSAFE | AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO },	/* 132 = mkfifo */
 	{ SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto, AUE_SENDTO },	/* 133 = sendto */
 	{ SYF_MPSAFE | AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN },	/* 134 = shutdown */
 	{ SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair, AUE_SOCKETPAIR },	/* 135 = socketpair */
@@ -166,7 +166,7 @@
 	{ AS(rmdir_args), (sy_call_t *)rmdir, AUE_RMDIR },	/* 137 = rmdir */
 	{ AS(freebsd32_utimes_args), (sy_call_t *)freebsd32_utimes, AUE_UTIMES },	/* 138 = freebsd32_utimes */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 139 = obsolete 4.2 sigreturn */
-	{ AS(freebsd32_adjtime_args), (sy_call_t *)freebsd32_adjtime, AUE_ADJTIME },	/* 140 = freebsd32_adjtime */
+	{ SYF_MPSAFE | AS(freebsd32_adjtime_args), (sy_call_t *)freebsd32_adjtime, AUE_ADJTIME },	/* 140 = freebsd32_adjtime */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 141 = obsolete ogetpeername */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 142 = obsolete ogethostid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 143 = obsolete sethostid */
@@ -174,7 +174,7 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 145 = obsolete setrlimit */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 146 = obsolete killpg */
 	{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_SETSID },	/* 147 = setsid */
-	{ AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL },	/* 148 = quotactl */
+	{ SYF_MPSAFE | AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL },	/* 148 = quotactl */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 149 = obsolete oquota */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 150 = obsolete ogetsockname */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 151 = sem_lock */
@@ -183,11 +183,11 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 154 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 155 = nfssvc */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 156 = obsolete ogetdirentries */
-	{ compat4(AS(freebsd4_freebsd32_statfs_args),freebsd32_statfs), AUE_STATFS },	/* 157 = old freebsd32_statfs */
-	{ compat4(AS(freebsd4_freebsd32_fstatfs_args),freebsd32_fstatfs), AUE_FSTATFS },	/* 158 = old freebsd32_fstatfs */
+	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_statfs_args),freebsd32_statfs), AUE_STATFS },	/* 157 = old freebsd32_statfs */
+	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_fstatfs_args),freebsd32_fstatfs), AUE_FSTATFS },	/* 158 = old freebsd32_fstatfs */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 159 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 160 = nosys */
-	{ AS(getfh_args), (sy_call_t *)getfh, AUE_GETFH },	/* 161 = getfh */
+	{ SYF_MPSAFE | AS(getfh_args), (sy_call_t *)getfh, AUE_GETFH },	/* 161 = getfh */
 	{ SYF_MPSAFE | AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_O_GETDOMAINNAME },	/* 162 = getdomainname */
 	{ SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_O_SETDOMAINNAME },	/* 163 = setdomainname */
 	{ SYF_MPSAFE | AS(uname_args), (sy_call_t *)uname, AUE_NULL },	/* 164 = uname */
@@ -195,12 +195,12 @@
 	{ SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio, AUE_NULL },	/* 166 = rtprio */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 167 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 168 = nosys */
-	{ AS(freebsd32_semsys_args), (sy_call_t *)freebsd32_semsys, AUE_SEMSYS },	/* 169 = freebsd32_semsys */
-	{ AS(freebsd32_msgsys_args), (sy_call_t *)freebsd32_msgsys, AUE_MSGSYS },	/* 170 = freebsd32_msgsys */
-	{ AS(freebsd32_shmsys_args), (sy_call_t *)freebsd32_shmsys, AUE_SHMSYS },	/* 171 = freebsd32_shmsys */
+	{ SYF_MPSAFE | AS(freebsd32_semsys_args), (sy_call_t *)freebsd32_semsys, AUE_SEMSYS },	/* 169 = freebsd32_semsys */
+	{ SYF_MPSAFE | AS(freebsd32_msgsys_args), (sy_call_t *)freebsd32_msgsys, AUE_MSGSYS },	/* 170 = freebsd32_msgsys */
+	{ SYF_MPSAFE | AS(freebsd32_shmsys_args), (sy_call_t *)freebsd32_shmsys, AUE_SHMSYS },	/* 171 = freebsd32_shmsys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 172 = nosys */
-	{ AS(freebsd32_pread_args), (sy_call_t *)freebsd32_pread, AUE_PREAD },	/* 173 = freebsd32_pread */
-	{ AS(freebsd32_pwrite_args), (sy_call_t *)freebsd32_pwrite, AUE_PWRITE },	/* 174 = freebsd32_pwrite */
+	{ SYF_MPSAFE | AS(freebsd32_pread_args), (sy_call_t *)freebsd32_pread, AUE_PREAD },	/* 173 = freebsd32_pread */
+	{ SYF_MPSAFE | AS(freebsd32_pwrite_args), (sy_call_t *)freebsd32_pwrite, AUE_PWRITE },	/* 174 = freebsd32_pwrite */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 175 = nosys */
 	{ SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_ADJTIME },	/* 176 = ntp_adjtime */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 177 = sfork */
@@ -214,25 +214,25 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 185 = lfs_markv */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 186 = lfs_segclean */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 187 = lfs_segwait */
-	{ AS(freebsd32_stat_args), (sy_call_t *)freebsd32_stat, AUE_STAT },	/* 188 = freebsd32_stat */
+	{ SYF_MPSAFE | AS(freebsd32_stat_args), (sy_call_t *)freebsd32_stat, AUE_STAT },	/* 188 = freebsd32_stat */
 	{ SYF_MPSAFE | AS(freebsd32_fstat_args), (sy_call_t *)freebsd32_fstat, AUE_FSTAT },	/* 189 = freebsd32_fstat */
-	{ AS(freebsd32_lstat_args), (sy_call_t *)freebsd32_lstat, AUE_LSTAT },	/* 190 = freebsd32_lstat */
-	{ AS(pathconf_args), (sy_call_t *)pathconf, AUE_PATHCONF },	/* 191 = pathconf */
+	{ SYF_MPSAFE | AS(freebsd32_lstat_args), (sy_call_t *)freebsd32_lstat, AUE_LSTAT },	/* 190 = freebsd32_lstat */
+	{ SYF_MPSAFE | AS(pathconf_args), (sy_call_t *)pathconf, AUE_PATHCONF },	/* 191 = pathconf */
 	{ SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_FPATHCONF },	/* 192 = fpathconf */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 193 = nosys */
 	{ SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_GETRLIMIT },	/* 194 = getrlimit */
 	{ SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_SETRLIMIT },	/* 195 = setrlimit */
-	{ AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_GETDIRENTRIES },	/* 196 = getdirentries */
-	{ AS(freebsd32_mmap_args), (sy_call_t *)freebsd32_mmap, AUE_MMAP },	/* 197 = freebsd32_mmap */
-	{ 0, (sy_call_t *)nosys, AUE_NULL },		/* 198 = __syscall */
-	{ AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_LSEEK },	/* 199 = freebsd32_lseek */
-	{ AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_TRUNCATE },	/* 200 = freebsd32_truncate */
-	{ AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_FTRUNCATE },	/* 201 = freebsd32_ftruncate */
+	{ SYF_MPSAFE | AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_GETDIRENTRIES },	/* 196 = getdirentries */
+	{ SYF_MPSAFE | AS(freebsd32_mmap_args), (sy_call_t *)freebsd32_mmap, AUE_MMAP },	/* 197 = freebsd32_mmap */
+	{ SYF_MPSAFE | 0, (sy_call_t *)nosys, AUE_NULL },	/* 198 = __syscall */
+	{ SYF_MPSAFE | AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_LSEEK },	/* 199 = freebsd32_lseek */
+	{ SYF_MPSAFE | AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_TRUNCATE },	/* 200 = freebsd32_truncate */
+	{ SYF_MPSAFE | AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_FTRUNCATE },	/* 201 = freebsd32_ftruncate */
 	{ SYF_MPSAFE | AS(freebsd32_sysctl_args), (sy_call_t *)freebsd32_sysctl, AUE_SYSCTL },	/* 202 = freebsd32_sysctl */
 	{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK },	/* 203 = mlock */
 	{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK },	/* 204 = munlock */
-	{ AS(undelete_args), (sy_call_t *)undelete, AUE_UNDELETE },	/* 205 = undelete */
-	{ AS(futimes_args), (sy_call_t *)futimes, AUE_FUTIMES },	/* 206 = futimes */
+	{ SYF_MPSAFE | AS(undelete_args), (sy_call_t *)undelete, AUE_UNDELETE },	/* 205 = undelete */
+	{ SYF_MPSAFE | AS(futimes_args), (sy_call_t *)futimes, AUE_FUTIMES },	/* 206 = futimes */
 	{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid, AUE_GETPGID },	/* 207 = getpgid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 208 = newreboot */
 	{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll, AUE_POLL },	/* 209 = poll */
@@ -280,7 +280,7 @@
 	{ 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 | 0, (sy_call_t *)issetugid, AUE_ISSETUGID },	/* 253 = issetugid */
-	{ AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN },	/* 254 = lchown */
+	{ SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN },	/* 254 = lchown */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 255 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 256 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 257 = nosys */
@@ -298,15 +298,15 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 269 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 270 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 271 = nosys */
-	{ AS(getdents_args), (sy_call_t *)getdents, AUE_O_GETDENTS },	/* 272 = getdents */
+	{ SYF_MPSAFE | AS(getdents_args), (sy_call_t *)getdents, AUE_O_GETDENTS },	/* 272 = getdents */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 273 = nosys */
-	{ AS(lchmod_args), (sy_call_t *)lchmod, AUE_LCHMOD },	/* 274 = lchmod */
-	{ AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN },	/* 275 = netbsd_lchown */
-	{ AS(lutimes_args), (sy_call_t *)lutimes, AUE_LUTIMES },	/* 276 = lutimes */
+	{ SYF_MPSAFE | AS(lchmod_args), (sy_call_t *)lchmod, AUE_LCHMOD },	/* 274 = lchmod */
+	{ SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN },	/* 275 = netbsd_lchown */
+	{ SYF_MPSAFE | AS(lutimes_args), (sy_call_t *)lutimes, AUE_LUTIMES },	/* 276 = lutimes */
 	{ SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_MSYNC },	/* 277 = netbsd_msync */
-	{ AS(nstat_args), (sy_call_t *)nstat, AUE_NULL },	/* 278 = nstat */
+	{ 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 */
-	{ AS(nlstat_args), (sy_call_t *)nlstat, AUE_NULL },	/* 280 = nlstat */
+	{ SYF_MPSAFE | AS(nlstat_args), (sy_call_t *)nlstat, AUE_NULL },	/* 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 */
@@ -315,17 +315,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 */
-	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 289 = nosys */
-	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 290 = 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 */
 	{ 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(AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_NULL },	/* 297 = old freebsd32_fhstatfs */
-	{ AS(fhopen_args), (sy_call_t *)fhopen, AUE_NULL },	/* 298 = fhopen */
-	{ AS(fhstat_args), (sy_call_t *)fhstat, AUE_NULL },	/* 299 = fhstat */
+	{ 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 */
 	{ 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 */
@@ -352,7 +352,7 @@
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 323 = obsolete thr_wakeup */
 	{ SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall, AUE_MLOCKALL },	/* 324 = mlockall */
 	{ SYF_MPSAFE | 0, (sy_call_t *)munlockall, AUE_MUNLOCKALL },	/* 325 = munlockall */
-	{ AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_NULL },	/* 326 = __getcwd */
+	{ SYF_MPSAFE | AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_NULL },	/* 326 = __getcwd */
 	{ SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL },	/* 327 = sched_setparam */
 	{ SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL },	/* 328 = sched_getparam */
 	{ SYF_MPSAFE | AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL },	/* 329 = sched_setscheduler */
@@ -363,7 +363,7 @@
 	{ 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 */
-	{ AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL },	/* 337 = kldsym */
+	{ 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 */
 	{ SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_SIGPROCMASK },	/* 340 = sigprocmask */
@@ -402,29 +402,29 @@
 	{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd, AUE_NULL },	/* 373 = extattr_delete_fd */
 	{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid, AUE_NULL },	/* 374 = __setugid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 375 = nfsclnt */
-	{ AS(eaccess_args), (sy_call_t *)eaccess, AUE_NULL },	/* 376 = eaccess */
+	{ SYF_MPSAFE | AS(eaccess_args), (sy_call_t *)eaccess, AUE_NULL },	/* 376 = eaccess */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 377 = afs_syscall */
-	{ SYF_MPSAFE | AS(nmount_args), (sy_call_t *)nmount, AUE_NULL },	/* 378 = nmount */
-	{ 0, (sy_call_t *)kse_exit, AUE_NULL },		/* 379 = kse_exit */
-	{ AS(kse_wakeup_args), (sy_call_t *)kse_wakeup, AUE_NULL },	/* 380 = kse_wakeup */
-	{ AS(kse_create_args), (sy_call_t *)kse_create, AUE_NULL },	/* 381 = kse_create */
-	{ AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt, AUE_NULL },	/* 382 = kse_thr_interrupt */
-	{ 0, (sy_call_t *)kse_release, AUE_NULL },	/* 383 = kse_release */
+	{ AS(nmount_args), (sy_call_t *)nmount, AUE_NULL },	/* 378 = nmount */
+	{ SYF_MPSAFE | 0, (sy_call_t *)kse_exit, AUE_NULL },	/* 379 = kse_exit */
+	{ SYF_MPSAFE | AS(kse_wakeup_args), (sy_call_t *)kse_wakeup, AUE_NULL },	/* 380 = kse_wakeup */
+	{ SYF_MPSAFE | AS(kse_create_args), (sy_call_t *)kse_create, AUE_NULL },	/* 381 = kse_create */
+	{ SYF_MPSAFE | AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt, AUE_NULL },	/* 382 = kse_thr_interrupt */
+	{ SYF_MPSAFE | 0, (sy_call_t *)kse_release, AUE_NULL },	/* 383 = kse_release */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 384 = __mac_get_proc */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 385 = __mac_set_proc */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 386 = __mac_get_fd */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 387 = __mac_get_file */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 388 = __mac_set_fd */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 389 = __mac_set_file */
-	{ AS(kenv_args), (sy_call_t *)kenv, AUE_NULL },	/* 390 = kenv */
-	{ AS(lchflags_args), (sy_call_t *)lchflags, AUE_LCHFLAGS },	/* 391 = lchflags */
+	{ SYF_MPSAFE | AS(kenv_args), (sy_call_t *)kenv, AUE_NULL },	/* 390 = kenv */
+	{ SYF_MPSAFE | AS(lchflags_args), (sy_call_t *)lchflags, AUE_LCHFLAGS },	/* 391 = lchflags */
 	{ SYF_MPSAFE | AS(uuidgen_args), (sy_call_t *)uuidgen, AUE_NULL },	/* 392 = uuidgen */
 	{ SYF_MPSAFE | AS(freebsd32_sendfile_args), (sy_call_t *)freebsd32_sendfile, AUE_NULL },	/* 393 = freebsd32_sendfile */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 394 = mac_syscall */
-	{ AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_GETFSSTAT },	/* 395 = getfsstat */
-	{ AS(statfs_args), (sy_call_t *)statfs, AUE_STATFS },	/* 396 = statfs */
-	{ AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_FSSTATFS },	/* 397 = fstatfs */
-	{ AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_NULL },	/* 398 = fhstatfs */
+	{ SYF_MPSAFE | AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_GETFSSTAT },	/* 395 = getfsstat */
+	{ SYF_MPSAFE | AS(statfs_args), (sy_call_t *)statfs, AUE_STATFS },	/* 396 = statfs */
+	{ SYF_MPSAFE | AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_FSSTATFS },	/* 397 = fstatfs */
+	{ SYF_MPSAFE | AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_NULL },	/* 398 = fhstatfs */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 399 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 400 = ksem_close */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 401 = ksem_post */

==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_syscall.h#3 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/i386/ibcs2/ibcs2_isc_syscall.h,v 1.10 2005/07/13 20:35:08 jhb Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.9 2005/07/13 20:32:42 jhb Exp 
  */
 

==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_isc_sysent.c#3 (text+ko) ====

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.7 2004/02/04 21:57:00 jhb Exp 
+ * created from FreeBSD: src/sys/i386/ibcs2/syscalls.isc,v 1.9 2005/07/13 20:32:42 jhb Exp 
  */
 
 #include <bsm/audit_kevents.h>
@@ -21,23 +21,23 @@
 struct sysent isc_sysent[] = {
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 0 = nosys */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 1 = isc_setostype */
-	{ AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_RENAME },	/* 2 = ibcs2_rename */
-	{ AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_SIGACTION },	/* 3 = ibcs2_sigaction */
+	{ SYF_MPSAFE | AS(ibcs2_rename_args), (sy_call_t *)ibcs2_rename, AUE_RENAME },	/* 2 = ibcs2_rename */
+	{ SYF_MPSAFE | AS(ibcs2_sigaction_args), (sy_call_t *)ibcs2_sigaction, AUE_SIGACTION },	/* 3 = ibcs2_sigaction */
 	{ AS(ibcs2_sigprocmask_args), (sy_call_t *)ibcs2_sigprocmask, AUE_SIGPROCMASK },	/* 4 = ibcs2_sigprocmask */
-	{ AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_SIGPENDING },	/* 5 = ibcs2_sigpending */
-	{ AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS },	/* 6 = getgroups */
-	{ AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS },	/* 7 = setgroups */
-	{ AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_PATHCONF },	/* 8 = ibcs2_pathconf */
-	{ AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_FPATHCONF },	/* 9 = ibcs2_fpathconf */
+	{ SYF_MPSAFE | AS(ibcs2_sigpending_args), (sy_call_t *)ibcs2_sigpending, AUE_SIGPENDING },	/* 5 = ibcs2_sigpending */
+	{ SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS },	/* 6 = getgroups */
+	{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS },	/* 7 = setgroups */
+	{ SYF_MPSAFE | AS(ibcs2_pathconf_args), (sy_call_t *)ibcs2_pathconf, AUE_PATHCONF },	/* 8 = ibcs2_pathconf */
+	{ SYF_MPSAFE | AS(ibcs2_fpathconf_args), (sy_call_t *)ibcs2_fpathconf, AUE_FPATHCONF },	/* 9 = ibcs2_fpathconf */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 10 = nosys */
-	{ AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_O_WAIT },	/* 11 = ibcs2_wait */
-	{ 0, (sy_call_t *)setsid, AUE_SETSID },		/* 12 = setsid */
-	{ 0, (sy_call_t *)getpid, AUE_GETPID },		/* 13 = getpid */
+	{ SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait, AUE_O_WAIT },	/* 11 = ibcs2_wait */
+	{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_SETSID },	/* 12 = setsid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_GETPID },	/* 13 = getpid */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 14 = isc_adduser */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 15 = isc_setuser */
 	{ SYF_MPSAFE | AS(ibcs2_sysconf_args), (sy_call_t *)ibcs2_sysconf, AUE_NULL },	/* 16 = ibcs2_sysconf */
-	{ AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_SIGSUSPEND },	/* 17 = ibcs2_sigsuspend */
-	{ AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_SYMLINK },	/* 18 = ibcs2_symlink */
-	{ AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_READLINK },	/* 19 = ibcs2_readlink */
+	{ SYF_MPSAFE | AS(ibcs2_sigsuspend_args), (sy_call_t *)ibcs2_sigsuspend, AUE_SIGSUSPEND },	/* 17 = ibcs2_sigsuspend */
+	{ SYF_MPSAFE | AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink, AUE_SYMLINK },	/* 18 = ibcs2_symlink */
+	{ SYF_MPSAFE | AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink, AUE_READLINK },	/* 19 = ibcs2_readlink */
 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 20 = isc_getmajor */
 };

==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix.h#3 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call prototypes.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/i386/ibcs2/ibcs2_xenix.h,v 1.16 2005/07/13 20:35:08 jhb Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.10 2005/07/13 20:32:42 jhb Exp 
  */
 

==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_syscall.h#3 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/i386/ibcs2/ibcs2_xenix_syscall.h,v 1.12 2005/07/13 20:35:08 jhb Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.10 2005/07/13 20:32:42 jhb Exp 
  */
 

==== //depot/projects/trustedbsd/audit3/sys/i386/ibcs2/ibcs2_xenix_sysent.c#3 (text+ko) ====

@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.8 2004/02/04 21:57:00 jhb Exp 
+ * created from FreeBSD: src/sys/i386/ibcs2/syscalls.xenix,v 1.10 2005/07/13 20:32:42 jhb Exp 
  */
 
 #include <bsm/audit_kevents.h>
@@ -28,9 +28,9 @@

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



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