Home | History | Annotate | Line # | Download | only in kern
init_sysent.c revision 1.289
      1  1.229  wrstuden /* $NetBSD: init_sysent.c,v 1.289 2015/02/22 00:53:28 christos Exp $ */
      2   1.77   thorpej 
      3    1.1       cgd /*
      4    1.1       cgd  * System call switch table.
      5    1.1       cgd  *
      6    1.1       cgd  * DO NOT EDIT-- this file is automatically generated.
      7  1.289  christos  * created from	NetBSD: syscalls.master,v 1.272 2015/02/22 00:50:30 christos Exp
      8    1.1       cgd  */
      9    1.1       cgd 
     10  1.128     lukem #include <sys/cdefs.h>
     11  1.229  wrstuden __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.289 2015/02/22 00:53:28 christos Exp $");
     12  1.128     lukem 
     13  1.239     pooka #include "opt_modular.h"
     14  1.116     bjh21 #include "opt_ntp.h"
     15   1.99      tron #include "opt_sysv.h"
     16   1.17       cgd #include <sys/param.h>
     17   1.17       cgd #include <sys/systm.h>
     18   1.28       cgd #include <sys/signal.h>
     19  1.255  christos #include <sys/socket.h>
     20   1.28       cgd #include <sys/mount.h>
     21  1.227   tsutsui #include <sys/sched.h>
     22   1.28       cgd #include <sys/syscallargs.h>
     23   1.37   mycroft 
     24   1.37   mycroft #ifdef COMPAT_43
     25  1.126     lukem #define	compat_43(func) __CONCAT(compat_43_,func)
     26   1.37   mycroft #else
     27  1.126     lukem #define	compat_43(func) sys_nosys
     28   1.37   mycroft #endif
     29   1.37   mycroft 
     30   1.37   mycroft #ifdef COMPAT_09
     31  1.126     lukem #define	compat_09(func) __CONCAT(compat_09_,func)
     32   1.37   mycroft #else
     33  1.126     lukem #define	compat_09(func) sys_nosys
     34   1.37   mycroft #endif
     35   1.37   mycroft 
     36   1.37   mycroft #ifdef COMPAT_10
     37  1.126     lukem #define	compat_10(func) __CONCAT(compat_10_,func)
     38   1.37   mycroft #else
     39  1.126     lukem #define	compat_10(func) sys_nosys
     40   1.37   mycroft #endif
     41   1.37   mycroft 
     42   1.43       mrg #ifdef COMPAT_11
     43  1.126     lukem #define	compat_11(func) __CONCAT(compat_11_,func)
     44   1.43       mrg #else
     45  1.126     lukem #define	compat_11(func) sys_nosys
     46   1.43       mrg #endif
     47   1.43       mrg 
     48   1.43       mrg #ifdef COMPAT_12
     49  1.126     lukem #define	compat_12(func) __CONCAT(compat_12_,func)
     50   1.43       mrg #else
     51  1.126     lukem #define	compat_12(func) sys_nosys
     52   1.43       mrg #endif
     53   1.43       mrg 
     54   1.71    kleink #ifdef COMPAT_13
     55  1.126     lukem #define	compat_13(func) __CONCAT(compat_13_,func)
     56   1.71    kleink #else
     57  1.126     lukem #define	compat_13(func) sys_nosys
     58   1.71    kleink #endif
     59   1.71    kleink 
     60  1.111   thorpej #ifdef COMPAT_14
     61  1.126     lukem #define	compat_14(func) __CONCAT(compat_14_,func)
     62  1.111   thorpej #else
     63  1.126     lukem #define	compat_14(func) sys_nosys
     64  1.111   thorpej #endif
     65  1.111   thorpej 
     66  1.145  christos #ifdef COMPAT_15
     67  1.145  christos #define	compat_15(func) __CONCAT(compat_15_,func)
     68  1.145  christos #else
     69  1.145  christos #define	compat_15(func) sys_nosys
     70  1.145  christos #endif
     71  1.145  christos 
     72  1.145  christos #ifdef COMPAT_16
     73  1.145  christos #define	compat_16(func) __CONCAT(compat_16_,func)
     74  1.145  christos #else
     75  1.145  christos #define	compat_16(func) sys_nosys
     76  1.145  christos #endif
     77  1.145  christos 
     78  1.156  christos #ifdef COMPAT_20
     79  1.156  christos #define	compat_20(func) __CONCAT(compat_20_,func)
     80  1.156  christos #else
     81  1.156  christos #define	compat_20(func) sys_nosys
     82  1.156  christos #endif
     83  1.156  christos 
     84  1.166  christos #ifdef COMPAT_30
     85  1.166  christos #define	compat_30(func) __CONCAT(compat_30_,func)
     86  1.166  christos #else
     87  1.166  christos #define	compat_30(func) sys_nosys
     88  1.166  christos #endif
     89  1.166  christos 
     90  1.191       dsl #ifdef COMPAT_40
     91  1.191       dsl #define	compat_40(func) __CONCAT(compat_40_,func)
     92  1.191       dsl #else
     93  1.191       dsl #define	compat_40(func) sys_nosys
     94  1.191       dsl #endif
     95  1.191       dsl 
     96  1.218      yamt #ifdef COMPAT_50
     97  1.218      yamt #define	compat_50(func) __CONCAT(compat_50_,func)
     98  1.218      yamt #else
     99  1.218      yamt #define	compat_50(func) sys_nosys
    100  1.218      yamt #endif
    101  1.218      yamt 
    102  1.262      matt #ifdef COMPAT_60
    103  1.262      matt #define	compat_60(func) __CONCAT(compat_60_,func)
    104  1.262      matt #else
    105  1.262      matt #define	compat_60(func) sys_nosys
    106  1.262      matt #endif
    107  1.262      matt 
    108  1.288  christos #ifdef COMPAT_70
    109  1.288  christos #define	compat_70(func) __CONCAT(compat_70_,func)
    110  1.288  christos #else
    111  1.288  christos #define	compat_70(func) sys_nosys
    112  1.288  christos #endif
    113  1.288  christos 
    114   1.28       cgd #define	s(type)	sizeof(type)
    115  1.200       dsl #define	n(type)	(sizeof(type)/sizeof (register_t))
    116  1.200       dsl #define	ns(type)	n(type), s(type)
    117   1.28       cgd 
    118   1.28       cgd struct sysent sysent[] = {
    119  1.200       dsl 	{ ns(struct sys_syscall_args), SYCALL_INDIRECT,
    120  1.202       dsl 	    (sy_call_t *)sys_syscall },		/* 0 = syscall */
    121  1.223        ad 	{ ns(struct sys_exit_args), 0,
    122  1.202       dsl 	    (sy_call_t *)sys_exit },		/* 1 = exit */
    123  1.223        ad 	{ 0, 0, 0,
    124  1.202       dsl 	    (sy_call_t *)sys_fork },		/* 2 = fork */
    125  1.270  christos 	{ ns(struct sys_read_args), SYCALL_ARG_PTR,
    126  1.202       dsl 	    (sy_call_t *)sys_read },		/* 3 = read */
    127  1.270  christos 	{ ns(struct sys_write_args), SYCALL_ARG_PTR,
    128  1.202       dsl 	    (sy_call_t *)sys_write },		/* 4 = write */
    129  1.270  christos 	{ ns(struct sys_open_args), SYCALL_ARG_PTR,
    130  1.202       dsl 	    (sy_call_t *)sys_open },		/* 5 = open */
    131  1.223        ad 	{ ns(struct sys_close_args), 0,
    132  1.202       dsl 	    (sy_call_t *)sys_close },		/* 6 = close */
    133  1.270  christos 	{ ns(struct compat_50_sys_wait4_args), SYCALL_ARG_PTR,
    134  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 7 = compat_50_wait4 */
    135  1.270  christos 	{ ns(struct compat_43_sys_creat_args), SYCALL_ARG_PTR,
    136  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 8 = compat_43_ocreat */
    137  1.270  christos 	{ ns(struct sys_link_args), SYCALL_ARG_PTR,
    138  1.202       dsl 	    (sy_call_t *)sys_link },		/* 9 = link */
    139  1.270  christos 	{ ns(struct sys_unlink_args), SYCALL_ARG_PTR,
    140  1.202       dsl 	    (sy_call_t *)sys_unlink },		/* 10 = unlink */
    141  1.123   thorpej 	{ 0, 0, 0,
    142   1.37   mycroft 	    sys_nosys },			/* 11 = obsolete execv */
    143  1.270  christos 	{ ns(struct sys_chdir_args), SYCALL_ARG_PTR,
    144  1.202       dsl 	    (sy_call_t *)sys_chdir },		/* 12 = chdir */
    145  1.223        ad 	{ ns(struct sys_fchdir_args), 0,
    146  1.202       dsl 	    (sy_call_t *)sys_fchdir },		/* 13 = fchdir */
    147  1.270  christos 	{ ns(struct compat_50_sys_mknod_args), SYCALL_ARG_PTR,
    148  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 14 = compat_50_mknod */
    149  1.270  christos 	{ ns(struct sys_chmod_args), SYCALL_ARG_PTR,
    150  1.202       dsl 	    (sy_call_t *)sys_chmod },		/* 15 = chmod */
    151  1.270  christos 	{ ns(struct sys_chown_args), SYCALL_ARG_PTR,
    152  1.202       dsl 	    (sy_call_t *)sys_chown },		/* 16 = chown */
    153  1.270  christos 	{ ns(struct sys_obreak_args), SYCALL_ARG_PTR,
    154  1.202       dsl 	    (sy_call_t *)sys_obreak },		/* 17 = break */
    155  1.270  christos 	{ ns(struct compat_20_sys_getfsstat_args), SYCALL_ARG_PTR,
    156  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 18 = compat_20_getfsstat */
    157  1.223        ad 	{ ns(struct compat_43_sys_lseek_args), 0,
    158  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 19 = compat_43_olseek */
    159  1.223        ad 	{ 0, 0, 0,
    160  1.202       dsl 	    (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */
    161  1.270  christos 	{ ns(struct compat_40_sys_mount_args), SYCALL_ARG_PTR,
    162  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 21 = compat_40_mount */
    163  1.270  christos 	{ ns(struct sys_unmount_args), SYCALL_ARG_PTR,
    164  1.202       dsl 	    (sy_call_t *)sys_unmount },		/* 22 = unmount */
    165  1.223        ad 	{ ns(struct sys_setuid_args), 0,
    166  1.202       dsl 	    (sy_call_t *)sys_setuid },		/* 23 = setuid */
    167  1.223        ad 	{ 0, 0, 0,
    168  1.202       dsl 	    (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */
    169  1.223        ad 	{ 0, 0, 0,
    170  1.202       dsl 	    (sy_call_t *)sys_geteuid },		/* 25 = geteuid */
    171  1.270  christos 	{ ns(struct sys_ptrace_args), SYCALL_ARG_PTR,
    172  1.202       dsl 	    (sy_call_t *)sys_ptrace },		/* 26 = ptrace */
    173  1.270  christos 	{ ns(struct sys_recvmsg_args), SYCALL_ARG_PTR,
    174  1.202       dsl 	    (sy_call_t *)sys_recvmsg },		/* 27 = recvmsg */
    175  1.270  christos 	{ ns(struct sys_sendmsg_args), SYCALL_ARG_PTR,
    176  1.202       dsl 	    (sy_call_t *)sys_sendmsg },		/* 28 = sendmsg */
    177  1.270  christos 	{ ns(struct sys_recvfrom_args), SYCALL_ARG_PTR,
    178  1.202       dsl 	    (sy_call_t *)sys_recvfrom },	/* 29 = recvfrom */
    179  1.270  christos 	{ ns(struct sys_accept_args), SYCALL_ARG_PTR,
    180  1.202       dsl 	    (sy_call_t *)sys_accept },		/* 30 = accept */
    181  1.270  christos 	{ ns(struct sys_getpeername_args), SYCALL_ARG_PTR,
    182  1.202       dsl 	    (sy_call_t *)sys_getpeername },	/* 31 = getpeername */
    183  1.270  christos 	{ ns(struct sys_getsockname_args), SYCALL_ARG_PTR,
    184  1.202       dsl 	    (sy_call_t *)sys_getsockname },	/* 32 = getsockname */
    185  1.270  christos 	{ ns(struct sys_access_args), SYCALL_ARG_PTR,
    186  1.202       dsl 	    (sy_call_t *)sys_access },		/* 33 = access */
    187  1.270  christos 	{ ns(struct sys_chflags_args), SYCALL_ARG_PTR,
    188  1.202       dsl 	    (sy_call_t *)sys_chflags },		/* 34 = chflags */
    189  1.223        ad 	{ ns(struct sys_fchflags_args), 0,
    190  1.202       dsl 	    (sy_call_t *)sys_fchflags },	/* 35 = fchflags */
    191  1.223        ad 	{ 0, 0, 0,
    192  1.202       dsl 	    (sy_call_t *)sys_sync },		/* 36 = sync */
    193  1.223        ad 	{ ns(struct sys_kill_args), 0,
    194  1.202       dsl 	    (sy_call_t *)sys_kill },		/* 37 = kill */
    195  1.270  christos 	{ ns(struct compat_43_sys_stat_args), SYCALL_ARG_PTR,
    196  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 38 = compat_43_stat43 */
    197  1.223        ad 	{ 0, 0, 0,
    198  1.202       dsl 	    (sy_call_t *)sys_getppid },		/* 39 = getppid */
    199  1.270  christos 	{ ns(struct compat_43_sys_lstat_args), SYCALL_ARG_PTR,
    200  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 40 = compat_43_lstat43 */
    201  1.223        ad 	{ ns(struct sys_dup_args), 0,
    202  1.202       dsl 	    (sy_call_t *)sys_dup },		/* 41 = dup */
    203  1.223        ad 	{ 0, 0, 0,
    204  1.202       dsl 	    (sy_call_t *)sys_pipe },		/* 42 = pipe */
    205  1.223        ad 	{ 0, 0, 0,
    206  1.202       dsl 	    (sy_call_t *)sys_getegid },		/* 43 = getegid */
    207  1.270  christos 	{ ns(struct sys_profil_args), SYCALL_ARG_PTR,
    208  1.202       dsl 	    (sy_call_t *)sys_profil },		/* 44 = profil */
    209  1.270  christos 	{ ns(struct sys_ktrace_args), SYCALL_ARG_PTR,
    210  1.202       dsl 	    (sy_call_t *)sys_ktrace },		/* 45 = ktrace */
    211  1.270  christos 	{ ns(struct compat_13_sys_sigaction_args), SYCALL_ARG_PTR,
    212  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 46 = compat_13_sigaction13 */
    213  1.223        ad 	{ 0, 0, 0,
    214  1.202       dsl 	    (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */
    215  1.223        ad 	{ ns(struct compat_13_sys_sigprocmask_args), 0,
    216  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 48 = compat_13_sigprocmask13 */
    217  1.270  christos 	{ ns(struct sys___getlogin_args), SYCALL_ARG_PTR,
    218  1.202       dsl 	    (sy_call_t *)sys___getlogin },	/* 49 = __getlogin */
    219  1.270  christos 	{ ns(struct sys___setlogin_args), SYCALL_ARG_PTR,
    220  1.202       dsl 	    (sy_call_t *)sys___setlogin },	/* 50 = __setlogin */
    221  1.270  christos 	{ ns(struct sys_acct_args), SYCALL_ARG_PTR,
    222  1.202       dsl 	    (sy_call_t *)sys_acct },		/* 51 = acct */
    223  1.223        ad 	{ 0, 0, 0,
    224  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 52 = compat_13_sigpending13 */
    225  1.270  christos 	{ ns(struct compat_13_sys_sigaltstack_args), SYCALL_ARG_PTR,
    226  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 53 = compat_13_sigaltstack13 */
    227  1.270  christos 	{ ns(struct sys_ioctl_args), SYCALL_ARG_PTR,
    228  1.202       dsl 	    (sy_call_t *)sys_ioctl },		/* 54 = ioctl */
    229  1.223        ad 	{ ns(struct compat_12_sys_reboot_args), 0,
    230  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 55 = compat_12_oreboot */
    231  1.270  christos 	{ ns(struct sys_revoke_args), SYCALL_ARG_PTR,
    232  1.202       dsl 	    (sy_call_t *)sys_revoke },		/* 56 = revoke */
    233  1.270  christos 	{ ns(struct sys_symlink_args), SYCALL_ARG_PTR,
    234  1.202       dsl 	    (sy_call_t *)sys_symlink },		/* 57 = symlink */
    235  1.270  christos 	{ ns(struct sys_readlink_args), SYCALL_ARG_PTR,
    236  1.202       dsl 	    (sy_call_t *)sys_readlink },	/* 58 = readlink */
    237  1.270  christos 	{ ns(struct sys_execve_args), SYCALL_ARG_PTR,
    238  1.202       dsl 	    (sy_call_t *)sys_execve },		/* 59 = execve */
    239  1.223        ad 	{ ns(struct sys_umask_args), 0,
    240  1.202       dsl 	    (sy_call_t *)sys_umask },		/* 60 = umask */
    241  1.270  christos 	{ ns(struct sys_chroot_args), SYCALL_ARG_PTR,
    242  1.202       dsl 	    (sy_call_t *)sys_chroot },		/* 61 = chroot */
    243  1.270  christos 	{ ns(struct compat_43_sys_fstat_args), SYCALL_ARG_PTR,
    244  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 62 = compat_43_fstat43 */
    245  1.270  christos 	{ ns(struct compat_43_sys_getkerninfo_args), SYCALL_ARG_PTR,
    246  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 63 = compat_43_ogetkerninfo */
    247  1.223        ad 	{ 0, 0, 0,
    248  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 64 = compat_43_ogetpagesize */
    249  1.270  christos 	{ ns(struct compat_12_sys_msync_args), SYCALL_ARG_PTR,
    250  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 65 = compat_12_msync */
    251  1.223        ad 	{ 0, 0, 0,
    252  1.202       dsl 	    (sy_call_t *)sys_vfork },		/* 66 = vfork */
    253  1.123   thorpej 	{ 0, 0, 0,
    254   1.37   mycroft 	    sys_nosys },			/* 67 = obsolete vread */
    255  1.123   thorpej 	{ 0, 0, 0,
    256   1.37   mycroft 	    sys_nosys },			/* 68 = obsolete vwrite */
    257  1.223        ad 	{ ns(struct sys_sbrk_args), 0,
    258  1.202       dsl 	    (sy_call_t *)sys_sbrk },		/* 69 = sbrk */
    259  1.223        ad 	{ ns(struct sys_sstk_args), 0,
    260  1.202       dsl 	    (sy_call_t *)sys_sstk },		/* 70 = sstk */
    261  1.270  christos 	{ ns(struct compat_43_sys_mmap_args), SYCALL_ARG_PTR,
    262  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 71 = compat_43_ommap */
    263  1.223        ad 	{ ns(struct sys_ovadvise_args), 0,
    264  1.202       dsl 	    (sy_call_t *)sys_ovadvise },	/* 72 = vadvise */
    265  1.270  christos 	{ ns(struct sys_munmap_args), SYCALL_ARG_PTR,
    266  1.202       dsl 	    (sy_call_t *)sys_munmap },		/* 73 = munmap */
    267  1.270  christos 	{ ns(struct sys_mprotect_args), SYCALL_ARG_PTR,
    268  1.202       dsl 	    (sy_call_t *)sys_mprotect },	/* 74 = mprotect */
    269  1.270  christos 	{ ns(struct sys_madvise_args), SYCALL_ARG_PTR,
    270  1.202       dsl 	    (sy_call_t *)sys_madvise },		/* 75 = madvise */
    271  1.123   thorpej 	{ 0, 0, 0,
    272   1.37   mycroft 	    sys_nosys },			/* 76 = obsolete vhangup */
    273  1.123   thorpej 	{ 0, 0, 0,
    274   1.37   mycroft 	    sys_nosys },			/* 77 = obsolete vlimit */
    275  1.270  christos 	{ ns(struct sys_mincore_args), SYCALL_ARG_PTR,
    276  1.202       dsl 	    (sy_call_t *)sys_mincore },		/* 78 = mincore */
    277  1.270  christos 	{ ns(struct sys_getgroups_args), SYCALL_ARG_PTR,
    278  1.202       dsl 	    (sy_call_t *)sys_getgroups },	/* 79 = getgroups */
    279  1.270  christos 	{ ns(struct sys_setgroups_args), SYCALL_ARG_PTR,
    280  1.202       dsl 	    (sy_call_t *)sys_setgroups },	/* 80 = setgroups */
    281  1.223        ad 	{ 0, 0, 0,
    282  1.202       dsl 	    (sy_call_t *)sys_getpgrp },		/* 81 = getpgrp */
    283  1.223        ad 	{ ns(struct sys_setpgid_args), 0,
    284  1.202       dsl 	    (sy_call_t *)sys_setpgid },		/* 82 = setpgid */
    285  1.270  christos 	{ ns(struct compat_50_sys_setitimer_args), SYCALL_ARG_PTR,
    286  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 83 = compat_50_setitimer */
    287  1.223        ad 	{ 0, 0, 0,
    288  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 84 = compat_43_owait */
    289  1.270  christos 	{ ns(struct compat_12_sys_swapon_args), SYCALL_ARG_PTR,
    290  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 85 = compat_12_oswapon */
    291  1.270  christos 	{ ns(struct compat_50_sys_getitimer_args), SYCALL_ARG_PTR,
    292  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 86 = compat_50_getitimer */
    293  1.270  christos 	{ ns(struct compat_43_sys_gethostname_args), SYCALL_ARG_PTR,
    294  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 87 = compat_43_ogethostname */
    295  1.270  christos 	{ ns(struct compat_43_sys_sethostname_args), SYCALL_ARG_PTR,
    296  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 88 = compat_43_osethostname */
    297  1.223        ad 	{ 0, 0, 0,
    298  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 89 = compat_43_ogetdtablesize */
    299  1.223        ad 	{ ns(struct sys_dup2_args), 0,
    300  1.202       dsl 	    (sy_call_t *)sys_dup2 },		/* 90 = dup2 */
    301  1.123   thorpej 	{ 0, 0, 0,
    302   1.37   mycroft 	    sys_nosys },			/* 91 = unimplemented getdopt */
    303  1.270  christos 	{ ns(struct sys_fcntl_args), SYCALL_ARG_PTR,
    304  1.202       dsl 	    (sy_call_t *)sys_fcntl },		/* 92 = fcntl */
    305  1.270  christos 	{ ns(struct compat_50_sys_select_args), SYCALL_ARG_PTR,
    306  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 93 = compat_50_select */
    307  1.123   thorpej 	{ 0, 0, 0,
    308   1.37   mycroft 	    sys_nosys },			/* 94 = unimplemented setdopt */
    309  1.223        ad 	{ ns(struct sys_fsync_args), 0,
    310  1.202       dsl 	    (sy_call_t *)sys_fsync },		/* 95 = fsync */
    311  1.223        ad 	{ ns(struct sys_setpriority_args), 0,
    312  1.202       dsl 	    (sy_call_t *)sys_setpriority },	/* 96 = setpriority */
    313  1.200       dsl 	{ ns(struct compat_30_sys_socket_args), 0,
    314  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 97 = compat_30_socket */
    315  1.270  christos 	{ ns(struct sys_connect_args), SYCALL_ARG_PTR,
    316  1.202       dsl 	    (sy_call_t *)sys_connect },		/* 98 = connect */
    317  1.270  christos 	{ ns(struct compat_43_sys_accept_args), SYCALL_ARG_PTR,
    318  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 99 = compat_43_oaccept */
    319  1.223        ad 	{ ns(struct sys_getpriority_args), 0,
    320  1.202       dsl 	    (sy_call_t *)sys_getpriority },	/* 100 = getpriority */
    321  1.270  christos 	{ ns(struct compat_43_sys_send_args), SYCALL_ARG_PTR,
    322  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 101 = compat_43_osend */
    323  1.270  christos 	{ ns(struct compat_43_sys_recv_args), SYCALL_ARG_PTR,
    324  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 102 = compat_43_orecv */
    325  1.270  christos 	{ ns(struct compat_13_sys_sigreturn_args), SYCALL_ARG_PTR,
    326  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 103 = compat_13_sigreturn13 */
    327  1.270  christos 	{ ns(struct sys_bind_args), SYCALL_ARG_PTR,
    328  1.202       dsl 	    (sy_call_t *)sys_bind },		/* 104 = bind */
    329  1.270  christos 	{ ns(struct sys_setsockopt_args), SYCALL_ARG_PTR,
    330  1.202       dsl 	    (sy_call_t *)sys_setsockopt },	/* 105 = setsockopt */
    331  1.200       dsl 	{ ns(struct sys_listen_args), 0,
    332  1.202       dsl 	    (sy_call_t *)sys_listen },		/* 106 = listen */
    333  1.123   thorpej 	{ 0, 0, 0,
    334   1.37   mycroft 	    sys_nosys },			/* 107 = obsolete vtimes */
    335  1.270  christos 	{ ns(struct compat_43_sys_sigvec_args), SYCALL_ARG_PTR,
    336  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 108 = compat_43_osigvec */
    337  1.223        ad 	{ ns(struct compat_43_sys_sigblock_args), 0,
    338  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 109 = compat_43_osigblock */
    339  1.223        ad 	{ ns(struct compat_43_sys_sigsetmask_args), 0,
    340  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 110 = compat_43_osigsetmask */
    341  1.223        ad 	{ ns(struct compat_13_sys_sigsuspend_args), 0,
    342  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 111 = compat_13_sigsuspend13 */
    343  1.270  christos 	{ ns(struct compat_43_sys_sigstack_args), SYCALL_ARG_PTR,
    344  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 112 = compat_43_osigstack */
    345  1.270  christos 	{ ns(struct compat_43_sys_recvmsg_args), SYCALL_ARG_PTR,
    346  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 113 = compat_43_orecvmsg */
    347  1.270  christos 	{ ns(struct compat_43_sys_sendmsg_args), SYCALL_ARG_PTR,
    348  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 114 = compat_43_osendmsg */
    349  1.123   thorpej 	{ 0, 0, 0,
    350   1.37   mycroft 	    sys_nosys },			/* 115 = obsolete vtrace */
    351  1.270  christos 	{ ns(struct compat_50_sys_gettimeofday_args), SYCALL_ARG_PTR,
    352  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 116 = compat_50_gettimeofday */
    353  1.270  christos 	{ ns(struct compat_50_sys_getrusage_args), SYCALL_ARG_PTR,
    354  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 117 = compat_50_getrusage */
    355  1.270  christos 	{ ns(struct sys_getsockopt_args), SYCALL_ARG_PTR,
    356  1.202       dsl 	    (sy_call_t *)sys_getsockopt },	/* 118 = getsockopt */
    357  1.123   thorpej 	{ 0, 0, 0,
    358   1.37   mycroft 	    sys_nosys },			/* 119 = obsolete resuba */
    359  1.270  christos 	{ ns(struct sys_readv_args), SYCALL_ARG_PTR,
    360  1.202       dsl 	    (sy_call_t *)sys_readv },		/* 120 = readv */
    361  1.270  christos 	{ ns(struct sys_writev_args), SYCALL_ARG_PTR,
    362  1.202       dsl 	    (sy_call_t *)sys_writev },		/* 121 = writev */
    363  1.270  christos 	{ ns(struct compat_50_sys_settimeofday_args), SYCALL_ARG_PTR,
    364  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 122 = compat_50_settimeofday */
    365  1.223        ad 	{ ns(struct sys_fchown_args), 0,
    366  1.202       dsl 	    (sy_call_t *)sys_fchown },		/* 123 = fchown */
    367  1.223        ad 	{ ns(struct sys_fchmod_args), 0,
    368  1.202       dsl 	    (sy_call_t *)sys_fchmod },		/* 124 = fchmod */
    369  1.270  christos 	{ ns(struct compat_43_sys_recvfrom_args), SYCALL_ARG_PTR,
    370  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 125 = compat_43_orecvfrom */
    371  1.223        ad 	{ ns(struct sys_setreuid_args), 0,
    372  1.202       dsl 	    (sy_call_t *)sys_setreuid },	/* 126 = setreuid */
    373  1.223        ad 	{ ns(struct sys_setregid_args), 0,
    374  1.202       dsl 	    (sy_call_t *)sys_setregid },	/* 127 = setregid */
    375  1.270  christos 	{ ns(struct sys_rename_args), SYCALL_ARG_PTR,
    376  1.202       dsl 	    (sy_call_t *)sys_rename },		/* 128 = rename */
    377  1.270  christos 	{ ns(struct compat_43_sys_truncate_args), SYCALL_ARG_PTR,
    378  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 129 = compat_43_otruncate */
    379  1.223        ad 	{ ns(struct compat_43_sys_ftruncate_args), 0,
    380  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 130 = compat_43_oftruncate */
    381  1.223        ad 	{ ns(struct sys_flock_args), 0,
    382  1.202       dsl 	    (sy_call_t *)sys_flock },		/* 131 = flock */
    383  1.270  christos 	{ ns(struct sys_mkfifo_args), SYCALL_ARG_PTR,
    384  1.202       dsl 	    (sy_call_t *)sys_mkfifo },		/* 132 = mkfifo */
    385  1.270  christos 	{ ns(struct sys_sendto_args), SYCALL_ARG_PTR,
    386  1.202       dsl 	    (sy_call_t *)sys_sendto },		/* 133 = sendto */
    387  1.200       dsl 	{ ns(struct sys_shutdown_args), 0,
    388  1.202       dsl 	    (sy_call_t *)sys_shutdown },	/* 134 = shutdown */
    389  1.270  christos 	{ ns(struct sys_socketpair_args), SYCALL_ARG_PTR,
    390  1.202       dsl 	    (sy_call_t *)sys_socketpair },	/* 135 = socketpair */
    391  1.270  christos 	{ ns(struct sys_mkdir_args), SYCALL_ARG_PTR,
    392  1.202       dsl 	    (sy_call_t *)sys_mkdir },		/* 136 = mkdir */
    393  1.270  christos 	{ ns(struct sys_rmdir_args), SYCALL_ARG_PTR,
    394  1.202       dsl 	    (sy_call_t *)sys_rmdir },		/* 137 = rmdir */
    395  1.270  christos 	{ ns(struct compat_50_sys_utimes_args), SYCALL_ARG_PTR,
    396  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 138 = compat_50_utimes */
    397  1.123   thorpej 	{ 0, 0, 0,
    398   1.37   mycroft 	    sys_nosys },			/* 139 = obsolete 4.2 sigreturn */
    399  1.270  christos 	{ ns(struct compat_50_sys_adjtime_args), SYCALL_ARG_PTR,
    400  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 140 = compat_50_adjtime */
    401  1.270  christos 	{ ns(struct compat_43_sys_getpeername_args), SYCALL_ARG_PTR,
    402  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 141 = compat_43_ogetpeername */
    403  1.223        ad 	{ 0, 0, 0,
    404  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 142 = compat_43_ogethostid */
    405  1.223        ad 	{ ns(struct compat_43_sys_sethostid_args), 0,
    406  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 143 = compat_43_osethostid */
    407  1.270  christos 	{ ns(struct compat_43_sys_getrlimit_args), SYCALL_ARG_PTR,
    408  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 144 = compat_43_ogetrlimit */
    409  1.270  christos 	{ ns(struct compat_43_sys_setrlimit_args), SYCALL_ARG_PTR,
    410  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 145 = compat_43_osetrlimit */
    411  1.223        ad 	{ ns(struct compat_43_sys_killpg_args), 0,
    412  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 146 = compat_43_okillpg */
    413  1.223        ad 	{ 0, 0, 0,
    414  1.202       dsl 	    (sy_call_t *)sys_setsid },		/* 147 = setsid */
    415  1.270  christos 	{ ns(struct compat_50_sys_quotactl_args), SYCALL_ARG_PTR,
    416  1.254    bouyer 	    (sy_call_t *)sys_nomodule },	/* 148 = compat_50_quotactl */
    417  1.223        ad 	{ 0, 0, 0,
    418  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 149 = compat_43_oquota */
    419  1.270  christos 	{ ns(struct compat_43_sys_getsockname_args), SYCALL_ARG_PTR,
    420  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 150 = compat_43_ogetsockname */
    421  1.123   thorpej 	{ 0, 0, 0,
    422   1.37   mycroft 	    sys_nosys },			/* 151 = unimplemented */
    423  1.123   thorpej 	{ 0, 0, 0,
    424   1.37   mycroft 	    sys_nosys },			/* 152 = unimplemented */
    425  1.123   thorpej 	{ 0, 0, 0,
    426   1.37   mycroft 	    sys_nosys },			/* 153 = unimplemented */
    427  1.123   thorpej 	{ 0, 0, 0,
    428   1.37   mycroft 	    sys_nosys },			/* 154 = unimplemented */
    429  1.270  christos 	{ ns(struct sys_nfssvc_args), SYCALL_ARG_PTR,
    430  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 155 = nfssvc */
    431  1.270  christos 	{ ns(struct compat_43_sys_getdirentries_args), SYCALL_ARG_PTR,
    432  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 156 = compat_43_ogetdirentries */
    433  1.270  christos 	{ ns(struct compat_20_sys_statfs_args), SYCALL_ARG_PTR,
    434  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 157 = compat_20_statfs */
    435  1.270  christos 	{ ns(struct compat_20_sys_fstatfs_args), SYCALL_ARG_PTR,
    436  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 158 = compat_20_fstatfs */
    437  1.123   thorpej 	{ 0, 0, 0,
    438   1.37   mycroft 	    sys_nosys },			/* 159 = unimplemented */
    439  1.123   thorpej 	{ 0, 0, 0,
    440   1.37   mycroft 	    sys_nosys },			/* 160 = unimplemented */
    441  1.270  christos 	{ ns(struct compat_30_sys_getfh_args), SYCALL_ARG_PTR,
    442  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 161 = compat_30_getfh */
    443  1.270  christos 	{ ns(struct compat_09_sys_getdomainname_args), SYCALL_ARG_PTR,
    444  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 162 = compat_09_ogetdomainname */
    445  1.270  christos 	{ ns(struct compat_09_sys_setdomainname_args), SYCALL_ARG_PTR,
    446  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 163 = compat_09_osetdomainname */
    447  1.270  christos 	{ ns(struct compat_09_sys_uname_args), SYCALL_ARG_PTR,
    448  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 164 = compat_09_ouname */
    449  1.270  christos 	{ ns(struct sys_sysarch_args), SYCALL_ARG_PTR,
    450  1.202       dsl 	    (sy_call_t *)sys_sysarch },		/* 165 = sysarch */
    451  1.123   thorpej 	{ 0, 0, 0,
    452   1.37   mycroft 	    sys_nosys },			/* 166 = unimplemented */
    453  1.123   thorpej 	{ 0, 0, 0,
    454   1.37   mycroft 	    sys_nosys },			/* 167 = unimplemented */
    455  1.123   thorpej 	{ 0, 0, 0,
    456   1.37   mycroft 	    sys_nosys },			/* 168 = unimplemented */
    457  1.234        ad #if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
    458  1.223        ad 	{ ns(struct compat_10_sys_semsys_args), 0,
    459  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 169 = compat_10_osemsys */
    460   1.28       cgd #else
    461  1.123   thorpej 	{ 0, 0, 0,
    462  1.106  christos 	    sys_nosys },			/* 169 = excluded 1.0 semsys */
    463   1.28       cgd #endif
    464  1.234        ad #if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
    465  1.223        ad 	{ ns(struct compat_10_sys_msgsys_args), 0,
    466  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 170 = compat_10_omsgsys */
    467   1.28       cgd #else
    468  1.123   thorpej 	{ 0, 0, 0,
    469  1.106  christos 	    sys_nosys },			/* 170 = excluded 1.0 msgsys */
    470   1.28       cgd #endif
    471  1.234        ad #if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
    472  1.223        ad 	{ ns(struct compat_10_sys_shmsys_args), 0,
    473  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 171 = compat_10_oshmsys */
    474   1.28       cgd #else
    475  1.123   thorpej 	{ 0, 0, 0,
    476  1.106  christos 	    sys_nosys },			/* 171 = excluded 1.0 shmsys */
    477   1.28       cgd #endif
    478  1.123   thorpej 	{ 0, 0, 0,
    479   1.37   mycroft 	    sys_nosys },			/* 172 = unimplemented */
    480  1.270  christos 	{ ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
    481  1.202       dsl 	    (sy_call_t *)sys_pread },		/* 173 = pread */
    482  1.270  christos 	{ ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
    483  1.202       dsl 	    (sy_call_t *)sys_pwrite },		/* 174 = pwrite */
    484  1.270  christos 	{ ns(struct compat_30_sys_ntp_gettime_args), SYCALL_ARG_PTR,
    485  1.235  christos 	    (sy_call_t *)compat_30(sys_ntp_gettime) },/* 175 = compat_30_ntp_gettime */
    486  1.234        ad #if defined(NTP) || !defined(_KERNEL_OPT)
    487  1.270  christos 	{ ns(struct sys_ntp_adjtime_args), SYCALL_ARG_PTR,
    488  1.202       dsl 	    (sy_call_t *)sys_ntp_adjtime },	/* 176 = ntp_adjtime */
    489  1.116     bjh21 #else
    490  1.123   thorpej 	{ 0, 0, 0,
    491  1.116     bjh21 	    sys_nosys },			/* 176 = excluded ntp_adjtime */
    492  1.116     bjh21 #endif
    493  1.123   thorpej 	{ 0, 0, 0,
    494   1.37   mycroft 	    sys_nosys },			/* 177 = unimplemented */
    495  1.123   thorpej 	{ 0, 0, 0,
    496   1.37   mycroft 	    sys_nosys },			/* 178 = unimplemented */
    497  1.123   thorpej 	{ 0, 0, 0,
    498   1.37   mycroft 	    sys_nosys },			/* 179 = unimplemented */
    499  1.123   thorpej 	{ 0, 0, 0,
    500   1.37   mycroft 	    sys_nosys },			/* 180 = unimplemented */
    501  1.223        ad 	{ ns(struct sys_setgid_args), 0,
    502  1.202       dsl 	    (sy_call_t *)sys_setgid },		/* 181 = setgid */
    503  1.223        ad 	{ ns(struct sys_setegid_args), 0,
    504  1.202       dsl 	    (sy_call_t *)sys_setegid },		/* 182 = setegid */
    505  1.223        ad 	{ ns(struct sys_seteuid_args), 0,
    506  1.202       dsl 	    (sy_call_t *)sys_seteuid },		/* 183 = seteuid */
    507  1.270  christos 	{ ns(struct sys_lfs_bmapv_args), SYCALL_ARG_PTR,
    508  1.245     pooka 	    (sy_call_t *)sys_nomodule },	/* 184 = lfs_bmapv */
    509  1.270  christos 	{ ns(struct sys_lfs_markv_args), SYCALL_ARG_PTR,
    510  1.245     pooka 	    (sy_call_t *)sys_nomodule },	/* 185 = lfs_markv */
    511  1.270  christos 	{ ns(struct sys_lfs_segclean_args), SYCALL_ARG_PTR,
    512  1.245     pooka 	    (sy_call_t *)sys_nomodule },	/* 186 = lfs_segclean */
    513  1.270  christos 	{ ns(struct compat_50_sys_lfs_segwait_args), SYCALL_ARG_PTR,
    514  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 187 = compat_50_lfs_segwait */
    515  1.270  christos 	{ ns(struct compat_12_sys_stat_args), SYCALL_ARG_PTR,
    516  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 188 = compat_12_stat12 */
    517  1.270  christos 	{ ns(struct compat_12_sys_fstat_args), SYCALL_ARG_PTR,
    518  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 189 = compat_12_fstat12 */
    519  1.270  christos 	{ ns(struct compat_12_sys_lstat_args), SYCALL_ARG_PTR,
    520  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 190 = compat_12_lstat12 */
    521  1.270  christos 	{ ns(struct sys_pathconf_args), SYCALL_ARG_PTR,
    522  1.202       dsl 	    (sy_call_t *)sys_pathconf },	/* 191 = pathconf */
    523  1.223        ad 	{ ns(struct sys_fpathconf_args), 0,
    524  1.202       dsl 	    (sy_call_t *)sys_fpathconf },	/* 192 = fpathconf */
    525  1.123   thorpej 	{ 0, 0, 0,
    526   1.37   mycroft 	    sys_nosys },			/* 193 = unimplemented */
    527  1.270  christos 	{ ns(struct sys_getrlimit_args), SYCALL_ARG_PTR,
    528  1.202       dsl 	    (sy_call_t *)sys_getrlimit },	/* 194 = getrlimit */
    529  1.270  christos 	{ ns(struct sys_setrlimit_args), SYCALL_ARG_PTR,
    530  1.202       dsl 	    (sy_call_t *)sys_setrlimit },	/* 195 = setrlimit */
    531  1.270  christos 	{ ns(struct compat_12_sys_getdirentries_args), SYCALL_ARG_PTR,
    532  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 196 = compat_12_getdirentries */
    533  1.270  christos 	{ ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64 | SYCALL_ARG_PTR,
    534  1.202       dsl 	    (sy_call_t *)sys_mmap },		/* 197 = mmap */
    535  1.242      matt 	{ ns(struct sys___syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT,
    536  1.202       dsl 	    (sy_call_t *)sys___syscall },	/* 198 = __syscall */
    537  1.242      matt 	{ ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
    538  1.202       dsl 	    (sy_call_t *)sys_lseek },		/* 199 = lseek */
    539  1.270  christos 	{ ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_ARG_PTR,
    540  1.202       dsl 	    (sy_call_t *)sys_truncate },	/* 200 = truncate */
    541  1.242      matt 	{ ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
    542  1.202       dsl 	    (sy_call_t *)sys_ftruncate },	/* 201 = ftruncate */
    543  1.270  christos 	{ ns(struct sys___sysctl_args), SYCALL_ARG_PTR,
    544  1.202       dsl 	    (sy_call_t *)sys___sysctl },	/* 202 = __sysctl */
    545  1.270  christos 	{ ns(struct sys_mlock_args), SYCALL_ARG_PTR,
    546  1.202       dsl 	    (sy_call_t *)sys_mlock },		/* 203 = mlock */
    547  1.270  christos 	{ ns(struct sys_munlock_args), SYCALL_ARG_PTR,
    548  1.202       dsl 	    (sy_call_t *)sys_munlock },		/* 204 = munlock */
    549  1.270  christos 	{ ns(struct sys_undelete_args), SYCALL_ARG_PTR,
    550  1.202       dsl 	    (sy_call_t *)sys_undelete },	/* 205 = undelete */
    551  1.270  christos 	{ ns(struct compat_50_sys_futimes_args), SYCALL_ARG_PTR,
    552  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 206 = compat_50_futimes */
    553  1.223        ad 	{ ns(struct sys_getpgid_args), 0,
    554  1.202       dsl 	    (sy_call_t *)sys_getpgid },		/* 207 = getpgid */
    555  1.270  christos 	{ ns(struct sys_reboot_args), SYCALL_ARG_PTR,
    556  1.202       dsl 	    (sy_call_t *)sys_reboot },		/* 208 = reboot */
    557  1.270  christos 	{ ns(struct sys_poll_args), SYCALL_ARG_PTR,
    558  1.202       dsl 	    (sy_call_t *)sys_poll },		/* 209 = poll */
    559  1.265  christos 	{ ns(struct sys_afssys_args), 0,
    560  1.265  christos 	    (sy_call_t *)sys_nomodule },	/* 210 = afssys */
    561  1.123   thorpej 	{ 0, 0, 0,
    562  1.230        ad 	    sys_nosys },			/* 211 = unimplemented */
    563  1.123   thorpej 	{ 0, 0, 0,
    564  1.230        ad 	    sys_nosys },			/* 212 = unimplemented */
    565  1.123   thorpej 	{ 0, 0, 0,
    566  1.230        ad 	    sys_nosys },			/* 213 = unimplemented */
    567  1.123   thorpej 	{ 0, 0, 0,
    568  1.230        ad 	    sys_nosys },			/* 214 = unimplemented */
    569  1.123   thorpej 	{ 0, 0, 0,
    570  1.230        ad 	    sys_nosys },			/* 215 = unimplemented */
    571  1.123   thorpej 	{ 0, 0, 0,
    572  1.230        ad 	    sys_nosys },			/* 216 = unimplemented */
    573  1.123   thorpej 	{ 0, 0, 0,
    574  1.230        ad 	    sys_nosys },			/* 217 = unimplemented */
    575  1.123   thorpej 	{ 0, 0, 0,
    576  1.230        ad 	    sys_nosys },			/* 218 = unimplemented */
    577  1.123   thorpej 	{ 0, 0, 0,
    578  1.230        ad 	    sys_nosys },			/* 219 = unimplemented */
    579  1.234        ad #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    580  1.270  christos 	{ ns(struct compat_14_sys___semctl_args), SYCALL_ARG_PTR,
    581  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 220 = compat_14___semctl */
    582  1.223        ad 	{ ns(struct sys_semget_args), 0,
    583  1.202       dsl 	    (sy_call_t *)sys_semget },		/* 221 = semget */
    584  1.270  christos 	{ ns(struct sys_semop_args), SYCALL_ARG_PTR,
    585  1.202       dsl 	    (sy_call_t *)sys_semop },		/* 222 = semop */
    586  1.223        ad 	{ ns(struct sys_semconfig_args), 0,
    587  1.202       dsl 	    (sy_call_t *)sys_semconfig },	/* 223 = semconfig */
    588   1.28       cgd #else
    589  1.123   thorpej 	{ 0, 0, 0,
    590  1.111   thorpej 	    sys_nosys },			/* 220 = excluded compat_14_semctl */
    591  1.123   thorpej 	{ 0, 0, 0,
    592  1.106  christos 	    sys_nosys },			/* 221 = excluded semget */
    593  1.123   thorpej 	{ 0, 0, 0,
    594  1.106  christos 	    sys_nosys },			/* 222 = excluded semop */
    595  1.123   thorpej 	{ 0, 0, 0,
    596  1.106  christos 	    sys_nosys },			/* 223 = excluded semconfig */
    597   1.28       cgd #endif
    598  1.234        ad #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    599  1.270  christos 	{ ns(struct compat_14_sys_msgctl_args), SYCALL_ARG_PTR,
    600  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 224 = compat_14_msgctl */
    601  1.223        ad 	{ ns(struct sys_msgget_args), 0,
    602  1.202       dsl 	    (sy_call_t *)sys_msgget },		/* 225 = msgget */
    603  1.270  christos 	{ ns(struct sys_msgsnd_args), SYCALL_ARG_PTR,
    604  1.202       dsl 	    (sy_call_t *)sys_msgsnd },		/* 226 = msgsnd */
    605  1.270  christos 	{ ns(struct sys_msgrcv_args), SYCALL_ARG_PTR,
    606  1.202       dsl 	    (sy_call_t *)sys_msgrcv },		/* 227 = msgrcv */
    607   1.28       cgd #else
    608  1.123   thorpej 	{ 0, 0, 0,
    609  1.111   thorpej 	    sys_nosys },			/* 224 = excluded compat_14_msgctl */
    610  1.123   thorpej 	{ 0, 0, 0,
    611  1.106  christos 	    sys_nosys },			/* 225 = excluded msgget */
    612  1.123   thorpej 	{ 0, 0, 0,
    613  1.106  christos 	    sys_nosys },			/* 226 = excluded msgsnd */
    614  1.123   thorpej 	{ 0, 0, 0,
    615  1.106  christos 	    sys_nosys },			/* 227 = excluded msgrcv */
    616   1.28       cgd #endif
    617  1.234        ad #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    618  1.270  christos 	{ ns(struct sys_shmat_args), SYCALL_ARG_PTR,
    619  1.202       dsl 	    (sy_call_t *)sys_shmat },		/* 228 = shmat */
    620  1.270  christos 	{ ns(struct compat_14_sys_shmctl_args), SYCALL_ARG_PTR,
    621  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 229 = compat_14_shmctl */
    622  1.270  christos 	{ ns(struct sys_shmdt_args), SYCALL_ARG_PTR,
    623  1.202       dsl 	    (sy_call_t *)sys_shmdt },		/* 230 = shmdt */
    624  1.223        ad 	{ ns(struct sys_shmget_args), 0,
    625  1.202       dsl 	    (sy_call_t *)sys_shmget },		/* 231 = shmget */
    626   1.28       cgd #else
    627  1.123   thorpej 	{ 0, 0, 0,
    628  1.106  christos 	    sys_nosys },			/* 228 = excluded shmat */
    629  1.123   thorpej 	{ 0, 0, 0,
    630  1.111   thorpej 	    sys_nosys },			/* 229 = excluded compat_14_shmctl */
    631  1.123   thorpej 	{ 0, 0, 0,
    632  1.106  christos 	    sys_nosys },			/* 230 = excluded shmdt */
    633  1.123   thorpej 	{ 0, 0, 0,
    634  1.106  christos 	    sys_nosys },			/* 231 = excluded shmget */
    635   1.28       cgd #endif
    636  1.270  christos 	{ ns(struct compat_50_sys_clock_gettime_args), SYCALL_ARG_PTR,
    637  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 232 = compat_50_clock_gettime */
    638  1.270  christos 	{ ns(struct compat_50_sys_clock_settime_args), SYCALL_ARG_PTR,
    639  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 233 = compat_50_clock_settime */
    640  1.270  christos 	{ ns(struct compat_50_sys_clock_getres_args), SYCALL_ARG_PTR,
    641  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 234 = compat_50_clock_getres */
    642  1.270  christos 	{ ns(struct sys_timer_create_args), SYCALL_ARG_PTR,
    643  1.202       dsl 	    (sy_call_t *)sys_timer_create },	/* 235 = timer_create */
    644  1.223        ad 	{ ns(struct sys_timer_delete_args), 0,
    645  1.202       dsl 	    (sy_call_t *)sys_timer_delete },	/* 236 = timer_delete */
    646  1.270  christos 	{ ns(struct compat_50_sys_timer_settime_args), SYCALL_ARG_PTR,
    647  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 237 = compat_50_timer_settime */
    648  1.270  christos 	{ ns(struct compat_50_sys_timer_gettime_args), SYCALL_ARG_PTR,
    649  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 238 = compat_50_timer_gettime */
    650  1.223        ad 	{ ns(struct sys_timer_getoverrun_args), 0,
    651  1.202       dsl 	    (sy_call_t *)sys_timer_getoverrun },/* 239 = timer_getoverrun */
    652  1.270  christos 	{ ns(struct compat_50_sys_nanosleep_args), SYCALL_ARG_PTR,
    653  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 240 = compat_50_nanosleep */
    654  1.223        ad 	{ ns(struct sys_fdatasync_args), 0,
    655  1.202       dsl 	    (sy_call_t *)sys_fdatasync },	/* 241 = fdatasync */
    656  1.223        ad 	{ ns(struct sys_mlockall_args), 0,
    657  1.202       dsl 	    (sy_call_t *)sys_mlockall },	/* 242 = mlockall */
    658  1.223        ad 	{ 0, 0, 0,
    659  1.202       dsl 	    (sy_call_t *)sys_munlockall },	/* 243 = munlockall */
    660  1.270  christos 	{ ns(struct compat_50_sys___sigtimedwait_args), SYCALL_ARG_PTR,
    661  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 244 = compat_50___sigtimedwait */
    662  1.270  christos 	{ ns(struct sys_sigqueueinfo_args), SYCALL_ARG_PTR,
    663  1.249  christos 	    (sy_call_t *)sys_sigqueueinfo },	/* 245 = sigqueueinfo */
    664  1.270  christos 	{ ns(struct sys_modctl_args), SYCALL_ARG_PTR,
    665  1.207        ad 	    (sy_call_t *)sys_modctl },		/* 246 = modctl */
    666  1.270  christos 	{ ns(struct sys__ksem_init_args), SYCALL_ARG_PTR,
    667  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 247 = _ksem_init */
    668  1.270  christos 	{ ns(struct sys__ksem_open_args), SYCALL_ARG_PTR,
    669  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 248 = _ksem_open */
    670  1.270  christos 	{ ns(struct sys__ksem_unlink_args), SYCALL_ARG_PTR,
    671  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 249 = _ksem_unlink */
    672  1.223        ad 	{ ns(struct sys__ksem_close_args), 0,
    673  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 250 = _ksem_close */
    674  1.223        ad 	{ ns(struct sys__ksem_post_args), 0,
    675  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 251 = _ksem_post */
    676  1.223        ad 	{ ns(struct sys__ksem_wait_args), 0,
    677  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 252 = _ksem_wait */
    678  1.223        ad 	{ ns(struct sys__ksem_trywait_args), 0,
    679  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 253 = _ksem_trywait */
    680  1.270  christos 	{ ns(struct sys__ksem_getvalue_args), SYCALL_ARG_PTR,
    681  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 254 = _ksem_getvalue */
    682  1.223        ad 	{ ns(struct sys__ksem_destroy_args), 0,
    683  1.231        ad 	    (sy_call_t *)sys_nomodule },	/* 255 = _ksem_destroy */
    684  1.270  christos 	{ ns(struct sys__ksem_timedwait_args), SYCALL_ARG_PTR,
    685  1.264     joerg 	    (sy_call_t *)sys_nomodule },	/* 256 = _ksem_timedwait */
    686  1.270  christos 	{ ns(struct sys_mq_open_args), SYCALL_ARG_PTR,
    687  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 257 = mq_open */
    688  1.223        ad 	{ ns(struct sys_mq_close_args), 0,
    689  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 258 = mq_close */
    690  1.270  christos 	{ ns(struct sys_mq_unlink_args), SYCALL_ARG_PTR,
    691  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 259 = mq_unlink */
    692  1.270  christos 	{ ns(struct sys_mq_getattr_args), SYCALL_ARG_PTR,
    693  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 260 = mq_getattr */
    694  1.270  christos 	{ ns(struct sys_mq_setattr_args), SYCALL_ARG_PTR,
    695  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 261 = mq_setattr */
    696  1.270  christos 	{ ns(struct sys_mq_notify_args), SYCALL_ARG_PTR,
    697  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 262 = mq_notify */
    698  1.270  christos 	{ ns(struct sys_mq_send_args), SYCALL_ARG_PTR,
    699  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 263 = mq_send */
    700  1.270  christos 	{ ns(struct sys_mq_receive_args), SYCALL_ARG_PTR,
    701  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 264 = mq_receive */
    702  1.270  christos 	{ ns(struct compat_50_sys_mq_timedsend_args), SYCALL_ARG_PTR,
    703  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 265 = compat_50_mq_timedsend */
    704  1.270  christos 	{ ns(struct compat_50_sys_mq_timedreceive_args), SYCALL_ARG_PTR,
    705  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 266 = compat_50_mq_timedreceive */
    706  1.123   thorpej 	{ 0, 0, 0,
    707   1.55    kleink 	    sys_nosys },			/* 267 = unimplemented */
    708  1.123   thorpej 	{ 0, 0, 0,
    709   1.55    kleink 	    sys_nosys },			/* 268 = unimplemented */
    710  1.123   thorpej 	{ 0, 0, 0,
    711   1.55    kleink 	    sys_nosys },			/* 269 = unimplemented */
    712  1.270  christos 	{ ns(struct sys___posix_rename_args), SYCALL_ARG_PTR,
    713  1.202       dsl 	    (sy_call_t *)sys___posix_rename },	/* 270 = __posix_rename */
    714  1.270  christos 	{ ns(struct sys_swapctl_args), SYCALL_ARG_PTR,
    715  1.202       dsl 	    (sy_call_t *)sys_swapctl },		/* 271 = swapctl */
    716  1.270  christos 	{ ns(struct compat_30_sys_getdents_args), SYCALL_ARG_PTR,
    717  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 272 = compat_30_getdents */
    718  1.270  christos 	{ ns(struct sys_minherit_args), SYCALL_ARG_PTR,
    719  1.202       dsl 	    (sy_call_t *)sys_minherit },	/* 273 = minherit */
    720  1.270  christos 	{ ns(struct sys_lchmod_args), SYCALL_ARG_PTR,
    721  1.202       dsl 	    (sy_call_t *)sys_lchmod },		/* 274 = lchmod */
    722  1.270  christos 	{ ns(struct sys_lchown_args), SYCALL_ARG_PTR,
    723  1.202       dsl 	    (sy_call_t *)sys_lchown },		/* 275 = lchown */
    724  1.270  christos 	{ ns(struct compat_50_sys_lutimes_args), SYCALL_ARG_PTR,
    725  1.237  christos 	    (sy_call_t *)sys_nomodule },	/* 276 = compat_50_lutimes */
    726  1.270  christos 	{ ns(struct sys___msync13_args), SYCALL_ARG_PTR,
    727  1.202       dsl 	    (sy_call_t *)sys___msync13 },	/* 277 = __msync13 */
    728  1.270  christos 	{ ns(struct compat_30_sys___stat13_args), SYCALL_ARG_PTR,
    729  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 278 = compat_30___stat13 */
    730  1.270  christos 	{ ns(struct compat_30_sys___fstat13_args), SYCALL_ARG_PTR,
    731  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 279 = compat_30___fstat13 */
    732  1.270  christos 	{ ns(struct compat_30_sys___lstat13_args), SYCALL_ARG_PTR,
    733  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 280 = compat_30___lstat13 */
    734  1.270  christos 	{ ns(struct sys___sigaltstack14_args), SYCALL_ARG_PTR,
    735  1.202       dsl 	    (sy_call_t *)sys___sigaltstack14 },	/* 281 = __sigaltstack14 */
    736  1.223        ad 	{ 0, 0, 0,
    737  1.202       dsl 	    (sy_call_t *)sys___vfork14 },	/* 282 = __vfork14 */
    738  1.270  christos 	{ ns(struct sys___posix_chown_args), SYCALL_ARG_PTR,
    739  1.202       dsl 	    (sy_call_t *)sys___posix_chown },	/* 283 = __posix_chown */
    740  1.223        ad 	{ ns(struct sys___posix_fchown_args), 0,
    741  1.202       dsl 	    (sy_call_t *)sys___posix_fchown },	/* 284 = __posix_fchown */
    742  1.270  christos 	{ ns(struct sys___posix_lchown_args), SYCALL_ARG_PTR,
    743  1.202       dsl 	    (sy_call_t *)sys___posix_lchown },	/* 285 = __posix_lchown */
    744  1.223        ad 	{ ns(struct sys_getsid_args), 0,
    745  1.202       dsl 	    (sy_call_t *)sys_getsid },		/* 286 = getsid */
    746  1.270  christos 	{ ns(struct sys___clone_args), SYCALL_ARG_PTR,
    747  1.202       dsl 	    (sy_call_t *)sys___clone },		/* 287 = __clone */
    748  1.223        ad 	{ ns(struct sys_fktrace_args), 0,
    749  1.202       dsl 	    (sy_call_t *)sys_fktrace },		/* 288 = fktrace */
    750  1.270  christos 	{ ns(struct sys_preadv_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
    751  1.202       dsl 	    (sy_call_t *)sys_preadv },		/* 289 = preadv */
    752  1.270  christos 	{ ns(struct sys_pwritev_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
    753  1.202       dsl 	    (sy_call_t *)sys_pwritev },		/* 290 = pwritev */
    754  1.270  christos 	{ ns(struct compat_16_sys___sigaction14_args), SYCALL_ARG_PTR,
    755  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 291 = compat_16___sigaction14 */
    756  1.270  christos 	{ ns(struct sys___sigpending14_args), SYCALL_ARG_PTR,
    757  1.202       dsl 	    (sy_call_t *)sys___sigpending14 },	/* 292 = __sigpending14 */
    758  1.270  christos 	{ ns(struct sys___sigprocmask14_args), SYCALL_ARG_PTR,
    759  1.202       dsl 	    (sy_call_t *)sys___sigprocmask14 },	/* 293 = __sigprocmask14 */
    760  1.270  christos 	{ ns(struct sys___sigsuspend14_args), SYCALL_ARG_PTR,
    761  1.202       dsl 	    (sy_call_t *)sys___sigsuspend14 },	/* 294 = __sigsuspend14 */
    762  1.270  christos 	{ ns(struct compat_16_sys___sigreturn14_args), SYCALL_ARG_PTR,
    763  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 295 = compat_16___sigreturn14 */
    764  1.270  christos 	{ ns(struct sys___getcwd_args), SYCALL_ARG_PTR,
    765  1.202       dsl 	    (sy_call_t *)sys___getcwd },	/* 296 = __getcwd */
    766  1.223        ad 	{ ns(struct sys_fchroot_args), 0,
    767  1.202       dsl 	    (sy_call_t *)sys_fchroot },		/* 297 = fchroot */
    768  1.270  christos 	{ ns(struct compat_30_sys_fhopen_args), SYCALL_ARG_PTR,
    769  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 298 = compat_30_fhopen */
    770  1.270  christos 	{ ns(struct compat_30_sys_fhstat_args), SYCALL_ARG_PTR,
    771  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 299 = compat_30_fhstat */
    772  1.270  christos 	{ ns(struct compat_20_sys_fhstatfs_args), SYCALL_ARG_PTR,
    773  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 300 = compat_20_fhstatfs */
    774  1.234        ad #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    775  1.270  christos 	{ ns(struct compat_50_sys_____semctl13_args), SYCALL_ARG_PTR,
    776  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 301 = compat_50_____semctl13 */
    777  1.111   thorpej #else
    778  1.123   thorpej 	{ 0, 0, 0,
    779  1.113  christos 	    sys_nosys },			/* 301 = excluded ____semctl13 */
    780  1.111   thorpej #endif
    781  1.234        ad #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    782  1.270  christos 	{ ns(struct compat_50_sys___msgctl13_args), SYCALL_ARG_PTR,
    783  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 302 = compat_50___msgctl13 */
    784  1.111   thorpej #else
    785  1.123   thorpej 	{ 0, 0, 0,
    786  1.111   thorpej 	    sys_nosys },			/* 302 = excluded __msgctl13 */
    787  1.111   thorpej #endif
    788  1.234        ad #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    789  1.270  christos 	{ ns(struct compat_50_sys___shmctl13_args), SYCALL_ARG_PTR,
    790  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 303 = compat_50___shmctl13 */
    791  1.111   thorpej #else
    792  1.123   thorpej 	{ 0, 0, 0,
    793  1.111   thorpej 	    sys_nosys },			/* 303 = excluded __shmctl13 */
    794  1.111   thorpej #endif
    795  1.270  christos 	{ ns(struct sys_lchflags_args), SYCALL_ARG_PTR,
    796  1.202       dsl 	    (sy_call_t *)sys_lchflags },	/* 304 = lchflags */
    797  1.223        ad 	{ 0, 0, 0,
    798  1.202       dsl 	    (sy_call_t *)sys_issetugid },	/* 305 = issetugid */
    799  1.270  christos 	{ ns(struct sys_utrace_args), SYCALL_ARG_PTR,
    800  1.202       dsl 	    (sy_call_t *)sys_utrace },		/* 306 = utrace */
    801  1.270  christos 	{ ns(struct sys_getcontext_args), SYCALL_ARG_PTR,
    802  1.202       dsl 	    (sy_call_t *)sys_getcontext },	/* 307 = getcontext */
    803  1.270  christos 	{ ns(struct sys_setcontext_args), SYCALL_ARG_PTR,
    804  1.202       dsl 	    (sy_call_t *)sys_setcontext },	/* 308 = setcontext */
    805  1.270  christos 	{ ns(struct sys__lwp_create_args), SYCALL_ARG_PTR,
    806  1.202       dsl 	    (sy_call_t *)sys__lwp_create },	/* 309 = _lwp_create */
    807  1.223        ad 	{ 0, 0, 0,
    808  1.202       dsl 	    (sy_call_t *)sys__lwp_exit },	/* 310 = _lwp_exit */
    809  1.223        ad 	{ 0, 0, 0,
    810  1.202       dsl 	    (sy_call_t *)sys__lwp_self },	/* 311 = _lwp_self */
    811  1.270  christos 	{ ns(struct sys__lwp_wait_args), SYCALL_ARG_PTR,
    812  1.202       dsl 	    (sy_call_t *)sys__lwp_wait },	/* 312 = _lwp_wait */
    813  1.223        ad 	{ ns(struct sys__lwp_suspend_args), 0,
    814  1.202       dsl 	    (sy_call_t *)sys__lwp_suspend },	/* 313 = _lwp_suspend */
    815  1.223        ad 	{ ns(struct sys__lwp_continue_args), 0,
    816  1.202       dsl 	    (sy_call_t *)sys__lwp_continue },	/* 314 = _lwp_continue */
    817  1.223        ad 	{ ns(struct sys__lwp_wakeup_args), 0,
    818  1.202       dsl 	    (sy_call_t *)sys__lwp_wakeup },	/* 315 = _lwp_wakeup */
    819  1.223        ad 	{ 0, 0, 0,
    820  1.202       dsl 	    (sy_call_t *)sys__lwp_getprivate },	/* 316 = _lwp_getprivate */
    821  1.270  christos 	{ ns(struct sys__lwp_setprivate_args), SYCALL_ARG_PTR,
    822  1.202       dsl 	    (sy_call_t *)sys__lwp_setprivate },	/* 317 = _lwp_setprivate */
    823  1.223        ad 	{ ns(struct sys__lwp_kill_args), 0,
    824  1.202       dsl 	    (sy_call_t *)sys__lwp_kill },	/* 318 = _lwp_kill */
    825  1.223        ad 	{ ns(struct sys__lwp_detach_args), 0,
    826  1.202       dsl 	    (sy_call_t *)sys__lwp_detach },	/* 319 = _lwp_detach */
    827  1.270  christos 	{ ns(struct compat_50_sys__lwp_park_args), SYCALL_ARG_PTR,
    828  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 320 = compat_50__lwp_park */
    829  1.270  christos 	{ ns(struct sys__lwp_unpark_args), SYCALL_ARG_PTR,
    830  1.202       dsl 	    (sy_call_t *)sys__lwp_unpark },	/* 321 = _lwp_unpark */
    831  1.270  christos 	{ ns(struct sys__lwp_unpark_all_args), SYCALL_ARG_PTR,
    832  1.202       dsl 	    (sy_call_t *)sys__lwp_unpark_all },	/* 322 = _lwp_unpark_all */
    833  1.270  christos 	{ ns(struct sys__lwp_setname_args), SYCALL_ARG_PTR,
    834  1.202       dsl 	    (sy_call_t *)sys__lwp_setname },	/* 323 = _lwp_setname */
    835  1.270  christos 	{ ns(struct sys__lwp_getname_args), SYCALL_ARG_PTR,
    836  1.202       dsl 	    (sy_call_t *)sys__lwp_getname },	/* 324 = _lwp_getname */
    837  1.270  christos 	{ ns(struct sys__lwp_ctl_args), SYCALL_ARG_PTR,
    838  1.202       dsl 	    (sy_call_t *)sys__lwp_ctl },	/* 325 = _lwp_ctl */
    839  1.123   thorpej 	{ 0, 0, 0,
    840  1.123   thorpej 	    sys_nosys },			/* 326 = unimplemented */
    841  1.123   thorpej 	{ 0, 0, 0,
    842  1.123   thorpej 	    sys_nosys },			/* 327 = unimplemented */
    843  1.123   thorpej 	{ 0, 0, 0,
    844  1.123   thorpej 	    sys_nosys },			/* 328 = unimplemented */
    845  1.123   thorpej 	{ 0, 0, 0,
    846  1.123   thorpej 	    sys_nosys },			/* 329 = unimplemented */
    847  1.270  christos 	{ ns(struct compat_60_sys_sa_register_args), SYCALL_ARG_PTR,
    848  1.262      matt 	    (sy_call_t *)compat_60(sys_sa_register) },/* 330 = compat_60_sa_register */
    849  1.270  christos 	{ ns(struct compat_60_sys_sa_stacks_args), SYCALL_ARG_PTR,
    850  1.262      matt 	    (sy_call_t *)compat_60(sys_sa_stacks) },/* 331 = compat_60_sa_stacks */
    851  1.262      matt 	{ 0, 0, 0,
    852  1.262      matt 	    (sy_call_t *)compat_60(sys_sa_enable) },/* 332 = compat_60_sa_enable */
    853  1.262      matt 	{ ns(struct compat_60_sys_sa_setconcurrency_args), 0,
    854  1.262      matt 	    (sy_call_t *)compat_60(sys_sa_setconcurrency) },/* 333 = compat_60_sa_setconcurrency */
    855  1.262      matt 	{ 0, 0, 0,
    856  1.262      matt 	    (sy_call_t *)compat_60(sys_sa_yield) },/* 334 = compat_60_sa_yield */
    857  1.262      matt 	{ ns(struct compat_60_sys_sa_preempt_args), 0,
    858  1.262      matt 	    (sy_call_t *)compat_60(sys_sa_preempt) },/* 335 = compat_60_sa_preempt */
    859  1.223        ad 	{ 0, 0, 0,
    860  1.228  wrstuden 	    sys_nosys },			/* 336 = obsolete sys_sa_unblockyield */
    861  1.123   thorpej 	{ 0, 0, 0,
    862  1.123   thorpej 	    sys_nosys },			/* 337 = unimplemented */
    863  1.123   thorpej 	{ 0, 0, 0,
    864  1.123   thorpej 	    sys_nosys },			/* 338 = unimplemented */
    865  1.123   thorpej 	{ 0, 0, 0,
    866  1.123   thorpej 	    sys_nosys },			/* 339 = unimplemented */
    867  1.270  christos 	{ ns(struct sys___sigaction_sigtramp_args), SYCALL_ARG_PTR,
    868  1.202       dsl 	    (sy_call_t *)sys___sigaction_sigtramp },/* 340 = __sigaction_sigtramp */
    869  1.270  christos 	{ ns(struct sys_pmc_get_info_args), SYCALL_ARG_PTR,
    870  1.202       dsl 	    (sy_call_t *)sys_pmc_get_info },	/* 341 = pmc_get_info */
    871  1.270  christos 	{ ns(struct sys_pmc_control_args), SYCALL_ARG_PTR,
    872  1.202       dsl 	    (sy_call_t *)sys_pmc_control },	/* 342 = pmc_control */
    873  1.270  christos 	{ ns(struct sys_rasctl_args), SYCALL_ARG_PTR,
    874  1.202       dsl 	    (sy_call_t *)sys_rasctl },		/* 343 = rasctl */
    875  1.223        ad 	{ 0, 0, 0,
    876  1.202       dsl 	    (sy_call_t *)sys_kqueue },		/* 344 = kqueue */
    877  1.270  christos 	{ ns(struct compat_50_sys_kevent_args), SYCALL_ARG_PTR,
    878  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 345 = compat_50_kevent */
    879  1.270  christos 	{ ns(struct sys__sched_setparam_args), SYCALL_ARG_PTR,
    880  1.206     rmind 	    (sy_call_t *)sys__sched_setparam },	/* 346 = _sched_setparam */
    881  1.270  christos 	{ ns(struct sys__sched_getparam_args), SYCALL_ARG_PTR,
    882  1.206     rmind 	    (sy_call_t *)sys__sched_getparam },	/* 347 = _sched_getparam */
    883  1.270  christos 	{ ns(struct sys__sched_setaffinity_args), SYCALL_ARG_PTR,
    884  1.206     rmind 	    (sy_call_t *)sys__sched_setaffinity },/* 348 = _sched_setaffinity */
    885  1.270  christos 	{ ns(struct sys__sched_getaffinity_args), SYCALL_ARG_PTR,
    886  1.206     rmind 	    (sy_call_t *)sys__sched_getaffinity },/* 349 = _sched_getaffinity */
    887  1.223        ad 	{ 0, 0, 0,
    888  1.202       dsl 	    (sy_call_t *)sys_sched_yield },	/* 350 = sched_yield */
    889  1.123   thorpej 	{ 0, 0, 0,
    890  1.206     rmind 	    sys_nosys },			/* 351 = unimplemented */
    891  1.123   thorpej 	{ 0, 0, 0,
    892  1.206     rmind 	    sys_nosys },			/* 352 = unimplemented */
    893  1.123   thorpej 	{ 0, 0, 0,
    894  1.206     rmind 	    sys_nosys },			/* 353 = unimplemented */
    895  1.242      matt 	{ ns(struct sys_fsync_range_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
    896  1.202       dsl 	    (sy_call_t *)sys_fsync_range },	/* 354 = fsync_range */
    897  1.270  christos 	{ ns(struct sys_uuidgen_args), SYCALL_ARG_PTR,
    898  1.202       dsl 	    (sy_call_t *)sys_uuidgen },		/* 355 = uuidgen */
    899  1.270  christos 	{ ns(struct sys_getvfsstat_args), SYCALL_ARG_PTR,
    900  1.202       dsl 	    (sy_call_t *)sys_getvfsstat },	/* 356 = getvfsstat */
    901  1.270  christos 	{ ns(struct sys_statvfs1_args), SYCALL_ARG_PTR,
    902  1.202       dsl 	    (sy_call_t *)sys_statvfs1 },	/* 357 = statvfs1 */
    903  1.270  christos 	{ ns(struct sys_fstatvfs1_args), SYCALL_ARG_PTR,
    904  1.202       dsl 	    (sy_call_t *)sys_fstatvfs1 },	/* 358 = fstatvfs1 */
    905  1.270  christos 	{ ns(struct compat_30_sys_fhstatvfs1_args), SYCALL_ARG_PTR,
    906  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 359 = compat_30_fhstatvfs1 */
    907  1.270  christos 	{ ns(struct sys_extattrctl_args), SYCALL_ARG_PTR,
    908  1.202       dsl 	    (sy_call_t *)sys_extattrctl },	/* 360 = extattrctl */
    909  1.270  christos 	{ ns(struct sys_extattr_set_file_args), SYCALL_ARG_PTR,
    910  1.202       dsl 	    (sy_call_t *)sys_extattr_set_file },/* 361 = extattr_set_file */
    911  1.270  christos 	{ ns(struct sys_extattr_get_file_args), SYCALL_ARG_PTR,
    912  1.202       dsl 	    (sy_call_t *)sys_extattr_get_file },/* 362 = extattr_get_file */
    913  1.270  christos 	{ ns(struct sys_extattr_delete_file_args), SYCALL_ARG_PTR,
    914  1.202       dsl 	    (sy_call_t *)sys_extattr_delete_file },/* 363 = extattr_delete_file */
    915  1.270  christos 	{ ns(struct sys_extattr_set_fd_args), SYCALL_ARG_PTR,
    916  1.202       dsl 	    (sy_call_t *)sys_extattr_set_fd },	/* 364 = extattr_set_fd */
    917  1.270  christos 	{ ns(struct sys_extattr_get_fd_args), SYCALL_ARG_PTR,
    918  1.202       dsl 	    (sy_call_t *)sys_extattr_get_fd },	/* 365 = extattr_get_fd */
    919  1.270  christos 	{ ns(struct sys_extattr_delete_fd_args), SYCALL_ARG_PTR,
    920  1.202       dsl 	    (sy_call_t *)sys_extattr_delete_fd },/* 366 = extattr_delete_fd */
    921  1.270  christos 	{ ns(struct sys_extattr_set_link_args), SYCALL_ARG_PTR,
    922  1.202       dsl 	    (sy_call_t *)sys_extattr_set_link },/* 367 = extattr_set_link */
    923  1.270  christos 	{ ns(struct sys_extattr_get_link_args), SYCALL_ARG_PTR,
    924  1.202       dsl 	    (sy_call_t *)sys_extattr_get_link },/* 368 = extattr_get_link */
    925  1.270  christos 	{ ns(struct sys_extattr_delete_link_args), SYCALL_ARG_PTR,
    926  1.202       dsl 	    (sy_call_t *)sys_extattr_delete_link },/* 369 = extattr_delete_link */
    927  1.270  christos 	{ ns(struct sys_extattr_list_fd_args), SYCALL_ARG_PTR,
    928  1.202       dsl 	    (sy_call_t *)sys_extattr_list_fd },	/* 370 = extattr_list_fd */
    929  1.270  christos 	{ ns(struct sys_extattr_list_file_args), SYCALL_ARG_PTR,
    930  1.202       dsl 	    (sy_call_t *)sys_extattr_list_file },/* 371 = extattr_list_file */
    931  1.270  christos 	{ ns(struct sys_extattr_list_link_args), SYCALL_ARG_PTR,
    932  1.202       dsl 	    (sy_call_t *)sys_extattr_list_link },/* 372 = extattr_list_link */
    933  1.270  christos 	{ ns(struct compat_50_sys_pselect_args), SYCALL_ARG_PTR,
    934  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 373 = compat_50_pselect */
    935  1.270  christos 	{ ns(struct compat_50_sys_pollts_args), SYCALL_ARG_PTR,
    936  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 374 = compat_50_pollts */
    937  1.270  christos 	{ ns(struct sys_setxattr_args), SYCALL_ARG_PTR,
    938  1.202       dsl 	    (sy_call_t *)sys_setxattr },	/* 375 = setxattr */
    939  1.270  christos 	{ ns(struct sys_lsetxattr_args), SYCALL_ARG_PTR,
    940  1.202       dsl 	    (sy_call_t *)sys_lsetxattr },	/* 376 = lsetxattr */
    941  1.270  christos 	{ ns(struct sys_fsetxattr_args), SYCALL_ARG_PTR,
    942  1.202       dsl 	    (sy_call_t *)sys_fsetxattr },	/* 377 = fsetxattr */
    943  1.270  christos 	{ ns(struct sys_getxattr_args), SYCALL_ARG_PTR,
    944  1.202       dsl 	    (sy_call_t *)sys_getxattr },	/* 378 = getxattr */
    945  1.270  christos 	{ ns(struct sys_lgetxattr_args), SYCALL_ARG_PTR,
    946  1.202       dsl 	    (sy_call_t *)sys_lgetxattr },	/* 379 = lgetxattr */
    947  1.270  christos 	{ ns(struct sys_fgetxattr_args), SYCALL_ARG_PTR,
    948  1.202       dsl 	    (sy_call_t *)sys_fgetxattr },	/* 380 = fgetxattr */
    949  1.270  christos 	{ ns(struct sys_listxattr_args), SYCALL_ARG_PTR,
    950  1.202       dsl 	    (sy_call_t *)sys_listxattr },	/* 381 = listxattr */
    951  1.270  christos 	{ ns(struct sys_llistxattr_args), SYCALL_ARG_PTR,
    952  1.202       dsl 	    (sy_call_t *)sys_llistxattr },	/* 382 = llistxattr */
    953  1.270  christos 	{ ns(struct sys_flistxattr_args), SYCALL_ARG_PTR,
    954  1.202       dsl 	    (sy_call_t *)sys_flistxattr },	/* 383 = flistxattr */
    955  1.270  christos 	{ ns(struct sys_removexattr_args), SYCALL_ARG_PTR,
    956  1.202       dsl 	    (sy_call_t *)sys_removexattr },	/* 384 = removexattr */
    957  1.270  christos 	{ ns(struct sys_lremovexattr_args), SYCALL_ARG_PTR,
    958  1.202       dsl 	    (sy_call_t *)sys_lremovexattr },	/* 385 = lremovexattr */
    959  1.270  christos 	{ ns(struct sys_fremovexattr_args), SYCALL_ARG_PTR,
    960  1.202       dsl 	    (sy_call_t *)sys_fremovexattr },	/* 386 = fremovexattr */
    961  1.270  christos 	{ ns(struct compat_50_sys___stat30_args), SYCALL_ARG_PTR,
    962  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 387 = compat_50___stat30 */
    963  1.270  christos 	{ ns(struct compat_50_sys___fstat30_args), SYCALL_ARG_PTR,
    964  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 388 = compat_50___fstat30 */
    965  1.270  christos 	{ ns(struct compat_50_sys___lstat30_args), SYCALL_ARG_PTR,
    966  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 389 = compat_50___lstat30 */
    967  1.270  christos 	{ ns(struct sys___getdents30_args), SYCALL_ARG_PTR,
    968  1.202       dsl 	    (sy_call_t *)sys___getdents30 },	/* 390 = __getdents30 */
    969  1.213    martin 	{ 0, 0, 0,
    970  1.213    martin 	    (sy_call_t *)nullop },			/* 391 = ignored old posix_fadvise */
    971  1.270  christos 	{ ns(struct compat_30_sys___fhstat30_args), SYCALL_ARG_PTR,
    972  1.234        ad 	    (sy_call_t *)sys_nomodule },	/* 392 = compat_30___fhstat30 */
    973  1.270  christos 	{ ns(struct compat_50_sys___ntp_gettime30_args), SYCALL_ARG_PTR,
    974  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 393 = compat_50___ntp_gettime30 */
    975  1.200       dsl 	{ ns(struct sys___socket30_args), 0,
    976  1.202       dsl 	    (sy_call_t *)sys___socket30 },	/* 394 = __socket30 */
    977  1.270  christos 	{ ns(struct sys___getfh30_args), SYCALL_ARG_PTR,
    978  1.202       dsl 	    (sy_call_t *)sys___getfh30 },	/* 395 = __getfh30 */
    979  1.270  christos 	{ ns(struct sys___fhopen40_args), SYCALL_ARG_PTR,
    980  1.202       dsl 	    (sy_call_t *)sys___fhopen40 },	/* 396 = __fhopen40 */
    981  1.270  christos 	{ ns(struct sys___fhstatvfs140_args), SYCALL_ARG_PTR,
    982  1.202       dsl 	    (sy_call_t *)sys___fhstatvfs140 },	/* 397 = __fhstatvfs140 */
    983  1.270  christos 	{ ns(struct compat_50_sys___fhstat40_args), SYCALL_ARG_PTR,
    984  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 398 = compat_50___fhstat40 */
    985  1.270  christos 	{ ns(struct sys_aio_cancel_args), SYCALL_ARG_PTR,
    986  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 399 = aio_cancel */
    987  1.270  christos 	{ ns(struct sys_aio_error_args), SYCALL_ARG_PTR,
    988  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 400 = aio_error */
    989  1.270  christos 	{ ns(struct sys_aio_fsync_args), SYCALL_ARG_PTR,
    990  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 401 = aio_fsync */
    991  1.270  christos 	{ ns(struct sys_aio_read_args), SYCALL_ARG_PTR,
    992  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 402 = aio_read */
    993  1.270  christos 	{ ns(struct sys_aio_return_args), SYCALL_ARG_PTR,
    994  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 403 = aio_return */
    995  1.270  christos 	{ ns(struct compat_50_sys_aio_suspend_args), SYCALL_ARG_PTR,
    996  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 404 = compat_50_aio_suspend */
    997  1.270  christos 	{ ns(struct sys_aio_write_args), SYCALL_ARG_PTR,
    998  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 405 = aio_write */
    999  1.270  christos 	{ ns(struct sys_lio_listio_args), SYCALL_ARG_PTR,
   1000  1.233        ad 	    (sy_call_t *)sys_nomodule },	/* 406 = lio_listio */
   1001  1.123   thorpej 	{ 0, 0, 0,
   1002  1.191       dsl 	    sys_nosys },			/* 407 = unimplemented */
   1003  1.123   thorpej 	{ 0, 0, 0,
   1004  1.191       dsl 	    sys_nosys },			/* 408 = unimplemented */
   1005  1.123   thorpej 	{ 0, 0, 0,
   1006  1.191       dsl 	    sys_nosys },			/* 409 = unimplemented */
   1007  1.270  christos 	{ ns(struct sys___mount50_args), SYCALL_ARG_PTR,
   1008  1.202       dsl 	    (sy_call_t *)sys___mount50 },	/* 410 = __mount50 */
   1009  1.270  christos 	{ ns(struct sys_mremap_args), SYCALL_ARG_PTR,
   1010  1.202       dsl 	    (sy_call_t *)sys_mremap },		/* 411 = mremap */
   1011  1.270  christos 	{ ns(struct sys_pset_create_args), SYCALL_ARG_PTR,
   1012  1.206     rmind 	    (sy_call_t *)sys_pset_create },	/* 412 = pset_create */
   1013  1.223        ad 	{ ns(struct sys_pset_destroy_args), 0,
   1014  1.206     rmind 	    (sy_call_t *)sys_pset_destroy },	/* 413 = pset_destroy */
   1015  1.270  christos 	{ ns(struct sys_pset_assign_args), SYCALL_ARG_PTR,
   1016  1.206     rmind 	    (sy_call_t *)sys_pset_assign },	/* 414 = pset_assign */
   1017  1.270  christos 	{ ns(struct sys__pset_bind_args), SYCALL_ARG_PTR,
   1018  1.206     rmind 	    (sy_call_t *)sys__pset_bind },	/* 415 = _pset_bind */
   1019  1.242      matt 	{ ns(struct sys___posix_fadvise50_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1020  1.209    martin 	    (sy_call_t *)sys___posix_fadvise50 },/* 416 = __posix_fadvise50 */
   1021  1.270  christos 	{ ns(struct sys___select50_args), SYCALL_ARG_PTR,
   1022  1.235  christos 	    (sy_call_t *)sys___select50 },	/* 417 = __select50 */
   1023  1.270  christos 	{ ns(struct sys___gettimeofday50_args), SYCALL_ARG_PTR,
   1024  1.235  christos 	    (sy_call_t *)sys___gettimeofday50 },/* 418 = __gettimeofday50 */
   1025  1.270  christos 	{ ns(struct sys___settimeofday50_args), SYCALL_ARG_PTR,
   1026  1.235  christos 	    (sy_call_t *)sys___settimeofday50 },/* 419 = __settimeofday50 */
   1027  1.270  christos 	{ ns(struct sys___utimes50_args), SYCALL_ARG_PTR,
   1028  1.235  christos 	    (sy_call_t *)sys___utimes50 },	/* 420 = __utimes50 */
   1029  1.270  christos 	{ ns(struct sys___adjtime50_args), SYCALL_ARG_PTR,
   1030  1.235  christos 	    (sy_call_t *)sys___adjtime50 },	/* 421 = __adjtime50 */
   1031  1.270  christos 	{ ns(struct sys___lfs_segwait50_args), SYCALL_ARG_PTR,
   1032  1.245     pooka 	    (sy_call_t *)sys_nomodule },	/* 422 = __lfs_segwait50 */
   1033  1.270  christos 	{ ns(struct sys___futimes50_args), SYCALL_ARG_PTR,
   1034  1.235  christos 	    (sy_call_t *)sys___futimes50 },	/* 423 = __futimes50 */
   1035  1.270  christos 	{ ns(struct sys___lutimes50_args), SYCALL_ARG_PTR,
   1036  1.235  christos 	    (sy_call_t *)sys___lutimes50 },	/* 424 = __lutimes50 */
   1037  1.270  christos 	{ ns(struct sys___setitimer50_args), SYCALL_ARG_PTR,
   1038  1.235  christos 	    (sy_call_t *)sys___setitimer50 },	/* 425 = __setitimer50 */
   1039  1.270  christos 	{ ns(struct sys___getitimer50_args), SYCALL_ARG_PTR,
   1040  1.235  christos 	    (sy_call_t *)sys___getitimer50 },	/* 426 = __getitimer50 */
   1041  1.270  christos 	{ ns(struct sys___clock_gettime50_args), SYCALL_ARG_PTR,
   1042  1.235  christos 	    (sy_call_t *)sys___clock_gettime50 },/* 427 = __clock_gettime50 */
   1043  1.270  christos 	{ ns(struct sys___clock_settime50_args), SYCALL_ARG_PTR,
   1044  1.235  christos 	    (sy_call_t *)sys___clock_settime50 },/* 428 = __clock_settime50 */
   1045  1.270  christos 	{ ns(struct sys___clock_getres50_args), SYCALL_ARG_PTR,
   1046  1.235  christos 	    (sy_call_t *)sys___clock_getres50 },/* 429 = __clock_getres50 */
   1047  1.270  christos 	{ ns(struct sys___nanosleep50_args), SYCALL_ARG_PTR,
   1048  1.235  christos 	    (sy_call_t *)sys___nanosleep50 },	/* 430 = __nanosleep50 */
   1049  1.270  christos 	{ ns(struct sys_____sigtimedwait50_args), SYCALL_ARG_PTR,
   1050  1.235  christos 	    (sy_call_t *)sys_____sigtimedwait50 },/* 431 = ____sigtimedwait50 */
   1051  1.270  christos 	{ ns(struct sys___mq_timedsend50_args), SYCALL_ARG_PTR,
   1052  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 432 = __mq_timedsend50 */
   1053  1.270  christos 	{ ns(struct sys___mq_timedreceive50_args), SYCALL_ARG_PTR,
   1054  1.240     rmind 	    (sy_call_t *)sys_nomodule },	/* 433 = __mq_timedreceive50 */
   1055  1.271  christos 	{ ns(struct compat_60_sys__lwp_park_args), SYCALL_ARG_PTR,
   1056  1.271  christos 	    (sy_call_t *)sys_nomodule },	/* 434 = compat_60__lwp_park */
   1057  1.270  christos 	{ ns(struct sys___kevent50_args), SYCALL_ARG_PTR,
   1058  1.235  christos 	    (sy_call_t *)sys___kevent50 },	/* 435 = __kevent50 */
   1059  1.270  christos 	{ ns(struct sys___pselect50_args), SYCALL_ARG_PTR,
   1060  1.235  christos 	    (sy_call_t *)sys___pselect50 },	/* 436 = __pselect50 */
   1061  1.270  christos 	{ ns(struct sys___pollts50_args), SYCALL_ARG_PTR,
   1062  1.235  christos 	    (sy_call_t *)sys___pollts50 },	/* 437 = __pollts50 */
   1063  1.270  christos 	{ ns(struct sys___aio_suspend50_args), SYCALL_ARG_PTR,
   1064  1.235  christos 	    (sy_call_t *)sys_nomodule },	/* 438 = __aio_suspend50 */
   1065  1.270  christos 	{ ns(struct sys___stat50_args), SYCALL_ARG_PTR,
   1066  1.235  christos 	    (sy_call_t *)sys___stat50 },	/* 439 = __stat50 */
   1067  1.270  christos 	{ ns(struct sys___fstat50_args), SYCALL_ARG_PTR,
   1068  1.235  christos 	    (sy_call_t *)sys___fstat50 },	/* 440 = __fstat50 */
   1069  1.270  christos 	{ ns(struct sys___lstat50_args), SYCALL_ARG_PTR,
   1070  1.235  christos 	    (sy_call_t *)sys___lstat50 },	/* 441 = __lstat50 */
   1071  1.235  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
   1072  1.270  christos 	{ ns(struct sys_____semctl50_args), SYCALL_ARG_PTR,
   1073  1.235  christos 	    (sy_call_t *)sys_____semctl50 },	/* 442 = ____semctl50 */
   1074  1.235  christos #else
   1075  1.123   thorpej 	{ 0, 0, 0,
   1076  1.235  christos 	    sys_nosys },			/* 442 = excluded ____semctl50 */
   1077  1.235  christos #endif
   1078  1.235  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
   1079  1.270  christos 	{ ns(struct sys___shmctl50_args), SYCALL_ARG_PTR,
   1080  1.235  christos 	    (sy_call_t *)sys___shmctl50 },	/* 443 = __shmctl50 */
   1081  1.235  christos #else
   1082  1.123   thorpej 	{ 0, 0, 0,
   1083  1.235  christos 	    sys_nosys },			/* 443 = excluded ____shmctl50 */
   1084  1.235  christos #endif
   1085  1.235  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
   1086  1.270  christos 	{ ns(struct sys___msgctl50_args), SYCALL_ARG_PTR,
   1087  1.235  christos 	    (sy_call_t *)sys___msgctl50 },	/* 444 = __msgctl50 */
   1088  1.235  christos #else
   1089  1.123   thorpej 	{ 0, 0, 0,
   1090  1.235  christos 	    sys_nosys },			/* 444 = excluded ____msgctl50 */
   1091  1.235  christos #endif
   1092  1.270  christos 	{ ns(struct sys___getrusage50_args), SYCALL_ARG_PTR,
   1093  1.235  christos 	    (sy_call_t *)sys___getrusage50 },	/* 445 = __getrusage50 */
   1094  1.270  christos 	{ ns(struct sys___timer_settime50_args), SYCALL_ARG_PTR,
   1095  1.235  christos 	    (sy_call_t *)sys___timer_settime50 },/* 446 = __timer_settime50 */
   1096  1.270  christos 	{ ns(struct sys___timer_gettime50_args), SYCALL_ARG_PTR,
   1097  1.235  christos 	    (sy_call_t *)sys___timer_gettime50 },/* 447 = __timer_gettime50 */
   1098  1.235  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   1099  1.270  christos 	{ ns(struct sys___ntp_gettime50_args), SYCALL_ARG_PTR,
   1100  1.235  christos 	    (sy_call_t *)sys___ntp_gettime50 },	/* 448 = __ntp_gettime50 */
   1101  1.235  christos #else
   1102  1.123   thorpej 	{ 0, 0, 0,
   1103  1.235  christos 	    sys_nosys },			/* 448 = excluded ___ntp_gettime50 */
   1104  1.235  christos #endif
   1105  1.270  christos 	{ ns(struct sys___wait450_args), SYCALL_ARG_PTR,
   1106  1.235  christos 	    (sy_call_t *)sys___wait450 },	/* 449 = __wait450 */
   1107  1.270  christos 	{ ns(struct sys___mknod50_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_ARG_PTR,
   1108  1.235  christos 	    (sy_call_t *)sys___mknod50 },	/* 450 = __mknod50 */
   1109  1.270  christos 	{ ns(struct sys___fhstat50_args), SYCALL_ARG_PTR,
   1110  1.235  christos 	    (sy_call_t *)sys___fhstat50 },	/* 451 = __fhstat50 */
   1111  1.259  dholland 	{ 0, 0, 0,
   1112  1.259  dholland 	    sys_nosys },			/* 452 = obsolete 5.99 quotactl */
   1113  1.270  christos 	{ ns(struct sys_pipe2_args), SYCALL_ARG_PTR,
   1114  1.255  christos 	    (sy_call_t *)sys_pipe2 },		/* 453 = pipe2 */
   1115  1.255  christos 	{ ns(struct sys_dup3_args), 0,
   1116  1.255  christos 	    (sy_call_t *)sys_dup3 },		/* 454 = dup3 */
   1117  1.255  christos 	{ ns(struct sys_kqueue1_args), 0,
   1118  1.255  christos 	    (sy_call_t *)sys_kqueue1 },		/* 455 = kqueue1 */
   1119  1.270  christos 	{ ns(struct sys_paccept_args), SYCALL_ARG_PTR,
   1120  1.255  christos 	    (sy_call_t *)sys_paccept },		/* 456 = paccept */
   1121  1.270  christos 	{ ns(struct sys_linkat_args), SYCALL_ARG_PTR,
   1122  1.257      manu 	    (sy_call_t *)sys_linkat },		/* 457 = linkat */
   1123  1.270  christos 	{ ns(struct sys_renameat_args), SYCALL_ARG_PTR,
   1124  1.257      manu 	    (sy_call_t *)sys_renameat },	/* 458 = renameat */
   1125  1.270  christos 	{ ns(struct sys_mkfifoat_args), SYCALL_ARG_PTR,
   1126  1.257      manu 	    (sy_call_t *)sys_mkfifoat },	/* 459 = mkfifoat */
   1127  1.275     njoly 	{ ns(struct sys_mknodat_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
   1128  1.257      manu 	    (sy_call_t *)sys_mknodat },		/* 460 = mknodat */
   1129  1.270  christos 	{ ns(struct sys_mkdirat_args), SYCALL_ARG_PTR,
   1130  1.257      manu 	    (sy_call_t *)sys_mkdirat },		/* 461 = mkdirat */
   1131  1.270  christos 	{ ns(struct sys_faccessat_args), SYCALL_ARG_PTR,
   1132  1.257      manu 	    (sy_call_t *)sys_faccessat },	/* 462 = faccessat */
   1133  1.270  christos 	{ ns(struct sys_fchmodat_args), SYCALL_ARG_PTR,
   1134  1.257      manu 	    (sy_call_t *)sys_fchmodat },	/* 463 = fchmodat */
   1135  1.270  christos 	{ ns(struct sys_fchownat_args), SYCALL_ARG_PTR,
   1136  1.257      manu 	    (sy_call_t *)sys_fchownat },	/* 464 = fchownat */
   1137  1.270  christos 	{ ns(struct sys_fexecve_args), SYCALL_ARG_PTR,
   1138  1.257      manu 	    (sy_call_t *)sys_fexecve },		/* 465 = fexecve */
   1139  1.270  christos 	{ ns(struct sys_fstatat_args), SYCALL_ARG_PTR,
   1140  1.257      manu 	    (sy_call_t *)sys_fstatat },		/* 466 = fstatat */
   1141  1.270  christos 	{ ns(struct sys_utimensat_args), SYCALL_ARG_PTR,
   1142  1.257      manu 	    (sy_call_t *)sys_utimensat },	/* 467 = utimensat */
   1143  1.270  christos 	{ ns(struct sys_openat_args), SYCALL_ARG_PTR,
   1144  1.257      manu 	    (sy_call_t *)sys_openat },		/* 468 = openat */
   1145  1.270  christos 	{ ns(struct sys_readlinkat_args), SYCALL_ARG_PTR,
   1146  1.257      manu 	    (sy_call_t *)sys_readlinkat },	/* 469 = readlinkat */
   1147  1.270  christos 	{ ns(struct sys_symlinkat_args), SYCALL_ARG_PTR,
   1148  1.257      manu 	    (sy_call_t *)sys_symlinkat },	/* 470 = symlinkat */
   1149  1.270  christos 	{ ns(struct sys_unlinkat_args), SYCALL_ARG_PTR,
   1150  1.257      manu 	    (sy_call_t *)sys_unlinkat },	/* 471 = unlinkat */
   1151  1.270  christos 	{ ns(struct sys_futimens_args), SYCALL_ARG_PTR,
   1152  1.258      manu 	    (sy_call_t *)sys_futimens },	/* 472 = futimens */
   1153  1.270  christos 	{ ns(struct sys___quotactl_args), SYCALL_ARG_PTR,
   1154  1.259  dholland 	    (sy_call_t *)sys___quotactl },	/* 473 = __quotactl */
   1155  1.270  christos 	{ ns(struct sys_posix_spawn_args), SYCALL_ARG_PTR,
   1156  1.261    martin 	    (sy_call_t *)sys_posix_spawn },	/* 474 = posix_spawn */
   1157  1.270  christos 	{ ns(struct sys_recvmmsg_args), SYCALL_ARG_PTR,
   1158  1.266  christos 	    (sy_call_t *)sys_recvmmsg },	/* 475 = recvmmsg */
   1159  1.270  christos 	{ ns(struct sys_sendmmsg_args), SYCALL_ARG_PTR,
   1160  1.266  christos 	    (sy_call_t *)sys_sendmmsg },	/* 476 = sendmmsg */
   1161  1.270  christos 	{ ns(struct sys_clock_nanosleep_args), SYCALL_ARG_PTR,
   1162  1.270  christos 	    (sy_call_t *)sys_clock_nanosleep },	/* 477 = clock_nanosleep */
   1163  1.271  christos 	{ ns(struct sys____lwp_park60_args), SYCALL_ARG_PTR,
   1164  1.271  christos 	    (sy_call_t *)sys____lwp_park60 },	/* 478 = ___lwp_park60 */
   1165  1.287  dholland 	{ ns(struct sys_posix_fallocate_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1166  1.287  dholland 	    (sy_call_t *)sys_posix_fallocate },	/* 479 = posix_fallocate */
   1167  1.287  dholland 	{ ns(struct sys_fdiscard_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1168  1.287  dholland 	    (sy_call_t *)sys_fdiscard },	/* 480 = fdiscard */
   1169  1.123   thorpej 	{ 0, 0, 0,
   1170  1.119   mycroft 	    sys_nosys },			/* 481 = filler */
   1171  1.123   thorpej 	{ 0, 0, 0,
   1172  1.119   mycroft 	    sys_nosys },			/* 482 = filler */
   1173  1.123   thorpej 	{ 0, 0, 0,
   1174  1.119   mycroft 	    sys_nosys },			/* 483 = filler */
   1175  1.123   thorpej 	{ 0, 0, 0,
   1176  1.119   mycroft 	    sys_nosys },			/* 484 = filler */
   1177  1.123   thorpej 	{ 0, 0, 0,
   1178  1.119   mycroft 	    sys_nosys },			/* 485 = filler */
   1179  1.123   thorpej 	{ 0, 0, 0,
   1180  1.119   mycroft 	    sys_nosys },			/* 486 = filler */
   1181  1.123   thorpej 	{ 0, 0, 0,
   1182  1.119   mycroft 	    sys_nosys },			/* 487 = filler */
   1183  1.123   thorpej 	{ 0, 0, 0,
   1184  1.119   mycroft 	    sys_nosys },			/* 488 = filler */
   1185  1.123   thorpej 	{ 0, 0, 0,
   1186  1.119   mycroft 	    sys_nosys },			/* 489 = filler */
   1187  1.123   thorpej 	{ 0, 0, 0,
   1188  1.119   mycroft 	    sys_nosys },			/* 490 = filler */
   1189  1.123   thorpej 	{ 0, 0, 0,
   1190  1.119   mycroft 	    sys_nosys },			/* 491 = filler */
   1191  1.123   thorpej 	{ 0, 0, 0,
   1192  1.119   mycroft 	    sys_nosys },			/* 492 = filler */
   1193  1.123   thorpej 	{ 0, 0, 0,
   1194  1.119   mycroft 	    sys_nosys },			/* 493 = filler */
   1195  1.123   thorpej 	{ 0, 0, 0,
   1196  1.119   mycroft 	    sys_nosys },			/* 494 = filler */
   1197  1.123   thorpej 	{ 0, 0, 0,
   1198  1.119   mycroft 	    sys_nosys },			/* 495 = filler */
   1199  1.123   thorpej 	{ 0, 0, 0,
   1200  1.119   mycroft 	    sys_nosys },			/* 496 = filler */
   1201  1.123   thorpej 	{ 0, 0, 0,
   1202  1.119   mycroft 	    sys_nosys },			/* 497 = filler */
   1203  1.123   thorpej 	{ 0, 0, 0,
   1204  1.119   mycroft 	    sys_nosys },			/* 498 = filler */
   1205  1.123   thorpej 	{ 0, 0, 0,
   1206  1.119   mycroft 	    sys_nosys },			/* 499 = filler */
   1207  1.123   thorpej 	{ 0, 0, 0,
   1208  1.119   mycroft 	    sys_nosys },			/* 500 = filler */
   1209  1.123   thorpej 	{ 0, 0, 0,
   1210  1.119   mycroft 	    sys_nosys },			/* 501 = filler */
   1211  1.123   thorpej 	{ 0, 0, 0,
   1212  1.119   mycroft 	    sys_nosys },			/* 502 = filler */
   1213  1.123   thorpej 	{ 0, 0, 0,
   1214  1.119   mycroft 	    sys_nosys },			/* 503 = filler */
   1215  1.123   thorpej 	{ 0, 0, 0,
   1216  1.119   mycroft 	    sys_nosys },			/* 504 = filler */
   1217  1.123   thorpej 	{ 0, 0, 0,
   1218  1.119   mycroft 	    sys_nosys },			/* 505 = filler */
   1219  1.123   thorpej 	{ 0, 0, 0,
   1220  1.119   mycroft 	    sys_nosys },			/* 506 = filler */
   1221  1.123   thorpej 	{ 0, 0, 0,
   1222  1.119   mycroft 	    sys_nosys },			/* 507 = filler */
   1223  1.123   thorpej 	{ 0, 0, 0,
   1224  1.119   mycroft 	    sys_nosys },			/* 508 = filler */
   1225  1.123   thorpej 	{ 0, 0, 0,
   1226  1.119   mycroft 	    sys_nosys },			/* 509 = filler */
   1227  1.123   thorpej 	{ 0, 0, 0,
   1228  1.119   mycroft 	    sys_nosys },			/* 510 = filler */
   1229  1.123   thorpej 	{ 0, 0, 0,
   1230  1.119   mycroft 	    sys_nosys },			/* 511 = filler */
   1231    1.1       cgd };
   1232