PERFORCE change 41669 for review

John Baldwin jhb at FreeBSD.org
Fri Nov 7 14:37:34 PST 2003


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

Change 41669 by jhb at jhb_laptop on 2003/11/07 14:37:08

	IFC @41667.

Affected files ...

.. //depot/projects/smpng/sys/alpha/linux/linux_proto.h#8 integrate
.. //depot/projects/smpng/sys/alpha/linux/linux_syscall.h#6 integrate
.. //depot/projects/smpng/sys/alpha/linux/linux_sysent.c#6 integrate
.. //depot/projects/smpng/sys/alpha/linux/syscalls.master#7 integrate
.. //depot/projects/smpng/sys/alpha/osf1/osf1_proto.h#4 integrate
.. //depot/projects/smpng/sys/alpha/osf1/osf1_syscall.h#3 integrate
.. //depot/projects/smpng/sys/alpha/osf1/osf1_sysent.c#3 integrate
.. //depot/projects/smpng/sys/alpha/osf1/syscalls.master#3 integrate
.. //depot/projects/smpng/sys/boot/i386/btx/btxldr/btxldr.s#3 integrate
.. //depot/projects/smpng/sys/coda/coda_subr.c#11 integrate
.. //depot/projects/smpng/sys/compat/freebsd32/freebsd32_misc.c#3 integrate
.. //depot/projects/smpng/sys/compat/freebsd32/freebsd32_proto.h#2 integrate
.. //depot/projects/smpng/sys/compat/freebsd32/freebsd32_syscall.h#2 integrate
.. //depot/projects/smpng/sys/compat/freebsd32/freebsd32_syscalls.c#2 integrate
.. //depot/projects/smpng/sys/compat/freebsd32/freebsd32_sysent.c#2 integrate
.. //depot/projects/smpng/sys/compat/freebsd32/syscalls.master#2 integrate
.. //depot/projects/smpng/sys/compat/linux/linux_ipc.c#15 integrate
.. //depot/projects/smpng/sys/compat/linux/linux_stats.c#15 integrate
.. //depot/projects/smpng/sys/conf/NOTES#58 integrate
.. //depot/projects/smpng/sys/conf/files#90 integrate
.. //depot/projects/smpng/sys/conf/kern.mk#7 integrate
.. //depot/projects/smpng/sys/conf/kern.pre.mk#25 integrate
.. //depot/projects/smpng/sys/conf/kmod.mk#24 integrate
.. //depot/projects/smpng/sys/conf/options#66 integrate
.. //depot/projects/smpng/sys/conf/options.i386#33 integrate
.. //depot/projects/smpng/sys/contrib/dev/acpica/dmresrc.c#5 integrate
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/genfiles#2 integrate
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/genmsgcpyc.awk#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/genmsgcpyh.awk#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_call.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_coord.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_party.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_print.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_reset.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_uni.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_unimsgcpy.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/sig_verify.c#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/uni.h#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/unidef.h#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/unimkmsg.h#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/unimsgcpy.h#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/unipriv.h#1 branch
.. //depot/projects/smpng/sys/contrib/ngatm/netnatm/sig/unisig.h#1 branch
.. //depot/projects/smpng/sys/dev/ata/ata-raid.c#23 integrate
.. //depot/projects/smpng/sys/dev/ata/atapi-cd.c#39 integrate
.. //depot/projects/smpng/sys/dev/ciss/ciss.c#23 integrate
.. //depot/projects/smpng/sys/dev/firewire/firewire.h#11 integrate
.. //depot/projects/smpng/sys/dev/firewire/fwdev.c#13 integrate
.. //depot/projects/smpng/sys/dev/firewire/fwmem.c#14 integrate
.. //depot/projects/smpng/sys/dev/firewire/if_fwe.c#17 integrate
.. //depot/projects/smpng/sys/dev/hatm/if_hatm.c#11 integrate
.. //depot/projects/smpng/sys/dev/hatm/if_hatm_intr.c#7 integrate
.. //depot/projects/smpng/sys/dev/hatm/if_hatm_tx.c#7 integrate
.. //depot/projects/smpng/sys/dev/hatm/if_hatmvar.h#6 integrate
.. //depot/projects/smpng/sys/dev/twe/twereg.h#5 integrate
.. //depot/projects/smpng/sys/dev/wi/if_wi.c#58 integrate
.. //depot/projects/smpng/sys/dev/xe/if_xe.c#12 integrate
.. //depot/projects/smpng/sys/dev/xe/if_xe_pccard.c#11 integrate
.. //depot/projects/smpng/sys/fs/msdosfs/msdosfs_vfsops.c#24 integrate
.. //depot/projects/smpng/sys/fs/udf/osta.c#3 integrate
.. //depot/projects/smpng/sys/fs/udf/osta.h#2 integrate
.. //depot/projects/smpng/sys/fs/udf/udf.h#4 integrate
.. //depot/projects/smpng/sys/fs/udf/udf_iconv.c#1 branch
.. //depot/projects/smpng/sys/fs/udf/udf_mount.h#3 branch
.. //depot/projects/smpng/sys/fs/udf/udf_vfsops.c#12 integrate
.. //depot/projects/smpng/sys/fs/udf/udf_vnops.c#14 integrate
.. //depot/projects/smpng/sys/gnu/ext2fs/ext2_vfsops.c#27 integrate
.. //depot/projects/smpng/sys/i386/acpica/madt.c#2 integrate
.. //depot/projects/smpng/sys/i386/i386/io_apic.c#2 integrate
.. //depot/projects/smpng/sys/i386/i386/mp_machdep.c#56 integrate
.. //depot/projects/smpng/sys/i386/i386/mptable.c#2 integrate
.. //depot/projects/smpng/sys/i386/i386/nexus.c#10 integrate
.. //depot/projects/smpng/sys/i386/include/bus_dma.h#9 integrate
.. //depot/projects/smpng/sys/i386/linux/linux_proto.h#11 integrate
.. //depot/projects/smpng/sys/i386/linux/linux_syscall.h#10 integrate
.. //depot/projects/smpng/sys/i386/linux/linux_sysent.c#11 integrate
.. //depot/projects/smpng/sys/i386/linux/syscalls.master#10 integrate
.. //depot/projects/smpng/sys/ia64/ia32/ia32_proto.h#9 integrate
.. //depot/projects/smpng/sys/ia64/ia32/ia32_syscall.h#9 integrate
.. //depot/projects/smpng/sys/ia64/ia32/ia32_sysent.c#9 integrate
.. //depot/projects/smpng/sys/ia64/ia32/syscalls.master#12 integrate
.. //depot/projects/smpng/sys/ia64/ia64/unaligned.c#7 integrate
.. //depot/projects/smpng/sys/kern/init_sysent.c#34 integrate
.. //depot/projects/smpng/sys/kern/kern_mac.c#30 integrate
.. //depot/projects/smpng/sys/kern/sched_ule.c#20 integrate
.. //depot/projects/smpng/sys/kern/subr_bus.c#29 integrate
.. //depot/projects/smpng/sys/kern/sys_pipe.c#36 integrate
.. //depot/projects/smpng/sys/kern/syscalls.c#34 integrate
.. //depot/projects/smpng/sys/kern/syscalls.master#33 integrate
.. //depot/projects/smpng/sys/kern/sysv_msg.c#21 integrate
.. //depot/projects/smpng/sys/kern/sysv_sem.c#22 integrate
.. //depot/projects/smpng/sys/kern/sysv_shm.c#20 integrate
.. //depot/projects/smpng/sys/kern/vfs_default.c#24 integrate
.. //depot/projects/smpng/sys/kern/vfs_mount.c#19 integrate
.. //depot/projects/smpng/sys/kern/vfs_subr.c#61 integrate
.. //depot/projects/smpng/sys/modules/Makefile#65 integrate
.. //depot/projects/smpng/sys/modules/netgraph/atm/Makefile#4 integrate
.. //depot/projects/smpng/sys/modules/netgraph/atm/uni/Makefile#1 branch
.. //depot/projects/smpng/sys/modules/udf/Makefile#3 integrate
.. //depot/projects/smpng/sys/modules/udf_iconv/Makefile#1 branch
.. //depot/projects/smpng/sys/net/netisr.c#5 integrate
.. //depot/projects/smpng/sys/net80211/ieee80211_ioctl.c#6 integrate
.. //depot/projects/smpng/sys/netgraph/atm/ng_uni.h#1 branch
.. //depot/projects/smpng/sys/netgraph/atm/uni/ng_uni.c#1 branch
.. //depot/projects/smpng/sys/netgraph/atm/uni/ng_uni_cust.h#1 branch
.. //depot/projects/smpng/sys/netgraph/ng_base.c#17 integrate
.. //depot/projects/smpng/sys/netinet/ip_fw2.c#21 integrate
.. //depot/projects/smpng/sys/netinet/ip_input.c#42 integrate
.. //depot/projects/smpng/sys/netinet6/in6.c#15 integrate
.. //depot/projects/smpng/sys/netinet6/in6.h#13 integrate
.. //depot/projects/smpng/sys/netinet6/in6_pcb.h#7 integrate
.. //depot/projects/smpng/sys/netinet6/in6_proto.c#6 integrate
.. //depot/projects/smpng/sys/netinet6/in6_src.c#13 integrate
.. //depot/projects/smpng/sys/netinet6/ip6_output.c#21 integrate
.. //depot/projects/smpng/sys/netinet6/ip6_var.h#10 integrate
.. //depot/projects/smpng/sys/netinet6/ipsec.c#12 integrate
.. //depot/projects/smpng/sys/netinet6/ipsec.h#7 integrate
.. //depot/projects/smpng/sys/nfsclient/nfs_subs.c#13 integrate
.. //depot/projects/smpng/sys/nfsclient/nfs_vfsops.c#28 integrate
.. //depot/projects/smpng/sys/pc98/conf/NOTES#14 integrate
.. //depot/projects/smpng/sys/pc98/i386/busio.s#3 integrate
.. //depot/projects/smpng/sys/pci/if_sk.c#23 integrate
.. //depot/projects/smpng/sys/pci/if_skreg.h#3 integrate
.. //depot/projects/smpng/sys/pci/if_xl.c#37 integrate
.. //depot/projects/smpng/sys/security/mac/mac_internal.h#3 integrate
.. //depot/projects/smpng/sys/security/mac/mac_net.c#3 integrate
.. //depot/projects/smpng/sys/security/mac/mac_pipe.c#3 integrate
.. //depot/projects/smpng/sys/security/mac/mac_process.c#3 integrate
.. //depot/projects/smpng/sys/security/mac/mac_vfs.c#3 integrate
.. //depot/projects/smpng/sys/sys/exec.h#4 integrate
.. //depot/projects/smpng/sys/sys/iconv.h#6 integrate
.. //depot/projects/smpng/sys/sys/mount.h#23 integrate
.. //depot/projects/smpng/sys/sys/mutex.h#39 integrate
.. //depot/projects/smpng/sys/sys/proc.h#103 integrate
.. //depot/projects/smpng/sys/sys/sched.h#6 integrate
.. //depot/projects/smpng/sys/sys/syscall.h#34 integrate
.. //depot/projects/smpng/sys/sys/syscall.mk#34 integrate
.. //depot/projects/smpng/sys/sys/syscallsubr.h#8 integrate
.. //depot/projects/smpng/sys/sys/sysproto.h#36 integrate
.. //depot/projects/smpng/sys/sys/vnode.h#38 integrate
.. //depot/projects/smpng/sys/ufs/ffs/ffs_snapshot.c#32 integrate
.. //depot/projects/smpng/sys/ufs/ffs/ffs_vfsops.c#47 integrate
.. //depot/projects/smpng/sys/ufs/ufs/ufs_quota.c#23 integrate
.. //depot/projects/smpng/sys/vm/vm_map.c#46 integrate

Differences ...

==== //depot/projects/smpng/sys/alpha/linux/linux_proto.h#8 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call prototypes.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/linux/linux_proto.h,v 1.12 2003/02/16 02:32:17 tjr Exp $
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.52 2003/02/16 02:31:05 tjr Exp 
+ * $FreeBSD: src/sys/alpha/linux/linux_proto.h,v 1.13 2003/11/07 21:13:08 jhb Exp $
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.53 2003/11/07 21:09:19 jhb Exp 
  */
 
 #ifndef _LINUX_SYSPROTO_H_
@@ -11,8 +11,12 @@
 
 #include <sys/signal.h>
 #include <sys/acl.h>
+#include <sys/thr.h>
+#include <sys/umtx.h>
 #include <posix4/_semaphore.h>
 
+#include <sys/ucontext.h>
+
 struct proc;
 
 struct thread;

==== //depot/projects/smpng/sys/alpha/linux/linux_syscall.h#6 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/linux/linux_syscall.h,v 1.10 2003/02/16 02:32:17 tjr Exp $
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.52 2003/02/16 02:31:05 tjr Exp 
+ * $FreeBSD: src/sys/alpha/linux/linux_syscall.h,v 1.11 2003/11/07 21:13:08 jhb Exp $
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.53 2003/11/07 21:09:19 jhb Exp 
  */
 
 #define	LINUX_SYS_exit	1

==== //depot/projects/smpng/sys/alpha/linux/linux_sysent.c#6 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/linux/linux_sysent.c,v 1.10 2003/02/16 02:32:17 tjr Exp $
- * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.52 2003/02/16 02:31:05 tjr Exp 
+ * $FreeBSD: src/sys/alpha/linux/linux_sysent.c,v 1.11 2003/11/07 21:13:08 jhb Exp $
+ * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.53 2003/11/07 21:09:19 jhb Exp 
  */
 
 #include "opt_compat.h"
@@ -20,10 +20,10 @@
 	{ 0, (sy_call_t *)nosys },			/* 0 =  */
 	{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit },	/* 1 = exit */
 	{ SYF_MPSAFE | 0, (sy_call_t *)linux_fork },	/* 2 = linux_fork */
-	{ AS(read_args), (sy_call_t *)read },		/* 3 = read */
-	{ AS(write_args), (sy_call_t *)write },		/* 4 = write */
+	{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read },	/* 3 = read */
+	{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write },	/* 4 = write */
 	{ 0, (sy_call_t *)nosys },			/* 5 =  */
-	{ AS(close_args), (sy_call_t *)close },		/* 6 = close */
+	{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close },	/* 6 = close */
 	{ AS(osf1_wait4_args), (sy_call_t *)osf1_wait4 },	/* 7 = osf1_wait4 */
 	{ 0, (sy_call_t *)nosys },			/* 8 =  */
 	{ AS(linux_link_args), (sy_call_t *)linux_link },	/* 9 = linux_link */
@@ -40,10 +40,10 @@
 	{ 0, (sy_call_t *)getpid },			/* 20 = getpid */
 	{ 0, (sy_call_t *)nosys },			/* 21 = osf1_mount */
 	{ AS(linux_umount_args), (sy_call_t *)linux_umount },	/* 22 = linux_umount */
-	{ AS(setuid_args), (sy_call_t *)setuid },	/* 23 = setuid */
-	{ 0, (sy_call_t *)getuid },			/* 24 = getuid */
+	{ SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid },	/* 23 = setuid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getuid },	/* 24 = getuid */
 	{ 0, (sy_call_t *)nosys },			/* 25 =  */
-	{ 0, (sy_call_t *)linux_ptrace },		/* 26 = linux_ptrace */
+	{ SYF_MPSAFE | 0, (sy_call_t *)linux_ptrace },	/* 26 = linux_ptrace */
 	{ 0, (sy_call_t *)nosys },			/* 27 =  */
 	{ 0, (sy_call_t *)nosys },			/* 28 =  */
 	{ 0, (sy_call_t *)nosys },			/* 29 =  */
@@ -54,18 +54,18 @@
 	{ 0, (sy_call_t *)nosys },			/* 34 =  */
 	{ 0, (sy_call_t *)nosys },			/* 35 =  */
 	{ 0, (sy_call_t *)sync },			/* 36 = sync */
-	{ AS(linux_kill_args), (sy_call_t *)linux_kill },	/* 37 = linux_kill */
+	{ SYF_MPSAFE | AS(linux_kill_args), (sy_call_t *)linux_kill },	/* 37 = linux_kill */
 	{ 0, (sy_call_t *)nosys },			/* 38 =  */
-	{ AS(setpgid_args), (sy_call_t *)setpgid },	/* 39 = setpgid */
+	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid },	/* 39 = setpgid */
 	{ 0, (sy_call_t *)nosys },			/* 40 =  */
-	{ AS(dup_args), (sy_call_t *)dup },		/* 41 = dup */
-	{ 0, (sy_call_t *)pipe },			/* 42 = pipe */
+	{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup },	/* 41 = dup */
+	{ SYF_MPSAFE | 0, (sy_call_t *)pipe },		/* 42 = pipe */
 	{ 0, (sy_call_t *)nosys },			/* 43 = osf_set_program_attributes */
 	{ 0, (sy_call_t *)nosys },			/* 44 =  */
 	{ AS(linux_open_args), (sy_call_t *)linux_open },	/* 45 = linux_open */
 	{ 0, (sy_call_t *)nosys },			/* 46 =  */
-	{ 0, (sy_call_t *)getgid },			/* 47 = getgid */
-	{ AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask },	/* 48 = osf1_sigprocmask */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getgid },	/* 47 = getgid */
+	{ SYF_MPSAFE | AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask },	/* 48 = osf1_sigprocmask */
 	{ 0, (sy_call_t *)nosys },			/* 49 =  */
 	{ 0, (sy_call_t *)nosys },			/* 50 =  */
 	{ AS(acct_args), (sy_call_t *)acct },		/* 51 = acct */
@@ -77,10 +77,10 @@
 	{ AS(linux_symlink_args), (sy_call_t *)linux_symlink },	/* 57 = linux_symlink */
 	{ AS(linux_readlink_args), (sy_call_t *)linux_readlink },	/* 58 = linux_readlink */
 	{ AS(linux_execve_args), (sy_call_t *)linux_execve },	/* 59 = linux_execve */
-	{ AS(umask_args), (sy_call_t *)umask },		/* 60 = umask */
+	{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask },	/* 60 = umask */
 	{ AS(chroot_args), (sy_call_t *)chroot },	/* 61 = chroot */
 	{ 0, (sy_call_t *)nosys },			/* 62 =  */
-	{ 0, (sy_call_t *)getpgrp },			/* 63 = getpgrp */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp },	/* 63 = getpgrp */
 	{ 0, (sy_call_t *)linux_getpagesize },		/* 64 = linux_getpagesize */
 	{ 0, (sy_call_t *)nosys },			/* 65 =  */
 	{ SYF_MPSAFE | 0, (sy_call_t *)linux_vfork },	/* 66 = linux_vfork */
@@ -96,10 +96,10 @@
 	{ 0, (sy_call_t *)linux_vhangup },		/* 76 = linux_vhangup */
 	{ 0, (sy_call_t *)nosys },			/* 77 =  */
 	{ 0, (sy_call_t *)nosys },			/* 78 =  */
-	{ AS(linux_setgroups_args), (sy_call_t *)linux_setgroups },	/* 79 = linux_setgroups */
-	{ AS(linux_getgroups_args), (sy_call_t *)linux_getgroups },	/* 80 = linux_getgroups */
+	{ SYF_MPSAFE | AS(linux_setgroups_args), (sy_call_t *)linux_setgroups },	/* 79 = linux_setgroups */
+	{ SYF_MPSAFE | AS(linux_getgroups_args), (sy_call_t *)linux_getgroups },	/* 80 = linux_getgroups */
 	{ 0, (sy_call_t *)nosys },			/* 81 =  */
-	{ AS(setpgid_args), (sy_call_t *)setpgid },	/* 82 = setpgid */
+	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid },	/* 82 = setpgid */
 	{ AS(osf1_setitimer_args), (sy_call_t *)osf1_setitimer },	/* 83 = osf1_setitimer */
 	{ 0, (sy_call_t *)nosys },			/* 84 =  */
 	{ 0, (sy_call_t *)nosys },			/* 85 =  */
@@ -107,20 +107,20 @@
 	{ 0, (sy_call_t *)linux_gethostname },		/* 87 = linux_gethostname */
 	{ SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname },	/* 88 = osethostname */
 	{ 0, (sy_call_t *)linux_getdtablesize },	/* 89 = linux_getdtablesize */
-	{ AS(dup2_args), (sy_call_t *)dup2 },		/* 90 = dup2 */
+	{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 },	/* 90 = dup2 */
 	{ AS(linux_newfstat_args), (sy_call_t *)linux_newfstat },	/* 91 = linux_newfstat */
 	{ AS(linux_fcntl_args), (sy_call_t *)linux_fcntl },	/* 92 = linux_fcntl */
 	{ AS(osf1_select_args), (sy_call_t *)osf1_select },	/* 93 = osf1_select */
 	{ AS(poll_args), (sy_call_t *)poll },		/* 94 = poll */
 	{ AS(fsync_args), (sy_call_t *)fsync },		/* 95 = fsync */
-	{ AS(setpriority_args), (sy_call_t *)setpriority },	/* 96 = setpriority */
+	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority },	/* 96 = setpriority */
 	{ AS(osf1_socket_args), (sy_call_t *)osf1_socket },	/* 97 = osf1_socket */
 	{ AS(linux_connect_args), (sy_call_t *)linux_connect },	/* 98 = linux_connect */
 	{ AS(accept_args), (sy_call_t *)oaccept },	/* 99 = accept */
 	{ 0, (sy_call_t *)nosys },			/* 100 = osf_getpriority */
 	{ AS(osend_args), (sy_call_t *)osend },		/* 101 = osend */
 	{ AS(orecv_args), (sy_call_t *)orecv },		/* 102 = orecv */
-	{ AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn },	/* 103 = osf1_sigreturn */
+	{ SYF_MPSAFE | AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn },	/* 103 = osf1_sigreturn */
 	{ AS(bind_args), (sy_call_t *)bind },		/* 104 = bind */
 	{ AS(setsockopt_args), (sy_call_t *)setsockopt },	/* 105 = setsockopt */
 	{ AS(listen_args), (sy_call_t *)listen },	/* 106 = listen */
@@ -128,12 +128,12 @@
 	{ 0, (sy_call_t *)nosys },			/* 108 =  */
 	{ 0, (sy_call_t *)nosys },			/* 109 =  */
 	{ 0, (sy_call_t *)nosys },			/* 110 =  */
-	{ AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend },	/* 111 = osf1_sigsuspend */
+	{ SYF_MPSAFE | AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend },	/* 111 = osf1_sigsuspend */
 	{ 0, (sy_call_t *)nosys },			/* 112 = osf_sigstack */
 	{ 0, (sy_call_t *)linux_recvmsg },		/* 113 = linux_recvmsg */
 	{ 0, (sy_call_t *)linux_sendmsg },		/* 114 = linux_sendmsg */
 	{ 0, (sy_call_t *)nosys },			/* 115 =  */
-	{ AS(osf1_gettimeofday_args), (sy_call_t *)osf1_gettimeofday },	/* 116 = osf1_gettimeofday */
+	{ SYF_MPSAFE | AS(osf1_gettimeofday_args), (sy_call_t *)osf1_gettimeofday },	/* 116 = osf1_gettimeofday */
 	{ AS(osf1_getrusage_args), (sy_call_t *)osf1_getrusage },	/* 117 = osf1_getrusage */
 	{ AS(getsockopt_args), (sy_call_t *)getsockopt },	/* 118 = getsockopt */
 	{ 0, (sy_call_t *)nosys },			/* 119 =  */
@@ -143,13 +143,13 @@
 	{ AS(fchown_args), (sy_call_t *)fchown },	/* 123 = fchown */
 	{ AS(fchmod_args), (sy_call_t *)fchmod },	/* 124 = fchmod */
 	{ AS(recvfrom_args), (sy_call_t *)orecvfrom },	/* 125 = recvfrom */
-	{ AS(setreuid_args), (sy_call_t *)setreuid },	/* 126 = setreuid */
-	{ AS(setregid_args), (sy_call_t *)setregid },	/* 127 = setregid */
+	{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid },	/* 126 = setreuid */
+	{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid },	/* 127 = setregid */
 	{ AS(linux_rename_args), (sy_call_t *)linux_rename },	/* 128 = linux_rename */
 	{ AS(linux_truncate_args), (sy_call_t *)linux_truncate },	/* 129 = linux_truncate */
 	{ AS(oftruncate_args), (sy_call_t *)oftruncate },	/* 130 = oftruncate */
 	{ AS(flock_args), (sy_call_t *)flock },		/* 131 = flock */
-	{ AS(setgid_args), (sy_call_t *)setgid },	/* 132 = setgid */
+	{ SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid },	/* 132 = setgid */
 	{ AS(osf1_sendto_args), (sy_call_t *)osf1_sendto },	/* 133 = osf1_sendto */
 	{ AS(shutdown_args), (sy_call_t *)shutdown },	/* 134 = shutdown */
 	{ 0, (sy_call_t *)linux_socketpair },		/* 135 = linux_socketpair */
@@ -164,7 +164,7 @@
 	{ AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit },	/* 144 = linux_getrlimit */
 	{ AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit },	/* 145 = linux_setrlimit */
 	{ 0, (sy_call_t *)nosys },			/* 146 =  */
-	{ 0, (sy_call_t *)setsid },			/* 147 = setsid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)setsid },	/* 147 = setsid */
 	{ 0, (sy_call_t *)linux_quotactl },		/* 148 = linux_quotactl */
 	{ 0, (sy_call_t *)nosys },			/* 149 =  */
 	{ AS(getsockname_args), (sy_call_t *)ogetsockname },	/* 150 = getsockname */
@@ -173,7 +173,7 @@
 	{ 0, (sy_call_t *)nosys },			/* 153 =  */
 	{ 0, (sy_call_t *)nosys },			/* 154 =  */
 	{ 0, (sy_call_t *)nosys },			/* 155 =  */
-	{ AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction },	/* 156 = osf1_sigaction */
+	{ SYF_MPSAFE | AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction },	/* 156 = osf1_sigaction */
 	{ 0, (sy_call_t *)nosys },			/* 157 =  */
 	{ 0, (sy_call_t *)nosys },			/* 158 =  */
 	{ 0, (sy_call_t *)nosys },			/* 159 = osf_getdirentries */
@@ -250,15 +250,15 @@
 	{ 0, (sy_call_t *)nosys },			/* 230 =  */
 	{ 0, (sy_call_t *)nosys },			/* 231 =  */
 	{ 0, (sy_call_t *)nosys },			/* 232 =  */
-	{ AS(getpgid_args), (sy_call_t *)getpgid },	/* 233 = getpgid */
-	{ AS(linux_getsid_args), (sy_call_t *)linux_getsid },	/* 234 = linux_getsid */
+	{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid },	/* 233 = getpgid */
+	{ SYF_MPSAFE | AS(linux_getsid_args), (sy_call_t *)linux_getsid },	/* 234 = linux_getsid */
 	{ 0, (sy_call_t *)linux_sigaltstack },		/* 235 = linux_sigaltstack */
 	{ 0, (sy_call_t *)nosys },			/* 236 =  */
 	{ 0, (sy_call_t *)nosys },			/* 237 =  */
 	{ 0, (sy_call_t *)nosys },			/* 238 =  */
 	{ 0, (sy_call_t *)nosys },			/* 239 =  */
 	{ 0, (sy_call_t *)nosys },			/* 240 =  */
-	{ AS(osf1_sysinfo_args), (sy_call_t *)osf1_sysinfo },	/* 241 = osf1_sysinfo */
+	{ SYF_MPSAFE | AS(osf1_sysinfo_args), (sy_call_t *)osf1_sysinfo },	/* 241 = osf1_sysinfo */
 	{ 0, (sy_call_t *)nosys },			/* 242 =  */
 	{ 0, (sy_call_t *)nosys },			/* 243 =  */
 	{ 0, (sy_call_t *)nosys },			/* 244 = osf_proplist_syscall */
@@ -329,12 +329,12 @@
 	{ 0, (sy_call_t *)linux_get_kernel_syms },	/* 309 = linux_get_kernel_syms */
 	{ AS(linux_syslog_args), (sy_call_t *)linux_syslog },	/* 310 = linux_syslog */
 	{ AS(linux_reboot_args), (sy_call_t *)linux_reboot },	/* 311 = linux_reboot */
-	{ AS(linux_clone_args), (sy_call_t *)linux_clone },	/* 312 = linux_clone */
+	{ SYF_MPSAFE | AS(linux_clone_args), (sy_call_t *)linux_clone },	/* 312 = linux_clone */
 	{ AS(linux_uselib_args), (sy_call_t *)linux_uselib },	/* 313 = linux_uselib */
-	{ AS(mlock_args), (sy_call_t *)mlock },		/* 314 = mlock */
-	{ AS(munlock_args), (sy_call_t *)munlock },	/* 315 = munlock */
-	{ AS(mlockall_args), (sy_call_t *)mlockall },	/* 316 = mlockall */
-	{ 0, (sy_call_t *)munlockall },			/* 317 = munlockall */
+	{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock },	/* 314 = mlock */
+	{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock },	/* 315 = munlock */
+	{ SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall },	/* 316 = mlockall */
+	{ SYF_MPSAFE | 0, (sy_call_t *)munlockall },	/* 317 = munlockall */
 	{ 0, (sy_call_t *)linux_sysinfo },		/* 318 = linux_sysinfo */
 	{ AS(linux_sysctl_args), (sy_call_t *)linux_sysctl },	/* 319 = linux_sysctl */
 	{ 0, (sy_call_t *)nosys },			/* 320 = sys_idle */
@@ -347,21 +347,21 @@
 	{ AS(linux_ustat_args), (sy_call_t *)linux_ustat },	/* 327 = linux_ustat */
 	{ AS(linux_statfs_args), (sy_call_t *)linux_statfs },	/* 328 = linux_statfs */
 	{ AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs },	/* 329 = linux_fstatfs */
-	{ AS(sched_setparam_args), (sy_call_t *)sched_setparam },	/* 330 = sched_setparam */
-	{ AS(sched_getparam_args), (sy_call_t *)sched_getparam },	/* 331 = sched_getparam */
-	{ AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler },	/* 332 = linux_sched_setscheduler */
-	{ AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler },	/* 333 = linux_sched_getscheduler */
+	{ SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam },	/* 330 = sched_setparam */
+	{ SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam },	/* 331 = sched_getparam */
+	{ SYF_MPSAFE | AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler },	/* 332 = linux_sched_setscheduler */
+	{ SYF_MPSAFE | AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler },	/* 333 = linux_sched_getscheduler */
 	{ SYF_MPSAFE | 0, (sy_call_t *)sched_yield },	/* 334 = sched_yield */
-	{ AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max },	/* 335 = linux_sched_get_priority_max */
-	{ AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min },	/* 336 = linux_sched_get_priority_min */
+	{ SYF_MPSAFE | AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max },	/* 335 = linux_sched_get_priority_max */
+	{ SYF_MPSAFE | AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min },	/* 336 = linux_sched_get_priority_min */
 	{ AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval },	/* 337 = sched_rr_get_interval */
 	{ 0, (sy_call_t *)nosys },			/* 338 = sys_afs_syscall */
 	{ AS(linux_newuname_args), (sy_call_t *)linux_newuname },	/* 339 = linux_newuname */
 	{ SYF_MPSAFE | AS(nanosleep_args), (sy_call_t *)nanosleep },	/* 340 = nanosleep */
 	{ AS(linux_mremap_args), (sy_call_t *)linux_mremap },	/* 341 = linux_mremap */
 	{ 0, (sy_call_t *)linux_nfsservctl },		/* 342 = linux_nfsservctl */
-	{ AS(setresuid_args), (sy_call_t *)setresuid },	/* 343 = setresuid */
-	{ AS(getresuid_args), (sy_call_t *)getresuid },	/* 344 = getresuid */
+	{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid },	/* 343 = setresuid */
+	{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid },	/* 344 = getresuid */
 	{ 0, (sy_call_t *)linux_pciconfig_read },	/* 345 = linux_pciconfig_read */
 	{ 0, (sy_call_t *)linux_pciconfig_write },	/* 346 = linux_pciconfig_write */
 	{ 0, (sy_call_t *)linux_query_module },		/* 347 = linux_query_module */
@@ -369,27 +369,27 @@
 	{ AS(linux_pread_args), (sy_call_t *)linux_pread },	/* 349 = linux_pread */
 	{ AS(linux_pwrite_args), (sy_call_t *)linux_pwrite },	/* 350 = linux_pwrite */
 	{ 0, (sy_call_t *)linux_rt_sigreturn },		/* 351 = linux_rt_sigreturn */
-	{ AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction },	/* 352 = linux_rt_sigaction */
-	{ AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask },	/* 353 = linux_rt_sigprocmask */
+	{ SYF_MPSAFE | AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction },	/* 352 = linux_rt_sigaction */
+	{ SYF_MPSAFE | AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask },	/* 353 = linux_rt_sigprocmask */
 	{ 0, (sy_call_t *)linux_rt_sigpending },	/* 354 = linux_rt_sigpending */
 	{ 0, (sy_call_t *)linux_rt_sigtimedwait },	/* 355 = linux_rt_sigtimedwait */
 	{ 0, (sy_call_t *)linux_rt_sigqueueinfo },	/* 356 = linux_rt_sigqueueinfo */
-	{ AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend },	/* 357 = linux_rt_sigsuspend */
+	{ SYF_MPSAFE | AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend },	/* 357 = linux_rt_sigsuspend */
 	{ AS(linux_select_args), (sy_call_t *)linux_select },	/* 358 = linux_select */
-	{ AS(gettimeofday_args), (sy_call_t *)gettimeofday },	/* 359 = gettimeofday */
+	{ SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday },	/* 359 = gettimeofday */
 	{ SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday },	/* 360 = settimeofday */
-	{ AS(linux_getitimer_args), (sy_call_t *)linux_getitimer },	/* 361 = linux_getitimer */
-	{ AS(linux_setitimer_args), (sy_call_t *)linux_setitimer },	/* 362 = linux_setitimer */
+	{ SYF_MPSAFE | AS(linux_getitimer_args), (sy_call_t *)linux_getitimer },	/* 361 = linux_getitimer */
+	{ SYF_MPSAFE | AS(linux_setitimer_args), (sy_call_t *)linux_setitimer },	/* 362 = linux_setitimer */
 	{ AS(linux_utimes_args), (sy_call_t *)linux_utimes },	/* 363 = linux_utimes */
-	{ AS(getrusage_args), (sy_call_t *)getrusage },	/* 364 = getrusage */
+	{ SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage },	/* 364 = getrusage */
 	{ AS(linux_wait4_args), (sy_call_t *)linux_wait4 },	/* 365 = linux_wait4 */
 	{ 0, (sy_call_t *)linux_adjtimex },		/* 366 = linux_adjtimex */
 	{ AS(linux_getcwd_args), (sy_call_t *)linux_getcwd },	/* 367 = linux_getcwd */
 	{ 0, (sy_call_t *)linux_capget },		/* 368 = linux_capget */
 	{ 0, (sy_call_t *)linux_capset },		/* 369 = linux_capset */
 	{ 0, (sy_call_t *)linux_sendfile },		/* 370 = linux_sendfile */
-	{ AS(setresgid_args), (sy_call_t *)setresgid },	/* 371 = setresgid */
-	{ AS(getresgid_args), (sy_call_t *)getresgid },	/* 372 = getresgid */
+	{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid },	/* 371 = setresgid */
+	{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid },	/* 372 = getresgid */
 	{ 0, (sy_call_t *)nosys },			/* 373 = sys_dipc */
 	{ AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root },	/* 374 = linux_pivot_root */
 	{ AS(linux_mincore_args), (sy_call_t *)linux_mincore },	/* 375 = linux_mincore */

==== //depot/projects/smpng/sys/alpha/linux/syscalls.master#7 (text+ko) ====

@@ -1,4 +1,4 @@
- $FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.52 2003/02/16 02:31:05 tjr Exp $
+ $FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.53 2003/11/07 21:09:19 jhb Exp $
 
 ;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
 ; System call name/number master file (or rather, slave, from LINUX).
@@ -40,10 +40,10 @@
 0	UNIMPL	LINUX
 1	MNOPROTO LINUX	{ void sys_exit(int rval); } exit sys_exit_args void
 2	MSTD	LINUX	{ int linux_fork(void); }
-3	NOPROTO	LINUX	{ int read(int fd, char *buf, u_int nbyte); }
-4	NOPROTO	LINUX	{ int write(int fd, char *buf, u_int nbyte); }
+3	MNOPROTO LINUX	{ int read(int fd, char *buf, u_int nbyte); }
+4	MNOPROTO LINUX	{ int write(int fd, char *buf, u_int nbyte); }
 5	UNIMPL	LINUX
-6	NOPROTO	LINUX	{ int close(int fd); }
+6	MNOPROTO LINUX	{ int close(int fd); }
 7	STD	OSF1	{ int osf1_wait4(int pid, int *status, int options, \
 				struct osf1_rusage *rusage); }
 8	UNIMPL	LINUX
@@ -64,10 +64,10 @@
 20	NOPROTO	BSD	{ int getpid(void); } 
 21	UNIMPL	OSF1	osf1_mount
 22	STD	LINUX	{ int linux_umount(char *path, l_int flags); }
-23	NOPROTO	LINUX	{ int setuid(uid_t uid); }
-24	NOPROTO	BSD	{ int getuid(void); }
+23	MNOPROTO LINUX	{ int setuid(uid_t uid); }
+24	MNOPROTO BSD	{ int getuid(void); }
 25	UNIMPL	LINUX
-26	STD	LINUX	{ int linux_ptrace(void); }
+26	MSTD	LINUX	{ int linux_ptrace(void); }
 27	UNIMPL	LINUX
 28	UNIMPL	LINUX
 29	UNIMPL	LINUX
@@ -78,19 +78,19 @@
 34	UNIMPL	LINUX
 35	UNIMPL	LINUX
 36	NOPROTO	LINUX	{ int sync(void); }
-37	STD	LINUX	{ int linux_kill(l_int pid, l_int signum); }
+37	MSTD	LINUX	{ int linux_kill(l_int pid, l_int signum); }
 38	UNIMPL	LINUX
-39	NOPROTO	LINUX	{ int setpgid(int pid, int pgid); }
+39	MNOPROTO LINUX	{ int setpgid(int pid, int pgid); }
 40	UNIMPL	LINUX
-41	NOPROTO	LINUX	{ int dup(u_int fd); }
-42	NOPROTO	BSD	{ int pipe(void); }
+41	MNOPROTO LINUX	{ int dup(u_int fd); }
+42	MNOPROTO BSD	{ int pipe(void); }
 43	UNIMPL	OSF1	osf_set_program_attributes
 44	UNIMPL	LINUX
 45	STD	LINUX	{ int linux_open(char *path, l_int flags, \
 				l_int mode); }
 46	UNIMPL	LINUX
-47	NOPROTO	BSD	{ int getgid(void); }
-48	STD	OSF1	{ int osf1_sigprocmask(int how, u_long mask); }
+47	MNOPROTO BSD	{ int getgid(void); }
+48	MSTD	OSF1	{ int osf1_sigprocmask(int how, u_long mask); }
 49	UNIMPL	LINUX
 50	UNIMPL	LINUX
 51	NOPROTO	LINUX	{ int acct(char *path); }
@@ -105,10 +105,10 @@
 				l_int count); }
 59	STD	LINUX	{ int linux_execve(char *path, char **argp, \
 				char **envp); }
-60	NOPROTO	LINUX	{ int umask(int newmask); }
+60	MNOPROTO LINUX	{ int umask(int newmask); }
 61	NOPROTO	LINUX	{ int chroot(char *path); }
 62	UNIMPL	LINUX
-63	NOPROTO	LINUX	{ int getpgrp(void); }
+63	MNOPROTO LINUX	{ int getpgrp(void); }
 64	STD	LINUX	{ int linux_getpagesize(void); }
 65	UNIMPL	LINUX
 66	MSTD	LINUX	{ int linux_vfork(void); }
@@ -129,12 +129,12 @@
 76	STD	LINUX	{ int linux_vhangup(void); }
 77	UNIMPL	LINUX
 78	UNIMPL	LINUX
-79	STD	LINUX	{ int linux_setgroups(l_int gidsetsize, \
+79	MSTD	LINUX	{ int linux_setgroups(l_int gidsetsize, \
 				l_gid_t *grouplist); }
-80	STD	LINUX	{ int linux_getgroups(l_int gidsetsize, \
+80	MSTD	LINUX	{ int linux_getgroups(l_int gidsetsize, \
 				l_gid_t *grouplist); }
 81	UNIMPL	LINUX	
-82	NODEF	LINUX	setpgid setpgid setpgid_args int
+82	MNODEF	LINUX	setpgid setpgid setpgid_args int
 83	STD	OSF1	{ int osf1_setitimer(u_int which, \
 				struct itimerval *itv, \
 				struct itimerval *oitv); }
@@ -145,7 +145,7 @@
 88	MNOPROTO LINUX	{ int osethostname(char *hostname, u_int len); } \
 				osethostname sethostname_args int
 89	STD	LINUX	{ int linux_getdtablesize(void); }
-90	NOPROTO	LINUX	{ int dup2(u_int from, u_int to); }
+90	MNOPROTO LINUX	{ int dup2(u_int from, u_int to); }
 91	STD	LINUX	{ int linux_newfstat(l_uint fd, \
 				struct l_newstat *buf); }
 92	STD	LINUX	{ int linux_fcntl(l_uint fd, l_uint cmd, l_ulong arg); }
@@ -154,7 +154,7 @@
 94	NOPROTO	LINUX	{ int poll(struct pollfd*, unsigned int nfds, \
 				long timeout); }
 95	NOPROTO	LINUX	{ int fsync(int fd); }
-96	NOPROTO	LINUX	{ int setpriority(int which, int who, int prio); }
+96	MNOPROTO LINUX	{ int setpriority(int which, int who, int prio); }
 97	STD	LINUX	{ int osf1_socket(int domain, int type, \
 				int protocol); }
 98	STD	LINUX	{ int linux_connect(l_int s, struct l_sockaddr *name, \
@@ -164,7 +164,7 @@
 100	UNIMPL	OSF1	osf_getpriority
 101	NOPROTO	LINUX	{ int osend(int s, caddr_t buf, int len, int flags); }
 102     NOPROTO LINUX	{ int orecv(int s, caddr_t buf, int len, int flags); }
-103	STD	LINUX	{ int osf1_sigreturn(struct osigcontext *sigcntxp); }
+103	MSTD	LINUX	{ int osf1_sigreturn(struct osigcontext *sigcntxp); }
 104	NOPROTO	LINUX	{ int bind(int s, caddr_t name, int namelen); }
 105	NOPROTO	LINUX	{ int setsockopt(int s, int level, int name, \
 				caddr_t val, int valsize); }
@@ -173,12 +173,12 @@
 108	UNIMPL	LINUX
 109	UNIMPL	LINUX
 110	UNIMPL	LINUX
-111	STD	LINUX	{ int osf1_sigsuspend(unsigned long ss); }
+111	MSTD	LINUX	{ int osf1_sigsuspend(unsigned long ss); }
 112	UNIMPL	OSF1	osf_sigstack
 113	STD	LINUX	{ int linux_recvmsg(void); }
 114	STD	LINUX	{ int linux_sendmsg(void); }
 115	UNIMPL	LINUX
-116	STD	OSF1	{ int osf1_gettimeofday(struct timeval *tp, \
+116	MSTD	OSF1	{ int osf1_gettimeofday(struct timeval *tp, \
 				struct timezone *tzp); }
 117	STD	OSF1	{ int osf1_getrusage(long who, void *rusage); }
 118	NOPROTO	LINUX	{ int getsockopt(int s, int level, int name, \
@@ -194,13 +194,13 @@
 125	NOPROTO	LINUX	{ int orecvfrom(int s, caddr_t buf, size_t len, \
 				int flags, caddr_t from, int *fromlenaddr); } \
 				recvfrom recvfrom_args int
-126	NOPROTO	LINUX	{ int setreuid(int ruid, int euid); }
-127	NOPROTO	LINUX	{ int setregid(int rgid, int egid); }
+126	MNOPROTO LINUX	{ int setreuid(int ruid, int euid); }
+127	MNOPROTO LINUX	{ int setregid(int rgid, int egid); }
 128	STD	LINUX	{ int linux_rename(char *from, char *to); }
 129	STD	LINUX	{ int linux_truncate(char *path, l_ulong length); }
 130	NOPROTO	LINUX	{ int oftruncate(int fd, long length); }
 131	NOPROTO	LINUX	{ int flock(int fd, int how); }
-132	NOPROTO	LINUX	{ int setgid(gid_t gid); }
+132	MNOPROTO LINUX	{ int setgid(gid_t gid); }
 133     STD     LINUX	{ int osf1_sendto(int s, caddr_t buf, size_t len, \
 				int flags, struct sockaddr *to, int tolen); }
 134	NOPROTO	LINUX	{ int shutdown(int s, int how); }
@@ -218,7 +218,7 @@
 145	STD	LINUX	{ int linux_setrlimit(l_uint resource, \
 				struct l_rlimit *rlim); }
 146	UNIMPL	LINUX
-147	NOPROTO	LINUX	{ int setsid(void); }
+147	MNOPROTO LINUX	{ int setsid(void); }
 148	STD	LINUX	{ int linux_quotactl(void); }
 149	UNIMPL	LINUX
 150	NOPROTO	LINUX	{ int ogetsockname(int fdec, caddr_t asa, int *alen);} \
@@ -228,7 +228,7 @@
 153	UNIMPL	LINUX
 154	UNIMPL	LINUX
 155	UNIMPL	LINUX
-156	STD	OSF1	{ int osf1_sigaction(int sig, \
+156	MSTD	OSF1	{ int osf1_sigaction(int sig, \
 				struct osf1_sigaction *nsa, \
 				struct osf1_sigaction *osa); }
 157	UNIMPL	LINUX
@@ -318,15 +318,15 @@
 230	UNIMPL	LINUX
 231	UNIMPL	LINUX
 232	UNIMPL	LINUX
-233	NOPROTO	LINUX	{ int getpgid(int pid); }
-234	STD	LINUX	{ int linux_getsid(l_pid_t pid); }
+233	MNOPROTO LINUX	{ int getpgid(int pid); }
+234	MSTD	LINUX	{ int linux_getsid(l_pid_t pid); }
 235	STD	LINUX	{ int linux_sigaltstack(void); }
 236	UNIMPL	LINUX
 237	UNIMPL	LINUX
 238	UNIMPL	LINUX
 239	UNIMPL	LINUX
 240	UNIMPL	LINUX
-241	STD	OSF1	{ int osf1_sysinfo(int cmd, char *buf, long count); }
+241	MSTD	OSF1	{ int osf1_sysinfo(int cmd, char *buf, long count); }
 242	UNIMPL	LINUX
 243	UNIMPL	LINUX
 244	UNIMPL	OSF1	osf_proplist_syscall
@@ -404,12 +404,12 @@
 310	STD	LINUX	{ int linux_syslog(l_int type, char *buf, l_int len); }
 311	STD	LINUX	{ int linux_reboot(l_int magic1, l_int magic2, \
 				l_uint cmd, void *arg); }
-312	STD	LINUX	{ int linux_clone(l_int flags, void *stack); }
+312	MSTD	LINUX	{ int linux_clone(l_int flags, void *stack); }
 313	STD	LINUX	{ int linux_uselib(char *library); }	
-314	NOPROTO	BSD	{ int mlock(const void *addr, size_t len); }
-315	NOPROTO	BSD	{ int munlock(const void *addr, size_t len); }
-316	NOPROTO	BSD	{ int mlockall(int how); }
-317	NOPROTO	BSD	{ int munlockall(void); }
+314	MNOPROTO BSD	{ int mlock(const void *addr, size_t len); }
+315	MNOPROTO BSD	{ int munlock(const void *addr, size_t len); }
+316	MNOPROTO BSD	{ int mlockall(int how); }
+317	MNOPROTO BSD	{ int munlockall(void); }
 318	STD	LINUX	{ int linux_sysinfo(void); }
 319	STD	LINUX	{ int linux_sysctl(struct l___sysctl_args *args); }
 320	UNIMPL	LINUX	sys_idle
@@ -424,16 +424,16 @@
 				struct l_statfs_buf *buf); }
 329	STD	LINUX	{ int linux_fstatfs(l_uint fd, \
 				struct l_statfs_buf *buf); }
-330	NOPROTO	POSIX	{ int sched_setparam(pid_t pid, \
+330	MNOPROTO POSIX	{ int sched_setparam(pid_t pid, \
 				const struct sched_param *param); }
-331	NOPROTO	POSIX	{ int sched_getparam(pid_t pid, \
+331	MNOPROTO POSIX	{ int sched_getparam(pid_t pid, \
 				struct sched_param *param); }
-332	STD	POSIX	{ int linux_sched_setscheduler(l_pid_t pid, \
+332	MSTD	POSIX	{ int linux_sched_setscheduler(l_pid_t pid, \
 				l_int policy, struct l_sched_param *param); }
-333	STD	POSIX	{ int linux_sched_getscheduler(l_pid_t pid); }
+333	MSTD	POSIX	{ int linux_sched_getscheduler(l_pid_t pid); }
 334	MNOPROTO POSIX	{ int sched_yield(void); }
-335	STD	POSIX	{ int linux_sched_get_priority_max(l_int policy); }
-336	STD	POSIX	{ int linux_sched_get_priority_min (l_int policy); }
+335	MSTD	POSIX	{ int linux_sched_get_priority_max(l_int policy); }
+336	MSTD	POSIX	{ int linux_sched_get_priority_min (l_int policy); }
 337	NOPROTO	POSIX	{ int sched_rr_get_interval (pid_t pid, \
 				struct timespec *interval); }
 338	UNIMPL	LINUX	sys_afs_syscall
@@ -444,8 +444,8 @@
 				l_ulong new_len, l_ulong flags, \
 				l_ulong new_addr); }
 342	STD	LINUX	{ int linux_nfsservctl(void); }
-343	NOPROTO	LINUX	{ int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
-344	NOPROTO	LINUX	{ int getresuid(uid_t *ruid, uid_t *euid, \
+343	MNOPROTO LINUX	{ int setresuid(uid_t ruid, uid_t euid, uid_t suid); }
+344	MNOPROTO LINUX	{ int getresuid(uid_t *ruid, uid_t *euid, \
 				uid_t *suid); }
 345	STD	LINUX	{ int linux_pciconfig_read(void); }
 346	STD	LINUX	{ int linux_pciconfig_write(void); }
@@ -456,32 +456,32 @@
 350	STD	LINUX	{ int linux_pwrite(l_uint fd, char *buf, \
 				l_size_t nbyte, l_loff_t offset); }
 351	STD	LINUX	{ int linux_rt_sigreturn(void); }
-352	STD	LINUX	{ int linux_rt_sigaction(l_int sig, \
+352	MSTD	LINUX	{ int linux_rt_sigaction(l_int sig, \
 				l_sigaction_t *act, l_sigaction_t *oact, \
 				l_size_t sigsetsize); }
-353	STD	LINUX	{ int linux_rt_sigprocmask(l_int how, \
+353	MSTD	LINUX	{ int linux_rt_sigprocmask(l_int how, \
 				l_sigset_t *mask, l_sigset_t *omask, \
 				l_size_t sigsetsize); }
 354	STD	LINUX	{ int linux_rt_sigpending(void); }
 355	STD	LINUX	{ int linux_rt_sigtimedwait(void); }
 356	STD	LINUX	{ int linux_rt_sigqueueinfo(void); }
-357	STD	LINUX	{ int linux_rt_sigsuspend(l_sigset_t *newset, \
+357	MSTD	LINUX	{ int linux_rt_sigsuspend(l_sigset_t *newset, \
 				l_size_t sigsetsize); }
 358	STD	LINUX	{ int linux_select(l_int nfds, l_fd_set *readfds, \
 				l_fd_set *writefds, l_fd_set *exceptfds, \
 				struct l_timeval *timeout); }
-359	NOPROTO	LINUX	{ int gettimeofday(struct timeval *tp, \
+359	MNOPROTO LINUX	{ int gettimeofday(struct timeval *tp, \
 				struct timezone *tzp); }
 360	MNOPROTO LINUX	{ int settimeofday(struct timeval *tp, \
 				struct timezone *tzp); }
-361	STD	LINUX	{ int linux_getitimer(l_int which, \
+361	MSTD	LINUX	{ int linux_getitimer(l_int which, \
 				struct l_itimerval *itv); }
-362	STD	LINUX	{ int linux_setitimer(l_int which, \
+362	MSTD	LINUX	{ int linux_setitimer(l_int which, \
 				struct l_itimerval *itv, \
 				struct l_itimerval *oitv); }
 363	STD	LINUX	{ int linux_utimes(char *fname, \
 				struct l_timeval *times); }
-364	NOPROTO	LINUX	{ int getrusage(int who, struct rusage *rusage); }
+364	MNOPROTO LINUX	{ int getrusage(int who, struct rusage *rusage); }
 365	STD	LINUX	{ int linux_wait4(l_pid_t pid, l_uint *status, \
 				l_int options, struct l_rusage *rusage); }		
 366	STD	LINUX	{ int linux_adjtimex(void); }
@@ -489,8 +489,8 @@
 368	STD	LINUX	{ int linux_capget(void); }
 369	STD	LINUX	{ int linux_capset(void); }
 370	STD	LINUX	{ int linux_sendfile(void); }
-371	NOPROTO	LINUX	{ int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
-372	NOPROTO	LINUX	{ int getresgid(gid_t *rgid, gid_t *egid, \
+371	MNOPROTO LINUX	{ int setresgid(gid_t rgid, gid_t egid, gid_t sgid); }
+372	MNOPROTO LINUX	{ int getresgid(gid_t *rgid, gid_t *egid, \
 				gid_t *sgid); }
 373	UNIMPL	LINUX	sys_dipc
 374	STD	LINUX	{ int linux_pivot_root(char *new_root, \

==== //depot/projects/smpng/sys/alpha/osf1/osf1_proto.h#4 (text+ko) ====

@@ -2,16 +2,20 @@
  * System call prototypes.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/osf1/osf1_proto.h,v 1.6 2002/03/20 18:58:46 obrien Exp $
- * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.5 2001/09/01 19:36:47 dillon Exp 
+ * $FreeBSD: src/sys/alpha/osf1/osf1_proto.h,v 1.7 2003/11/07 20:56:54 jhb Exp $
+ * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.6 2003/11/07 20:56:31 jhb Exp 
  */
 
 #ifndef _OSF1_SYSPROTO_H_
 #define	_OSF1_SYSPROTO_H_
 
 #include <sys/signal.h>
+#include <sys/acl.h>
+#include <sys/thr.h>
+#include <sys/umtx.h>
+#include <posix4/_semaphore.h>
 
-#include <sys/acl.h>
+#include <sys/ucontext.h>
 
 struct proc;
 
@@ -360,6 +364,12 @@
 
 #endif /* COMPAT_43 */
 
+
+#ifdef COMPAT_FREEBSD4
+
+
+#endif /* COMPAT_FREEBSD4 */
+
 #undef PAD_
 #undef PADL_
 #undef PADR_

==== //depot/projects/smpng/sys/alpha/osf1/osf1_syscall.h#3 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/osf1/osf1_syscall.h,v 1.5 2001/09/20 05:01:08 peter Exp $
- * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.5 2001/09/01 19:36:47 dillon Exp 
+ * $FreeBSD: src/sys/alpha/osf1/osf1_syscall.h,v 1.6 2003/11/07 20:56:54 jhb Exp $
+ * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.6 2003/11/07 20:56:31 jhb Exp 
  */
 
 #define	OSF1_SYS_nosys	0

==== //depot/projects/smpng/sys/alpha/osf1/osf1_sysent.c#3 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/alpha/osf1/osf1_sysent.c,v 1.5 2001/09/20 05:01:08 peter Exp $
- * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.5 2001/09/01 19:36:47 dillon Exp 
+ * $FreeBSD: src/sys/alpha/osf1/osf1_sysent.c,v 1.6 2003/11/07 20:56:54 jhb Exp $
+ * created from;	FreeBSD: src/sys/alpha/osf1/syscalls.master,v 1.6 2003/11/07 20:56:31 jhb Exp 
  */
 
 #include "opt_compat.h"
@@ -21,10 +21,10 @@
 	{ 0, (sy_call_t *)nosys },			/* 0 = nosys */
 	{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit },	/* 1 = exit */
 	{ SYF_MPSAFE | 0, (sy_call_t *)fork },		/* 2 = fork */
-	{ AS(read_args), (sy_call_t *)read },		/* 3 = read */
-	{ AS(write_args), (sy_call_t *)write },		/* 4 = write */
+	{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read },	/* 3 = read */
+	{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write },	/* 4 = write */
 	{ 0, (sy_call_t *)nosys },			/* 5 = old open */
-	{ AS(close_args), (sy_call_t *)close },		/* 6 = close */
+	{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close },	/* 6 = close */
 	{ AS(osf1_wait4_args), (sy_call_t *)osf1_wait4 },	/* 7 = osf1_wait4 */
 	{ 0, (sy_call_t *)nosys },			/* 8 = old creat */
 	{ AS(link_args), (sy_call_t *)link },		/* 9 = link */
@@ -38,11 +38,11 @@
 	{ AS(obreak_args), (sy_call_t *)obreak },	/* 17 = obreak */
 	{ AS(osf1_getfsstat_args), (sy_call_t *)osf1_getfsstat },	/* 18 = osf1_getfsstat */
 	{ AS(osf1_lseek_args), (sy_call_t *)osf1_lseek },	/* 19 = osf1_lseek */
-	{ 0, (sy_call_t *)getpid },			/* 20 = getpid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getpid },	/* 20 = getpid */
 	{ AS(osf1_mount_args), (sy_call_t *)osf1_mount },	/* 21 = osf1_mount */
 	{ AS(osf1_unmount_args), (sy_call_t *)osf1_unmount },	/* 22 = osf1_unmount */
-	{ AS(osf1_setuid_args), (sy_call_t *)osf1_setuid },	/* 23 = osf1_setuid */
-	{ 0, (sy_call_t *)getuid },			/* 24 = getuid */
+	{ SYF_MPSAFE | AS(osf1_setuid_args), (sy_call_t *)osf1_setuid },	/* 23 = osf1_setuid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getuid },	/* 24 = getuid */
 	{ 0, (sy_call_t *)nosys },			/* 25 = exec_with_loader */
 	{ 0, (sy_call_t *)nosys },			/* 26 = ptrace */
 	{ 0, (sy_call_t *)nosys },			/* 27 = recvmsg */
@@ -55,22 +55,22 @@
 	{ 0, (sy_call_t *)nosys },			/* 34 = chflags */
 	{ 0, (sy_call_t *)nosys },			/* 35 = fchflags */
 	{ 0, (sy_call_t *)sync },			/* 36 = sync */
-	{ AS(osf1_kill_args), (sy_call_t *)osf1_kill },	/* 37 = osf1_kill */
+	{ SYF_MPSAFE | AS(osf1_kill_args), (sy_call_t *)osf1_kill },	/* 37 = osf1_kill */
 	{ 0, (sy_call_t *)nosys },			/* 38 = old stat */
-	{ AS(setpgid_args), (sy_call_t *)setpgid },	/* 39 = setpgid */
+	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid },	/* 39 = setpgid */
 	{ 0, (sy_call_t *)nosys },			/* 40 = old lstat */
-	{ AS(dup_args), (sy_call_t *)dup },		/* 41 = dup */
-	{ 0, (sy_call_t *)pipe },			/* 42 = pipe */
+	{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup },	/* 41 = dup */
+	{ SYF_MPSAFE | 0, (sy_call_t *)pipe },		/* 42 = pipe */
 	{ AS(osf1_set_program_attributes_args), (sy_call_t *)osf1_set_program_attributes },	/* 43 = osf1_set_program_attributes */
 	{ 0, (sy_call_t *)nosys },			/* 44 = profil */
 	{ AS(osf1_open_args), (sy_call_t *)osf1_open },	/* 45 = osf1_open */
 	{ 0, (sy_call_t *)nosys },			/* 46 = obsolete sigaction */
-	{ 0, (sy_call_t *)getgid },			/* 47 = getgid */
-	{ AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask },	/* 48 = osf1_sigprocmask */
-	{ AS(getlogin_args), (sy_call_t *)getlogin },	/* 49 = getlogin */
-	{ AS(setlogin_args), (sy_call_t *)setlogin },	/* 50 = setlogin */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getgid },	/* 47 = getgid */
+	{ SYF_MPSAFE | AS(osf1_sigprocmask_args), (sy_call_t *)osf1_sigprocmask },	/* 48 = osf1_sigprocmask */
+	{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin },	/* 49 = getlogin */
+	{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin },	/* 50 = setlogin */
 	{ AS(acct_args), (sy_call_t *)acct },		/* 51 = acct */
-	{ AS(osf1_sigpending_args), (sy_call_t *)osf1_sigpending },	/* 52 = osf1_sigpending */
+	{ SYF_MPSAFE | AS(osf1_sigpending_args), (sy_call_t *)osf1_sigpending },	/* 52 = osf1_sigpending */
 	{ AS(osf1_classcntl_args), (sy_call_t *)osf1_classcntl },	/* 53 = osf1_classcntl */
 	{ AS(osf1_ioctl_args), (sy_call_t *)osf1_ioctl },	/* 54 = osf1_ioctl */
 	{ AS(osf1_reboot_args), (sy_call_t *)osf1_reboot },	/* 55 = osf1_reboot */
@@ -78,10 +78,10 @@
 	{ AS(symlink_args), (sy_call_t *)symlink },	/* 57 = symlink */
 	{ AS(readlink_args), (sy_call_t *)readlink },	/* 58 = readlink */
 	{ AS(osf1_execve_args), (sy_call_t *)osf1_execve },	/* 59 = osf1_execve */
-	{ AS(umask_args), (sy_call_t *)umask },		/* 60 = umask */
+	{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask },	/* 60 = umask */
 	{ AS(chroot_args), (sy_call_t *)chroot },	/* 61 = chroot */
 	{ 0, (sy_call_t *)nosys },			/* 62 = old fstat */
-	{ 0, (sy_call_t *)getpgrp },			/* 63 = getpgrp */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp },	/* 63 = getpgrp */
 	{ 0, (sy_call_t *)ogetpagesize },		/* 64 = ogetpagesize */
 	{ 0, (sy_call_t *)nosys },			/* 65 = mremap */
 	{ SYF_MPSAFE | 0, (sy_call_t *)vfork },		/* 66 = vfork */
@@ -97,31 +97,31 @@
 	{ 0, (sy_call_t *)nosys },			/* 76 = old vhangup */
 	{ 0, (sy_call_t *)nosys },			/* 77 = kmodcall */
 	{ 0, (sy_call_t *)nosys },			/* 78 = mincore */
-	{ AS(getgroups_args), (sy_call_t *)getgroups },	/* 79 = getgroups */
-	{ AS(setgroups_args), (sy_call_t *)setgroups },	/* 80 = setgroups */
+	{ SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups },	/* 79 = getgroups */
+	{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups },	/* 80 = setgroups */
 	{ 0, (sy_call_t *)nosys },			/* 81 = old getpgrp */
-	{ AS(osf1_setpgrp_args), (sy_call_t *)osf1_setpgrp },	/* 82 = osf1_setpgrp */
+	{ SYF_MPSAFE | AS(osf1_setpgrp_args), (sy_call_t *)osf1_setpgrp },	/* 82 = osf1_setpgrp */
 	{ AS(osf1_setitimer_args), (sy_call_t *)osf1_setitimer },	/* 83 = osf1_setitimer */
 	{ 0, (sy_call_t *)nosys },			/* 84 = old wait */
 	{ AS(osf1_table_args), (sy_call_t *)osf1_table },	/* 85 = osf1_table */
 	{ AS(osf1_getitimer_args), (sy_call_t *)osf1_getitimer },	/* 86 = osf1_getitimer */
 	{ SYF_MPSAFE | AS(gethostname_args), (sy_call_t *)ogethostname },	/* 87 = ogethostname */
 	{ SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname },	/* 88 = osethostname */
-	{ 0, (sy_call_t *)getdtablesize },		/* 89 = getdtablesize */
-	{ AS(dup2_args), (sy_call_t *)dup2 },		/* 90 = dup2 */
+	{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize },	/* 89 = getdtablesize */
+	{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 },	/* 90 = dup2 */
 	{ AS(osf1_fstat_args), (sy_call_t *)osf1_fstat },	/* 91 = osf1_fstat */
 	{ AS(osf1_fcntl_args), (sy_call_t *)osf1_fcntl },	/* 92 = osf1_fcntl */
 	{ AS(osf1_select_args), (sy_call_t *)osf1_select },	/* 93 = osf1_select */
 	{ AS(poll_args), (sy_call_t *)poll },		/* 94 = poll */
 	{ AS(fsync_args), (sy_call_t *)fsync },		/* 95 = fsync */
-	{ AS(setpriority_args), (sy_call_t *)setpriority },	/* 96 = setpriority */
+	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority },	/* 96 = setpriority */
 	{ AS(osf1_socket_args), (sy_call_t *)osf1_socket },	/* 97 = osf1_socket */
 	{ AS(connect_args), (sy_call_t *)connect },	/* 98 = connect */
 	{ AS(accept_args), (sy_call_t *)oaccept },	/* 99 = oaccept */
-	{ AS(getpriority_args), (sy_call_t *)getpriority },	/* 100 = getpriority */
+	{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority },	/* 100 = getpriority */
 	{ AS(osend_args), (sy_call_t *)osend },		/* 101 = osend */
 	{ AS(orecv_args), (sy_call_t *)orecv },		/* 102 = orecv */
-	{ AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn },	/* 103 = osf1_sigreturn */
+	{ SYF_MPSAFE | AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn },	/* 103 = osf1_sigreturn */
 	{ AS(bind_args), (sy_call_t *)bind },		/* 104 = bind */
 	{ AS(setsockopt_args), (sy_call_t *)setsockopt },	/* 105 = setsockopt */
 	{ AS(listen_args), (sy_call_t *)listen },	/* 106 = listen */
@@ -129,8 +129,8 @@
 	{ 0, (sy_call_t *)nosys },			/* 108 = old sigvec */
 	{ 0, (sy_call_t *)nosys },			/* 109 = old sigblock */
 	{ 0, (sy_call_t *)nosys },			/* 110 = old sigsetmask */
-	{ AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend },	/* 111 = osf1_sigsuspend */
-	{ AS(osf1_osigstack_args), (sy_call_t *)osf1_osigstack },	/* 112 = osf1_osigstack */
+	{ SYF_MPSAFE | AS(osf1_sigsuspend_args), (sy_call_t *)osf1_sigsuspend },	/* 111 = osf1_sigsuspend */
+	{ SYF_MPSAFE | AS(osf1_osigstack_args), (sy_call_t *)osf1_osigstack },	/* 112 = osf1_osigstack */
 	{ 0, (sy_call_t *)nosys },			/* 113 = old recvmsg */
 	{ 0, (sy_call_t *)nosys },			/* 114 = old sendmsg */
 	{ 0, (sy_call_t *)nosys },			/* 115 = vtrace */
@@ -144,13 +144,13 @@
 	{ AS(fchown_args), (sy_call_t *)fchown },	/* 123 = fchown */
 	{ AS(fchmod_args), (sy_call_t *)fchmod },	/* 124 = fchmod */
 	{ AS(recvfrom_args), (sy_call_t *)orecvfrom },	/* 125 = orecvfrom */
-	{ AS(setreuid_args), (sy_call_t *)setreuid },	/* 126 = setreuid */
-	{ AS(setregid_args), (sy_call_t *)setregid },	/* 127 = setregid */
+	{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid },	/* 126 = setreuid */
+	{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid },	/* 127 = setregid */
 	{ AS(rename_args), (sy_call_t *)rename },	/* 128 = rename */
 	{ AS(osf1_truncate_args), (sy_call_t *)osf1_truncate },	/* 129 = osf1_truncate */
 	{ AS(osf1_ftruncate_args), (sy_call_t *)osf1_ftruncate },	/* 130 = osf1_ftruncate */
 	{ AS(flock_args), (sy_call_t *)flock },		/* 131 = flock */
-	{ AS(osf1_setgid_args), (sy_call_t *)osf1_setgid },	/* 132 = osf1_setgid */
+	{ SYF_MPSAFE | AS(osf1_setgid_args), (sy_call_t *)osf1_setgid },	/* 132 = osf1_setgid */
 	{ AS(osf1_sendto_args), (sy_call_t *)osf1_sendto },	/* 133 = osf1_sendto */
 	{ AS(shutdown_args), (sy_call_t *)shutdown },	/* 134 = shutdown */
 	{ 0, (sy_call_t *)nosys },			/* 135 = socketpair */
@@ -165,7 +165,7 @@
 	{ AS(osf1_getrlimit_args), (sy_call_t *)osf1_getrlimit },	/* 144 = osf1_getrlimit */
 	{ AS(osf1_setrlimit_args), (sy_call_t *)osf1_setrlimit },	/* 145 = osf1_setrlimit */
 	{ 0, (sy_call_t *)nosys },			/* 146 = old killpg */
-	{ 0, (sy_call_t *)setsid },			/* 147 = setsid */
+	{ SYF_MPSAFE | 0, (sy_call_t *)setsid },	/* 147 = setsid */
 	{ 0, (sy_call_t *)nosys },			/* 148 = quotactl */
 	{ SYF_MPSAFE | 0, (sy_call_t *)oquota },	/* 149 = oquota */
 	{ AS(getsockname_args), (sy_call_t *)ogetsockname },	/* 150 = ogetsockname */
@@ -174,7 +174,7 @@
 	{ 0, (sy_call_t *)nosys },			/* 153 =  */
 	{ 0, (sy_call_t *)nosys },			/* 154 =  */
 	{ 0, (sy_call_t *)nosys },			/* 155 =  */
-	{ AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction },	/* 156 = osf1_sigaction */
+	{ SYF_MPSAFE | AS(osf1_sigaction_args), (sy_call_t *)osf1_sigaction },	/* 156 = osf1_sigaction */
 	{ 0, (sy_call_t *)nosys },			/* 157 =  */
 	{ 0, (sy_call_t *)nosys },			/* 158 = nfssvc */
 	{ AS(ogetdirentries_args), (sy_call_t *)ogetdirentries },	/* 159 = ogetdirentries */
@@ -218,25 +218,25 @@
 	{ 0, (sy_call_t *)nosys },			/* 197 =  */
 	{ 0, (sy_call_t *)nosys },			/* 198 =  */
 	{ 0, (sy_call_t *)nosys },			/* 199 = swapon */
-	{ AS(msgctl_args), (sy_call_t *)msgctl },	/* 200 = msgctl */
-	{ AS(msgget_args), (sy_call_t *)msgget },	/* 201 = msgget */
-	{ AS(msgrcv_args), (sy_call_t *)msgrcv },	/* 202 = msgrcv */
-	{ AS(msgsnd_args), (sy_call_t *)msgsnd },	/* 203 = msgsnd */
-	{ AS(__semctl_args), (sy_call_t *)__semctl },	/* 204 = __semctl */
-	{ AS(semget_args), (sy_call_t *)semget },	/* 205 = semget */
-	{ AS(semop_args), (sy_call_t *)semop },		/* 206 = semop */
+	{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl },	/* 200 = msgctl */
+	{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget },	/* 201 = msgget */
+	{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv },	/* 202 = msgrcv */
+	{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd },	/* 203 = msgsnd */
+	{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl },	/* 204 = __semctl */

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


More information about the p4-projects mailing list