Home | History | Annotate | Line # | Download | only in kern
init_sysent.c revision 1.145
      1  1.117       cgd /* $NetBSD: init_sysent.c,v 1.145 2003/09/10 16:44:12 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.145  christos  * created from	NetBSD: syscalls.master,v 1.129 2003/09/10 16:43:35 christos Exp
      8    1.1       cgd  */
      9    1.1       cgd 
     10  1.128     lukem #include <sys/cdefs.h>
     11  1.128     lukem __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.145 2003/09/10 16:44:12 christos Exp $");
     12  1.128     lukem 
     13   1.90   thorpej #include "opt_ktrace.h"
     14   1.91   thorpej #include "opt_nfsserver.h"
     15  1.116     bjh21 #include "opt_ntp.h"
     16   1.94  jonathan #include "opt_compat_netbsd.h"
     17   1.99      tron #include "opt_sysv.h"
     18  1.101  christos #include "opt_compat_43.h"
     19  1.138  christos #include "opt_posix.h"
     20   1.81   thorpej #include "fs_lfs.h"
     21   1.81   thorpej #include "fs_nfs.h"
     22   1.17       cgd #include <sys/param.h>
     23   1.17       cgd #include <sys/systm.h>
     24   1.28       cgd #include <sys/signal.h>
     25   1.28       cgd #include <sys/mount.h>
     26  1.136   thorpej #include <sys/sa.h>
     27   1.28       cgd #include <sys/syscallargs.h>
     28   1.37   mycroft 
     29   1.37   mycroft #ifdef COMPAT_43
     30  1.126     lukem #define	compat_43(func) __CONCAT(compat_43_,func)
     31   1.37   mycroft #else
     32  1.126     lukem #define	compat_43(func) sys_nosys
     33   1.37   mycroft #endif
     34   1.37   mycroft 
     35   1.37   mycroft #ifdef COMPAT_09
     36  1.126     lukem #define	compat_09(func) __CONCAT(compat_09_,func)
     37   1.37   mycroft #else
     38  1.126     lukem #define	compat_09(func) sys_nosys
     39   1.37   mycroft #endif
     40   1.37   mycroft 
     41   1.37   mycroft #ifdef COMPAT_10
     42  1.126     lukem #define	compat_10(func) __CONCAT(compat_10_,func)
     43   1.37   mycroft #else
     44  1.126     lukem #define	compat_10(func) sys_nosys
     45   1.37   mycroft #endif
     46   1.37   mycroft 
     47   1.43       mrg #ifdef COMPAT_11
     48  1.126     lukem #define	compat_11(func) __CONCAT(compat_11_,func)
     49   1.43       mrg #else
     50  1.126     lukem #define	compat_11(func) sys_nosys
     51   1.43       mrg #endif
     52   1.43       mrg 
     53   1.43       mrg #ifdef COMPAT_12
     54  1.126     lukem #define	compat_12(func) __CONCAT(compat_12_,func)
     55   1.43       mrg #else
     56  1.126     lukem #define	compat_12(func) sys_nosys
     57   1.43       mrg #endif
     58   1.43       mrg 
     59   1.71    kleink #ifdef COMPAT_13
     60  1.126     lukem #define	compat_13(func) __CONCAT(compat_13_,func)
     61   1.71    kleink #else
     62  1.126     lukem #define	compat_13(func) sys_nosys
     63   1.71    kleink #endif
     64   1.71    kleink 
     65  1.111   thorpej #ifdef COMPAT_14
     66  1.126     lukem #define	compat_14(func) __CONCAT(compat_14_,func)
     67  1.111   thorpej #else
     68  1.126     lukem #define	compat_14(func) sys_nosys
     69  1.111   thorpej #endif
     70  1.111   thorpej 
     71  1.145  christos #ifdef COMPAT_15
     72  1.145  christos #define	compat_15(func) __CONCAT(compat_15_,func)
     73  1.145  christos #else
     74  1.145  christos #define	compat_15(func) sys_nosys
     75  1.145  christos #endif
     76  1.145  christos 
     77  1.145  christos #ifdef COMPAT_16
     78  1.145  christos #define	compat_16(func) __CONCAT(compat_16_,func)
     79  1.145  christos #else
     80  1.145  christos #define	compat_16(func) sys_nosys
     81  1.145  christos #endif
     82  1.145  christos 
     83   1.28       cgd #define	s(type)	sizeof(type)
     84   1.28       cgd 
     85   1.28       cgd struct sysent sysent[] = {
     86  1.123   thorpej 	{ 0, 0, 0,
     87   1.51       cgd 	    sys_nosys },			/* 0 = syscall (indir) */
     88  1.123   thorpej 	{ 1, s(struct sys_exit_args), 0,
     89   1.37   mycroft 	    sys_exit },				/* 1 = exit */
     90  1.123   thorpej 	{ 0, 0, 0,
     91   1.37   mycroft 	    sys_fork },				/* 2 = fork */
     92  1.123   thorpej 	{ 3, s(struct sys_read_args), 0,
     93   1.37   mycroft 	    sys_read },				/* 3 = read */
     94  1.123   thorpej 	{ 3, s(struct sys_write_args), 0,
     95   1.37   mycroft 	    sys_write },			/* 4 = write */
     96  1.123   thorpej 	{ 3, s(struct sys_open_args), 0,
     97   1.37   mycroft 	    sys_open },				/* 5 = open */
     98  1.123   thorpej 	{ 1, s(struct sys_close_args), 0,
     99   1.37   mycroft 	    sys_close },			/* 6 = close */
    100  1.123   thorpej 	{ 4, s(struct sys_wait4_args), 0,
    101   1.37   mycroft 	    sys_wait4 },			/* 7 = wait4 */
    102  1.123   thorpej 	{ 2, s(struct compat_43_sys_creat_args), 0,
    103   1.38   mycroft 	    compat_43(sys_creat) },		/* 8 = compat_43 ocreat */
    104  1.123   thorpej 	{ 2, s(struct sys_link_args), 0,
    105   1.37   mycroft 	    sys_link },				/* 9 = link */
    106  1.123   thorpej 	{ 1, s(struct sys_unlink_args), 0,
    107   1.37   mycroft 	    sys_unlink },			/* 10 = unlink */
    108  1.123   thorpej 	{ 0, 0, 0,
    109   1.37   mycroft 	    sys_nosys },			/* 11 = obsolete execv */
    110  1.123   thorpej 	{ 1, s(struct sys_chdir_args), 0,
    111   1.37   mycroft 	    sys_chdir },			/* 12 = chdir */
    112  1.123   thorpej 	{ 1, s(struct sys_fchdir_args), 0,
    113   1.37   mycroft 	    sys_fchdir },			/* 13 = fchdir */
    114  1.123   thorpej 	{ 3, s(struct sys_mknod_args), 0,
    115   1.37   mycroft 	    sys_mknod },			/* 14 = mknod */
    116  1.123   thorpej 	{ 2, s(struct sys_chmod_args), 0,
    117   1.37   mycroft 	    sys_chmod },			/* 15 = chmod */
    118  1.123   thorpej 	{ 3, s(struct sys_chown_args), 0,
    119   1.37   mycroft 	    sys_chown },			/* 16 = chown */
    120  1.123   thorpej 	{ 1, s(struct sys_obreak_args), 0,
    121   1.37   mycroft 	    sys_obreak },			/* 17 = break */
    122  1.123   thorpej 	{ 3, s(struct sys_getfsstat_args), 0,
    123   1.37   mycroft 	    sys_getfsstat },			/* 18 = getfsstat */
    124  1.123   thorpej 	{ 3, s(struct compat_43_sys_lseek_args), 0,
    125   1.38   mycroft 	    compat_43(sys_lseek) },		/* 19 = compat_43 olseek */
    126  1.120   mycroft #ifdef COMPAT_43
    127  1.123   thorpej 	{ 0, 0, 0,
    128  1.120   mycroft 	    sys_getpid_with_ppid },		/* 20 = getpid */
    129  1.120   mycroft #else
    130  1.124   thorpej 	{ 0, 0, SYCALL_MPSAFE | 0,
    131   1.37   mycroft 	    sys_getpid },			/* 20 = getpid */
    132  1.120   mycroft #endif
    133  1.123   thorpej 	{ 4, s(struct sys_mount_args), 0,
    134   1.37   mycroft 	    sys_mount },			/* 21 = mount */
    135  1.123   thorpej 	{ 2, s(struct sys_unmount_args), 0,
    136   1.37   mycroft 	    sys_unmount },			/* 22 = unmount */
    137  1.123   thorpej 	{ 1, s(struct sys_setuid_args), 0,
    138   1.37   mycroft 	    sys_setuid },			/* 23 = setuid */
    139  1.120   mycroft #ifdef COMPAT_43
    140  1.123   thorpej 	{ 0, 0, 0,
    141  1.120   mycroft 	    sys_getuid_with_euid },		/* 24 = getuid */
    142  1.120   mycroft #else
    143  1.123   thorpej 	{ 0, 0, 0,
    144   1.37   mycroft 	    sys_getuid },			/* 24 = getuid */
    145  1.120   mycroft #endif
    146  1.123   thorpej 	{ 0, 0, 0,
    147   1.37   mycroft 	    sys_geteuid },			/* 25 = geteuid */
    148  1.123   thorpej 	{ 4, s(struct sys_ptrace_args), 0,
    149   1.37   mycroft 	    sys_ptrace },			/* 26 = ptrace */
    150  1.123   thorpej 	{ 3, s(struct sys_recvmsg_args), 0,
    151   1.37   mycroft 	    sys_recvmsg },			/* 27 = recvmsg */
    152  1.123   thorpej 	{ 3, s(struct sys_sendmsg_args), 0,
    153   1.37   mycroft 	    sys_sendmsg },			/* 28 = sendmsg */
    154  1.123   thorpej 	{ 6, s(struct sys_recvfrom_args), 0,
    155   1.37   mycroft 	    sys_recvfrom },			/* 29 = recvfrom */
    156  1.123   thorpej 	{ 3, s(struct sys_accept_args), 0,
    157   1.37   mycroft 	    sys_accept },			/* 30 = accept */
    158  1.123   thorpej 	{ 3, s(struct sys_getpeername_args), 0,
    159   1.37   mycroft 	    sys_getpeername },			/* 31 = getpeername */
    160  1.123   thorpej 	{ 3, s(struct sys_getsockname_args), 0,
    161   1.37   mycroft 	    sys_getsockname },			/* 32 = getsockname */
    162  1.123   thorpej 	{ 2, s(struct sys_access_args), 0,
    163   1.37   mycroft 	    sys_access },			/* 33 = access */
    164  1.123   thorpej 	{ 2, s(struct sys_chflags_args), 0,
    165   1.37   mycroft 	    sys_chflags },			/* 34 = chflags */
    166  1.123   thorpej 	{ 2, s(struct sys_fchflags_args), 0,
    167   1.37   mycroft 	    sys_fchflags },			/* 35 = fchflags */
    168  1.123   thorpej 	{ 0, 0, 0,
    169   1.37   mycroft 	    sys_sync },				/* 36 = sync */
    170  1.123   thorpej 	{ 2, s(struct sys_kill_args), 0,
    171   1.37   mycroft 	    sys_kill },				/* 37 = kill */
    172  1.123   thorpej 	{ 2, s(struct compat_43_sys_stat_args), 0,
    173   1.66  christos 	    compat_43(sys_stat) },		/* 38 = compat_43 stat43 */
    174  1.123   thorpej 	{ 0, 0, 0,
    175   1.37   mycroft 	    sys_getppid },			/* 39 = getppid */
    176  1.123   thorpej 	{ 2, s(struct compat_43_sys_lstat_args), 0,
    177   1.66  christos 	    compat_43(sys_lstat) },		/* 40 = compat_43 lstat43 */
    178  1.123   thorpej 	{ 1, s(struct sys_dup_args), 0,
    179   1.37   mycroft 	    sys_dup },				/* 41 = dup */
    180  1.123   thorpej 	{ 0, 0, 0,
    181   1.37   mycroft 	    sys_pipe },				/* 42 = pipe */
    182  1.123   thorpej 	{ 0, 0, 0,
    183   1.37   mycroft 	    sys_getegid },			/* 43 = getegid */
    184  1.123   thorpej 	{ 4, s(struct sys_profil_args), 0,
    185   1.37   mycroft 	    sys_profil },			/* 44 = profil */
    186  1.106  christos #if defined(KTRACE) || !defined(_KERNEL)
    187  1.123   thorpej 	{ 4, s(struct sys_ktrace_args), 0,
    188   1.37   mycroft 	    sys_ktrace },			/* 45 = ktrace */
    189   1.28       cgd #else
    190  1.123   thorpej 	{ 0, 0, 0,
    191  1.106  christos 	    sys_nosys },			/* 45 = excluded ktrace */
    192   1.28       cgd #endif
    193  1.123   thorpej 	{ 3, s(struct compat_13_sys_sigaction_args), 0,
    194   1.95   mycroft 	    compat_13(sys_sigaction) },		/* 46 = compat_13 sigaction13 */
    195  1.120   mycroft #ifdef COMPAT_43
    196  1.123   thorpej 	{ 0, 0, 0,
    197  1.120   mycroft 	    sys_getgid_with_egid },		/* 47 = getgid */
    198  1.120   mycroft #else
    199  1.123   thorpej 	{ 0, 0, 0,
    200   1.37   mycroft 	    sys_getgid },			/* 47 = getgid */
    201  1.120   mycroft #endif
    202  1.123   thorpej 	{ 2, s(struct compat_13_sys_sigprocmask_args), 0,
    203   1.95   mycroft 	    compat_13(sys_sigprocmask) },	/* 48 = compat_13 sigprocmask13 */
    204  1.123   thorpej 	{ 2, s(struct sys___getlogin_args), 0,
    205   1.46       jtc 	    sys___getlogin },			/* 49 = __getlogin */
    206  1.136   thorpej 	{ 1, s(struct sys___setlogin_args), 0,
    207  1.136   thorpej 	    sys___setlogin },			/* 50 = __setlogin */
    208  1.123   thorpej 	{ 1, s(struct sys_acct_args), 0,
    209   1.37   mycroft 	    sys_acct },				/* 51 = acct */
    210  1.123   thorpej 	{ 0, 0, 0,
    211   1.95   mycroft 	    compat_13(sys_sigpending) },	/* 52 = compat_13 sigpending13 */
    212  1.123   thorpej 	{ 2, s(struct compat_13_sys_sigaltstack_args), 0,
    213   1.71    kleink 	    compat_13(sys_sigaltstack) },	/* 53 = compat_13 sigaltstack13 */
    214  1.123   thorpej 	{ 3, s(struct sys_ioctl_args), 0,
    215   1.37   mycroft 	    sys_ioctl },			/* 54 = ioctl */
    216  1.123   thorpej 	{ 1, s(struct compat_12_sys_reboot_args), 0,
    217   1.43       mrg 	    compat_12(sys_reboot) },		/* 55 = compat_12 oreboot */
    218  1.123   thorpej 	{ 1, s(struct sys_revoke_args), 0,
    219   1.37   mycroft 	    sys_revoke },			/* 56 = revoke */
    220  1.123   thorpej 	{ 2, s(struct sys_symlink_args), 0,
    221   1.37   mycroft 	    sys_symlink },			/* 57 = symlink */
    222  1.123   thorpej 	{ 3, s(struct sys_readlink_args), 0,
    223   1.37   mycroft 	    sys_readlink },			/* 58 = readlink */
    224  1.123   thorpej 	{ 3, s(struct sys_execve_args), 0,
    225   1.37   mycroft 	    sys_execve },			/* 59 = execve */
    226  1.123   thorpej 	{ 1, s(struct sys_umask_args), 0,
    227   1.37   mycroft 	    sys_umask },			/* 60 = umask */
    228  1.123   thorpej 	{ 1, s(struct sys_chroot_args), 0,
    229   1.37   mycroft 	    sys_chroot },			/* 61 = chroot */
    230  1.123   thorpej 	{ 2, s(struct compat_43_sys_fstat_args), 0,
    231   1.66  christos 	    compat_43(sys_fstat) },		/* 62 = compat_43 fstat43 */
    232  1.123   thorpej 	{ 4, s(struct compat_43_sys_getkerninfo_args), 0,
    233   1.38   mycroft 	    compat_43(sys_getkerninfo) },	/* 63 = compat_43 ogetkerninfo */
    234  1.123   thorpej 	{ 0, 0, 0,
    235   1.38   mycroft 	    compat_43(sys_getpagesize) },	/* 64 = compat_43 ogetpagesize */
    236  1.123   thorpej 	{ 2, s(struct compat_12_sys_msync_args), 0,
    237   1.66  christos 	    compat_12(sys_msync) },		/* 65 = compat_12 msync */
    238  1.123   thorpej 	{ 0, 0, 0,
    239   1.37   mycroft 	    sys_vfork },			/* 66 = vfork */
    240  1.123   thorpej 	{ 0, 0, 0,
    241   1.37   mycroft 	    sys_nosys },			/* 67 = obsolete vread */
    242  1.123   thorpej 	{ 0, 0, 0,
    243   1.37   mycroft 	    sys_nosys },			/* 68 = obsolete vwrite */
    244  1.123   thorpej 	{ 1, s(struct sys_sbrk_args), 0,
    245   1.37   mycroft 	    sys_sbrk },				/* 69 = sbrk */
    246  1.123   thorpej 	{ 1, s(struct sys_sstk_args), 0,
    247   1.37   mycroft 	    sys_sstk },				/* 70 = sstk */
    248  1.123   thorpej 	{ 6, s(struct compat_43_sys_mmap_args), 0,
    249   1.38   mycroft 	    compat_43(sys_mmap) },		/* 71 = compat_43 ommap */
    250  1.123   thorpej 	{ 1, s(struct sys_ovadvise_args), 0,
    251   1.37   mycroft 	    sys_ovadvise },			/* 72 = vadvise */
    252  1.123   thorpej 	{ 2, s(struct sys_munmap_args), 0,
    253   1.37   mycroft 	    sys_munmap },			/* 73 = munmap */
    254  1.123   thorpej 	{ 3, s(struct sys_mprotect_args), 0,
    255   1.37   mycroft 	    sys_mprotect },			/* 74 = mprotect */
    256  1.123   thorpej 	{ 3, s(struct sys_madvise_args), 0,
    257   1.37   mycroft 	    sys_madvise },			/* 75 = madvise */
    258  1.123   thorpej 	{ 0, 0, 0,
    259   1.37   mycroft 	    sys_nosys },			/* 76 = obsolete vhangup */
    260  1.123   thorpej 	{ 0, 0, 0,
    261   1.37   mycroft 	    sys_nosys },			/* 77 = obsolete vlimit */
    262  1.123   thorpej 	{ 3, s(struct sys_mincore_args), 0,
    263   1.37   mycroft 	    sys_mincore },			/* 78 = mincore */
    264  1.123   thorpej 	{ 2, s(struct sys_getgroups_args), 0,
    265   1.37   mycroft 	    sys_getgroups },			/* 79 = getgroups */
    266  1.123   thorpej 	{ 2, s(struct sys_setgroups_args), 0,
    267   1.37   mycroft 	    sys_setgroups },			/* 80 = setgroups */
    268  1.123   thorpej 	{ 0, 0, 0,
    269   1.37   mycroft 	    sys_getpgrp },			/* 81 = getpgrp */
    270  1.123   thorpej 	{ 2, s(struct sys_setpgid_args), 0,
    271   1.37   mycroft 	    sys_setpgid },			/* 82 = setpgid */
    272  1.123   thorpej 	{ 3, s(struct sys_setitimer_args), 0,
    273   1.37   mycroft 	    sys_setitimer },			/* 83 = setitimer */
    274  1.123   thorpej 	{ 0, 0, 0,
    275   1.38   mycroft 	    compat_43(sys_wait) },		/* 84 = compat_43 owait */
    276  1.123   thorpej 	{ 1, s(struct compat_12_sys_swapon_args), 0,
    277   1.58       mrg 	    compat_12(sys_swapon) },		/* 85 = compat_12 oswapon */
    278  1.123   thorpej 	{ 2, s(struct sys_getitimer_args), 0,
    279   1.37   mycroft 	    sys_getitimer },			/* 86 = getitimer */
    280  1.123   thorpej 	{ 2, s(struct compat_43_sys_gethostname_args), 0,
    281   1.38   mycroft 	    compat_43(sys_gethostname) },	/* 87 = compat_43 ogethostname */
    282  1.123   thorpej 	{ 2, s(struct compat_43_sys_sethostname_args), 0,
    283   1.38   mycroft 	    compat_43(sys_sethostname) },	/* 88 = compat_43 osethostname */
    284  1.123   thorpej 	{ 0, 0, 0,
    285   1.38   mycroft 	    compat_43(sys_getdtablesize) },	/* 89 = compat_43 ogetdtablesize */
    286  1.123   thorpej 	{ 2, s(struct sys_dup2_args), 0,
    287   1.37   mycroft 	    sys_dup2 },				/* 90 = dup2 */
    288  1.123   thorpej 	{ 0, 0, 0,
    289   1.37   mycroft 	    sys_nosys },			/* 91 = unimplemented getdopt */
    290  1.123   thorpej 	{ 3, s(struct sys_fcntl_args), 0,
    291   1.37   mycroft 	    sys_fcntl },			/* 92 = fcntl */
    292  1.123   thorpej 	{ 5, s(struct sys_select_args), 0,
    293   1.37   mycroft 	    sys_select },			/* 93 = select */
    294  1.123   thorpej 	{ 0, 0, 0,
    295   1.37   mycroft 	    sys_nosys },			/* 94 = unimplemented setdopt */
    296  1.123   thorpej 	{ 1, s(struct sys_fsync_args), 0,
    297   1.37   mycroft 	    sys_fsync },			/* 95 = fsync */
    298  1.123   thorpej 	{ 3, s(struct sys_setpriority_args), 0,
    299   1.37   mycroft 	    sys_setpriority },			/* 96 = setpriority */
    300  1.123   thorpej 	{ 3, s(struct sys_socket_args), 0,
    301   1.37   mycroft 	    sys_socket },			/* 97 = socket */
    302  1.123   thorpej 	{ 3, s(struct sys_connect_args), 0,
    303   1.37   mycroft 	    sys_connect },			/* 98 = connect */
    304  1.123   thorpej 	{ 3, s(struct compat_43_sys_accept_args), 0,
    305   1.38   mycroft 	    compat_43(sys_accept) },		/* 99 = compat_43 oaccept */
    306  1.123   thorpej 	{ 2, s(struct sys_getpriority_args), 0,
    307   1.37   mycroft 	    sys_getpriority },			/* 100 = getpriority */
    308  1.123   thorpej 	{ 4, s(struct compat_43_sys_send_args), 0,
    309   1.38   mycroft 	    compat_43(sys_send) },		/* 101 = compat_43 osend */
    310  1.123   thorpej 	{ 4, s(struct compat_43_sys_recv_args), 0,
    311   1.38   mycroft 	    compat_43(sys_recv) },		/* 102 = compat_43 orecv */
    312  1.123   thorpej 	{ 1, s(struct compat_13_sys_sigreturn_args), 0,
    313   1.96   mycroft 	    compat_13(sys_sigreturn) },		/* 103 = compat_13 sigreturn13 */
    314  1.123   thorpej 	{ 3, s(struct sys_bind_args), 0,
    315   1.37   mycroft 	    sys_bind },				/* 104 = bind */
    316  1.123   thorpej 	{ 5, s(struct sys_setsockopt_args), 0,
    317   1.37   mycroft 	    sys_setsockopt },			/* 105 = setsockopt */
    318  1.123   thorpej 	{ 2, s(struct sys_listen_args), 0,
    319   1.37   mycroft 	    sys_listen },			/* 106 = listen */
    320  1.123   thorpej 	{ 0, 0, 0,
    321   1.37   mycroft 	    sys_nosys },			/* 107 = obsolete vtimes */
    322  1.123   thorpej 	{ 3, s(struct compat_43_sys_sigvec_args), 0,
    323   1.38   mycroft 	    compat_43(sys_sigvec) },		/* 108 = compat_43 osigvec */
    324  1.123   thorpej 	{ 1, s(struct compat_43_sys_sigblock_args), 0,
    325   1.38   mycroft 	    compat_43(sys_sigblock) },		/* 109 = compat_43 osigblock */
    326  1.123   thorpej 	{ 1, s(struct compat_43_sys_sigsetmask_args), 0,
    327   1.38   mycroft 	    compat_43(sys_sigsetmask) },	/* 110 = compat_43 osigsetmask */
    328  1.123   thorpej 	{ 1, s(struct compat_13_sys_sigsuspend_args), 0,
    329   1.95   mycroft 	    compat_13(sys_sigsuspend) },	/* 111 = compat_13 sigsuspend13 */
    330  1.123   thorpej 	{ 2, s(struct compat_43_sys_sigstack_args), 0,
    331   1.38   mycroft 	    compat_43(sys_sigstack) },		/* 112 = compat_43 osigstack */
    332  1.123   thorpej 	{ 3, s(struct compat_43_sys_recvmsg_args), 0,
    333   1.38   mycroft 	    compat_43(sys_recvmsg) },		/* 113 = compat_43 orecvmsg */
    334  1.123   thorpej 	{ 3, s(struct compat_43_sys_sendmsg_args), 0,
    335   1.38   mycroft 	    compat_43(sys_sendmsg) },		/* 114 = compat_43 osendmsg */
    336  1.123   thorpej 	{ 0, 0, 0,
    337   1.37   mycroft 	    sys_nosys },			/* 115 = obsolete vtrace */
    338  1.123   thorpej 	{ 2, s(struct sys_gettimeofday_args), 0,
    339   1.37   mycroft 	    sys_gettimeofday },			/* 116 = gettimeofday */
    340  1.123   thorpej 	{ 2, s(struct sys_getrusage_args), 0,
    341   1.37   mycroft 	    sys_getrusage },			/* 117 = getrusage */
    342  1.123   thorpej 	{ 5, s(struct sys_getsockopt_args), 0,
    343   1.37   mycroft 	    sys_getsockopt },			/* 118 = getsockopt */
    344  1.123   thorpej 	{ 0, 0, 0,
    345   1.37   mycroft 	    sys_nosys },			/* 119 = obsolete resuba */
    346  1.123   thorpej 	{ 3, s(struct sys_readv_args), 0,
    347   1.37   mycroft 	    sys_readv },			/* 120 = readv */
    348  1.123   thorpej 	{ 3, s(struct sys_writev_args), 0,
    349   1.37   mycroft 	    sys_writev },			/* 121 = writev */
    350  1.123   thorpej 	{ 2, s(struct sys_settimeofday_args), 0,
    351   1.37   mycroft 	    sys_settimeofday },			/* 122 = settimeofday */
    352  1.123   thorpej 	{ 3, s(struct sys_fchown_args), 0,
    353   1.37   mycroft 	    sys_fchown },			/* 123 = fchown */
    354  1.123   thorpej 	{ 2, s(struct sys_fchmod_args), 0,
    355   1.37   mycroft 	    sys_fchmod },			/* 124 = fchmod */
    356  1.123   thorpej 	{ 6, s(struct compat_43_sys_recvfrom_args), 0,
    357   1.38   mycroft 	    compat_43(sys_recvfrom) },		/* 125 = compat_43 orecvfrom */
    358  1.123   thorpej 	{ 2, s(struct sys_setreuid_args), 0,
    359   1.42   mycroft 	    sys_setreuid },			/* 126 = setreuid */
    360  1.123   thorpej 	{ 2, s(struct sys_setregid_args), 0,
    361   1.42   mycroft 	    sys_setregid },			/* 127 = setregid */
    362  1.123   thorpej 	{ 2, s(struct sys_rename_args), 0,
    363   1.37   mycroft 	    sys_rename },			/* 128 = rename */
    364  1.123   thorpej 	{ 2, s(struct compat_43_sys_truncate_args), 0,
    365   1.38   mycroft 	    compat_43(sys_truncate) },		/* 129 = compat_43 otruncate */
    366  1.123   thorpej 	{ 2, s(struct compat_43_sys_ftruncate_args), 0,
    367   1.38   mycroft 	    compat_43(sys_ftruncate) },		/* 130 = compat_43 oftruncate */
    368  1.123   thorpej 	{ 2, s(struct sys_flock_args), 0,
    369   1.37   mycroft 	    sys_flock },			/* 131 = flock */
    370  1.123   thorpej 	{ 2, s(struct sys_mkfifo_args), 0,
    371   1.37   mycroft 	    sys_mkfifo },			/* 132 = mkfifo */
    372  1.123   thorpej 	{ 6, s(struct sys_sendto_args), 0,
    373   1.37   mycroft 	    sys_sendto },			/* 133 = sendto */
    374  1.123   thorpej 	{ 2, s(struct sys_shutdown_args), 0,
    375   1.37   mycroft 	    sys_shutdown },			/* 134 = shutdown */
    376  1.123   thorpej 	{ 4, s(struct sys_socketpair_args), 0,
    377   1.37   mycroft 	    sys_socketpair },			/* 135 = socketpair */
    378  1.123   thorpej 	{ 2, s(struct sys_mkdir_args), 0,
    379   1.37   mycroft 	    sys_mkdir },			/* 136 = mkdir */
    380  1.123   thorpej 	{ 1, s(struct sys_rmdir_args), 0,
    381   1.37   mycroft 	    sys_rmdir },			/* 137 = rmdir */
    382  1.123   thorpej 	{ 2, s(struct sys_utimes_args), 0,
    383   1.37   mycroft 	    sys_utimes },			/* 138 = utimes */
    384  1.123   thorpej 	{ 0, 0, 0,
    385   1.37   mycroft 	    sys_nosys },			/* 139 = obsolete 4.2 sigreturn */
    386  1.123   thorpej 	{ 2, s(struct sys_adjtime_args), 0,
    387   1.37   mycroft 	    sys_adjtime },			/* 140 = adjtime */
    388  1.123   thorpej 	{ 3, s(struct compat_43_sys_getpeername_args), 0,
    389   1.38   mycroft 	    compat_43(sys_getpeername) },	/* 141 = compat_43 ogetpeername */
    390  1.123   thorpej 	{ 0, 0, 0,
    391   1.38   mycroft 	    compat_43(sys_gethostid) },		/* 142 = compat_43 ogethostid */
    392  1.123   thorpej 	{ 1, s(struct compat_43_sys_sethostid_args), 0,
    393   1.38   mycroft 	    compat_43(sys_sethostid) },		/* 143 = compat_43 osethostid */
    394  1.123   thorpej 	{ 2, s(struct compat_43_sys_getrlimit_args), 0,
    395   1.38   mycroft 	    compat_43(sys_getrlimit) },		/* 144 = compat_43 ogetrlimit */
    396  1.123   thorpej 	{ 2, s(struct compat_43_sys_setrlimit_args), 0,
    397   1.38   mycroft 	    compat_43(sys_setrlimit) },		/* 145 = compat_43 osetrlimit */
    398  1.123   thorpej 	{ 2, s(struct compat_43_sys_killpg_args), 0,
    399   1.38   mycroft 	    compat_43(sys_killpg) },		/* 146 = compat_43 okillpg */
    400  1.123   thorpej 	{ 0, 0, 0,
    401   1.37   mycroft 	    sys_setsid },			/* 147 = setsid */
    402  1.123   thorpej 	{ 4, s(struct sys_quotactl_args), 0,
    403   1.37   mycroft 	    sys_quotactl },			/* 148 = quotactl */
    404  1.123   thorpej 	{ 0, 0, 0,
    405   1.38   mycroft 	    compat_43(sys_quota) },		/* 149 = compat_43 oquota */
    406  1.123   thorpej 	{ 3, s(struct compat_43_sys_getsockname_args), 0,
    407   1.38   mycroft 	    compat_43(sys_getsockname) },	/* 150 = compat_43 ogetsockname */
    408  1.123   thorpej 	{ 0, 0, 0,
    409   1.37   mycroft 	    sys_nosys },			/* 151 = unimplemented */
    410  1.123   thorpej 	{ 0, 0, 0,
    411   1.37   mycroft 	    sys_nosys },			/* 152 = unimplemented */
    412  1.123   thorpej 	{ 0, 0, 0,
    413   1.37   mycroft 	    sys_nosys },			/* 153 = unimplemented */
    414  1.123   thorpej 	{ 0, 0, 0,
    415   1.37   mycroft 	    sys_nosys },			/* 154 = unimplemented */
    416  1.106  christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    417  1.123   thorpej 	{ 2, s(struct sys_nfssvc_args), 0,
    418   1.37   mycroft 	    sys_nfssvc },			/* 155 = nfssvc */
    419   1.28       cgd #else
    420  1.123   thorpej 	{ 0, 0, 0,
    421  1.106  christos 	    sys_nosys },			/* 155 = excluded nfssvc */
    422   1.28       cgd #endif
    423  1.123   thorpej 	{ 4, s(struct compat_43_sys_getdirentries_args), 0,
    424   1.38   mycroft 	    compat_43(sys_getdirentries) },	/* 156 = compat_43 ogetdirentries */
    425  1.123   thorpej 	{ 2, s(struct sys_statfs_args), 0,
    426   1.37   mycroft 	    sys_statfs },			/* 157 = statfs */
    427  1.123   thorpej 	{ 2, s(struct sys_fstatfs_args), 0,
    428   1.37   mycroft 	    sys_fstatfs },			/* 158 = fstatfs */
    429  1.123   thorpej 	{ 0, 0, 0,
    430   1.37   mycroft 	    sys_nosys },			/* 159 = unimplemented */
    431  1.123   thorpej 	{ 0, 0, 0,
    432   1.37   mycroft 	    sys_nosys },			/* 160 = unimplemented */
    433  1.123   thorpej 	{ 2, s(struct sys_getfh_args), 0,
    434   1.37   mycroft 	    sys_getfh },			/* 161 = getfh */
    435  1.123   thorpej 	{ 2, s(struct compat_09_sys_getdomainname_args), 0,
    436   1.38   mycroft 	    compat_09(sys_getdomainname) },	/* 162 = compat_09 ogetdomainname */
    437  1.123   thorpej 	{ 2, s(struct compat_09_sys_setdomainname_args), 0,
    438   1.38   mycroft 	    compat_09(sys_setdomainname) },	/* 163 = compat_09 osetdomainname */
    439  1.123   thorpej 	{ 1, s(struct compat_09_sys_uname_args), 0,
    440   1.38   mycroft 	    compat_09(sys_uname) },		/* 164 = compat_09 ouname */
    441  1.123   thorpej 	{ 2, s(struct sys_sysarch_args), 0,
    442   1.37   mycroft 	    sys_sysarch },			/* 165 = sysarch */
    443  1.123   thorpej 	{ 0, 0, 0,
    444   1.37   mycroft 	    sys_nosys },			/* 166 = unimplemented */
    445  1.123   thorpej 	{ 0, 0, 0,
    446   1.37   mycroft 	    sys_nosys },			/* 167 = unimplemented */
    447  1.123   thorpej 	{ 0, 0, 0,
    448   1.37   mycroft 	    sys_nosys },			/* 168 = unimplemented */
    449  1.129       eeh #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
    450  1.123   thorpej 	{ 5, s(struct compat_10_sys_semsys_args), 0,
    451   1.38   mycroft 	    compat_10(sys_semsys) },		/* 169 = compat_10 osemsys */
    452   1.28       cgd #else
    453  1.123   thorpej 	{ 0, 0, 0,
    454  1.106  christos 	    sys_nosys },			/* 169 = excluded 1.0 semsys */
    455   1.28       cgd #endif
    456  1.129       eeh #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
    457  1.123   thorpej 	{ 6, s(struct compat_10_sys_msgsys_args), 0,
    458   1.38   mycroft 	    compat_10(sys_msgsys) },		/* 170 = compat_10 omsgsys */
    459   1.28       cgd #else
    460  1.123   thorpej 	{ 0, 0, 0,
    461  1.106  christos 	    sys_nosys },			/* 170 = excluded 1.0 msgsys */
    462   1.28       cgd #endif
    463  1.129       eeh #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
    464  1.123   thorpej 	{ 4, s(struct compat_10_sys_shmsys_args), 0,
    465   1.38   mycroft 	    compat_10(sys_shmsys) },		/* 171 = compat_10 oshmsys */
    466   1.28       cgd #else
    467  1.123   thorpej 	{ 0, 0, 0,
    468  1.106  christos 	    sys_nosys },			/* 171 = excluded 1.0 shmsys */
    469   1.28       cgd #endif
    470  1.123   thorpej 	{ 0, 0, 0,
    471   1.37   mycroft 	    sys_nosys },			/* 172 = unimplemented */
    472  1.123   thorpej 	{ 5, s(struct sys_pread_args), 0,
    473   1.92   thorpej 	    sys_pread },			/* 173 = pread */
    474  1.123   thorpej 	{ 5, s(struct sys_pwrite_args), 0,
    475   1.92   thorpej 	    sys_pwrite },			/* 174 = pwrite */
    476  1.123   thorpej 	{ 1, s(struct sys_ntp_gettime_args), 0,
    477   1.47   thorpej 	    sys_ntp_gettime },			/* 175 = ntp_gettime */
    478  1.116     bjh21 #if defined(NTP) || !defined(_KERNEL)
    479  1.123   thorpej 	{ 1, s(struct sys_ntp_adjtime_args), 0,
    480   1.47   thorpej 	    sys_ntp_adjtime },			/* 176 = ntp_adjtime */
    481  1.116     bjh21 #else
    482  1.123   thorpej 	{ 0, 0, 0,
    483  1.116     bjh21 	    sys_nosys },			/* 176 = excluded ntp_adjtime */
    484  1.116     bjh21 #endif
    485  1.123   thorpej 	{ 0, 0, 0,
    486   1.37   mycroft 	    sys_nosys },			/* 177 = unimplemented */
    487  1.123   thorpej 	{ 0, 0, 0,
    488   1.37   mycroft 	    sys_nosys },			/* 178 = unimplemented */
    489  1.123   thorpej 	{ 0, 0, 0,
    490   1.37   mycroft 	    sys_nosys },			/* 179 = unimplemented */
    491  1.123   thorpej 	{ 0, 0, 0,
    492   1.37   mycroft 	    sys_nosys },			/* 180 = unimplemented */
    493  1.123   thorpej 	{ 1, s(struct sys_setgid_args), 0,
    494   1.37   mycroft 	    sys_setgid },			/* 181 = setgid */
    495  1.123   thorpej 	{ 1, s(struct sys_setegid_args), 0,
    496   1.37   mycroft 	    sys_setegid },			/* 182 = setegid */
    497  1.123   thorpej 	{ 1, s(struct sys_seteuid_args), 0,
    498   1.37   mycroft 	    sys_seteuid },			/* 183 = seteuid */
    499  1.106  christos #if defined(LFS) || !defined(_KERNEL)
    500  1.123   thorpej 	{ 3, s(struct sys_lfs_bmapv_args), 0,
    501  1.106  christos 	    sys_lfs_bmapv },			/* 184 = lfs_bmapv */
    502  1.123   thorpej 	{ 3, s(struct sys_lfs_markv_args), 0,
    503  1.106  christos 	    sys_lfs_markv },			/* 185 = lfs_markv */
    504  1.123   thorpej 	{ 2, s(struct sys_lfs_segclean_args), 0,
    505  1.106  christos 	    sys_lfs_segclean },			/* 186 = lfs_segclean */
    506  1.123   thorpej 	{ 2, s(struct sys_lfs_segwait_args), 0,
    507  1.106  christos 	    sys_lfs_segwait },			/* 187 = lfs_segwait */
    508   1.28       cgd #else
    509  1.123   thorpej 	{ 0, 0, 0,
    510  1.106  christos 	    sys_nosys },			/* 184 = excluded lfs_bmapv */
    511  1.123   thorpej 	{ 0, 0, 0,
    512  1.106  christos 	    sys_nosys },			/* 185 = excluded lfs_markv */
    513  1.123   thorpej 	{ 0, 0, 0,
    514  1.106  christos 	    sys_nosys },			/* 186 = excluded lfs_segclean */
    515  1.123   thorpej 	{ 0, 0, 0,
    516  1.106  christos 	    sys_nosys },			/* 187 = excluded lfs_segwait */
    517   1.28       cgd #endif
    518  1.123   thorpej 	{ 2, s(struct compat_12_sys_stat_args), 0,
    519   1.66  christos 	    compat_12(sys_stat) },		/* 188 = compat_12 stat12 */
    520  1.123   thorpej 	{ 2, s(struct compat_12_sys_fstat_args), 0,
    521   1.66  christos 	    compat_12(sys_fstat) },		/* 189 = compat_12 fstat12 */
    522  1.123   thorpej 	{ 2, s(struct compat_12_sys_lstat_args), 0,
    523   1.66  christos 	    compat_12(sys_lstat) },		/* 190 = compat_12 lstat12 */
    524  1.123   thorpej 	{ 2, s(struct sys_pathconf_args), 0,
    525   1.37   mycroft 	    sys_pathconf },			/* 191 = pathconf */
    526  1.123   thorpej 	{ 2, s(struct sys_fpathconf_args), 0,
    527   1.37   mycroft 	    sys_fpathconf },			/* 192 = fpathconf */
    528  1.123   thorpej 	{ 0, 0, 0,
    529   1.37   mycroft 	    sys_nosys },			/* 193 = unimplemented */
    530  1.123   thorpej 	{ 2, s(struct sys_getrlimit_args), 0,
    531   1.37   mycroft 	    sys_getrlimit },			/* 194 = getrlimit */
    532  1.123   thorpej 	{ 2, s(struct sys_setrlimit_args), 0,
    533   1.37   mycroft 	    sys_setrlimit },			/* 195 = setrlimit */
    534  1.123   thorpej 	{ 4, s(struct compat_12_sys_getdirentries_args), 0,
    535   1.63      fvdl 	    compat_12(sys_getdirentries) },	/* 196 = compat_12 getdirentries */
    536  1.123   thorpej 	{ 7, s(struct sys_mmap_args), 0,
    537   1.37   mycroft 	    sys_mmap },				/* 197 = mmap */
    538  1.123   thorpej 	{ 0, 0, 0,
    539   1.51       cgd 	    sys_nosys },			/* 198 = __syscall (indir) */
    540  1.123   thorpej 	{ 4, s(struct sys_lseek_args), 0,
    541   1.37   mycroft 	    sys_lseek },			/* 199 = lseek */
    542  1.123   thorpej 	{ 3, s(struct sys_truncate_args), 0,
    543   1.37   mycroft 	    sys_truncate },			/* 200 = truncate */
    544  1.123   thorpej 	{ 3, s(struct sys_ftruncate_args), 0,
    545   1.37   mycroft 	    sys_ftruncate },			/* 201 = ftruncate */
    546  1.123   thorpej 	{ 6, s(struct sys___sysctl_args), 0,
    547   1.37   mycroft 	    sys___sysctl },			/* 202 = __sysctl */
    548  1.123   thorpej 	{ 2, s(struct sys_mlock_args), 0,
    549   1.37   mycroft 	    sys_mlock },			/* 203 = mlock */
    550  1.123   thorpej 	{ 2, s(struct sys_munlock_args), 0,
    551   1.37   mycroft 	    sys_munlock },			/* 204 = munlock */
    552  1.123   thorpej 	{ 1, s(struct sys_undelete_args), 0,
    553   1.37   mycroft 	    sys_undelete },			/* 205 = undelete */
    554  1.123   thorpej 	{ 2, s(struct sys_futimes_args), 0,
    555   1.41   mycroft 	    sys_futimes },			/* 206 = futimes */
    556  1.123   thorpej 	{ 1, s(struct sys_getpgid_args), 0,
    557   1.43       mrg 	    sys_getpgid },			/* 207 = getpgid */
    558  1.123   thorpej 	{ 2, s(struct sys_reboot_args), 0,
    559   1.43       mrg 	    sys_reboot },			/* 208 = reboot */
    560  1.123   thorpej 	{ 3, s(struct sys_poll_args), 0,
    561   1.44   mycroft 	    sys_poll },				/* 209 = poll */
    562  1.106  christos #if defined(LKM) || !defined(_KERNEL)
    563  1.123   thorpej 	{ 0, 0, 0,
    564   1.37   mycroft 	    sys_lkmnosys },			/* 210 = lkmnosys */
    565  1.123   thorpej 	{ 0, 0, 0,
    566   1.37   mycroft 	    sys_lkmnosys },			/* 211 = lkmnosys */
    567  1.123   thorpej 	{ 0, 0, 0,
    568   1.37   mycroft 	    sys_lkmnosys },			/* 212 = lkmnosys */
    569  1.123   thorpej 	{ 0, 0, 0,
    570   1.37   mycroft 	    sys_lkmnosys },			/* 213 = lkmnosys */
    571  1.123   thorpej 	{ 0, 0, 0,
    572   1.37   mycroft 	    sys_lkmnosys },			/* 214 = lkmnosys */
    573  1.123   thorpej 	{ 0, 0, 0,
    574   1.37   mycroft 	    sys_lkmnosys },			/* 215 = lkmnosys */
    575  1.123   thorpej 	{ 0, 0, 0,
    576   1.37   mycroft 	    sys_lkmnosys },			/* 216 = lkmnosys */
    577  1.123   thorpej 	{ 0, 0, 0,
    578   1.37   mycroft 	    sys_lkmnosys },			/* 217 = lkmnosys */
    579  1.123   thorpej 	{ 0, 0, 0,
    580   1.37   mycroft 	    sys_lkmnosys },			/* 218 = lkmnosys */
    581  1.123   thorpej 	{ 0, 0, 0,
    582   1.37   mycroft 	    sys_lkmnosys },			/* 219 = lkmnosys */
    583   1.16       cgd #else	/* !LKM */
    584  1.123   thorpej 	{ 0, 0, 0,
    585  1.106  christos 	    sys_nosys },			/* 210 = excluded lkmnosys */
    586  1.123   thorpej 	{ 0, 0, 0,
    587  1.106  christos 	    sys_nosys },			/* 211 = excluded lkmnosys */
    588  1.123   thorpej 	{ 0, 0, 0,
    589  1.106  christos 	    sys_nosys },			/* 212 = excluded lkmnosys */
    590  1.123   thorpej 	{ 0, 0, 0,
    591  1.106  christos 	    sys_nosys },			/* 213 = excluded lkmnosys */
    592  1.123   thorpej 	{ 0, 0, 0,
    593  1.106  christos 	    sys_nosys },			/* 214 = excluded lkmnosys */
    594  1.123   thorpej 	{ 0, 0, 0,
    595  1.106  christos 	    sys_nosys },			/* 215 = excluded lkmnosys */
    596  1.123   thorpej 	{ 0, 0, 0,
    597  1.106  christos 	    sys_nosys },			/* 216 = excluded lkmnosys */
    598  1.123   thorpej 	{ 0, 0, 0,
    599  1.106  christos 	    sys_nosys },			/* 217 = excluded lkmnosys */
    600  1.123   thorpej 	{ 0, 0, 0,
    601  1.106  christos 	    sys_nosys },			/* 218 = excluded lkmnosys */
    602  1.123   thorpej 	{ 0, 0, 0,
    603  1.106  christos 	    sys_nosys },			/* 219 = excluded lkmnosys */
    604   1.11    brezak #endif	/* !LKM */
    605  1.106  christos #if defined(SYSVSEM) || !defined(_KERNEL)
    606  1.123   thorpej 	{ 4, s(struct compat_14_sys___semctl_args), 0,
    607  1.111   thorpej 	    compat_14(sys___semctl) },		/* 220 = compat_14 __semctl */
    608  1.123   thorpej 	{ 3, s(struct sys_semget_args), 0,
    609   1.37   mycroft 	    sys_semget },			/* 221 = semget */
    610  1.123   thorpej 	{ 3, s(struct sys_semop_args), 0,
    611   1.37   mycroft 	    sys_semop },			/* 222 = semop */
    612  1.123   thorpej 	{ 1, s(struct sys_semconfig_args), 0,
    613   1.37   mycroft 	    sys_semconfig },			/* 223 = semconfig */
    614   1.28       cgd #else
    615  1.123   thorpej 	{ 0, 0, 0,
    616  1.111   thorpej 	    sys_nosys },			/* 220 = excluded compat_14_semctl */
    617  1.123   thorpej 	{ 0, 0, 0,
    618  1.106  christos 	    sys_nosys },			/* 221 = excluded semget */
    619  1.123   thorpej 	{ 0, 0, 0,
    620  1.106  christos 	    sys_nosys },			/* 222 = excluded semop */
    621  1.123   thorpej 	{ 0, 0, 0,
    622  1.106  christos 	    sys_nosys },			/* 223 = excluded semconfig */
    623   1.28       cgd #endif
    624  1.106  christos #if defined(SYSVMSG) || !defined(_KERNEL)
    625  1.123   thorpej 	{ 3, s(struct compat_14_sys_msgctl_args), 0,
    626  1.111   thorpej 	    compat_14(sys_msgctl) },		/* 224 = compat_14 msgctl */
    627  1.123   thorpej 	{ 2, s(struct sys_msgget_args), 0,
    628   1.37   mycroft 	    sys_msgget },			/* 225 = msgget */
    629  1.123   thorpej 	{ 4, s(struct sys_msgsnd_args), 0,
    630   1.37   mycroft 	    sys_msgsnd },			/* 226 = msgsnd */
    631  1.123   thorpej 	{ 5, s(struct sys_msgrcv_args), 0,
    632   1.37   mycroft 	    sys_msgrcv },			/* 227 = msgrcv */
    633   1.28       cgd #else
    634  1.123   thorpej 	{ 0, 0, 0,
    635  1.111   thorpej 	    sys_nosys },			/* 224 = excluded compat_14_msgctl */
    636  1.123   thorpej 	{ 0, 0, 0,
    637  1.106  christos 	    sys_nosys },			/* 225 = excluded msgget */
    638  1.123   thorpej 	{ 0, 0, 0,
    639  1.106  christos 	    sys_nosys },			/* 226 = excluded msgsnd */
    640  1.123   thorpej 	{ 0, 0, 0,
    641  1.106  christos 	    sys_nosys },			/* 227 = excluded msgrcv */
    642   1.28       cgd #endif
    643  1.106  christos #if defined(SYSVSHM) || !defined(_KERNEL)
    644  1.123   thorpej 	{ 3, s(struct sys_shmat_args), 0,
    645   1.37   mycroft 	    sys_shmat },			/* 228 = shmat */
    646  1.123   thorpej 	{ 3, s(struct compat_14_sys_shmctl_args), 0,
    647  1.111   thorpej 	    compat_14(sys_shmctl) },		/* 229 = compat_14 shmctl */
    648  1.123   thorpej 	{ 1, s(struct sys_shmdt_args), 0,
    649   1.37   mycroft 	    sys_shmdt },			/* 230 = shmdt */
    650  1.123   thorpej 	{ 3, s(struct sys_shmget_args), 0,
    651   1.37   mycroft 	    sys_shmget },			/* 231 = shmget */
    652   1.28       cgd #else
    653  1.123   thorpej 	{ 0, 0, 0,
    654  1.106  christos 	    sys_nosys },			/* 228 = excluded shmat */
    655  1.123   thorpej 	{ 0, 0, 0,
    656  1.111   thorpej 	    sys_nosys },			/* 229 = excluded compat_14_shmctl */
    657  1.123   thorpej 	{ 0, 0, 0,
    658  1.106  christos 	    sys_nosys },			/* 230 = excluded shmdt */
    659  1.123   thorpej 	{ 0, 0, 0,
    660  1.106  christos 	    sys_nosys },			/* 231 = excluded shmget */
    661   1.28       cgd #endif
    662  1.123   thorpej 	{ 2, s(struct sys_clock_gettime_args), 0,
    663   1.48       jtc 	    sys_clock_gettime },		/* 232 = clock_gettime */
    664  1.123   thorpej 	{ 2, s(struct sys_clock_settime_args), 0,
    665   1.48       jtc 	    sys_clock_settime },		/* 233 = clock_settime */
    666  1.123   thorpej 	{ 2, s(struct sys_clock_getres_args), 0,
    667   1.48       jtc 	    sys_clock_getres },			/* 234 = clock_getres */
    668  1.136   thorpej 	{ 3, s(struct sys_timer_create_args), 0,
    669  1.136   thorpej 	    sys_timer_create },			/* 235 = timer_create */
    670  1.136   thorpej 	{ 1, s(struct sys_timer_delete_args), 0,
    671  1.136   thorpej 	    sys_timer_delete },			/* 236 = timer_delete */
    672  1.136   thorpej 	{ 4, s(struct sys_timer_settime_args), 0,
    673  1.136   thorpej 	    sys_timer_settime },		/* 237 = timer_settime */
    674  1.136   thorpej 	{ 2, s(struct sys_timer_gettime_args), 0,
    675  1.136   thorpej 	    sys_timer_gettime },		/* 238 = timer_gettime */
    676  1.136   thorpej 	{ 1, s(struct sys_timer_getoverrun_args), 0,
    677  1.136   thorpej 	    sys_timer_getoverrun },		/* 239 = timer_getoverrun */
    678  1.123   thorpej 	{ 2, s(struct sys_nanosleep_args), 0,
    679   1.54       jtc 	    sys_nanosleep },			/* 240 = nanosleep */
    680  1.123   thorpej 	{ 1, s(struct sys_fdatasync_args), 0,
    681   1.89    kleink 	    sys_fdatasync },			/* 241 = fdatasync */
    682  1.123   thorpej 	{ 1, s(struct sys_mlockall_args), 0,
    683  1.107   thorpej 	    sys_mlockall },			/* 242 = mlockall */
    684  1.123   thorpej 	{ 0, 0, 0,
    685  1.107   thorpej 	    sys_munlockall },			/* 243 = munlockall */
    686  1.143  jdolecek 	{ 3, s(struct sys___sigtimedwait_args), 0,
    687  1.143  jdolecek 	    sys___sigtimedwait },		/* 244 = __sigtimedwait */
    688  1.123   thorpej 	{ 0, 0, 0,
    689  1.143  jdolecek 	    sys_nosys },			/* 245 = unimplemented sys_sigqueue */
    690  1.123   thorpej 	{ 0, 0, 0,
    691  1.143  jdolecek 	    sys_nosys },			/* 246 = unimplemented */
    692  1.140   thorpej #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
    693  1.139  christos 	{ 2, s(struct sys__ksem_init_args), 0,
    694  1.139  christos 	    sys__ksem_init },			/* 247 = _ksem_init */
    695  1.139  christos 	{ 5, s(struct sys__ksem_open_args), 0,
    696  1.139  christos 	    sys__ksem_open },			/* 248 = _ksem_open */
    697  1.139  christos 	{ 1, s(struct sys__ksem_unlink_args), 0,
    698  1.139  christos 	    sys__ksem_unlink },			/* 249 = _ksem_unlink */
    699  1.139  christos 	{ 1, s(struct sys__ksem_close_args), 0,
    700  1.139  christos 	    sys__ksem_close },			/* 250 = _ksem_close */
    701  1.139  christos 	{ 1, s(struct sys__ksem_post_args), 0,
    702  1.139  christos 	    sys__ksem_post },			/* 251 = _ksem_post */
    703  1.139  christos 	{ 1, s(struct sys__ksem_wait_args), 0,
    704  1.139  christos 	    sys__ksem_wait },			/* 252 = _ksem_wait */
    705  1.139  christos 	{ 1, s(struct sys__ksem_trywait_args), 0,
    706  1.139  christos 	    sys__ksem_trywait },		/* 253 = _ksem_trywait */
    707  1.139  christos 	{ 2, s(struct sys__ksem_getvalue_args), 0,
    708  1.139  christos 	    sys__ksem_getvalue },		/* 254 = _ksem_getvalue */
    709  1.139  christos 	{ 1, s(struct sys__ksem_destroy_args), 0,
    710  1.139  christos 	    sys__ksem_destroy },		/* 255 = _ksem_destroy */
    711  1.141   thorpej 	{ 0, 0, 0,
    712  1.141   thorpej 	    sys_nosys },			/* 256 = unimplemented sys__ksem_timedwait */
    713  1.138  christos #else
    714  1.123   thorpej 	{ 0, 0, 0,
    715  1.139  christos 	    sys_nosys },			/* 247 = excluded sys__ksem_init */
    716  1.123   thorpej 	{ 0, 0, 0,
    717  1.139  christos 	    sys_nosys },			/* 248 = excluded sys__ksem_open */
    718  1.123   thorpej 	{ 0, 0, 0,
    719  1.139  christos 	    sys_nosys },			/* 249 = excluded sys__ksem_unlink */
    720  1.123   thorpej 	{ 0, 0, 0,
    721  1.139  christos 	    sys_nosys },			/* 250 = excluded sys__ksem_close */
    722  1.123   thorpej 	{ 0, 0, 0,
    723  1.139  christos 	    sys_nosys },			/* 251 = excluded sys__ksem_post */
    724  1.123   thorpej 	{ 0, 0, 0,
    725  1.139  christos 	    sys_nosys },			/* 252 = excluded sys__ksem_wait */
    726  1.123   thorpej 	{ 0, 0, 0,
    727  1.139  christos 	    sys_nosys },			/* 253 = excluded sys__ksem_trywait */
    728  1.123   thorpej 	{ 0, 0, 0,
    729  1.139  christos 	    sys_nosys },			/* 254 = excluded sys__ksem_getvalue */
    730  1.123   thorpej 	{ 0, 0, 0,
    731  1.139  christos 	    sys_nosys },			/* 255 = excluded sys__ksem_destroy */
    732  1.141   thorpej 	{ 0, 0, 0,
    733  1.141   thorpej 	    sys_nosys },			/* 256 = unimplemented sys__ksem_timedwait */
    734  1.138  christos #endif
    735  1.123   thorpej 	{ 0, 0, 0,
    736  1.142   thorpej 	    sys_nosys },			/* 257 = unimplemented sys_mq_open */
    737  1.123   thorpej 	{ 0, 0, 0,
    738  1.142   thorpej 	    sys_nosys },			/* 258 = unimplemented sys_mq_close */
    739  1.123   thorpej 	{ 0, 0, 0,
    740  1.142   thorpej 	    sys_nosys },			/* 259 = unimplemented sys_mq_unlink */
    741  1.123   thorpej 	{ 0, 0, 0,
    742  1.142   thorpej 	    sys_nosys },			/* 260 = unimplemented sys_mq_getattr */
    743  1.123   thorpej 	{ 0, 0, 0,
    744  1.142   thorpej 	    sys_nosys },			/* 261 = unimplemented sys_mq_setattr */
    745  1.123   thorpej 	{ 0, 0, 0,
    746  1.142   thorpej 	    sys_nosys },			/* 262 = unimplemented sys_mq_notify */
    747  1.123   thorpej 	{ 0, 0, 0,
    748  1.142   thorpej 	    sys_nosys },			/* 263 = unimplemented sys_mq_send */
    749  1.123   thorpej 	{ 0, 0, 0,
    750  1.142   thorpej 	    sys_nosys },			/* 264 = unimplemented sys_mq_receive */
    751  1.123   thorpej 	{ 0, 0, 0,
    752  1.142   thorpej 	    sys_nosys },			/* 265 = unimplemented sys_mq_timedsend */
    753  1.123   thorpej 	{ 0, 0, 0,
    754  1.142   thorpej 	    sys_nosys },			/* 266 = unimplemented sys_mq_timedreceive */
    755  1.123   thorpej 	{ 0, 0, 0,
    756   1.55    kleink 	    sys_nosys },			/* 267 = unimplemented */
    757  1.123   thorpej 	{ 0, 0, 0,
    758   1.55    kleink 	    sys_nosys },			/* 268 = unimplemented */
    759  1.123   thorpej 	{ 0, 0, 0,
    760   1.55    kleink 	    sys_nosys },			/* 269 = unimplemented */
    761  1.123   thorpej 	{ 2, s(struct sys___posix_rename_args), 0,
    762   1.80    kleink 	    sys___posix_rename },		/* 270 = __posix_rename */
    763  1.123   thorpej 	{ 3, s(struct sys_swapctl_args), 0,
    764   1.56       mrg 	    sys_swapctl },			/* 271 = swapctl */
    765  1.123   thorpej 	{ 3, s(struct sys_getdents_args), 0,
    766   1.63      fvdl 	    sys_getdents },			/* 272 = getdents */
    767  1.123   thorpej 	{ 3, s(struct sys_minherit_args), 0,
    768   1.60     veego 	    sys_minherit },			/* 273 = minherit */
    769  1.123   thorpej 	{ 2, s(struct sys_lchmod_args), 0,
    770   1.61     enami 	    sys_lchmod },			/* 274 = lchmod */
    771  1.123   thorpej 	{ 3, s(struct sys_lchown_args), 0,
    772   1.61     enami 	    sys_lchown },			/* 275 = lchown */
    773  1.123   thorpej 	{ 2, s(struct sys_lutimes_args), 0,
    774   1.61     enami 	    sys_lutimes },			/* 276 = lutimes */
    775  1.123   thorpej 	{ 3, s(struct sys___msync13_args), 0,
    776   1.69   thorpej 	    sys___msync13 },			/* 277 = __msync13 */
    777  1.123   thorpej 	{ 2, s(struct sys___stat13_args), 0,
    778   1.69   thorpej 	    sys___stat13 },			/* 278 = __stat13 */
    779  1.123   thorpej 	{ 2, s(struct sys___fstat13_args), 0,
    780   1.69   thorpej 	    sys___fstat13 },			/* 279 = __fstat13 */
    781  1.123   thorpej 	{ 2, s(struct sys___lstat13_args), 0,
    782   1.69   thorpej 	    sys___lstat13 },			/* 280 = __lstat13 */
    783  1.123   thorpej 	{ 2, s(struct sys___sigaltstack14_args), 0,
    784   1.73    kleink 	    sys___sigaltstack14 },		/* 281 = __sigaltstack14 */
    785  1.123   thorpej 	{ 0, 0, 0,
    786   1.74   thorpej 	    sys___vfork14 },			/* 282 = __vfork14 */
    787  1.123   thorpej 	{ 3, s(struct sys___posix_chown_args), 0,
    788   1.80    kleink 	    sys___posix_chown },		/* 283 = __posix_chown */
    789  1.123   thorpej 	{ 3, s(struct sys___posix_fchown_args), 0,
    790   1.80    kleink 	    sys___posix_fchown },		/* 284 = __posix_fchown */
    791  1.123   thorpej 	{ 3, s(struct sys___posix_lchown_args), 0,
    792   1.80    kleink 	    sys___posix_lchown },		/* 285 = __posix_lchown */
    793  1.123   thorpej 	{ 1, s(struct sys_getsid_args), 0,
    794   1.79   thorpej 	    sys_getsid },			/* 286 = getsid */
    795  1.127   thorpej 	{ 2, s(struct sys___clone_args), 0,
    796  1.127   thorpej 	    sys___clone },			/* 287 = __clone */
    797  1.106  christos #if defined(KTRACE) || !defined(_KERNEL)
    798  1.123   thorpej 	{ 4, s(struct sys_fktrace_args), 0,
    799   1.85  christos 	    sys_fktrace },			/* 288 = fktrace */
    800   1.85  christos #else
    801  1.123   thorpej 	{ 0, 0, 0,
    802  1.106  christos 	    sys_nosys },			/* 288 = excluded ktrace */
    803   1.85  christos #endif
    804  1.123   thorpej 	{ 5, s(struct sys_preadv_args), 0,
    805   1.92   thorpej 	    sys_preadv },			/* 289 = preadv */
    806  1.123   thorpej 	{ 5, s(struct sys_pwritev_args), 0,
    807   1.92   thorpej 	    sys_pwritev },			/* 290 = pwritev */
    808  1.123   thorpej 	{ 3, s(struct sys___sigaction14_args), 0,
    809   1.95   mycroft 	    sys___sigaction14 },		/* 291 = __sigaction14 */
    810  1.123   thorpej 	{ 1, s(struct sys___sigpending14_args), 0,
    811   1.95   mycroft 	    sys___sigpending14 },		/* 292 = __sigpending14 */
    812  1.123   thorpej 	{ 3, s(struct sys___sigprocmask14_args), 0,
    813   1.95   mycroft 	    sys___sigprocmask14 },		/* 293 = __sigprocmask14 */
    814  1.123   thorpej 	{ 1, s(struct sys___sigsuspend14_args), 0,
    815   1.95   mycroft 	    sys___sigsuspend14 },		/* 294 = __sigsuspend14 */
    816  1.145  christos #if defined(__HAVE_SIGINFO)
    817  1.145  christos 	{ 1, s(struct compat_16_sys___sigreturn14_args), 0,
    818  1.145  christos 	    compat_16(sys___sigreturn14) },	/* 295 = compat_16 __sigreturn14 */
    819  1.145  christos #else
    820  1.123   thorpej 	{ 1, s(struct sys___sigreturn14_args), 0,
    821   1.96   mycroft 	    sys___sigreturn14 },		/* 295 = __sigreturn14 */
    822  1.145  christos #endif
    823  1.123   thorpej 	{ 2, s(struct sys___getcwd_args), 0,
    824  1.103  sommerfe 	    sys___getcwd },			/* 296 = __getcwd */
    825  1.123   thorpej 	{ 1, s(struct sys_fchroot_args), 0,
    826  1.103  sommerfe 	    sys_fchroot },			/* 297 = fchroot */
    827  1.123   thorpej 	{ 2, s(struct sys_fhopen_args), 0,
    828  1.108  wrstuden 	    sys_fhopen },			/* 298 = fhopen */
    829  1.123   thorpej 	{ 2, s(struct sys_fhstat_args), 0,
    830  1.108  wrstuden 	    sys_fhstat },			/* 299 = fhstat */
    831  1.123   thorpej 	{ 2, s(struct sys_fhstatfs_args), 0,
    832  1.108  wrstuden 	    sys_fhstatfs },			/* 300 = fhstatfs */
    833  1.111   thorpej #if defined(SYSVSEM) || !defined(_KERNEL)
    834  1.123   thorpej 	{ 4, s(struct sys_____semctl13_args), 0,
    835  1.113  christos 	    sys_____semctl13 },			/* 301 = ____semctl13 */
    836  1.111   thorpej #else
    837  1.123   thorpej 	{ 0, 0, 0,
    838  1.113  christos 	    sys_nosys },			/* 301 = excluded ____semctl13 */
    839  1.111   thorpej #endif
    840  1.111   thorpej #if defined(SYSVMSG) || !defined(_KERNEL)
    841  1.123   thorpej 	{ 3, s(struct sys___msgctl13_args), 0,
    842  1.111   thorpej 	    sys___msgctl13 },			/* 302 = __msgctl13 */
    843  1.111   thorpej #else
    844  1.123   thorpej 	{ 0, 0, 0,
    845  1.111   thorpej 	    sys_nosys },			/* 302 = excluded __msgctl13 */
    846  1.111   thorpej #endif
    847  1.111   thorpej #if defined(SYSVSHM) || !defined(_KERNEL)
    848  1.123   thorpej 	{ 3, s(struct sys___shmctl13_args), 0,
    849  1.111   thorpej 	    sys___shmctl13 },			/* 303 = __shmctl13 */
    850  1.111   thorpej #else
    851  1.123   thorpej 	{ 0, 0, 0,
    852  1.111   thorpej 	    sys_nosys },			/* 303 = excluded __shmctl13 */
    853  1.111   thorpej #endif
    854  1.123   thorpej 	{ 2, s(struct sys_lchflags_args), 0,
    855  1.114       mrg 	    sys_lchflags },			/* 304 = lchflags */
    856  1.123   thorpej 	{ 0, 0, 0,
    857  1.115   minoura 	    sys_issetugid },			/* 305 = issetugid */
    858  1.123   thorpej 	{ 3, s(struct sys_utrace_args), 0,
    859  1.121  jdolecek 	    sys_utrace },			/* 306 = utrace */
    860  1.136   thorpej 	{ 1, s(struct sys_getcontext_args), 0,
    861  1.136   thorpej 	    sys_getcontext },			/* 307 = getcontext */
    862  1.136   thorpej 	{ 1, s(struct sys_setcontext_args), 0,
    863  1.136   thorpej 	    sys_setcontext },			/* 308 = setcontext */
    864  1.136   thorpej 	{ 3, s(struct sys__lwp_create_args), 0,
    865  1.136   thorpej 	    sys__lwp_create },			/* 309 = _lwp_create */
    866  1.136   thorpej 	{ 0, 0, 0,
    867  1.136   thorpej 	    sys__lwp_exit },			/* 310 = _lwp_exit */
    868  1.136   thorpej 	{ 0, 0, 0,
    869  1.136   thorpej 	    sys__lwp_self },			/* 311 = _lwp_self */
    870  1.136   thorpej 	{ 2, s(struct sys__lwp_wait_args), 0,
    871  1.136   thorpej 	    sys__lwp_wait },			/* 312 = _lwp_wait */
    872  1.136   thorpej 	{ 1, s(struct sys__lwp_suspend_args), 0,
    873  1.136   thorpej 	    sys__lwp_suspend },			/* 313 = _lwp_suspend */
    874  1.136   thorpej 	{ 1, s(struct sys__lwp_continue_args), 0,
    875  1.136   thorpej 	    sys__lwp_continue },		/* 314 = _lwp_continue */
    876  1.136   thorpej 	{ 1, s(struct sys__lwp_wakeup_args), 0,
    877  1.136   thorpej 	    sys__lwp_wakeup },			/* 315 = _lwp_wakeup */
    878  1.136   thorpej 	{ 0, 0, 0,
    879  1.136   thorpej 	    sys__lwp_getprivate },		/* 316 = _lwp_getprivate */
    880  1.136   thorpej 	{ 1, s(struct sys__lwp_setprivate_args), 0,
    881  1.136   thorpej 	    sys__lwp_setprivate },		/* 317 = _lwp_setprivate */
    882  1.123   thorpej 	{ 0, 0, 0,
    883  1.123   thorpej 	    sys_nosys },			/* 318 = unimplemented */
    884  1.123   thorpej 	{ 0, 0, 0,
    885  1.123   thorpej 	    sys_nosys },			/* 319 = unimplemented */
    886  1.123   thorpej 	{ 0, 0, 0,
    887  1.123   thorpej 	    sys_nosys },			/* 320 = unimplemented */
    888  1.123   thorpej 	{ 0, 0, 0,
    889  1.123   thorpej 	    sys_nosys },			/* 321 = unimplemented */
    890  1.123   thorpej 	{ 0, 0, 0,
    891  1.123   thorpej 	    sys_nosys },			/* 322 = unimplemented */
    892  1.123   thorpej 	{ 0, 0, 0,
    893  1.123   thorpej 	    sys_nosys },			/* 323 = unimplemented */
    894  1.123   thorpej 	{ 0, 0, 0,
    895  1.123   thorpej 	    sys_nosys },			/* 324 = unimplemented */
    896  1.123   thorpej 	{ 0, 0, 0,
    897  1.123   thorpej 	    sys_nosys },			/* 325 = unimplemented */
    898  1.123   thorpej 	{ 0, 0, 0,
    899  1.123   thorpej 	    sys_nosys },			/* 326 = unimplemented */
    900  1.123   thorpej 	{ 0, 0, 0,
    901  1.123   thorpej 	    sys_nosys },			/* 327 = unimplemented */
    902  1.123   thorpej 	{ 0, 0, 0,
    903  1.123   thorpej 	    sys_nosys },			/* 328 = unimplemented */
    904  1.123   thorpej 	{ 0, 0, 0,
    905  1.123   thorpej 	    sys_nosys },			/* 329 = unimplemented */
    906  1.136   thorpej 	{ 3, s(struct sys_sa_register_args), 0,
    907  1.136   thorpej 	    sys_sa_register },			/* 330 = sa_register */
    908  1.136   thorpej 	{ 2, s(struct sys_sa_stacks_args), 0,
    909  1.136   thorpej 	    sys_sa_stacks },			/* 331 = sa_stacks */
    910  1.136   thorpej 	{ 0, 0, 0,
    911  1.136   thorpej 	    sys_sa_enable },			/* 332 = sa_enable */
    912  1.136   thorpej 	{ 1, s(struct sys_sa_setconcurrency_args), 0,
    913  1.136   thorpej 	    sys_sa_setconcurrency },		/* 333 = sa_setconcurrency */
    914  1.136   thorpej 	{ 0, 0, 0,
    915  1.136   thorpej 	    sys_sa_yield },			/* 334 = sa_yield */
    916  1.136   thorpej 	{ 1, s(struct sys_sa_preempt_args), 0,
    917  1.136   thorpej 	    sys_sa_preempt },			/* 335 = sa_preempt */
    918  1.123   thorpej 	{ 0, 0, 0,
    919  1.123   thorpej 	    sys_nosys },			/* 336 = unimplemented */
    920  1.123   thorpej 	{ 0, 0, 0,
    921  1.123   thorpej 	    sys_nosys },			/* 337 = unimplemented */
    922  1.123   thorpej 	{ 0, 0, 0,
    923  1.123   thorpej 	    sys_nosys },			/* 338 = unimplemented */
    924  1.123   thorpej 	{ 0, 0, 0,
    925  1.123   thorpej 	    sys_nosys },			/* 339 = unimplemented */
    926  1.130   thorpej 	{ 5, s(struct sys___sigaction_sigtramp_args), 0,
    927  1.130   thorpej 	    sys___sigaction_sigtramp },		/* 340 = __sigaction_sigtramp */
    928  1.131    briggs 	{ 3, s(struct sys_pmc_get_info_args), 0,
    929  1.131    briggs 	    sys_pmc_get_info },			/* 341 = pmc_get_info */
    930  1.131    briggs 	{ 3, s(struct sys_pmc_control_args), 0,
    931  1.131    briggs 	    sys_pmc_control },			/* 342 = pmc_control */
    932  1.132  gmcgarry 	{ 3, s(struct sys_rasctl_args), 0,
    933  1.132  gmcgarry 	    sys_rasctl },			/* 343 = rasctl */
    934  1.123   thorpej 	{ 0, 0, 0,
    935  1.134  jdolecek 	    sys_kqueue },			/* 344 = kqueue */
    936  1.134  jdolecek 	{ 6, s(struct sys_kevent_args), 0,
    937  1.134  jdolecek 	    sys_kevent },			/* 345 = kevent */
    938  1.123   thorpej 	{ 0, 0, 0,
    939  1.142   thorpej 	    sys_nosys },			/* 346 = unimplemented sys_sched_setparam */
    940  1.123   thorpej 	{ 0, 0, 0,
    941  1.142   thorpej 	    sys_nosys },			/* 347 = unimplemented sys_sched_getparam */
    942  1.123   thorpej 	{ 0, 0, 0,
    943  1.142   thorpej 	    sys_nosys },			/* 348 = unimplemented sys_sched_setscheduler */
    944  1.123   thorpej 	{ 0, 0, 0,
    945  1.142   thorpej 	    sys_nosys },			/* 349 = unimplemented sys_sched_getscheduler */
    946  1.123   thorpej 	{ 0, 0, 0,
    947  1.142   thorpej 	    sys_nosys },			/* 350 = unimplemented sys_sched_yield */
    948  1.123   thorpej 	{ 0, 0, 0,
    949  1.142   thorpej 	    sys_nosys },			/* 351 = unimplemented sys_sched_get_priority_max */
    950  1.123   thorpej 	{ 0, 0, 0,
    951  1.142   thorpej 	    sys_nosys },			/* 352 = unimplemented sys_sched_get_priority_min */
    952  1.123   thorpej 	{ 0, 0, 0,
    953  1.142   thorpej 	    sys_nosys },			/* 353 = unimplemented sys_sched_rr_get_interval */
    954  1.123   thorpej 	{ 0, 0, 0,
    955  1.119   mycroft 	    sys_nosys },			/* 354 = filler */
    956  1.123   thorpej 	{ 0, 0, 0,
    957  1.119   mycroft 	    sys_nosys },			/* 355 = filler */
    958  1.123   thorpej 	{ 0, 0, 0,
    959  1.119   mycroft 	    sys_nosys },			/* 356 = filler */
    960  1.123   thorpej 	{ 0, 0, 0,
    961  1.119   mycroft 	    sys_nosys },			/* 357 = filler */
    962  1.123   thorpej 	{ 0, 0, 0,
    963  1.119   mycroft 	    sys_nosys },			/* 358 = filler */
    964  1.123   thorpej 	{ 0, 0, 0,
    965  1.119   mycroft 	    sys_nosys },			/* 359 = filler */
    966  1.123   thorpej 	{ 0, 0, 0,
    967  1.119   mycroft 	    sys_nosys },			/* 360 = filler */
    968  1.123   thorpej 	{ 0, 0, 0,
    969  1.119   mycroft 	    sys_nosys },			/* 361 = filler */
    970  1.123   thorpej 	{ 0, 0, 0,
    971  1.119   mycroft 	    sys_nosys },			/* 362 = filler */
    972  1.123   thorpej 	{ 0, 0, 0,
    973  1.119   mycroft 	    sys_nosys },			/* 363 = filler */
    974  1.123   thorpej 	{ 0, 0, 0,
    975  1.119   mycroft 	    sys_nosys },			/* 364 = filler */
    976  1.123   thorpej 	{ 0, 0, 0,
    977  1.119   mycroft 	    sys_nosys },			/* 365 = filler */
    978  1.123   thorpej 	{ 0, 0, 0,
    979  1.119   mycroft 	    sys_nosys },			/* 366 = filler */
    980  1.123   thorpej 	{ 0, 0, 0,
    981  1.119   mycroft 	    sys_nosys },			/* 367 = filler */
    982  1.123   thorpej 	{ 0, 0, 0,
    983  1.119   mycroft 	    sys_nosys },			/* 368 = filler */
    984  1.123   thorpej 	{ 0, 0, 0,
    985  1.119   mycroft 	    sys_nosys },			/* 369 = filler */
    986  1.123   thorpej 	{ 0, 0, 0,
    987  1.119   mycroft 	    sys_nosys },			/* 370 = filler */
    988  1.123   thorpej 	{ 0, 0, 0,
    989  1.119   mycroft 	    sys_nosys },			/* 371 = filler */
    990  1.123   thorpej 	{ 0, 0, 0,
    991  1.119   mycroft 	    sys_nosys },			/* 372 = filler */
    992  1.123   thorpej 	{ 0, 0, 0,
    993  1.119   mycroft 	    sys_nosys },			/* 373 = filler */
    994  1.123   thorpej 	{ 0, 0, 0,
    995  1.119   mycroft 	    sys_nosys },			/* 374 = filler */
    996  1.123   thorpej 	{ 0, 0, 0,
    997  1.119   mycroft 	    sys_nosys },			/* 375 = filler */
    998  1.123   thorpej 	{ 0, 0, 0,
    999  1.119   mycroft 	    sys_nosys },			/* 376 = filler */
   1000  1.123   thorpej 	{ 0, 0, 0,
   1001  1.119   mycroft 	    sys_nosys },			/* 377 = filler */
   1002  1.123   thorpej 	{ 0, 0, 0,
   1003  1.119   mycroft 	    sys_nosys },			/* 378 = filler */
   1004  1.123   thorpej 	{ 0, 0, 0,
   1005  1.119   mycroft 	    sys_nosys },			/* 379 = filler */
   1006  1.123   thorpej 	{ 0, 0, 0,
   1007  1.119   mycroft 	    sys_nosys },			/* 380 = filler */
   1008  1.123   thorpej 	{ 0, 0, 0,
   1009  1.119   mycroft 	    sys_nosys },			/* 381 = filler */
   1010  1.123   thorpej 	{ 0, 0, 0,
   1011  1.119   mycroft 	    sys_nosys },			/* 382 = filler */
   1012  1.123   thorpej 	{ 0, 0, 0,
   1013  1.119   mycroft 	    sys_nosys },			/* 383 = filler */
   1014  1.123   thorpej 	{ 0, 0, 0,
   1015  1.119   mycroft 	    sys_nosys },			/* 384 = filler */
   1016  1.123   thorpej 	{ 0, 0, 0,
   1017  1.119   mycroft 	    sys_nosys },			/* 385 = filler */
   1018  1.123   thorpej 	{ 0, 0, 0,
   1019  1.119   mycroft 	    sys_nosys },			/* 386 = filler */
   1020  1.123   thorpej 	{ 0, 0, 0,
   1021  1.119   mycroft 	    sys_nosys },			/* 387 = filler */
   1022  1.123   thorpej 	{ 0, 0, 0,
   1023  1.119   mycroft 	    sys_nosys },			/* 388 = filler */
   1024  1.123   thorpej 	{ 0, 0, 0,
   1025  1.119   mycroft 	    sys_nosys },			/* 389 = filler */
   1026  1.123   thorpej 	{ 0, 0, 0,
   1027  1.119   mycroft 	    sys_nosys },			/* 390 = filler */
   1028  1.123   thorpej 	{ 0, 0, 0,
   1029  1.119   mycroft 	    sys_nosys },			/* 391 = filler */
   1030  1.123   thorpej 	{ 0, 0, 0,
   1031  1.119   mycroft 	    sys_nosys },			/* 392 = filler */
   1032  1.123   thorpej 	{ 0, 0, 0,
   1033  1.119   mycroft 	    sys_nosys },			/* 393 = filler */
   1034  1.123   thorpej 	{ 0, 0, 0,
   1035  1.119   mycroft 	    sys_nosys },			/* 394 = filler */
   1036  1.123   thorpej 	{ 0, 0, 0,
   1037  1.119   mycroft 	    sys_nosys },			/* 395 = filler */
   1038  1.123   thorpej 	{ 0, 0, 0,
   1039  1.119   mycroft 	    sys_nosys },			/* 396 = filler */
   1040  1.123   thorpej 	{ 0, 0, 0,
   1041  1.119   mycroft 	    sys_nosys },			/* 397 = filler */
   1042  1.123   thorpej 	{ 0, 0, 0,
   1043  1.119   mycroft 	    sys_nosys },			/* 398 = filler */
   1044  1.123   thorpej 	{ 0, 0, 0,
   1045  1.119   mycroft 	    sys_nosys },			/* 399 = filler */
   1046  1.123   thorpej 	{ 0, 0, 0,
   1047  1.119   mycroft 	    sys_nosys },			/* 400 = filler */
   1048  1.123   thorpej 	{ 0, 0, 0,
   1049  1.119   mycroft 	    sys_nosys },			/* 401 = filler */
   1050  1.123   thorpej 	{ 0, 0, 0,
   1051  1.119   mycroft 	    sys_nosys },			/* 402 = filler */
   1052  1.123   thorpej 	{ 0, 0, 0,
   1053  1.119   mycroft 	    sys_nosys },			/* 403 = filler */
   1054  1.123   thorpej 	{ 0, 0, 0,
   1055  1.119   mycroft 	    sys_nosys },			/* 404 = filler */
   1056  1.123   thorpej 	{ 0, 0, 0,
   1057  1.119   mycroft 	    sys_nosys },			/* 405 = filler */
   1058  1.123   thorpej 	{ 0, 0, 0,
   1059  1.119   mycroft 	    sys_nosys },			/* 406 = filler */
   1060  1.123   thorpej 	{ 0, 0, 0,
   1061  1.119   mycroft 	    sys_nosys },			/* 407 = filler */
   1062  1.123   thorpej 	{ 0, 0, 0,
   1063  1.119   mycroft 	    sys_nosys },			/* 408 = filler */
   1064  1.123   thorpej 	{ 0, 0, 0,
   1065  1.119   mycroft 	    sys_nosys },			/* 409 = filler */
   1066  1.123   thorpej 	{ 0, 0, 0,
   1067  1.119   mycroft 	    sys_nosys },			/* 410 = filler */
   1068  1.123   thorpej 	{ 0, 0, 0,
   1069  1.119   mycroft 	    sys_nosys },			/* 411 = filler */
   1070  1.123   thorpej 	{ 0, 0, 0,
   1071  1.119   mycroft 	    sys_nosys },			/* 412 = filler */
   1072  1.123   thorpej 	{ 0, 0, 0,
   1073  1.119   mycroft 	    sys_nosys },			/* 413 = filler */
   1074  1.123   thorpej 	{ 0, 0, 0,
   1075  1.119   mycroft 	    sys_nosys },			/* 414 = filler */
   1076  1.123   thorpej 	{ 0, 0, 0,
   1077  1.119   mycroft 	    sys_nosys },			/* 415 = filler */
   1078  1.123   thorpej 	{ 0, 0, 0,
   1079  1.119   mycroft 	    sys_nosys },			/* 416 = filler */
   1080  1.123   thorpej 	{ 0, 0, 0,
   1081  1.119   mycroft 	    sys_nosys },			/* 417 = filler */
   1082  1.123   thorpej 	{ 0, 0, 0,
   1083  1.119   mycroft 	    sys_nosys },			/* 418 = filler */
   1084  1.123   thorpej 	{ 0, 0, 0,
   1085  1.119   mycroft 	    sys_nosys },			/* 419 = filler */
   1086  1.123   thorpej 	{ 0, 0, 0,
   1087  1.119   mycroft 	    sys_nosys },			/* 420 = filler */
   1088  1.123   thorpej 	{ 0, 0, 0,
   1089  1.119   mycroft 	    sys_nosys },			/* 421 = filler */
   1090  1.123   thorpej 	{ 0, 0, 0,
   1091  1.119   mycroft 	    sys_nosys },			/* 422 = filler */
   1092  1.123   thorpej 	{ 0, 0, 0,
   1093  1.119   mycroft 	    sys_nosys },			/* 423 = filler */
   1094  1.123   thorpej 	{ 0, 0, 0,
   1095  1.119   mycroft 	    sys_nosys },			/* 424 = filler */
   1096  1.123   thorpej 	{ 0, 0, 0,
   1097  1.119   mycroft 	    sys_nosys },			/* 425 = filler */
   1098  1.123   thorpej 	{ 0, 0, 0,
   1099  1.119   mycroft 	    sys_nosys },			/* 426 = filler */
   1100  1.123   thorpej 	{ 0, 0, 0,
   1101  1.119   mycroft 	    sys_nosys },			/* 427 = filler */
   1102  1.123   thorpej 	{ 0, 0, 0,
   1103  1.119   mycroft 	    sys_nosys },			/* 428 = filler */
   1104  1.123   thorpej 	{ 0, 0, 0,
   1105  1.119   mycroft 	    sys_nosys },			/* 429 = filler */
   1106  1.123   thorpej 	{ 0, 0, 0,
   1107  1.119   mycroft 	    sys_nosys },			/* 430 = filler */
   1108  1.123   thorpej 	{ 0, 0, 0,
   1109  1.119   mycroft 	    sys_nosys },			/* 431 = filler */
   1110  1.123   thorpej 	{ 0, 0, 0,
   1111  1.119   mycroft 	    sys_nosys },			/* 432 = filler */
   1112  1.123   thorpej 	{ 0, 0, 0,
   1113  1.119   mycroft 	    sys_nosys },			/* 433 = filler */
   1114  1.123   thorpej 	{ 0, 0, 0,
   1115  1.119   mycroft 	    sys_nosys },			/* 434 = filler */
   1116  1.123   thorpej 	{ 0, 0, 0,
   1117  1.119   mycroft 	    sys_nosys },			/* 435 = filler */
   1118  1.123   thorpej 	{ 0, 0, 0,
   1119  1.119   mycroft 	    sys_nosys },			/* 436 = filler */
   1120  1.123   thorpej 	{ 0, 0, 0,
   1121  1.119   mycroft 	    sys_nosys },			/* 437 = filler */
   1122  1.123   thorpej 	{ 0, 0, 0,
   1123  1.119   mycroft 	    sys_nosys },			/* 438 = filler */
   1124  1.123   thorpej 	{ 0, 0, 0,
   1125  1.119   mycroft 	    sys_nosys },			/* 439 = filler */
   1126  1.123   thorpej 	{ 0, 0, 0,
   1127  1.119   mycroft 	    sys_nosys },			/* 440 = filler */
   1128  1.123   thorpej 	{ 0, 0, 0,
   1129  1.119   mycroft 	    sys_nosys },			/* 441 = filler */
   1130  1.123   thorpej 	{ 0, 0, 0,
   1131  1.119   mycroft 	    sys_nosys },			/* 442 = filler */
   1132  1.123   thorpej 	{ 0, 0, 0,
   1133  1.119   mycroft 	    sys_nosys },			/* 443 = filler */
   1134  1.123   thorpej 	{ 0, 0, 0,
   1135  1.119   mycroft 	    sys_nosys },			/* 444 = filler */
   1136  1.123   thorpej 	{ 0, 0, 0,
   1137  1.119   mycroft 	    sys_nosys },			/* 445 = filler */
   1138  1.123   thorpej 	{ 0, 0, 0,
   1139  1.119   mycroft 	    sys_nosys },			/* 446 = filler */
   1140  1.123   thorpej 	{ 0, 0, 0,
   1141  1.119   mycroft 	    sys_nosys },			/* 447 = filler */
   1142  1.123   thorpej 	{ 0, 0, 0,
   1143  1.119   mycroft 	    sys_nosys },			/* 448 = filler */
   1144  1.123   thorpej 	{ 0, 0, 0,
   1145  1.119   mycroft 	    sys_nosys },			/* 449 = filler */
   1146  1.123   thorpej 	{ 0, 0, 0,
   1147  1.119   mycroft 	    sys_nosys },			/* 450 = filler */
   1148  1.123   thorpej 	{ 0, 0, 0,
   1149  1.119   mycroft 	    sys_nosys },			/* 451 = filler */
   1150  1.123   thorpej 	{ 0, 0, 0,
   1151  1.119   mycroft 	    sys_nosys },			/* 452 = filler */
   1152  1.123   thorpej 	{ 0, 0, 0,
   1153  1.119   mycroft 	    sys_nosys },			/* 453 = filler */
   1154  1.123   thorpej 	{ 0, 0, 0,
   1155  1.119   mycroft 	    sys_nosys },			/* 454 = filler */
   1156  1.123   thorpej 	{ 0, 0, 0,
   1157  1.119   mycroft 	    sys_nosys },			/* 455 = filler */
   1158  1.123   thorpej 	{ 0, 0, 0,
   1159  1.119   mycroft 	    sys_nosys },			/* 456 = filler */
   1160  1.123   thorpej 	{ 0, 0, 0,
   1161  1.119   mycroft 	    sys_nosys },			/* 457 = filler */
   1162  1.123   thorpej 	{ 0, 0, 0,
   1163  1.119   mycroft 	    sys_nosys },			/* 458 = filler */
   1164  1.123   thorpej 	{ 0, 0, 0,
   1165  1.119   mycroft 	    sys_nosys },			/* 459 = filler */
   1166  1.123   thorpej 	{ 0, 0, 0,
   1167  1.119   mycroft 	    sys_nosys },			/* 460 = filler */
   1168  1.123   thorpej 	{ 0, 0, 0,
   1169  1.119   mycroft 	    sys_nosys },			/* 461 = filler */
   1170  1.123   thorpej 	{ 0, 0, 0,
   1171  1.119   mycroft 	    sys_nosys },			/* 462 = filler */
   1172  1.123   thorpej 	{ 0, 0, 0,
   1173  1.119   mycroft 	    sys_nosys },			/* 463 = filler */
   1174  1.123   thorpej 	{ 0, 0, 0,
   1175  1.119   mycroft 	    sys_nosys },			/* 464 = filler */
   1176  1.123   thorpej 	{ 0, 0, 0,
   1177  1.119   mycroft 	    sys_nosys },			/* 465 = filler */
   1178  1.123   thorpej 	{ 0, 0, 0,
   1179  1.119   mycroft 	    sys_nosys },			/* 466 = filler */
   1180  1.123   thorpej 	{ 0, 0, 0,
   1181  1.119   mycroft 	    sys_nosys },			/* 467 = filler */
   1182  1.123   thorpej 	{ 0, 0, 0,
   1183  1.119   mycroft 	    sys_nosys },			/* 468 = filler */
   1184  1.123   thorpej 	{ 0, 0, 0,
   1185  1.119   mycroft 	    sys_nosys },			/* 469 = filler */
   1186  1.123   thorpej 	{ 0, 0, 0,
   1187  1.119   mycroft 	    sys_nosys },			/* 470 = filler */
   1188  1.123   thorpej 	{ 0, 0, 0,
   1189  1.119   mycroft 	    sys_nosys },			/* 471 = filler */
   1190  1.123   thorpej 	{ 0, 0, 0,
   1191  1.119   mycroft 	    sys_nosys },			/* 472 = filler */
   1192  1.123   thorpej 	{ 0, 0, 0,
   1193  1.119   mycroft 	    sys_nosys },			/* 473 = filler */
   1194  1.123   thorpej 	{ 0, 0, 0,
   1195  1.119   mycroft 	    sys_nosys },			/* 474 = filler */
   1196  1.123   thorpej 	{ 0, 0, 0,
   1197  1.119   mycroft 	    sys_nosys },			/* 475 = filler */
   1198  1.123   thorpej 	{ 0, 0, 0,
   1199  1.119   mycroft 	    sys_nosys },			/* 476 = filler */
   1200  1.123   thorpej 	{ 0, 0, 0,
   1201  1.119   mycroft 	    sys_nosys },			/* 477 = filler */
   1202  1.123   thorpej 	{ 0, 0, 0,
   1203  1.119   mycroft 	    sys_nosys },			/* 478 = filler */
   1204  1.123   thorpej 	{ 0, 0, 0,
   1205  1.119   mycroft 	    sys_nosys },			/* 479 = filler */
   1206  1.123   thorpej 	{ 0, 0, 0,
   1207  1.119   mycroft 	    sys_nosys },			/* 480 = filler */
   1208  1.123   thorpej 	{ 0, 0, 0,
   1209  1.119   mycroft 	    sys_nosys },			/* 481 = filler */
   1210  1.123   thorpej 	{ 0, 0, 0,
   1211  1.119   mycroft 	    sys_nosys },			/* 482 = filler */
   1212  1.123   thorpej 	{ 0, 0, 0,
   1213  1.119   mycroft 	    sys_nosys },			/* 483 = filler */
   1214  1.123   thorpej 	{ 0, 0, 0,
   1215  1.119   mycroft 	    sys_nosys },			/* 484 = filler */
   1216  1.123   thorpej 	{ 0, 0, 0,
   1217  1.119   mycroft 	    sys_nosys },			/* 485 = filler */
   1218  1.123   thorpej 	{ 0, 0, 0,
   1219  1.119   mycroft 	    sys_nosys },			/* 486 = filler */
   1220  1.123   thorpej 	{ 0, 0, 0,
   1221  1.119   mycroft 	    sys_nosys },			/* 487 = filler */
   1222  1.123   thorpej 	{ 0, 0, 0,
   1223  1.119   mycroft 	    sys_nosys },			/* 488 = filler */
   1224  1.123   thorpej 	{ 0, 0, 0,
   1225  1.119   mycroft 	    sys_nosys },			/* 489 = filler */
   1226  1.123   thorpej 	{ 0, 0, 0,
   1227  1.119   mycroft 	    sys_nosys },			/* 490 = filler */
   1228  1.123   thorpej 	{ 0, 0, 0,
   1229  1.119   mycroft 	    sys_nosys },			/* 491 = filler */
   1230  1.123   thorpej 	{ 0, 0, 0,
   1231  1.119   mycroft 	    sys_nosys },			/* 492 = filler */
   1232  1.123   thorpej 	{ 0, 0, 0,
   1233  1.119   mycroft 	    sys_nosys },			/* 493 = filler */
   1234  1.123   thorpej 	{ 0, 0, 0,
   1235  1.119   mycroft 	    sys_nosys },			/* 494 = filler */
   1236  1.123   thorpej 	{ 0, 0, 0,
   1237  1.119   mycroft 	    sys_nosys },			/* 495 = filler */
   1238  1.123   thorpej 	{ 0, 0, 0,
   1239  1.119   mycroft 	    sys_nosys },			/* 496 = filler */
   1240  1.123   thorpej 	{ 0, 0, 0,
   1241  1.119   mycroft 	    sys_nosys },			/* 497 = filler */
   1242  1.123   thorpej 	{ 0, 0, 0,
   1243  1.119   mycroft 	    sys_nosys },			/* 498 = filler */
   1244  1.123   thorpej 	{ 0, 0, 0,
   1245  1.119   mycroft 	    sys_nosys },			/* 499 = filler */
   1246  1.123   thorpej 	{ 0, 0, 0,
   1247  1.119   mycroft 	    sys_nosys },			/* 500 = filler */
   1248  1.123   thorpej 	{ 0, 0, 0,
   1249  1.119   mycroft 	    sys_nosys },			/* 501 = filler */
   1250  1.123   thorpej 	{ 0, 0, 0,
   1251  1.119   mycroft 	    sys_nosys },			/* 502 = filler */
   1252  1.123   thorpej 	{ 0, 0, 0,
   1253  1.119   mycroft 	    sys_nosys },			/* 503 = filler */
   1254  1.123   thorpej 	{ 0, 0, 0,
   1255  1.119   mycroft 	    sys_nosys },			/* 504 = filler */
   1256  1.123   thorpej 	{ 0, 0, 0,
   1257  1.119   mycroft 	    sys_nosys },			/* 505 = filler */
   1258  1.123   thorpej 	{ 0, 0, 0,
   1259  1.119   mycroft 	    sys_nosys },			/* 506 = filler */
   1260  1.123   thorpej 	{ 0, 0, 0,
   1261  1.119   mycroft 	    sys_nosys },			/* 507 = filler */
   1262  1.123   thorpej 	{ 0, 0, 0,
   1263  1.119   mycroft 	    sys_nosys },			/* 508 = filler */
   1264  1.123   thorpej 	{ 0, 0, 0,
   1265  1.119   mycroft 	    sys_nosys },			/* 509 = filler */
   1266  1.123   thorpej 	{ 0, 0, 0,
   1267  1.119   mycroft 	    sys_nosys },			/* 510 = filler */
   1268  1.123   thorpej 	{ 0, 0, 0,
   1269  1.119   mycroft 	    sys_nosys },			/* 511 = filler */
   1270    1.1       cgd };
   1271    1.1       cgd 
   1272