xref: /freebsd/sys/compat/freebsd32/freebsd32_sysent.c (revision 3984b2328c055e9b6082bbc50d09ae630c1050b1)
15eb29d9bSDoug Rabson /*
25eb29d9bSDoug Rabson  * System call switch table.
35eb29d9bSDoug Rabson  *
45eb29d9bSDoug Rabson  * DO NOT EDIT-- this file is automatically generated.
55eb29d9bSDoug Rabson  * $FreeBSD$
63984b232SRobert Watson  * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.49 2005/05/30 15:09:17 rwatson Exp
75eb29d9bSDoug Rabson  */
85eb29d9bSDoug Rabson 
99105d26bSPeter Wemm #include "opt_compat.h"
109105d26bSPeter Wemm 
113984b232SRobert Watson #include <bsm/audit_kevents.h>
125eb29d9bSDoug Rabson #include <sys/param.h>
135eb29d9bSDoug Rabson #include <sys/sysent.h>
145eb29d9bSDoug Rabson #include <sys/sysproto.h>
15db27052eSPeter Wemm #include <sys/mount.h>
1694e75644SPeter Wemm #include <compat/freebsd32/freebsd32.h>
1794e75644SPeter Wemm #include <compat/freebsd32/freebsd32_proto.h>
185eb29d9bSDoug Rabson 
195eb29d9bSDoug Rabson #define AS(name) (sizeof(struct name) / sizeof(register_t))
205eb29d9bSDoug Rabson 
219105d26bSPeter Wemm #ifdef COMPAT_FREEBSD4
229105d26bSPeter Wemm #define compat4(n, name) n, (sy_call_t *)__CONCAT(freebsd4_,name)
239105d26bSPeter Wemm #else
249105d26bSPeter Wemm #define compat4(n, name) 0, (sy_call_t *)nosys
259105d26bSPeter Wemm #endif
269105d26bSPeter Wemm 
275eb29d9bSDoug Rabson /* The casts are bogus but will do for now. */
2894e75644SPeter Wemm struct sysent freebsd32_sysent[] = {
293984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)nosys, AUE_NULL },	/* 0 = syscall */
303984b232SRobert Watson 	{ SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_NULL },	/* 1 = exit */
313984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)fork, AUE_NULL },	/* 2 = fork */
323984b232SRobert Watson 	{ SYF_MPSAFE | AS(read_args), (sy_call_t *)read, AUE_NULL },	/* 3 = read */
333984b232SRobert Watson 	{ SYF_MPSAFE | AS(write_args), (sy_call_t *)write, AUE_NULL },	/* 4 = write */
343984b232SRobert Watson 	{ SYF_MPSAFE | AS(open_args), (sy_call_t *)open, AUE_NULL },	/* 5 = open */
353984b232SRobert Watson 	{ SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_NULL },	/* 6 = close */
363984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_wait4_args), (sy_call_t *)freebsd32_wait4, AUE_NULL },	/* 7 = freebsd32_wait4 */
373984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 8 = obsolete old creat */
383984b232SRobert Watson 	{ SYF_MPSAFE | AS(link_args), (sy_call_t *)link, AUE_NULL },	/* 9 = link */
393984b232SRobert Watson 	{ SYF_MPSAFE | AS(unlink_args), (sy_call_t *)unlink, AUE_NULL },	/* 10 = unlink */
403984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 11 = obsolete execv */
413984b232SRobert Watson 	{ AS(chdir_args), (sy_call_t *)chdir, AUE_NULL },	/* 12 = chdir */
423984b232SRobert Watson 	{ AS(fchdir_args), (sy_call_t *)fchdir, AUE_NULL },	/* 13 = fchdir */
433984b232SRobert Watson 	{ AS(mknod_args), (sy_call_t *)mknod, AUE_NULL },	/* 14 = mknod */
443984b232SRobert Watson 	{ AS(chmod_args), (sy_call_t *)chmod, AUE_NULL },	/* 15 = chmod */
453984b232SRobert Watson 	{ AS(chown_args), (sy_call_t *)chown, AUE_NULL },	/* 16 = chown */
463984b232SRobert Watson 	{ SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak, AUE_NULL },	/* 17 = break */
473984b232SRobert Watson 	{ compat4(AS(freebsd4_freebsd32_getfsstat_args),freebsd32_getfsstat), AUE_NULL },	/* 18 = old freebsd32_getfsstat */
483984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 19 = obsolete olseek */
493984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_NULL },	/* 20 = getpid */
503984b232SRobert Watson 	{ SYF_MPSAFE | AS(mount_args), (sy_call_t *)mount, AUE_NULL },	/* 21 = mount */
513984b232SRobert Watson 	{ SYF_MPSAFE | AS(unmount_args), (sy_call_t *)unmount, AUE_NULL },	/* 22 = unmount */
523984b232SRobert Watson 	{ SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_NULL },	/* 23 = setuid */
533984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_NULL },	/* 24 = getuid */
543984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)geteuid, AUE_NULL },	/* 25 = geteuid */
553984b232SRobert Watson 	{ SYF_MPSAFE | AS(ptrace_args), (sy_call_t *)ptrace, AUE_NULL },	/* 26 = ptrace */
563984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 27 = recvmsg */
573984b232SRobert Watson 	{ SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg, AUE_NULL },	/* 28 = sendmsg */
583984b232SRobert Watson 	{ SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom, AUE_NULL },	/* 29 = recvfrom */
593984b232SRobert Watson 	{ SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept, AUE_NULL },	/* 30 = accept */
603984b232SRobert Watson 	{ SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername, AUE_NULL },	/* 31 = getpeername */
613984b232SRobert Watson 	{ SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname, AUE_NULL },	/* 32 = getsockname */
623984b232SRobert Watson 	{ AS(access_args), (sy_call_t *)access, AUE_NULL },	/* 33 = access */
633984b232SRobert Watson 	{ AS(chflags_args), (sy_call_t *)chflags, AUE_NULL },	/* 34 = chflags */
643984b232SRobert Watson 	{ AS(fchflags_args), (sy_call_t *)fchflags, AUE_NULL },	/* 35 = fchflags */
653984b232SRobert Watson 	{ 0, (sy_call_t *)sync, AUE_NULL },		/* 36 = sync */
663984b232SRobert Watson 	{ SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill, AUE_NULL },	/* 37 = kill */
673984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 38 = ostat */
683984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getppid, AUE_NULL },	/* 39 = getppid */
693984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 40 = olstat */
703984b232SRobert Watson 	{ SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_NULL },	/* 41 = dup */
713984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)pipe, AUE_NULL },	/* 42 = pipe */
723984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getegid, AUE_NULL },	/* 43 = getegid */
733984b232SRobert Watson 	{ SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil, AUE_NULL },	/* 44 = profil */
743984b232SRobert Watson 	{ SYF_MPSAFE | AS(ktrace_args), (sy_call_t *)ktrace, AUE_NULL },	/* 45 = ktrace */
753984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 46 = osigaction */
763984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_NULL },	/* 47 = getgid */
773984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 48 = osigprocmask */
783984b232SRobert Watson 	{ SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin, AUE_NULL },	/* 49 = getlogin */
793984b232SRobert Watson 	{ SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin, AUE_NULL },	/* 50 = setlogin */
803984b232SRobert Watson 	{ SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct, AUE_NULL },	/* 51 = acct */
813984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 52 = obsolete osigpending */
823984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_sigaltstack_args), (sy_call_t *)freebsd32_sigaltstack, AUE_NULL },	/* 53 = freebsd32_sigaltstack */
833984b232SRobert Watson 	{ SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl, AUE_NULL },	/* 54 = ioctl */
843984b232SRobert Watson 	{ SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot, AUE_NULL },	/* 55 = reboot */
853984b232SRobert Watson 	{ AS(revoke_args), (sy_call_t *)revoke, AUE_NULL },	/* 56 = revoke */
863984b232SRobert Watson 	{ AS(symlink_args), (sy_call_t *)symlink, AUE_NULL },	/* 57 = symlink */
873984b232SRobert Watson 	{ AS(readlink_args), (sy_call_t *)readlink, AUE_NULL },	/* 58 = readlink */
883984b232SRobert Watson 	{ AS(freebsd32_execve_args), (sy_call_t *)freebsd32_execve, AUE_NULL },	/* 59 = freebsd32_execve */
893984b232SRobert Watson 	{ SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_NULL },	/* 60 = umask */
903984b232SRobert Watson 	{ AS(chroot_args), (sy_call_t *)chroot, AUE_NULL },	/* 61 = chroot */
913984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 62 = obsolete ofstat */
923984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 63 = obsolete ogetkerninfo */
933984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 64 = obsolete ogetpagesize */
943984b232SRobert Watson 	{ SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_NULL },	/* 65 = msync */
953984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)vfork, AUE_NULL },	/* 66 = vfork */
963984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 67 = obsolete vread */
973984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 68 = obsolete vwrite */
983984b232SRobert Watson 	{ SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk, AUE_NULL },	/* 69 = sbrk */
993984b232SRobert Watson 	{ SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk, AUE_NULL },	/* 70 = sstk */
1003984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 71 = obsolete ommap */
1013984b232SRobert Watson 	{ SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_NULL },	/* 72 = vadvise */
1023984b232SRobert Watson 	{ SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap, AUE_NULL },	/* 73 = munmap */
1033984b232SRobert Watson 	{ SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect, AUE_NULL },	/* 74 = mprotect */
1043984b232SRobert Watson 	{ SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise, AUE_NULL },	/* 75 = madvise */
1053984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 76 = obsolete vhangup */
1063984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 77 = obsolete vlimit */
1073984b232SRobert Watson 	{ SYF_MPSAFE | AS(mincore_args), (sy_call_t *)mincore, AUE_NULL },	/* 78 = mincore */
1083984b232SRobert Watson 	{ SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_NULL },	/* 79 = getgroups */
1093984b232SRobert Watson 	{ SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_NULL },	/* 80 = setgroups */
1103984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_NULL },	/* 81 = getpgrp */
1113984b232SRobert Watson 	{ SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_NULL },	/* 82 = setpgid */
1123984b232SRobert Watson 	{ AS(freebsd32_setitimer_args), (sy_call_t *)freebsd32_setitimer, AUE_NULL },	/* 83 = freebsd32_setitimer */
1133984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 84 = obsolete owait */
1143984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 85 = obsolete oswapon */
1153984b232SRobert Watson 	{ AS(freebsd32_getitimer_args), (sy_call_t *)freebsd32_getitimer, AUE_NULL },	/* 86 = freebsd32_getitimer */
1163984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 87 = obsolete ogethostname */
1173984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 88 = obsolete osethostname */
1183984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)getdtablesize, AUE_NULL },	/* 89 = getdtablesize */
1193984b232SRobert Watson 	{ SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_NULL },	/* 90 = dup2 */
1203984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 91 = getdopt */
1213984b232SRobert Watson 	{ SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl, AUE_NULL },	/* 92 = fcntl */
1223984b232SRobert Watson 	{ AS(freebsd32_select_args), (sy_call_t *)freebsd32_select, AUE_NULL },	/* 93 = freebsd32_select */
1233984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 94 = setdopt */
1243984b232SRobert Watson 	{ AS(fsync_args), (sy_call_t *)fsync, AUE_NULL },	/* 95 = fsync */
1253984b232SRobert Watson 	{ SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_NULL },	/* 96 = setpriority */
1263984b232SRobert Watson 	{ SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket, AUE_NULL },	/* 97 = socket */
1273984b232SRobert Watson 	{ SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect, AUE_NULL },	/* 98 = connect */
1283984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 99 = obsolete oaccept */
1293984b232SRobert Watson 	{ SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_NULL },	/* 100 = getpriority */
1303984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 101 = obsolete osend */
1313984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 102 = obsolete orecv */
1323984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 103 = obsolete osigreturn */
1333984b232SRobert Watson 	{ SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind, AUE_NULL },	/* 104 = bind */
1343984b232SRobert Watson 	{ SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_NULL },	/* 105 = setsockopt */
1353984b232SRobert Watson 	{ SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen, AUE_NULL },	/* 106 = listen */
1363984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 107 = obsolete vtimes */
1373984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 108 = obsolete osigvec */
1383984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 109 = obsolete osigblock */
1393984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 110 = obsolete osigsetmask */
1403984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 111 = obsolete osigsuspend */
1413984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 112 = obsolete osigstack */
1423984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 113 = obsolete orecvmsg */
1433984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 114 = obsolete osendmsg */
1443984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 115 = obsolete vtrace */
1453984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_gettimeofday_args), (sy_call_t *)freebsd32_gettimeofday, AUE_NULL },	/* 116 = freebsd32_gettimeofday */
1463984b232SRobert Watson 	{ AS(freebsd32_getrusage_args), (sy_call_t *)freebsd32_getrusage, AUE_NULL },	/* 117 = freebsd32_getrusage */
1473984b232SRobert Watson 	{ SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_NULL },	/* 118 = getsockopt */
1483984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 119 = resuba */
1493984b232SRobert Watson 	{ AS(freebsd32_readv_args), (sy_call_t *)freebsd32_readv, AUE_NULL },	/* 120 = freebsd32_readv */
1503984b232SRobert Watson 	{ AS(freebsd32_writev_args), (sy_call_t *)freebsd32_writev, AUE_NULL },	/* 121 = freebsd32_writev */
1513984b232SRobert Watson 	{ AS(freebsd32_settimeofday_args), (sy_call_t *)freebsd32_settimeofday, AUE_NULL },	/* 122 = freebsd32_settimeofday */
1523984b232SRobert Watson 	{ AS(fchown_args), (sy_call_t *)fchown, AUE_NULL },	/* 123 = fchown */
1533984b232SRobert Watson 	{ AS(fchmod_args), (sy_call_t *)fchmod, AUE_NULL },	/* 124 = fchmod */
1543984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 125 = obsolete orecvfrom */
1553984b232SRobert Watson 	{ SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_NULL },	/* 126 = setreuid */
1563984b232SRobert Watson 	{ SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_NULL },	/* 127 = setregid */
1573984b232SRobert Watson 	{ AS(rename_args), (sy_call_t *)rename, AUE_NULL },	/* 128 = rename */
1583984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 129 = obsolete otruncate */
1593984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 130 = obsolete ftruncate */
1603984b232SRobert Watson 	{ SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock, AUE_NULL },	/* 131 = flock */
1613984b232SRobert Watson 	{ AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_NULL },	/* 132 = mkfifo */
1623984b232SRobert Watson 	{ SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto, AUE_NULL },	/* 133 = sendto */
1633984b232SRobert Watson 	{ SYF_MPSAFE | AS(shutdown_args), (sy_call_t *)shutdown, AUE_NULL },	/* 134 = shutdown */
1643984b232SRobert Watson 	{ SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair, AUE_NULL },	/* 135 = socketpair */
1653984b232SRobert Watson 	{ AS(mkdir_args), (sy_call_t *)mkdir, AUE_NULL },	/* 136 = mkdir */
1663984b232SRobert Watson 	{ AS(rmdir_args), (sy_call_t *)rmdir, AUE_NULL },	/* 137 = rmdir */
1673984b232SRobert Watson 	{ AS(freebsd32_utimes_args), (sy_call_t *)freebsd32_utimes, AUE_NULL },	/* 138 = freebsd32_utimes */
1683984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 139 = obsolete 4.2 sigreturn */
1693984b232SRobert Watson 	{ AS(freebsd32_adjtime_args), (sy_call_t *)freebsd32_adjtime, AUE_NULL },	/* 140 = freebsd32_adjtime */
1703984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 141 = obsolete ogetpeername */
1713984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 142 = obsolete ogethostid */
1723984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 143 = obsolete sethostid */
1733984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 144 = obsolete getrlimit */
1743984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 145 = obsolete setrlimit */
1753984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 146 = obsolete killpg */
1763984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_NULL },	/* 147 = setsid */
1773984b232SRobert Watson 	{ AS(quotactl_args), (sy_call_t *)quotactl, AUE_NULL },	/* 148 = quotactl */
1783984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 149 = obsolete oquota */
1793984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 150 = obsolete ogetsockname */
1803984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 151 = sem_lock */
1813984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 152 = sem_wakeup */
1823984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 153 = asyncdaemon */
1833984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 154 = nosys */
1843984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 155 = nfssvc */
1853984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 156 = obsolete ogetdirentries */
1863984b232SRobert Watson 	{ compat4(AS(freebsd4_freebsd32_statfs_args),freebsd32_statfs), AUE_NULL },	/* 157 = old freebsd32_statfs */
1873984b232SRobert Watson 	{ compat4(AS(freebsd4_freebsd32_fstatfs_args),freebsd32_fstatfs), AUE_NULL },	/* 158 = old freebsd32_fstatfs */
1883984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 159 = nosys */
1893984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 160 = nosys */
1903984b232SRobert Watson 	{ AS(getfh_args), (sy_call_t *)getfh, AUE_NULL },	/* 161 = getfh */
1913984b232SRobert Watson 	{ SYF_MPSAFE | AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_NULL },	/* 162 = getdomainname */
1923984b232SRobert Watson 	{ SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_NULL },	/* 163 = setdomainname */
1933984b232SRobert Watson 	{ SYF_MPSAFE | AS(uname_args), (sy_call_t *)uname, AUE_NULL },	/* 164 = uname */
1943984b232SRobert Watson 	{ SYF_MPSAFE | AS(sysarch_args), (sy_call_t *)sysarch, AUE_NULL },	/* 165 = sysarch */
1953984b232SRobert Watson 	{ SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio, AUE_NULL },	/* 166 = rtprio */
1963984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 167 = nosys */
1973984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 168 = nosys */
1983984b232SRobert Watson 	{ AS(freebsd32_semsys_args), (sy_call_t *)freebsd32_semsys, AUE_NULL },	/* 169 = freebsd32_semsys */
1993984b232SRobert Watson 	{ AS(freebsd32_msgsys_args), (sy_call_t *)freebsd32_msgsys, AUE_NULL },	/* 170 = freebsd32_msgsys */
2003984b232SRobert Watson 	{ AS(freebsd32_shmsys_args), (sy_call_t *)freebsd32_shmsys, AUE_NULL },	/* 171 = freebsd32_shmsys */
2013984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 172 = nosys */
2023984b232SRobert Watson 	{ AS(freebsd32_pread_args), (sy_call_t *)freebsd32_pread, AUE_NULL },	/* 173 = freebsd32_pread */
2033984b232SRobert Watson 	{ AS(freebsd32_pwrite_args), (sy_call_t *)freebsd32_pwrite, AUE_NULL },	/* 174 = freebsd32_pwrite */
2043984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 175 = nosys */
2053984b232SRobert Watson 	{ SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_NULL },	/* 176 = ntp_adjtime */
2063984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 177 = sfork */
2073984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 178 = getdescriptor */
2083984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 179 = setdescriptor */
2093984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 180 = nosys */
2103984b232SRobert Watson 	{ SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_NULL },	/* 181 = setgid */
2113984b232SRobert Watson 	{ SYF_MPSAFE | AS(setegid_args), (sy_call_t *)setegid, AUE_NULL },	/* 182 = setegid */
2123984b232SRobert Watson 	{ SYF_MPSAFE | AS(seteuid_args), (sy_call_t *)seteuid, AUE_NULL },	/* 183 = seteuid */
2133984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 184 = lfs_bmapv */
2143984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 185 = lfs_markv */
2153984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 186 = lfs_segclean */
2163984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 187 = lfs_segwait */
2173984b232SRobert Watson 	{ AS(freebsd32_stat_args), (sy_call_t *)freebsd32_stat, AUE_NULL },	/* 188 = freebsd32_stat */
2183984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_fstat_args), (sy_call_t *)freebsd32_fstat, AUE_NULL },	/* 189 = freebsd32_fstat */
2193984b232SRobert Watson 	{ AS(freebsd32_lstat_args), (sy_call_t *)freebsd32_lstat, AUE_NULL },	/* 190 = freebsd32_lstat */
2203984b232SRobert Watson 	{ AS(pathconf_args), (sy_call_t *)pathconf, AUE_NULL },	/* 191 = pathconf */
2213984b232SRobert Watson 	{ SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_NULL },	/* 192 = fpathconf */
2223984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 193 = nosys */
2233984b232SRobert Watson 	{ SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_NULL },	/* 194 = getrlimit */
2243984b232SRobert Watson 	{ SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_NULL },	/* 195 = setrlimit */
2253984b232SRobert Watson 	{ AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_NULL },	/* 196 = getdirentries */
2263984b232SRobert Watson 	{ AS(freebsd32_mmap_args), (sy_call_t *)freebsd32_mmap, AUE_NULL },	/* 197 = freebsd32_mmap */
2273984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },		/* 198 = __syscall */
2283984b232SRobert Watson 	{ AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_NULL },	/* 199 = freebsd32_lseek */
2293984b232SRobert Watson 	{ AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_NULL },	/* 200 = freebsd32_truncate */
2303984b232SRobert Watson 	{ AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_NULL },	/* 201 = freebsd32_ftruncate */
2313984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_sysctl_args), (sy_call_t *)freebsd32_sysctl, AUE_NULL },	/* 202 = freebsd32_sysctl */
2323984b232SRobert Watson 	{ SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_NULL },	/* 203 = mlock */
2333984b232SRobert Watson 	{ SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_NULL },	/* 204 = munlock */
2343984b232SRobert Watson 	{ AS(undelete_args), (sy_call_t *)undelete, AUE_NULL },	/* 205 = undelete */
2353984b232SRobert Watson 	{ AS(futimes_args), (sy_call_t *)futimes, AUE_NULL },	/* 206 = futimes */
2363984b232SRobert Watson 	{ SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid, AUE_NULL },	/* 207 = getpgid */
2373984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 208 = newreboot */
2383984b232SRobert Watson 	{ SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll, AUE_NULL },	/* 209 = poll */
2393984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 210 =  */
2403984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 211 =  */
2413984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 212 =  */
2423984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 213 =  */
2433984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 214 =  */
2443984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 215 =  */
2453984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 216 =  */
2463984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 217 =  */
2473984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 218 =  */
2483984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 219 =  */
2493984b232SRobert Watson 	{ SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)__semctl, AUE_NULL },	/* 220 = __semctl */
2503984b232SRobert Watson 	{ SYF_MPSAFE | AS(semget_args), (sy_call_t *)semget, AUE_NULL },	/* 221 = semget */
2513984b232SRobert Watson 	{ SYF_MPSAFE | AS(semop_args), (sy_call_t *)semop, AUE_NULL },	/* 222 = semop */
2523984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 223 = semconfig */
2533984b232SRobert Watson 	{ SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)msgctl, AUE_NULL },	/* 224 = msgctl */
2543984b232SRobert Watson 	{ SYF_MPSAFE | AS(msgget_args), (sy_call_t *)msgget, AUE_NULL },	/* 225 = msgget */
2553984b232SRobert Watson 	{ SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)msgsnd, AUE_NULL },	/* 226 = msgsnd */
2563984b232SRobert Watson 	{ SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)msgrcv, AUE_NULL },	/* 227 = msgrcv */
2573984b232SRobert Watson 	{ SYF_MPSAFE | AS(shmat_args), (sy_call_t *)shmat, AUE_NULL },	/* 228 = shmat */
2583984b232SRobert Watson 	{ SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)shmctl, AUE_NULL },	/* 229 = shmctl */
2593984b232SRobert Watson 	{ SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)shmdt, AUE_NULL },	/* 230 = shmdt */
2603984b232SRobert Watson 	{ SYF_MPSAFE | AS(shmget_args), (sy_call_t *)shmget, AUE_NULL },	/* 231 = shmget */
2613984b232SRobert Watson 	{ SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime, AUE_NULL },	/* 232 = clock_gettime */
2623984b232SRobert Watson 	{ SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime, AUE_NULL },	/* 233 = clock_settime */
2633984b232SRobert Watson 	{ SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres, AUE_NULL },	/* 234 = clock_getres */
2643984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 235 = timer_create */
2653984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 236 = timer_delete */
2663984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 237 = timer_settime */
2673984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 238 = timer_gettime */
2683984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 239 = timer_getoverrun */
2693984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_nanosleep_args), (sy_call_t *)freebsd32_nanosleep, AUE_NULL },	/* 240 = freebsd32_nanosleep */
2703984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 241 = nosys */
2713984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 242 = nosys */
2723984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 243 = nosys */
2733984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 244 = nosys */
2743984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 245 = nosys */
2753984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 246 = nosys */
2763984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 247 = nosys */
2773984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 248 = ntp_gettime */
2783984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 249 = nosys */
2793984b232SRobert Watson 	{ SYF_MPSAFE | AS(minherit_args), (sy_call_t *)minherit, AUE_NULL },	/* 250 = minherit */
2803984b232SRobert Watson 	{ SYF_MPSAFE | AS(rfork_args), (sy_call_t *)rfork, AUE_NULL },	/* 251 = rfork */
2813984b232SRobert Watson 	{ SYF_MPSAFE | AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_NULL },	/* 252 = openbsd_poll */
2823984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)issetugid, AUE_NULL },	/* 253 = issetugid */
2833984b232SRobert Watson 	{ AS(lchown_args), (sy_call_t *)lchown, AUE_NULL },	/* 254 = lchown */
2843984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 255 = nosys */
2853984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 256 = nosys */
2863984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 257 = nosys */
2873984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 258 = nosys */
2883984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 259 = nosys */
2893984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 260 = nosys */
2903984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 261 = nosys */
2913984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 262 = nosys */
2923984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 263 = nosys */
2933984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 264 = nosys */
2943984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 265 = nosys */
2953984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 266 = nosys */
2963984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 267 = nosys */
2973984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 268 = nosys */
2983984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 269 = nosys */
2993984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 270 = nosys */
3003984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 271 = nosys */
3013984b232SRobert Watson 	{ AS(getdents_args), (sy_call_t *)getdents, AUE_NULL },	/* 272 = getdents */
3023984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 273 = nosys */
3033984b232SRobert Watson 	{ AS(lchmod_args), (sy_call_t *)lchmod, AUE_NULL },	/* 274 = lchmod */
3043984b232SRobert Watson 	{ AS(lchown_args), (sy_call_t *)lchown, AUE_NULL },	/* 275 = netbsd_lchown */
3053984b232SRobert Watson 	{ AS(lutimes_args), (sy_call_t *)lutimes, AUE_NULL },	/* 276 = lutimes */
3063984b232SRobert Watson 	{ SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_NULL },	/* 277 = netbsd_msync */
3073984b232SRobert Watson 	{ AS(nstat_args), (sy_call_t *)nstat, AUE_NULL },	/* 278 = nstat */
3083984b232SRobert Watson 	{ SYF_MPSAFE | AS(nfstat_args), (sy_call_t *)nfstat, AUE_NULL },	/* 279 = nfstat */
3093984b232SRobert Watson 	{ AS(nlstat_args), (sy_call_t *)nlstat, AUE_NULL },	/* 280 = nlstat */
3103984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 281 = nosys */
3113984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 282 = nosys */
3123984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 283 = nosys */
3133984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 284 = nosys */
3143984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 285 = nosys */
3153984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 286 = nosys */
3163984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 287 = nosys */
3173984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 288 = nosys */
3183984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 289 = nosys */
3193984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 290 = nosys */
3203984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 291 = nosys */
3213984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 292 = nosys */
3223984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 293 = nosys */
3233984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 294 = nosys */
3243984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 295 = nosys */
3253984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 296 = nosys */
3263984b232SRobert Watson 	{ compat4(AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_NULL },	/* 297 = old freebsd32_fhstatfs */
3273984b232SRobert Watson 	{ AS(fhopen_args), (sy_call_t *)fhopen, AUE_NULL },	/* 298 = fhopen */
3283984b232SRobert Watson 	{ AS(fhstat_args), (sy_call_t *)fhstat, AUE_NULL },	/* 299 = fhstat */
3293984b232SRobert Watson 	{ SYF_MPSAFE | AS(modnext_args), (sy_call_t *)modnext, AUE_NULL },	/* 300 = modnext */
3303984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_modstat_args), (sy_call_t *)freebsd32_modstat, AUE_NULL },	/* 301 = freebsd32_modstat */
3313984b232SRobert Watson 	{ SYF_MPSAFE | AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL },	/* 302 = modfnext */
3323984b232SRobert Watson 	{ SYF_MPSAFE | AS(modfind_args), (sy_call_t *)modfind, AUE_NULL },	/* 303 = modfind */
3333984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldload_args), (sy_call_t *)kldload, AUE_NULL },	/* 304 = kldload */
3343984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldunload_args), (sy_call_t *)kldunload, AUE_NULL },	/* 305 = kldunload */
3353984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldfind_args), (sy_call_t *)kldfind, AUE_NULL },	/* 306 = kldfind */
3363984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldnext_args), (sy_call_t *)kldnext, AUE_NULL },	/* 307 = kldnext */
3373984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL },	/* 308 = kldstat */
3383984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL },	/* 309 = kldfirstmod */
3393984b232SRobert Watson 	{ SYF_MPSAFE | AS(getsid_args), (sy_call_t *)getsid, AUE_NULL },	/* 310 = getsid */
3403984b232SRobert Watson 	{ SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_NULL },	/* 311 = setresuid */
3413984b232SRobert Watson 	{ SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_NULL },	/* 312 = setresgid */
3423984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 313 = obsolete signanosleep */
3433984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 314 = aio_return */
3443984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 315 = aio_suspend */
3453984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 316 = aio_cancel */
3463984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 317 = aio_error */
3473984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 318 = aio_read */
3483984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 319 = aio_write */
3493984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 320 = lio_listio */
3503984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)yield, AUE_NULL },	/* 321 = yield */
3513984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 322 = obsolete thr_sleep */
3523984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 323 = obsolete thr_wakeup */
3533984b232SRobert Watson 	{ SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall, AUE_NULL },	/* 324 = mlockall */
3543984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)munlockall, AUE_NULL },	/* 325 = munlockall */
3553984b232SRobert Watson 	{ AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_NULL },	/* 326 = __getcwd */
3563984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL },	/* 327 = sched_setparam */
3573984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL },	/* 328 = sched_getparam */
3583984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL },	/* 329 = sched_setscheduler */
3593984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler, AUE_NULL },	/* 330 = sched_getscheduler */
3603984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)sched_yield, AUE_NULL },	/* 331 = sched_yield */
3613984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max, AUE_NULL },	/* 332 = sched_get_priority_max */
3623984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL },	/* 333 = sched_get_priority_min */
3633984b232SRobert Watson 	{ SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL },	/* 334 = sched_rr_get_interval */
3643984b232SRobert Watson 	{ SYF_MPSAFE | AS(utrace_args), (sy_call_t *)utrace, AUE_NULL },	/* 335 = utrace */
3653984b232SRobert Watson 	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_sendfile_args),freebsd32_sendfile), AUE_NULL },	/* 336 = old freebsd32_sendfile */
3663984b232SRobert Watson 	{ AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL },	/* 337 = kldsym */
3673984b232SRobert Watson 	{ SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail, AUE_NULL },	/* 338 = jail */
3683984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 339 = pioctl */
3693984b232SRobert Watson 	{ SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_NULL },	/* 340 = sigprocmask */
3703984b232SRobert Watson 	{ SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend, AUE_NULL },	/* 341 = sigsuspend */
3713984b232SRobert Watson 	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_sigaction_args),freebsd32_sigaction), AUE_NULL },	/* 342 = old freebsd32_sigaction */
3723984b232SRobert Watson 	{ SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending, AUE_NULL },	/* 343 = sigpending */
3733984b232SRobert Watson 	{ compat4(SYF_MPSAFE | AS(freebsd4_freebsd32_sigreturn_args),freebsd32_sigreturn), AUE_NULL },	/* 344 = old freebsd32_sigreturn */
3743984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 345 = sigtimedwait */
3753984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 346 = sigwaitinfo */
3763984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL },	/* 347 = __acl_get_file */
3773984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_set_file_args), (sy_call_t *)__acl_set_file, AUE_NULL },	/* 348 = __acl_set_file */
3783984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd, AUE_NULL },	/* 349 = __acl_get_fd */
3793984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd, AUE_NULL },	/* 350 = __acl_set_fd */
3803984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file, AUE_NULL },	/* 351 = __acl_delete_file */
3813984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd, AUE_NULL },	/* 352 = __acl_delete_fd */
3823984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file, AUE_NULL },	/* 353 = __acl_aclcheck_file */
3833984b232SRobert Watson 	{ SYF_MPSAFE | AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd, AUE_NULL },	/* 354 = __acl_aclcheck_fd */
3843984b232SRobert Watson 	{ AS(extattrctl_args), (sy_call_t *)extattrctl, AUE_NULL },	/* 355 = extattrctl */
3853984b232SRobert Watson 	{ AS(extattr_set_file_args), (sy_call_t *)extattr_set_file, AUE_NULL },	/* 356 = extattr_set_file */
3863984b232SRobert Watson 	{ AS(extattr_get_file_args), (sy_call_t *)extattr_get_file, AUE_NULL },	/* 357 = extattr_get_file */
3873984b232SRobert Watson 	{ AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file, AUE_NULL },	/* 358 = extattr_delete_file */
3883984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 359 = aio_waitcomplete */
3893984b232SRobert Watson 	{ SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid, AUE_NULL },	/* 360 = getresuid */
3903984b232SRobert Watson 	{ SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid, AUE_NULL },	/* 361 = getresgid */
3913984b232SRobert Watson 	{ SYF_MPSAFE | 0, (sy_call_t *)kqueue, AUE_NULL },	/* 362 = kqueue */
3923984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_kevent_args), (sy_call_t *)freebsd32_kevent, AUE_NULL },	/* 363 = freebsd32_kevent */
3933984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 364 = __cap_get_proc */
3943984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 365 = __cap_set_proc */
3953984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 366 = __cap_get_fd */
3963984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 367 = __cap_get_file */
3973984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 368 = __cap_set_fd */
3983984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 369 = __cap_set_file */
3993984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 370 = lkmressys */
4003984b232SRobert Watson 	{ AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd, AUE_NULL },	/* 371 = extattr_set_fd */
4013984b232SRobert Watson 	{ AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd, AUE_NULL },	/* 372 = extattr_get_fd */
4023984b232SRobert Watson 	{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd, AUE_NULL },	/* 373 = extattr_delete_fd */
4033984b232SRobert Watson 	{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid, AUE_NULL },	/* 374 = __setugid */
4043984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 375 = nfsclnt */
4053984b232SRobert Watson 	{ AS(eaccess_args), (sy_call_t *)eaccess, AUE_NULL },	/* 376 = eaccess */
4063984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 377 = afs_syscall */
4073984b232SRobert Watson 	{ SYF_MPSAFE | AS(nmount_args), (sy_call_t *)nmount, AUE_NULL },	/* 378 = nmount */
4083984b232SRobert Watson 	{ 0, (sy_call_t *)kse_exit, AUE_NULL },		/* 379 = kse_exit */
4093984b232SRobert Watson 	{ AS(kse_wakeup_args), (sy_call_t *)kse_wakeup, AUE_NULL },	/* 380 = kse_wakeup */
4103984b232SRobert Watson 	{ AS(kse_create_args), (sy_call_t *)kse_create, AUE_NULL },	/* 381 = kse_create */
4113984b232SRobert Watson 	{ AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt, AUE_NULL },	/* 382 = kse_thr_interrupt */
4123984b232SRobert Watson 	{ 0, (sy_call_t *)kse_release, AUE_NULL },	/* 383 = kse_release */
4133984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 384 = __mac_get_proc */
4143984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 385 = __mac_set_proc */
4153984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 386 = __mac_get_fd */
4163984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 387 = __mac_get_file */
4173984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 388 = __mac_set_fd */
4183984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 389 = __mac_set_file */
4193984b232SRobert Watson 	{ AS(kenv_args), (sy_call_t *)kenv, AUE_NULL },	/* 390 = kenv */
4203984b232SRobert Watson 	{ AS(lchflags_args), (sy_call_t *)lchflags, AUE_NULL },	/* 391 = lchflags */
4213984b232SRobert Watson 	{ SYF_MPSAFE | AS(uuidgen_args), (sy_call_t *)uuidgen, AUE_NULL },	/* 392 = uuidgen */
4223984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_sendfile_args), (sy_call_t *)freebsd32_sendfile, AUE_NULL },	/* 393 = freebsd32_sendfile */
4233984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 394 = mac_syscall */
4243984b232SRobert Watson 	{ AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_NULL },	/* 395 = getfsstat */
4253984b232SRobert Watson 	{ AS(statfs_args), (sy_call_t *)statfs, AUE_NULL },	/* 396 = statfs */
4263984b232SRobert Watson 	{ AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_NULL },	/* 397 = fstatfs */
4273984b232SRobert Watson 	{ AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_NULL },	/* 398 = fhstatfs */
4283984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 399 = nosys */
4293984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 400 = ksem_close */
4303984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 401 = ksem_post */
4313984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 402 = ksem_wait */
4323984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 403 = ksem_trywait */
4333984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 404 = ksem_init */
4343984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 405 = ksem_open */
4353984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 406 = ksem_unlink */
4363984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 407 = ksem_getvalue */
4373984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 408 = ksem_destroy */
4383984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 409 = __mac_get_pid */
4393984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 410 = __mac_get_link */
4403984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 411 = __mac_set_link */
4413984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 412 = extattr_set_link */
4423984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 413 = extattr_get_link */
4433984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 414 = extattr_delete_link */
4443984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 415 = __mac_execve */
4453984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_sigaction_args), (sy_call_t *)freebsd32_sigaction, AUE_NULL },	/* 416 = freebsd32_sigaction */
4463984b232SRobert Watson 	{ SYF_MPSAFE | AS(freebsd32_sigreturn_args), (sy_call_t *)freebsd32_sigreturn, AUE_NULL },	/* 417 = freebsd32_sigreturn */
4473984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 418 = __xstat */
4483984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 419 = __xfstat */
4493984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 420 = __xlstat */
4503984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 421 = getcontext */
4513984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 422 = setcontext */
4523984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 423 = swapcontext */
4533984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 424 = swapoff */
4543984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 425 = __acl_get_link */
4553984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 426 = __acl_set_link */
4563984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 427 = __acl_delete_link */
4573984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 428 = __acl_aclcheck_link */
4583984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 429 = sigwait */
4593984b232SRobert Watson 	{ SYF_MPSAFE | AS(thr_create_args), (sy_call_t *)thr_create, AUE_NULL },	/* 430 = thr_create */
4603984b232SRobert Watson 	{ SYF_MPSAFE | AS(thr_exit_args), (sy_call_t *)thr_exit, AUE_NULL },	/* 431 = thr_exit */
4613984b232SRobert Watson 	{ SYF_MPSAFE | AS(thr_self_args), (sy_call_t *)thr_self, AUE_NULL },	/* 432 = thr_self */
4623984b232SRobert Watson 	{ SYF_MPSAFE | AS(thr_kill_args), (sy_call_t *)thr_kill, AUE_NULL },	/* 433 = thr_kill */
4633984b232SRobert Watson 	{ SYF_MPSAFE | AS(_umtx_lock_args), (sy_call_t *)_umtx_lock, AUE_NULL },	/* 434 = _umtx_lock */
4643984b232SRobert Watson 	{ SYF_MPSAFE | AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock, AUE_NULL },	/* 435 = _umtx_unlock */
4653984b232SRobert Watson 	{ SYF_MPSAFE | AS(jail_attach_args), (sy_call_t *)jail_attach, AUE_NULL },	/* 436 = jail_attach */
4663984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 437 = extattr_list_fd */
4673984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 438 = extattr_list_file */
4683984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 439 = extattr_list_link */
4693984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 440 = kse_switchin */
4703984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 441 = ksem_timedwait */
4713984b232SRobert Watson 	{ SYF_MPSAFE | AS(thr_suspend_args), (sy_call_t *)thr_suspend, AUE_NULL },	/* 442 = thr_suspend */
4723984b232SRobert Watson 	{ SYF_MPSAFE | AS(thr_wake_args), (sy_call_t *)thr_wake, AUE_NULL },	/* 443 = thr_wake */
4733984b232SRobert Watson 	{ SYF_MPSAFE | AS(kldunloadf_args), (sy_call_t *)kldunloadf, AUE_NULL },	/* 444 = kldunloadf */
4743984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 445 = audit */
4753984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 446 = auditon */
4763984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 447 = getauid */
4773984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 448 = setauid */
4783984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 449 = getaudit */
4793984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 450 = setaudit */
4803984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 451 = getaudit_addr */
4813984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 452 = setaudit_addr */
4823984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 453 = auditctl */
4833984b232SRobert Watson 	{ 0, (sy_call_t *)nosys, AUE_NULL },			/* 454 = _umtx_op */
4845eb29d9bSDoug Rabson };
485