Home | History | Annotate | Line # | Download | only in aoutm68k
aoutm68k_sysent.c revision 1.7
      1  1.1       scw /* $NetBSD: aoutm68k_sysent.c,v 1.7 2001/05/30 11:37:22 mrg Exp $ */
      2  1.1       scw 
      3  1.1       scw /*
      4  1.1       scw  * System call switch table.
      5  1.1       scw  *
      6  1.1       scw  * DO NOT EDIT-- this file is automatically generated.
      7  1.6   tsutsui  * created from	NetBSD: syscalls.master,v 1.5 2001/04/07 12:25:15 tsutsui Exp
      8  1.1       scw  */
      9  1.1       scw 
     10  1.7       mrg #if defined(_KERNEL_OPT)
     11  1.1       scw #include "opt_ktrace.h"
     12  1.1       scw #include "opt_nfsserver.h"
     13  1.1       scw #include "opt_ntp.h"
     14  1.1       scw #include "opt_compat_netbsd.h"
     15  1.1       scw #include "opt_sysv.h"
     16  1.1       scw #include "opt_compat_43.h"
     17  1.1       scw #include "fs_lfs.h"
     18  1.1       scw #include "fs_nfs.h"
     19  1.2  jdolecek #endif
     20  1.1       scw #include <sys/param.h>
     21  1.1       scw #include <sys/systm.h>
     22  1.1       scw #include <sys/signal.h>
     23  1.1       scw #include <sys/mount.h>
     24  1.1       scw #include <sys/syscallargs.h>
     25  1.1       scw #include <compat/aoutm68k/aoutm68k_syscallargs.h>
     26  1.1       scw 
     27  1.1       scw #define	s(type)	sizeof(type)
     28  1.1       scw 
     29  1.1       scw struct sysent aoutm68k_sysent[] = {
     30  1.4   thorpej 	{ 0, 0, 0,
     31  1.1       scw 	    sys_nosys },			/* 0 = syscall (indir) */
     32  1.4   thorpej 	{ 1, s(struct sys_exit_args), 0,
     33  1.1       scw 	    sys_exit },				/* 1 = exit */
     34  1.4   thorpej 	{ 0, 0, 0,
     35  1.1       scw 	    sys_fork },				/* 2 = fork */
     36  1.4   thorpej 	{ 3, s(struct sys_read_args), 0,
     37  1.1       scw 	    sys_read },				/* 3 = read */
     38  1.4   thorpej 	{ 3, s(struct sys_write_args), 0,
     39  1.1       scw 	    sys_write },			/* 4 = write */
     40  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
     41  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_open_args), 0,
     42  1.1       scw 	    aoutm68k_sys_open },		/* 5 = open */
     43  1.6   tsutsui #else
     44  1.6   tsutsui 	{ 3, s(struct sys_open_args), 0,
     45  1.6   tsutsui 	    sys_open },				/* 5 = open */
     46  1.6   tsutsui #endif
     47  1.4   thorpej 	{ 1, s(struct sys_close_args), 0,
     48  1.1       scw 	    sys_close },			/* 6 = close */
     49  1.4   thorpej 	{ 4, s(struct sys_wait4_args), 0,
     50  1.1       scw 	    sys_wait4 },			/* 7 = wait4 */
     51  1.1       scw #ifdef COMPAT_43
     52  1.4   thorpej 	{ 2, s(struct compat_43_sys_creat_args), 0,
     53  1.1       scw 	    compat_43_sys_creat },		/* 8 = ocreat */
     54  1.1       scw #else
     55  1.4   thorpej 	{ 0, 0, 0,
     56  1.1       scw 	    sys_nosys },			/* 8 = excluded compat_43_sys_creat */
     57  1.1       scw #endif
     58  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
     59  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_link_args), 0,
     60  1.1       scw 	    aoutm68k_sys_link },		/* 9 = link */
     61  1.4   thorpej 	{ 1, s(struct aoutm68k_sys_unlink_args), 0,
     62  1.1       scw 	    aoutm68k_sys_unlink },		/* 10 = unlink */
     63  1.6   tsutsui #else
     64  1.6   tsutsui 	{ 2, s(struct sys_link_args), 0,
     65  1.6   tsutsui 	    sys_link },				/* 9 = link */
     66  1.6   tsutsui 	{ 1, s(struct sys_unlink_args), 0,
     67  1.6   tsutsui 	    sys_unlink },			/* 10 = unlink */
     68  1.6   tsutsui #endif
     69  1.4   thorpej 	{ 0, 0, 0,
     70  1.1       scw 	    sys_nosys },			/* 11 = obsolete execv */
     71  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
     72  1.4   thorpej 	{ 1, s(struct aoutm68k_sys_chdir_args), 0,
     73  1.1       scw 	    aoutm68k_sys_chdir },		/* 12 = chdir */
     74  1.6   tsutsui #else
     75  1.6   tsutsui 	{ 1, s(struct sys_chdir_args), 0,
     76  1.6   tsutsui 	    sys_chdir },			/* 12 = chdir */
     77  1.6   tsutsui #endif
     78  1.4   thorpej 	{ 1, s(struct sys_fchdir_args), 0,
     79  1.1       scw 	    sys_fchdir },			/* 13 = fchdir */
     80  1.4   thorpej 	{ 3, s(struct sys_mknod_args), 0,
     81  1.1       scw 	    sys_mknod },			/* 14 = mknod */
     82  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
     83  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_chmod_args), 0,
     84  1.1       scw 	    aoutm68k_sys_chmod },		/* 15 = chmod */
     85  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_chown_args), 0,
     86  1.1       scw 	    aoutm68k_sys_chown },		/* 16 = chown */
     87  1.6   tsutsui #else
     88  1.6   tsutsui 	{ 2, s(struct sys_chmod_args), 0,
     89  1.6   tsutsui 	    sys_chmod },			/* 15 = chmod */
     90  1.6   tsutsui 	{ 3, s(struct sys_chown_args), 0,
     91  1.6   tsutsui 	    sys_chown },			/* 16 = chown */
     92  1.6   tsutsui #endif
     93  1.4   thorpej 	{ 1, s(struct sys_obreak_args), 0,
     94  1.1       scw 	    sys_obreak },			/* 17 = break */
     95  1.4   thorpej 	{ 3, s(struct sys_getfsstat_args), 0,
     96  1.1       scw 	    sys_getfsstat },			/* 18 = getfsstat */
     97  1.1       scw #ifdef COMPAT_43
     98  1.4   thorpej 	{ 3, s(struct compat_43_sys_lseek_args), 0,
     99  1.1       scw 	    compat_43_sys_lseek },		/* 19 = olseek */
    100  1.1       scw #else
    101  1.4   thorpej 	{ 0, 0, 0,
    102  1.1       scw 	    sys_nosys },			/* 19 = excluded compat_43_sys_lseek */
    103  1.1       scw #endif
    104  1.5   thorpej 	{ 0, 0, SYCALL_MPSAFE | 0,
    105  1.1       scw 	    sys_getpid },			/* 20 = getpid */
    106  1.4   thorpej 	{ 4, s(struct sys_mount_args), 0,
    107  1.1       scw 	    sys_mount },			/* 21 = mount */
    108  1.4   thorpej 	{ 2, s(struct sys_unmount_args), 0,
    109  1.1       scw 	    sys_unmount },			/* 22 = unmount */
    110  1.4   thorpej 	{ 1, s(struct sys_setuid_args), 0,
    111  1.1       scw 	    sys_setuid },			/* 23 = setuid */
    112  1.4   thorpej 	{ 0, 0, 0,
    113  1.1       scw 	    sys_getuid },			/* 24 = getuid */
    114  1.4   thorpej 	{ 0, 0, 0,
    115  1.1       scw 	    sys_geteuid },			/* 25 = geteuid */
    116  1.4   thorpej 	{ 4, s(struct sys_ptrace_args), 0,
    117  1.1       scw 	    sys_ptrace },			/* 26 = ptrace */
    118  1.4   thorpej 	{ 3, s(struct sys_recvmsg_args), 0,
    119  1.1       scw 	    sys_recvmsg },			/* 27 = recvmsg */
    120  1.4   thorpej 	{ 3, s(struct sys_sendmsg_args), 0,
    121  1.1       scw 	    sys_sendmsg },			/* 28 = sendmsg */
    122  1.4   thorpej 	{ 6, s(struct sys_recvfrom_args), 0,
    123  1.1       scw 	    sys_recvfrom },			/* 29 = recvfrom */
    124  1.4   thorpej 	{ 3, s(struct sys_accept_args), 0,
    125  1.1       scw 	    sys_accept },			/* 30 = accept */
    126  1.4   thorpej 	{ 3, s(struct sys_getpeername_args), 0,
    127  1.1       scw 	    sys_getpeername },			/* 31 = getpeername */
    128  1.4   thorpej 	{ 3, s(struct sys_getsockname_args), 0,
    129  1.1       scw 	    sys_getsockname },			/* 32 = getsockname */
    130  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    131  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_access_args), 0,
    132  1.1       scw 	    aoutm68k_sys_access },		/* 33 = access */
    133  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_chflags_args), 0,
    134  1.1       scw 	    aoutm68k_sys_chflags },		/* 34 = chflags */
    135  1.6   tsutsui #else
    136  1.6   tsutsui 	{ 2, s(struct sys_access_args), 0,
    137  1.6   tsutsui 	    sys_access },			/* 33 = access */
    138  1.6   tsutsui 	{ 2, s(struct sys_chflags_args), 0,
    139  1.6   tsutsui 	    sys_chflags },			/* 34 = chflags */
    140  1.6   tsutsui #endif
    141  1.4   thorpej 	{ 2, s(struct sys_fchflags_args), 0,
    142  1.1       scw 	    sys_fchflags },			/* 35 = fchflags */
    143  1.4   thorpej 	{ 0, 0, 0,
    144  1.1       scw 	    sys_sync },				/* 36 = sync */
    145  1.4   thorpej 	{ 2, s(struct sys_kill_args), 0,
    146  1.1       scw 	    sys_kill },				/* 37 = kill */
    147  1.1       scw #ifdef COMPAT_43
    148  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_43_sys_stat_args), 0,
    149  1.1       scw 	    aoutm68k_compat_43_sys_stat },	/* 38 = stat43 */
    150  1.1       scw #else
    151  1.4   thorpej 	{ 0, 0, 0,
    152  1.1       scw 	    sys_nosys },			/* 38 = excluded aoutm68k_compat_43_sys_stat */
    153  1.1       scw #endif
    154  1.4   thorpej 	{ 0, 0, 0,
    155  1.1       scw 	    sys_getppid },			/* 39 = getppid */
    156  1.1       scw #ifdef COMPAT_43
    157  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_43_sys_lstat_args), 0,
    158  1.1       scw 	    aoutm68k_compat_43_sys_lstat },	/* 40 = lstat43 */
    159  1.1       scw #else
    160  1.4   thorpej 	{ 0, 0, 0,
    161  1.1       scw 	    sys_nosys },			/* 40 = excluded aoutm68k_compat_43_sys_lstat */
    162  1.1       scw #endif
    163  1.4   thorpej 	{ 1, s(struct sys_dup_args), 0,
    164  1.1       scw 	    sys_dup },				/* 41 = dup */
    165  1.4   thorpej 	{ 0, 0, 0,
    166  1.1       scw 	    sys_pipe },				/* 42 = pipe */
    167  1.4   thorpej 	{ 0, 0, 0,
    168  1.1       scw 	    sys_getegid },			/* 43 = getegid */
    169  1.4   thorpej 	{ 4, s(struct sys_profil_args), 0,
    170  1.1       scw 	    sys_profil },			/* 44 = profil */
    171  1.1       scw #if defined(KTRACE) || !defined(_KERNEL)
    172  1.4   thorpej 	{ 4, s(struct sys_ktrace_args), 0,
    173  1.1       scw 	    sys_ktrace },			/* 45 = ktrace */
    174  1.1       scw #else
    175  1.4   thorpej 	{ 0, 0, 0,
    176  1.1       scw 	    sys_nosys },			/* 45 = excluded ktrace */
    177  1.1       scw #endif
    178  1.1       scw #ifdef COMPAT_13
    179  1.4   thorpej 	{ 3, s(struct compat_13_sys_sigaction_args), 0,
    180  1.1       scw 	    compat_13_sys_sigaction },		/* 46 = sigaction13 */
    181  1.1       scw #else
    182  1.4   thorpej 	{ 0, 0, 0,
    183  1.1       scw 	    sys_nosys },			/* 46 = excluded compat_13_sys_sigaction */
    184  1.1       scw #endif
    185  1.4   thorpej 	{ 0, 0, 0,
    186  1.1       scw 	    sys_getgid },			/* 47 = getgid */
    187  1.1       scw #ifdef COMPAT_13
    188  1.4   thorpej 	{ 2, s(struct compat_13_sys_sigprocmask_args), 0,
    189  1.1       scw 	    compat_13_sys_sigprocmask },	/* 48 = sigprocmask13 */
    190  1.1       scw #else
    191  1.4   thorpej 	{ 0, 0, 0,
    192  1.1       scw 	    sys_nosys },			/* 48 = excluded compat_13_sys_sigprocmask */
    193  1.1       scw #endif
    194  1.4   thorpej 	{ 2, s(struct sys___getlogin_args), 0,
    195  1.1       scw 	    sys___getlogin },			/* 49 = __getlogin */
    196  1.4   thorpej 	{ 1, s(struct sys_setlogin_args), 0,
    197  1.1       scw 	    sys_setlogin },			/* 50 = setlogin */
    198  1.4   thorpej 	{ 1, s(struct sys_acct_args), 0,
    199  1.1       scw 	    sys_acct },				/* 51 = acct */
    200  1.1       scw #ifdef COMPAT_13
    201  1.4   thorpej 	{ 0, 0, 0,
    202  1.1       scw 	    compat_13_sys_sigpending },		/* 52 = sigpending13 */
    203  1.4   thorpej 	{ 2, s(struct compat_13_sys_sigaltstack_args), 0,
    204  1.1       scw 	    compat_13_sys_sigaltstack },	/* 53 = sigaltstack13 */
    205  1.1       scw #else
    206  1.4   thorpej 	{ 0, 0, 0,
    207  1.1       scw 	    sys_nosys },			/* 52 = excluded compat_13_sys_sigpending */
    208  1.4   thorpej 	{ 0, 0, 0,
    209  1.1       scw 	    sys_nosys },			/* 53 = excluded compat_13_sys_sigaltstack */
    210  1.1       scw #endif
    211  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_ioctl_args), 0,
    212  1.1       scw 	    aoutm68k_sys_ioctl },		/* 54 = ioctl */
    213  1.1       scw #ifdef COMPAT_12
    214  1.4   thorpej 	{ 1, s(struct compat_12_sys_reboot_args), 0,
    215  1.1       scw 	    compat_12_sys_reboot },		/* 55 = oreboot */
    216  1.1       scw #else
    217  1.4   thorpej 	{ 0, 0, 0,
    218  1.1       scw 	    sys_nosys },			/* 55 = excluded compat_12_sys_reboot */
    219  1.1       scw #endif
    220  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    221  1.4   thorpej 	{ 1, s(struct aoutm68k_sys_revoke_args), 0,
    222  1.1       scw 	    aoutm68k_sys_revoke },		/* 56 = revoke */
    223  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_symlink_args), 0,
    224  1.1       scw 	    aoutm68k_sys_symlink },		/* 57 = symlink */
    225  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_readlink_args), 0,
    226  1.1       scw 	    aoutm68k_sys_readlink },		/* 58 = readlink */
    227  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_execve_args), 0,
    228  1.1       scw 	    aoutm68k_sys_execve },		/* 59 = execve */
    229  1.6   tsutsui #else
    230  1.6   tsutsui 	{ 1, s(struct sys_revoke_args), 0,
    231  1.6   tsutsui 	    sys_revoke },			/* 56 = revoke */
    232  1.6   tsutsui 	{ 2, s(struct sys_symlink_args), 0,
    233  1.6   tsutsui 	    sys_symlink },			/* 57 = symlink */
    234  1.6   tsutsui 	{ 3, s(struct sys_readlink_args), 0,
    235  1.6   tsutsui 	    sys_readlink },			/* 58 = readlink */
    236  1.6   tsutsui 	{ 3, s(struct sys_execve_args), 0,
    237  1.6   tsutsui 	    sys_execve },			/* 59 = execve */
    238  1.6   tsutsui #endif
    239  1.4   thorpej 	{ 1, s(struct sys_umask_args), 0,
    240  1.1       scw 	    sys_umask },			/* 60 = umask */
    241  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    242  1.4   thorpej 	{ 1, s(struct aoutm68k_sys_chroot_args), 0,
    243  1.1       scw 	    aoutm68k_sys_chroot },		/* 61 = chroot */
    244  1.6   tsutsui #else
    245  1.6   tsutsui 	{ 1, s(struct sys_chroot_args), 0,
    246  1.6   tsutsui 	    sys_chroot },			/* 61 = chroot */
    247  1.6   tsutsui #endif
    248  1.1       scw #ifdef COMPAT_43
    249  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_43_sys_fstat_args), 0,
    250  1.1       scw 	    aoutm68k_compat_43_sys_fstat },	/* 62 = fstat43 */
    251  1.4   thorpej 	{ 4, s(struct compat_43_sys_getkerninfo_args), 0,
    252  1.1       scw 	    compat_43_sys_getkerninfo },	/* 63 = ogetkerninfo */
    253  1.4   thorpej 	{ 0, 0, 0,
    254  1.1       scw 	    compat_43_sys_getpagesize },	/* 64 = ogetpagesize */
    255  1.1       scw #else
    256  1.4   thorpej 	{ 0, 0, 0,
    257  1.1       scw 	    sys_nosys },			/* 62 = excluded aoutm68k_compat_43_sys_fstat */
    258  1.4   thorpej 	{ 0, 0, 0,
    259  1.1       scw 	    sys_nosys },			/* 63 = excluded compat_43_sys_getkerninfo */
    260  1.4   thorpej 	{ 0, 0, 0,
    261  1.1       scw 	    sys_nosys },			/* 64 = excluded compat_43_sys_getpagesize */
    262  1.1       scw #endif
    263  1.1       scw #ifdef COMPAT_12
    264  1.4   thorpej 	{ 2, s(struct compat_12_sys_msync_args), 0,
    265  1.1       scw 	    compat_12_sys_msync },		/* 65 = msync */
    266  1.1       scw #else
    267  1.4   thorpej 	{ 0, 0, 0,
    268  1.1       scw 	    sys_nosys },			/* 65 = excluded compat_12_sys_msync */
    269  1.1       scw #endif
    270  1.4   thorpej 	{ 0, 0, 0,
    271  1.1       scw 	    sys_vfork },			/* 66 = vfork */
    272  1.4   thorpej 	{ 0, 0, 0,
    273  1.1       scw 	    sys_nosys },			/* 67 = obsolete vread */
    274  1.4   thorpej 	{ 0, 0, 0,
    275  1.1       scw 	    sys_nosys },			/* 68 = obsolete vwrite */
    276  1.4   thorpej 	{ 1, s(struct sys_sbrk_args), 0,
    277  1.1       scw 	    sys_sbrk },				/* 69 = sbrk */
    278  1.4   thorpej 	{ 1, s(struct sys_sstk_args), 0,
    279  1.1       scw 	    sys_sstk },				/* 70 = sstk */
    280  1.1       scw #ifdef COMPAT_43
    281  1.4   thorpej 	{ 6, s(struct compat_43_sys_mmap_args), 0,
    282  1.1       scw 	    compat_43_sys_mmap },		/* 71 = ommap */
    283  1.1       scw #else
    284  1.4   thorpej 	{ 0, 0, 0,
    285  1.1       scw 	    sys_nosys },			/* 71 = excluded compat_43_sys_mmap */
    286  1.1       scw #endif
    287  1.4   thorpej 	{ 1, s(struct sys_ovadvise_args), 0,
    288  1.1       scw 	    sys_ovadvise },			/* 72 = vadvise */
    289  1.4   thorpej 	{ 2, s(struct sys_munmap_args), 0,
    290  1.1       scw 	    sys_munmap },			/* 73 = munmap */
    291  1.4   thorpej 	{ 3, s(struct sys_mprotect_args), 0,
    292  1.1       scw 	    sys_mprotect },			/* 74 = mprotect */
    293  1.4   thorpej 	{ 3, s(struct sys_madvise_args), 0,
    294  1.1       scw 	    sys_madvise },			/* 75 = madvise */
    295  1.4   thorpej 	{ 0, 0, 0,
    296  1.1       scw 	    sys_nosys },			/* 76 = obsolete vhangup */
    297  1.4   thorpej 	{ 0, 0, 0,
    298  1.1       scw 	    sys_nosys },			/* 77 = obsolete vlimit */
    299  1.4   thorpej 	{ 3, s(struct sys_mincore_args), 0,
    300  1.1       scw 	    sys_mincore },			/* 78 = mincore */
    301  1.4   thorpej 	{ 2, s(struct sys_getgroups_args), 0,
    302  1.1       scw 	    sys_getgroups },			/* 79 = getgroups */
    303  1.4   thorpej 	{ 2, s(struct sys_setgroups_args), 0,
    304  1.1       scw 	    sys_setgroups },			/* 80 = setgroups */
    305  1.4   thorpej 	{ 0, 0, 0,
    306  1.1       scw 	    sys_getpgrp },			/* 81 = getpgrp */
    307  1.4   thorpej 	{ 2, s(struct sys_setpgid_args), 0,
    308  1.1       scw 	    sys_setpgid },			/* 82 = setpgid */
    309  1.4   thorpej 	{ 3, s(struct sys_setitimer_args), 0,
    310  1.1       scw 	    sys_setitimer },			/* 83 = setitimer */
    311  1.1       scw #ifdef COMPAT_43
    312  1.4   thorpej 	{ 0, 0, 0,
    313  1.1       scw 	    compat_43_sys_wait },		/* 84 = owait */
    314  1.1       scw #else
    315  1.4   thorpej 	{ 0, 0, 0,
    316  1.1       scw 	    sys_nosys },			/* 84 = excluded compat_43_sys_wait */
    317  1.1       scw #endif
    318  1.1       scw #ifdef COMPAT_12
    319  1.4   thorpej 	{ 1, s(struct compat_12_sys_swapon_args), 0,
    320  1.1       scw 	    compat_12_sys_swapon },		/* 85 = oswapon */
    321  1.1       scw #else
    322  1.4   thorpej 	{ 0, 0, 0,
    323  1.1       scw 	    sys_nosys },			/* 85 = excluded compat_12_sys_swapon */
    324  1.1       scw #endif
    325  1.4   thorpej 	{ 2, s(struct sys_getitimer_args), 0,
    326  1.1       scw 	    sys_getitimer },			/* 86 = getitimer */
    327  1.1       scw #ifdef COMPAT_43
    328  1.4   thorpej 	{ 2, s(struct compat_43_sys_gethostname_args), 0,
    329  1.1       scw 	    compat_43_sys_gethostname },	/* 87 = ogethostname */
    330  1.4   thorpej 	{ 2, s(struct compat_43_sys_sethostname_args), 0,
    331  1.1       scw 	    compat_43_sys_sethostname },	/* 88 = osethostname */
    332  1.4   thorpej 	{ 0, 0, 0,
    333  1.1       scw 	    compat_43_sys_getdtablesize },	/* 89 = ogetdtablesize */
    334  1.1       scw #else
    335  1.4   thorpej 	{ 0, 0, 0,
    336  1.1       scw 	    sys_nosys },			/* 87 = excluded compat_43_sys_gethostname */
    337  1.4   thorpej 	{ 0, 0, 0,
    338  1.1       scw 	    sys_nosys },			/* 88 = excluded compat_43_sys_sethostname */
    339  1.4   thorpej 	{ 0, 0, 0,
    340  1.1       scw 	    sys_nosys },			/* 89 = excluded compat_43_sys_getdtablesize */
    341  1.1       scw #endif
    342  1.4   thorpej 	{ 2, s(struct sys_dup2_args), 0,
    343  1.1       scw 	    sys_dup2 },				/* 90 = dup2 */
    344  1.4   thorpej 	{ 0, 0, 0,
    345  1.1       scw 	    sys_nosys },			/* 91 = unimplemented getdopt */
    346  1.4   thorpej 	{ 3, s(struct sys_fcntl_args), 0,
    347  1.1       scw 	    sys_fcntl },			/* 92 = fcntl */
    348  1.4   thorpej 	{ 5, s(struct sys_select_args), 0,
    349  1.1       scw 	    sys_select },			/* 93 = select */
    350  1.4   thorpej 	{ 0, 0, 0,
    351  1.1       scw 	    sys_nosys },			/* 94 = unimplemented setdopt */
    352  1.4   thorpej 	{ 1, s(struct sys_fsync_args), 0,
    353  1.1       scw 	    sys_fsync },			/* 95 = fsync */
    354  1.4   thorpej 	{ 3, s(struct sys_setpriority_args), 0,
    355  1.1       scw 	    sys_setpriority },			/* 96 = setpriority */
    356  1.4   thorpej 	{ 3, s(struct sys_socket_args), 0,
    357  1.1       scw 	    sys_socket },			/* 97 = socket */
    358  1.4   thorpej 	{ 3, s(struct sys_connect_args), 0,
    359  1.1       scw 	    sys_connect },			/* 98 = connect */
    360  1.1       scw #ifdef COMPAT_43
    361  1.4   thorpej 	{ 3, s(struct compat_43_sys_accept_args), 0,
    362  1.1       scw 	    compat_43_sys_accept },		/* 99 = oaccept */
    363  1.1       scw #else
    364  1.4   thorpej 	{ 0, 0, 0,
    365  1.1       scw 	    sys_nosys },			/* 99 = excluded compat_43_sys_accept */
    366  1.1       scw #endif
    367  1.4   thorpej 	{ 2, s(struct sys_getpriority_args), 0,
    368  1.1       scw 	    sys_getpriority },			/* 100 = getpriority */
    369  1.1       scw #ifdef COMPAT_43
    370  1.4   thorpej 	{ 4, s(struct compat_43_sys_send_args), 0,
    371  1.1       scw 	    compat_43_sys_send },		/* 101 = osend */
    372  1.4   thorpej 	{ 4, s(struct compat_43_sys_recv_args), 0,
    373  1.1       scw 	    compat_43_sys_recv },		/* 102 = orecv */
    374  1.1       scw #else
    375  1.4   thorpej 	{ 0, 0, 0,
    376  1.1       scw 	    sys_nosys },			/* 101 = excluded compat_43_sys_send */
    377  1.4   thorpej 	{ 0, 0, 0,
    378  1.1       scw 	    sys_nosys },			/* 102 = excluded compat_43_sys_recv */
    379  1.1       scw #endif
    380  1.1       scw #ifdef COMPAT_13
    381  1.4   thorpej 	{ 1, s(struct compat_13_sys_sigreturn_args), 0,
    382  1.1       scw 	    compat_13_sys_sigreturn },		/* 103 = sigreturn13 */
    383  1.1       scw #else
    384  1.4   thorpej 	{ 0, 0, 0,
    385  1.1       scw 	    sys_nosys },			/* 103 = excluded compat_13_sys_sigreturn */
    386  1.1       scw #endif
    387  1.4   thorpej 	{ 3, s(struct sys_bind_args), 0,
    388  1.1       scw 	    sys_bind },				/* 104 = bind */
    389  1.4   thorpej 	{ 5, s(struct sys_setsockopt_args), 0,
    390  1.1       scw 	    sys_setsockopt },			/* 105 = setsockopt */
    391  1.4   thorpej 	{ 2, s(struct sys_listen_args), 0,
    392  1.1       scw 	    sys_listen },			/* 106 = listen */
    393  1.4   thorpej 	{ 0, 0, 0,
    394  1.1       scw 	    sys_nosys },			/* 107 = obsolete vtimes */
    395  1.1       scw #ifdef COMPAT_43
    396  1.4   thorpej 	{ 3, s(struct compat_43_sys_sigvec_args), 0,
    397  1.1       scw 	    compat_43_sys_sigvec },		/* 108 = osigvec */
    398  1.4   thorpej 	{ 1, s(struct compat_43_sys_sigblock_args), 0,
    399  1.1       scw 	    compat_43_sys_sigblock },		/* 109 = osigblock */
    400  1.4   thorpej 	{ 1, s(struct compat_43_sys_sigsetmask_args), 0,
    401  1.1       scw 	    compat_43_sys_sigsetmask },		/* 110 = osigsetmask */
    402  1.1       scw #else
    403  1.4   thorpej 	{ 0, 0, 0,
    404  1.1       scw 	    sys_nosys },			/* 108 = excluded compat_43_sys_sigvec */
    405  1.4   thorpej 	{ 0, 0, 0,
    406  1.1       scw 	    sys_nosys },			/* 109 = excluded compat_43_sys_sigblock */
    407  1.4   thorpej 	{ 0, 0, 0,
    408  1.1       scw 	    sys_nosys },			/* 110 = excluded compat_43_sys_sigsetmask */
    409  1.1       scw #endif
    410  1.1       scw #ifdef COMPAT_13
    411  1.4   thorpej 	{ 1, s(struct compat_13_sys_sigsuspend_args), 0,
    412  1.1       scw 	    compat_13_sys_sigsuspend },		/* 111 = sigsuspend13 */
    413  1.1       scw #else
    414  1.4   thorpej 	{ 0, 0, 0,
    415  1.1       scw 	    sys_nosys },			/* 111 = excluded compat_13_sys_sigsuspend */
    416  1.1       scw #endif
    417  1.1       scw #ifdef COMPAT_43
    418  1.4   thorpej 	{ 2, s(struct compat_43_sys_sigstack_args), 0,
    419  1.1       scw 	    compat_43_sys_sigstack },		/* 112 = osigstack */
    420  1.4   thorpej 	{ 3, s(struct compat_43_sys_recvmsg_args), 0,
    421  1.1       scw 	    compat_43_sys_recvmsg },		/* 113 = orecvmsg */
    422  1.4   thorpej 	{ 3, s(struct compat_43_sys_sendmsg_args), 0,
    423  1.1       scw 	    compat_43_sys_sendmsg },		/* 114 = osendmsg */
    424  1.1       scw #else
    425  1.4   thorpej 	{ 0, 0, 0,
    426  1.1       scw 	    sys_nosys },			/* 112 = excluded compat_43_sys_sigstack */
    427  1.4   thorpej 	{ 0, 0, 0,
    428  1.1       scw 	    sys_nosys },			/* 113 = excluded compat_43_sys_recvmesg */
    429  1.4   thorpej 	{ 0, 0, 0,
    430  1.1       scw 	    sys_nosys },			/* 114 = excluded compat_43_sys_sendmesg */
    431  1.1       scw #endif
    432  1.4   thorpej 	{ 0, 0, 0,
    433  1.1       scw 	    sys_nosys },			/* 115 = obsolete vtrace */
    434  1.4   thorpej 	{ 2, s(struct sys_gettimeofday_args), 0,
    435  1.1       scw 	    sys_gettimeofday },			/* 116 = gettimeofday */
    436  1.4   thorpej 	{ 2, s(struct sys_getrusage_args), 0,
    437  1.1       scw 	    sys_getrusage },			/* 117 = getrusage */
    438  1.4   thorpej 	{ 5, s(struct sys_getsockopt_args), 0,
    439  1.1       scw 	    sys_getsockopt },			/* 118 = getsockopt */
    440  1.4   thorpej 	{ 0, 0, 0,
    441  1.1       scw 	    sys_nosys },			/* 119 = obsolete resuba */
    442  1.4   thorpej 	{ 3, s(struct sys_readv_args), 0,
    443  1.1       scw 	    sys_readv },			/* 120 = readv */
    444  1.4   thorpej 	{ 3, s(struct sys_writev_args), 0,
    445  1.1       scw 	    sys_writev },			/* 121 = writev */
    446  1.4   thorpej 	{ 2, s(struct sys_settimeofday_args), 0,
    447  1.1       scw 	    sys_settimeofday },			/* 122 = settimeofday */
    448  1.4   thorpej 	{ 3, s(struct sys_fchown_args), 0,
    449  1.1       scw 	    sys_fchown },			/* 123 = fchown */
    450  1.4   thorpej 	{ 2, s(struct sys_fchmod_args), 0,
    451  1.1       scw 	    sys_fchmod },			/* 124 = fchmod */
    452  1.1       scw #ifdef COMPAT_43
    453  1.4   thorpej 	{ 6, s(struct compat_43_sys_recvfrom_args), 0,
    454  1.1       scw 	    compat_43_sys_recvfrom },		/* 125 = orecvfrom */
    455  1.1       scw #else
    456  1.4   thorpej 	{ 0, 0, 0,
    457  1.1       scw 	    sys_nosys },			/* 125 = excluded compat_43_sys_recvfrom */
    458  1.1       scw #endif
    459  1.4   thorpej 	{ 2, s(struct sys_setreuid_args), 0,
    460  1.1       scw 	    sys_setreuid },			/* 126 = setreuid */
    461  1.4   thorpej 	{ 2, s(struct sys_setregid_args), 0,
    462  1.1       scw 	    sys_setregid },			/* 127 = setregid */
    463  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    464  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_rename_args), 0,
    465  1.1       scw 	    aoutm68k_sys_rename },		/* 128 = rename */
    466  1.6   tsutsui #else
    467  1.6   tsutsui 	{ 2, s(struct sys_rename_args), 0,
    468  1.6   tsutsui 	    sys_rename },			/* 128 = rename */
    469  1.6   tsutsui #endif
    470  1.1       scw #ifdef COMPAT_43
    471  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    472  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_43_sys_truncate_args), 0,
    473  1.1       scw 	    aoutm68k_compat_43_sys_truncate },	/* 129 = otruncate */
    474  1.6   tsutsui #else
    475  1.6   tsutsui 	{ 2, s(struct compat_43_sys_truncate_args), 0,
    476  1.6   tsutsui 	    compat_43_sys_truncate },		/* 129 = otruncate */
    477  1.6   tsutsui #endif
    478  1.4   thorpej 	{ 2, s(struct compat_43_sys_ftruncate_args), 0,
    479  1.1       scw 	    compat_43_sys_ftruncate },		/* 130 = oftruncate */
    480  1.1       scw #else
    481  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    482  1.4   thorpej 	{ 0, 0, 0,
    483  1.1       scw 	    sys_nosys },			/* 129 = excluded aoutm68k_compat_43_sys_truncate */
    484  1.6   tsutsui #else
    485  1.6   tsutsui 	{ 0, 0, 0,
    486  1.6   tsutsui 	    sys_nosys },			/* 129 = excluded compat_43_sys_truncate */
    487  1.6   tsutsui #endif
    488  1.4   thorpej 	{ 0, 0, 0,
    489  1.1       scw 	    sys_nosys },			/* 130 = excluded compat_43_sys_ftruncate */
    490  1.1       scw #endif
    491  1.4   thorpej 	{ 2, s(struct sys_flock_args), 0,
    492  1.1       scw 	    sys_flock },			/* 131 = flock */
    493  1.4   thorpej 	{ 2, s(struct sys_mkfifo_args), 0,
    494  1.1       scw 	    sys_mkfifo },			/* 132 = mkfifo */
    495  1.4   thorpej 	{ 6, s(struct sys_sendto_args), 0,
    496  1.1       scw 	    sys_sendto },			/* 133 = sendto */
    497  1.4   thorpej 	{ 2, s(struct sys_shutdown_args), 0,
    498  1.1       scw 	    sys_shutdown },			/* 134 = shutdown */
    499  1.4   thorpej 	{ 4, s(struct sys_socketpair_args), 0,
    500  1.1       scw 	    sys_socketpair },			/* 135 = socketpair */
    501  1.4   thorpej 	{ 2, s(struct sys_mkdir_args), 0,
    502  1.1       scw 	    sys_mkdir },			/* 136 = mkdir */
    503  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    504  1.4   thorpej 	{ 1, s(struct aoutm68k_sys_rmdir_args), 0,
    505  1.1       scw 	    aoutm68k_sys_rmdir },		/* 137 = rmdir */
    506  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_utimes_args), 0,
    507  1.1       scw 	    aoutm68k_sys_utimes },		/* 138 = utimes */
    508  1.6   tsutsui #else
    509  1.6   tsutsui 	{ 1, s(struct sys_rmdir_args), 0,
    510  1.6   tsutsui 	    sys_rmdir },			/* 137 = rmdir */
    511  1.6   tsutsui 	{ 2, s(struct sys_utimes_args), 0,
    512  1.6   tsutsui 	    sys_utimes },			/* 138 = utimes */
    513  1.6   tsutsui #endif
    514  1.4   thorpej 	{ 0, 0, 0,
    515  1.1       scw 	    sys_nosys },			/* 139 = obsolete 4.2 sigreturn */
    516  1.4   thorpej 	{ 2, s(struct sys_adjtime_args), 0,
    517  1.1       scw 	    sys_adjtime },			/* 140 = adjtime */
    518  1.1       scw #ifdef COMPAT_43
    519  1.4   thorpej 	{ 3, s(struct compat_43_sys_getpeername_args), 0,
    520  1.1       scw 	    compat_43_sys_getpeername },	/* 141 = ogetpeername */
    521  1.4   thorpej 	{ 0, 0, 0,
    522  1.1       scw 	    compat_43_sys_gethostid },		/* 142 = ogethostid */
    523  1.4   thorpej 	{ 1, s(struct compat_43_sys_sethostid_args), 0,
    524  1.1       scw 	    compat_43_sys_sethostid },		/* 143 = osethostid */
    525  1.4   thorpej 	{ 2, s(struct compat_43_sys_getrlimit_args), 0,
    526  1.1       scw 	    compat_43_sys_getrlimit },		/* 144 = ogetrlimit */
    527  1.4   thorpej 	{ 2, s(struct compat_43_sys_setrlimit_args), 0,
    528  1.1       scw 	    compat_43_sys_setrlimit },		/* 145 = osetrlimit */
    529  1.4   thorpej 	{ 2, s(struct compat_43_sys_killpg_args), 0,
    530  1.1       scw 	    compat_43_sys_killpg },		/* 146 = okillpg */
    531  1.1       scw #else
    532  1.4   thorpej 	{ 0, 0, 0,
    533  1.1       scw 	    sys_nosys },			/* 141 = excluded compat_43_sys_getpeername */
    534  1.4   thorpej 	{ 0, 0, 0,
    535  1.1       scw 	    sys_nosys },			/* 142 = excluded compat_43_sys_gethostid */
    536  1.4   thorpej 	{ 0, 0, 0,
    537  1.1       scw 	    sys_nosys },			/* 143 = excluded compat_43_sys_sethostid */
    538  1.4   thorpej 	{ 0, 0, 0,
    539  1.1       scw 	    sys_nosys },			/* 144 = excluded compat_43_sys_getrlimit */
    540  1.4   thorpej 	{ 0, 0, 0,
    541  1.1       scw 	    sys_nosys },			/* 145 = excluded compat_43_sys_setrlimit */
    542  1.4   thorpej 	{ 0, 0, 0,
    543  1.1       scw 	    sys_nosys },			/* 146 = excluded compat_43_sys_killpg */
    544  1.1       scw #endif
    545  1.4   thorpej 	{ 0, 0, 0,
    546  1.1       scw 	    sys_setsid },			/* 147 = setsid */
    547  1.4   thorpej 	{ 4, s(struct sys_quotactl_args), 0,
    548  1.1       scw 	    sys_quotactl },			/* 148 = quotactl */
    549  1.1       scw #ifdef COMPAT_43
    550  1.4   thorpej 	{ 0, 0, 0,
    551  1.1       scw 	    compat_43_sys_quota },		/* 149 = oquota */
    552  1.4   thorpej 	{ 3, s(struct compat_43_sys_getsockname_args), 0,
    553  1.1       scw 	    compat_43_sys_getsockname },	/* 150 = ogetsockname */
    554  1.1       scw #else
    555  1.4   thorpej 	{ 0, 0, 0,
    556  1.1       scw 	    sys_nosys },			/* 149 = excluded compat_43_sys_quota */
    557  1.4   thorpej 	{ 0, 0, 0,
    558  1.1       scw 	    sys_nosys },			/* 150 = excluded compat_43_sys_getsockname */
    559  1.1       scw #endif
    560  1.4   thorpej 	{ 0, 0, 0,
    561  1.1       scw 	    sys_nosys },			/* 151 = unimplemented */
    562  1.4   thorpej 	{ 0, 0, 0,
    563  1.1       scw 	    sys_nosys },			/* 152 = unimplemented */
    564  1.4   thorpej 	{ 0, 0, 0,
    565  1.1       scw 	    sys_nosys },			/* 153 = unimplemented */
    566  1.4   thorpej 	{ 0, 0, 0,
    567  1.1       scw 	    sys_nosys },			/* 154 = unimplemented */
    568  1.1       scw #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    569  1.4   thorpej 	{ 2, s(struct sys_nfssvc_args), 0,
    570  1.1       scw 	    sys_nfssvc },			/* 155 = nfssvc */
    571  1.1       scw #else
    572  1.4   thorpej 	{ 0, 0, 0,
    573  1.1       scw 	    sys_nosys },			/* 155 = excluded nfssvc */
    574  1.1       scw #endif
    575  1.1       scw #ifdef COMPAT_43
    576  1.4   thorpej 	{ 4, s(struct compat_43_sys_getdirentries_args), 0,
    577  1.1       scw 	    compat_43_sys_getdirentries },	/* 156 = ogetdirentries */
    578  1.1       scw #else
    579  1.4   thorpej 	{ 0, 0, 0,
    580  1.1       scw 	    sys_nosys },			/* 156 = excluded compat_43_sys_getdirentries */
    581  1.1       scw #endif
    582  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    583  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_statfs_args), 0,
    584  1.1       scw 	    aoutm68k_sys_statfs },		/* 157 = statfs */
    585  1.6   tsutsui #else
    586  1.6   tsutsui 	{ 2, s(struct sys_statfs_args), 0,
    587  1.6   tsutsui 	    sys_statfs },			/* 157 = statfs */
    588  1.6   tsutsui #endif
    589  1.4   thorpej 	{ 2, s(struct sys_fstatfs_args), 0,
    590  1.1       scw 	    sys_fstatfs },			/* 158 = fstatfs */
    591  1.4   thorpej 	{ 0, 0, 0,
    592  1.1       scw 	    sys_nosys },			/* 159 = unimplemented */
    593  1.4   thorpej 	{ 0, 0, 0,
    594  1.1       scw 	    sys_nosys },			/* 160 = unimplemented */
    595  1.1       scw #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    596  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    597  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_getfh_args), 0,
    598  1.1       scw 	    aoutm68k_sys_getfh },		/* 161 = getfh */
    599  1.1       scw #else
    600  1.6   tsutsui 	{ 2, s(struct sys_getfh_args), 0,
    601  1.6   tsutsui 	    sys_getfh },			/* 161 = getfh */
    602  1.6   tsutsui #endif
    603  1.6   tsutsui #else
    604  1.4   thorpej 	{ 0, 0, 0,
    605  1.1       scw 	    sys_nosys },			/* 161 = excluded getfh */
    606  1.1       scw #endif
    607  1.1       scw #ifdef COMPAT_09
    608  1.4   thorpej 	{ 2, s(struct compat_09_sys_getdomainname_args), 0,
    609  1.1       scw 	    compat_09_sys_getdomainname },	/* 162 = ogetdomainname */
    610  1.4   thorpej 	{ 2, s(struct compat_09_sys_setdomainname_args), 0,
    611  1.1       scw 	    compat_09_sys_setdomainname },	/* 163 = osetdomainname */
    612  1.4   thorpej 	{ 1, s(struct compat_09_sys_uname_args), 0,
    613  1.1       scw 	    compat_09_sys_uname },		/* 164 = ouname */
    614  1.1       scw #else
    615  1.4   thorpej 	{ 0, 0, 0,
    616  1.1       scw 	    sys_nosys },			/* 162 = excluded compat_09_sys_getdomainname */
    617  1.4   thorpej 	{ 0, 0, 0,
    618  1.1       scw 	    sys_nosys },			/* 163 = excluded compat_09_sys_setdomainname */
    619  1.4   thorpej 	{ 0, 0, 0,
    620  1.1       scw 	    sys_nosys },			/* 164 = excluded compat_09_sys_uname */
    621  1.1       scw #endif
    622  1.4   thorpej 	{ 2, s(struct sys_sysarch_args), 0,
    623  1.1       scw 	    sys_sysarch },			/* 165 = sysarch */
    624  1.4   thorpej 	{ 0, 0, 0,
    625  1.1       scw 	    sys_nosys },			/* 166 = unimplemented */
    626  1.4   thorpej 	{ 0, 0, 0,
    627  1.1       scw 	    sys_nosys },			/* 167 = unimplemented */
    628  1.4   thorpej 	{ 0, 0, 0,
    629  1.1       scw 	    sys_nosys },			/* 168 = unimplemented */
    630  1.1       scw #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    631  1.4   thorpej 	{ 5, s(struct compat_10_sys_semsys_args), 0,
    632  1.1       scw 	    compat_10_sys_semsys },		/* 169 = osemsys */
    633  1.1       scw #else
    634  1.4   thorpej 	{ 0, 0, 0,
    635  1.1       scw 	    sys_nosys },			/* 169 = excluded 1.0 semsys */
    636  1.1       scw #endif
    637  1.1       scw #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    638  1.4   thorpej 	{ 6, s(struct compat_10_sys_msgsys_args), 0,
    639  1.1       scw 	    compat_10_sys_msgsys },		/* 170 = omsgsys */
    640  1.1       scw #else
    641  1.4   thorpej 	{ 0, 0, 0,
    642  1.1       scw 	    sys_nosys },			/* 170 = excluded 1.0 msgsys */
    643  1.1       scw #endif
    644  1.1       scw #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    645  1.4   thorpej 	{ 4, s(struct compat_10_sys_shmsys_args), 0,
    646  1.1       scw 	    compat_10_sys_shmsys },		/* 171 = oshmsys */
    647  1.1       scw #else
    648  1.4   thorpej 	{ 0, 0, 0,
    649  1.1       scw 	    sys_nosys },			/* 171 = excluded 1.0 shmsys */
    650  1.1       scw #endif
    651  1.4   thorpej 	{ 0, 0, 0,
    652  1.1       scw 	    sys_nosys },			/* 172 = unimplemented */
    653  1.4   thorpej 	{ 5, s(struct sys_pread_args), 0,
    654  1.1       scw 	    sys_pread },			/* 173 = pread */
    655  1.4   thorpej 	{ 5, s(struct sys_pwrite_args), 0,
    656  1.1       scw 	    sys_pwrite },			/* 174 = pwrite */
    657  1.4   thorpej 	{ 1, s(struct sys_ntp_gettime_args), 0,
    658  1.1       scw 	    sys_ntp_gettime },			/* 175 = ntp_gettime */
    659  1.1       scw #if defined(NTP) || !defined(_KERNEL)
    660  1.4   thorpej 	{ 1, s(struct sys_ntp_adjtime_args), 0,
    661  1.1       scw 	    sys_ntp_adjtime },			/* 176 = ntp_adjtime */
    662  1.1       scw #else
    663  1.4   thorpej 	{ 0, 0, 0,
    664  1.1       scw 	    sys_nosys },			/* 176 = excluded ntp_adjtime */
    665  1.1       scw #endif
    666  1.4   thorpej 	{ 0, 0, 0,
    667  1.1       scw 	    sys_nosys },			/* 177 = unimplemented */
    668  1.4   thorpej 	{ 0, 0, 0,
    669  1.1       scw 	    sys_nosys },			/* 178 = unimplemented */
    670  1.4   thorpej 	{ 0, 0, 0,
    671  1.1       scw 	    sys_nosys },			/* 179 = unimplemented */
    672  1.4   thorpej 	{ 0, 0, 0,
    673  1.1       scw 	    sys_nosys },			/* 180 = unimplemented */
    674  1.4   thorpej 	{ 1, s(struct sys_setgid_args), 0,
    675  1.1       scw 	    sys_setgid },			/* 181 = setgid */
    676  1.4   thorpej 	{ 1, s(struct sys_setegid_args), 0,
    677  1.1       scw 	    sys_setegid },			/* 182 = setegid */
    678  1.4   thorpej 	{ 1, s(struct sys_seteuid_args), 0,
    679  1.1       scw 	    sys_seteuid },			/* 183 = seteuid */
    680  1.1       scw #if defined(LFS) || !defined(_KERNEL)
    681  1.4   thorpej 	{ 3, s(struct sys_lfs_bmapv_args), 0,
    682  1.1       scw 	    sys_lfs_bmapv },			/* 184 = lfs_bmapv */
    683  1.4   thorpej 	{ 3, s(struct sys_lfs_markv_args), 0,
    684  1.1       scw 	    sys_lfs_markv },			/* 185 = lfs_markv */
    685  1.4   thorpej 	{ 2, s(struct sys_lfs_segclean_args), 0,
    686  1.1       scw 	    sys_lfs_segclean },			/* 186 = lfs_segclean */
    687  1.4   thorpej 	{ 2, s(struct sys_lfs_segwait_args), 0,
    688  1.1       scw 	    sys_lfs_segwait },			/* 187 = lfs_segwait */
    689  1.1       scw #else
    690  1.4   thorpej 	{ 0, 0, 0,
    691  1.1       scw 	    sys_nosys },			/* 184 = excluded lfs_bmapv */
    692  1.4   thorpej 	{ 0, 0, 0,
    693  1.1       scw 	    sys_nosys },			/* 185 = excluded lfs_markv */
    694  1.4   thorpej 	{ 0, 0, 0,
    695  1.1       scw 	    sys_nosys },			/* 186 = excluded lfs_segclean */
    696  1.4   thorpej 	{ 0, 0, 0,
    697  1.1       scw 	    sys_nosys },			/* 187 = excluded lfs_segwait */
    698  1.1       scw #endif
    699  1.1       scw #ifdef COMPAT_12
    700  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_12_sys_stat_args), 0,
    701  1.1       scw 	    aoutm68k_compat_12_sys_stat },	/* 188 = stat12 */
    702  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_12_sys_fstat_args), 0,
    703  1.1       scw 	    aoutm68k_compat_12_sys_fstat },	/* 189 = fstat12 */
    704  1.4   thorpej 	{ 2, s(struct aoutm68k_compat_12_sys_lstat_args), 0,
    705  1.1       scw 	    aoutm68k_compat_12_sys_lstat },	/* 190 = lstat12 */
    706  1.1       scw #else
    707  1.4   thorpej 	{ 0, 0, 0,
    708  1.1       scw 	    sys_nosys },			/* 188 = excluded aoutm68k_compat_12_sys_stat */
    709  1.4   thorpej 	{ 0, 0, 0,
    710  1.1       scw 	    sys_nosys },			/* 189 = excluded aoutm68k_compat_12_sys_fstat */
    711  1.4   thorpej 	{ 0, 0, 0,
    712  1.1       scw 	    sys_nosys },			/* 190 = excluded aoutm68k_compat_12_sys_lstat */
    713  1.1       scw #endif
    714  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    715  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_pathconf_args), 0,
    716  1.1       scw 	    aoutm68k_sys_pathconf },		/* 191 = pathconf */
    717  1.6   tsutsui #else
    718  1.6   tsutsui 	{ 2, s(struct sys_pathconf_args), 0,
    719  1.6   tsutsui 	    sys_pathconf },			/* 191 = pathconf */
    720  1.6   tsutsui #endif
    721  1.4   thorpej 	{ 2, s(struct sys_fpathconf_args), 0,
    722  1.1       scw 	    sys_fpathconf },			/* 192 = fpathconf */
    723  1.4   thorpej 	{ 0, 0, 0,
    724  1.1       scw 	    sys_nosys },			/* 193 = unimplemented */
    725  1.4   thorpej 	{ 2, s(struct sys_getrlimit_args), 0,
    726  1.1       scw 	    sys_getrlimit },			/* 194 = getrlimit */
    727  1.4   thorpej 	{ 2, s(struct sys_setrlimit_args), 0,
    728  1.1       scw 	    sys_setrlimit },			/* 195 = setrlimit */
    729  1.1       scw #ifdef COMPAT_12
    730  1.4   thorpej 	{ 4, s(struct compat_12_sys_getdirentries_args), 0,
    731  1.1       scw 	    compat_12_sys_getdirentries },	/* 196 = getdirentries */
    732  1.1       scw #else
    733  1.4   thorpej 	{ 0, 0, 0,
    734  1.1       scw 	    sys_nosys },			/* 196 = excluded compat_12_sys_getdirentries */
    735  1.1       scw #endif
    736  1.4   thorpej 	{ 7, s(struct sys_mmap_args), 0,
    737  1.1       scw 	    sys_mmap },				/* 197 = mmap */
    738  1.4   thorpej 	{ 0, 0, 0,
    739  1.1       scw 	    sys_nosys },			/* 198 = __syscall (indir) */
    740  1.4   thorpej 	{ 4, s(struct sys_lseek_args), 0,
    741  1.1       scw 	    sys_lseek },			/* 199 = lseek */
    742  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    743  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_truncate_args), 0,
    744  1.1       scw 	    aoutm68k_sys_truncate },		/* 200 = truncate */
    745  1.6   tsutsui #else
    746  1.6   tsutsui 	{ 3, s(struct sys_truncate_args), 0,
    747  1.6   tsutsui 	    sys_truncate },			/* 200 = truncate */
    748  1.6   tsutsui #endif
    749  1.4   thorpej 	{ 3, s(struct sys_ftruncate_args), 0,
    750  1.1       scw 	    sys_ftruncate },			/* 201 = ftruncate */
    751  1.4   thorpej 	{ 6, s(struct sys___sysctl_args), 0,
    752  1.1       scw 	    sys___sysctl },			/* 202 = __sysctl */
    753  1.4   thorpej 	{ 2, s(struct sys_mlock_args), 0,
    754  1.1       scw 	    sys_mlock },			/* 203 = mlock */
    755  1.4   thorpej 	{ 2, s(struct sys_munlock_args), 0,
    756  1.1       scw 	    sys_munlock },			/* 204 = munlock */
    757  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    758  1.4   thorpej 	{ 1, s(struct aoutm68k_sys_undelete_args), 0,
    759  1.1       scw 	    aoutm68k_sys_undelete },		/* 205 = undelete */
    760  1.6   tsutsui #else
    761  1.6   tsutsui 	{ 1, s(struct sys_undelete_args), 0,
    762  1.6   tsutsui 	    sys_undelete },			/* 205 = undelete */
    763  1.6   tsutsui #endif
    764  1.4   thorpej 	{ 2, s(struct sys_futimes_args), 0,
    765  1.1       scw 	    sys_futimes },			/* 206 = futimes */
    766  1.4   thorpej 	{ 1, s(struct sys_getpgid_args), 0,
    767  1.1       scw 	    sys_getpgid },			/* 207 = getpgid */
    768  1.4   thorpej 	{ 2, s(struct sys_reboot_args), 0,
    769  1.1       scw 	    sys_reboot },			/* 208 = reboot */
    770  1.4   thorpej 	{ 3, s(struct sys_poll_args), 0,
    771  1.1       scw 	    sys_poll },				/* 209 = poll */
    772  1.1       scw #if defined(LKM) || !defined(_KERNEL)
    773  1.4   thorpej 	{ 0, 0, 0,
    774  1.1       scw 	    sys_lkmnosys },			/* 210 = lkmnosys */
    775  1.4   thorpej 	{ 0, 0, 0,
    776  1.1       scw 	    sys_lkmnosys },			/* 211 = lkmnosys */
    777  1.4   thorpej 	{ 0, 0, 0,
    778  1.1       scw 	    sys_lkmnosys },			/* 212 = lkmnosys */
    779  1.4   thorpej 	{ 0, 0, 0,
    780  1.1       scw 	    sys_lkmnosys },			/* 213 = lkmnosys */
    781  1.4   thorpej 	{ 0, 0, 0,
    782  1.1       scw 	    sys_lkmnosys },			/* 214 = lkmnosys */
    783  1.4   thorpej 	{ 0, 0, 0,
    784  1.1       scw 	    sys_lkmnosys },			/* 215 = lkmnosys */
    785  1.4   thorpej 	{ 0, 0, 0,
    786  1.1       scw 	    sys_lkmnosys },			/* 216 = lkmnosys */
    787  1.4   thorpej 	{ 0, 0, 0,
    788  1.1       scw 	    sys_lkmnosys },			/* 217 = lkmnosys */
    789  1.4   thorpej 	{ 0, 0, 0,
    790  1.1       scw 	    sys_lkmnosys },			/* 218 = lkmnosys */
    791  1.4   thorpej 	{ 0, 0, 0,
    792  1.1       scw 	    sys_lkmnosys },			/* 219 = lkmnosys */
    793  1.1       scw #else	/* !LKM */
    794  1.4   thorpej 	{ 0, 0, 0,
    795  1.1       scw 	    sys_nosys },			/* 210 = excluded lkmnosys */
    796  1.4   thorpej 	{ 0, 0, 0,
    797  1.1       scw 	    sys_nosys },			/* 211 = excluded lkmnosys */
    798  1.4   thorpej 	{ 0, 0, 0,
    799  1.1       scw 	    sys_nosys },			/* 212 = excluded lkmnosys */
    800  1.4   thorpej 	{ 0, 0, 0,
    801  1.1       scw 	    sys_nosys },			/* 213 = excluded lkmnosys */
    802  1.4   thorpej 	{ 0, 0, 0,
    803  1.1       scw 	    sys_nosys },			/* 214 = excluded lkmnosys */
    804  1.4   thorpej 	{ 0, 0, 0,
    805  1.1       scw 	    sys_nosys },			/* 215 = excluded lkmnosys */
    806  1.4   thorpej 	{ 0, 0, 0,
    807  1.1       scw 	    sys_nosys },			/* 216 = excluded lkmnosys */
    808  1.4   thorpej 	{ 0, 0, 0,
    809  1.1       scw 	    sys_nosys },			/* 217 = excluded lkmnosys */
    810  1.4   thorpej 	{ 0, 0, 0,
    811  1.1       scw 	    sys_nosys },			/* 218 = excluded lkmnosys */
    812  1.4   thorpej 	{ 0, 0, 0,
    813  1.1       scw 	    sys_nosys },			/* 219 = excluded lkmnosys */
    814  1.1       scw #endif	/* !LKM */
    815  1.1       scw #if defined(SYSVSEM) || !defined(_KERNEL)
    816  1.1       scw #ifdef COMPAT_14
    817  1.4   thorpej 	{ 4, s(struct compat_14_sys___semctl_args), 0,
    818  1.1       scw 	    compat_14_sys___semctl },		/* 220 = __semctl */
    819  1.1       scw #else
    820  1.4   thorpej 	{ 0, 0, 0,
    821  1.1       scw 	    sys_nosys },			/* 220 = excluded compat_14_semctl */
    822  1.1       scw #endif
    823  1.4   thorpej 	{ 3, s(struct sys_semget_args), 0,
    824  1.1       scw 	    sys_semget },			/* 221 = semget */
    825  1.4   thorpej 	{ 3, s(struct sys_semop_args), 0,
    826  1.1       scw 	    sys_semop },			/* 222 = semop */
    827  1.4   thorpej 	{ 1, s(struct sys_semconfig_args), 0,
    828  1.1       scw 	    sys_semconfig },			/* 223 = semconfig */
    829  1.1       scw #else
    830  1.4   thorpej 	{ 0, 0, 0,
    831  1.1       scw 	    sys_nosys },			/* 220 = excluded compat_14_semctl */
    832  1.4   thorpej 	{ 0, 0, 0,
    833  1.1       scw 	    sys_nosys },			/* 221 = excluded semget */
    834  1.4   thorpej 	{ 0, 0, 0,
    835  1.1       scw 	    sys_nosys },			/* 222 = excluded semop */
    836  1.4   thorpej 	{ 0, 0, 0,
    837  1.1       scw 	    sys_nosys },			/* 223 = excluded semconfig */
    838  1.1       scw #endif
    839  1.1       scw #if defined(SYSVMSG) || !defined(_KERNEL)
    840  1.1       scw #ifdef COMPAT_14
    841  1.4   thorpej 	{ 3, s(struct compat_14_sys_msgctl_args), 0,
    842  1.1       scw 	    compat_14_sys_msgctl },		/* 224 = msgctl */
    843  1.1       scw #else
    844  1.4   thorpej 	{ 0, 0, 0,
    845  1.1       scw 	    sys_nosys },			/* 224 = excluded compat_14_sys_msgctl */
    846  1.1       scw #endif
    847  1.4   thorpej 	{ 2, s(struct sys_msgget_args), 0,
    848  1.1       scw 	    sys_msgget },			/* 225 = msgget */
    849  1.4   thorpej 	{ 4, s(struct sys_msgsnd_args), 0,
    850  1.1       scw 	    sys_msgsnd },			/* 226 = msgsnd */
    851  1.4   thorpej 	{ 5, s(struct sys_msgrcv_args), 0,
    852  1.1       scw 	    sys_msgrcv },			/* 227 = msgrcv */
    853  1.1       scw #else
    854  1.4   thorpej 	{ 0, 0, 0,
    855  1.1       scw 	    sys_nosys },			/* 224 = excluded compat_14_msgctl */
    856  1.4   thorpej 	{ 0, 0, 0,
    857  1.1       scw 	    sys_nosys },			/* 225 = excluded msgget */
    858  1.4   thorpej 	{ 0, 0, 0,
    859  1.1       scw 	    sys_nosys },			/* 226 = excluded msgsnd */
    860  1.4   thorpej 	{ 0, 0, 0,
    861  1.1       scw 	    sys_nosys },			/* 227 = excluded msgrcv */
    862  1.1       scw #endif
    863  1.1       scw #if defined(SYSVSHM) || !defined(_KERNEL)
    864  1.4   thorpej 	{ 3, s(struct sys_shmat_args), 0,
    865  1.1       scw 	    sys_shmat },			/* 228 = shmat */
    866  1.1       scw #ifdef COMPAT_14
    867  1.4   thorpej 	{ 3, s(struct compat_14_sys_shmctl_args), 0,
    868  1.1       scw 	    compat_14_sys_shmctl },		/* 229 = shmctl */
    869  1.1       scw #else
    870  1.4   thorpej 	{ 0, 0, 0,
    871  1.1       scw 	    sys_nosys },			/* 229 = excluded compat_14_sys_shmctl */
    872  1.1       scw #endif
    873  1.4   thorpej 	{ 1, s(struct sys_shmdt_args), 0,
    874  1.1       scw 	    sys_shmdt },			/* 230 = shmdt */
    875  1.4   thorpej 	{ 3, s(struct sys_shmget_args), 0,
    876  1.1       scw 	    sys_shmget },			/* 231 = shmget */
    877  1.1       scw #else
    878  1.4   thorpej 	{ 0, 0, 0,
    879  1.1       scw 	    sys_nosys },			/* 228 = excluded shmat */
    880  1.4   thorpej 	{ 0, 0, 0,
    881  1.1       scw 	    sys_nosys },			/* 229 = excluded compat_14_shmctl */
    882  1.4   thorpej 	{ 0, 0, 0,
    883  1.1       scw 	    sys_nosys },			/* 230 = excluded shmdt */
    884  1.4   thorpej 	{ 0, 0, 0,
    885  1.1       scw 	    sys_nosys },			/* 231 = excluded shmget */
    886  1.1       scw #endif
    887  1.4   thorpej 	{ 2, s(struct sys_clock_gettime_args), 0,
    888  1.1       scw 	    sys_clock_gettime },		/* 232 = clock_gettime */
    889  1.4   thorpej 	{ 2, s(struct sys_clock_settime_args), 0,
    890  1.1       scw 	    sys_clock_settime },		/* 233 = clock_settime */
    891  1.4   thorpej 	{ 2, s(struct sys_clock_getres_args), 0,
    892  1.1       scw 	    sys_clock_getres },			/* 234 = clock_getres */
    893  1.4   thorpej 	{ 0, 0, 0,
    894  1.1       scw 	    sys_nosys },			/* 235 = unimplemented timer_create */
    895  1.4   thorpej 	{ 0, 0, 0,
    896  1.1       scw 	    sys_nosys },			/* 236 = unimplemented timer_delete */
    897  1.4   thorpej 	{ 0, 0, 0,
    898  1.1       scw 	    sys_nosys },			/* 237 = unimplemented timer_settime */
    899  1.4   thorpej 	{ 0, 0, 0,
    900  1.1       scw 	    sys_nosys },			/* 238 = unimplemented timer_gettime */
    901  1.4   thorpej 	{ 0, 0, 0,
    902  1.1       scw 	    sys_nosys },			/* 239 = unimplemented timer_getoverrun */
    903  1.4   thorpej 	{ 2, s(struct sys_nanosleep_args), 0,
    904  1.1       scw 	    sys_nanosleep },			/* 240 = nanosleep */
    905  1.4   thorpej 	{ 1, s(struct sys_fdatasync_args), 0,
    906  1.1       scw 	    sys_fdatasync },			/* 241 = fdatasync */
    907  1.4   thorpej 	{ 1, s(struct sys_mlockall_args), 0,
    908  1.1       scw 	    sys_mlockall },			/* 242 = mlockall */
    909  1.4   thorpej 	{ 0, 0, 0,
    910  1.1       scw 	    sys_munlockall },			/* 243 = munlockall */
    911  1.4   thorpej 	{ 0, 0, 0,
    912  1.1       scw 	    sys_nosys },			/* 244 = unimplemented */
    913  1.4   thorpej 	{ 0, 0, 0,
    914  1.1       scw 	    sys_nosys },			/* 245 = unimplemented */
    915  1.4   thorpej 	{ 0, 0, 0,
    916  1.1       scw 	    sys_nosys },			/* 246 = unimplemented */
    917  1.4   thorpej 	{ 0, 0, 0,
    918  1.1       scw 	    sys_nosys },			/* 247 = unimplemented */
    919  1.4   thorpej 	{ 0, 0, 0,
    920  1.1       scw 	    sys_nosys },			/* 248 = unimplemented */
    921  1.4   thorpej 	{ 0, 0, 0,
    922  1.1       scw 	    sys_nosys },			/* 249 = unimplemented */
    923  1.4   thorpej 	{ 0, 0, 0,
    924  1.1       scw 	    sys_nosys },			/* 250 = unimplemented */
    925  1.4   thorpej 	{ 0, 0, 0,
    926  1.1       scw 	    sys_nosys },			/* 251 = unimplemented */
    927  1.4   thorpej 	{ 0, 0, 0,
    928  1.1       scw 	    sys_nosys },			/* 252 = unimplemented */
    929  1.4   thorpej 	{ 0, 0, 0,
    930  1.1       scw 	    sys_nosys },			/* 253 = unimplemented */
    931  1.4   thorpej 	{ 0, 0, 0,
    932  1.1       scw 	    sys_nosys },			/* 254 = unimplemented */
    933  1.4   thorpej 	{ 0, 0, 0,
    934  1.1       scw 	    sys_nosys },			/* 255 = unimplemented */
    935  1.4   thorpej 	{ 0, 0, 0,
    936  1.1       scw 	    sys_nosys },			/* 256 = unimplemented */
    937  1.4   thorpej 	{ 0, 0, 0,
    938  1.1       scw 	    sys_nosys },			/* 257 = unimplemented */
    939  1.4   thorpej 	{ 0, 0, 0,
    940  1.1       scw 	    sys_nosys },			/* 258 = unimplemented */
    941  1.4   thorpej 	{ 0, 0, 0,
    942  1.1       scw 	    sys_nosys },			/* 259 = unimplemented */
    943  1.4   thorpej 	{ 0, 0, 0,
    944  1.1       scw 	    sys_nosys },			/* 260 = unimplemented */
    945  1.4   thorpej 	{ 0, 0, 0,
    946  1.1       scw 	    sys_nosys },			/* 261 = unimplemented */
    947  1.4   thorpej 	{ 0, 0, 0,
    948  1.1       scw 	    sys_nosys },			/* 262 = unimplemented */
    949  1.4   thorpej 	{ 0, 0, 0,
    950  1.1       scw 	    sys_nosys },			/* 263 = unimplemented */
    951  1.4   thorpej 	{ 0, 0, 0,
    952  1.1       scw 	    sys_nosys },			/* 264 = unimplemented */
    953  1.4   thorpej 	{ 0, 0, 0,
    954  1.1       scw 	    sys_nosys },			/* 265 = unimplemented */
    955  1.4   thorpej 	{ 0, 0, 0,
    956  1.1       scw 	    sys_nosys },			/* 266 = unimplemented */
    957  1.4   thorpej 	{ 0, 0, 0,
    958  1.1       scw 	    sys_nosys },			/* 267 = unimplemented */
    959  1.4   thorpej 	{ 0, 0, 0,
    960  1.1       scw 	    sys_nosys },			/* 268 = unimplemented */
    961  1.4   thorpej 	{ 0, 0, 0,
    962  1.1       scw 	    sys_nosys },			/* 269 = unimplemented */
    963  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    964  1.4   thorpej 	{ 2, s(struct aoutm68k_sys___posix_rename_args), 0,
    965  1.1       scw 	    aoutm68k_sys___posix_rename },	/* 270 = __posix_rename */
    966  1.6   tsutsui #else
    967  1.6   tsutsui 	{ 2, s(struct sys___posix_rename_args), 0,
    968  1.6   tsutsui 	    sys___posix_rename },		/* 270 = __posix_rename */
    969  1.6   tsutsui #endif
    970  1.4   thorpej 	{ 3, s(struct sys_swapctl_args), 0,
    971  1.1       scw 	    sys_swapctl },			/* 271 = swapctl */
    972  1.4   thorpej 	{ 3, s(struct sys_getdents_args), 0,
    973  1.1       scw 	    sys_getdents },			/* 272 = getdents */
    974  1.4   thorpej 	{ 3, s(struct sys_minherit_args), 0,
    975  1.1       scw 	    sys_minherit },			/* 273 = minherit */
    976  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
    977  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_lchmod_args), 0,
    978  1.1       scw 	    aoutm68k_sys_lchmod },		/* 274 = lchmod */
    979  1.4   thorpej 	{ 3, s(struct aoutm68k_sys_lchown_args), 0,
    980  1.1       scw 	    aoutm68k_sys_lchown },		/* 275 = lchown */
    981  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_lutimes_args), 0,
    982  1.1       scw 	    aoutm68k_sys_lutimes },		/* 276 = lutimes */
    983  1.6   tsutsui #else
    984  1.6   tsutsui 	{ 2, s(struct sys_lchmod_args), 0,
    985  1.6   tsutsui 	    sys_lchmod },			/* 274 = lchmod */
    986  1.6   tsutsui 	{ 3, s(struct sys_lchown_args), 0,
    987  1.6   tsutsui 	    sys_lchown },			/* 275 = lchown */
    988  1.6   tsutsui 	{ 2, s(struct sys_lutimes_args), 0,
    989  1.6   tsutsui 	    sys_lutimes },			/* 276 = lutimes */
    990  1.6   tsutsui #endif
    991  1.4   thorpej 	{ 3, s(struct sys___msync13_args), 0,
    992  1.1       scw 	    sys___msync13 },			/* 277 = __msync13 */
    993  1.4   thorpej 	{ 2, s(struct aoutm68k_sys___stat13_args), 0,
    994  1.1       scw 	    aoutm68k_sys___stat13 },		/* 278 = __stat13 */
    995  1.4   thorpej 	{ 2, s(struct aoutm68k_sys___fstat13_args), 0,
    996  1.1       scw 	    aoutm68k_sys___fstat13 },		/* 279 = __fstat13 */
    997  1.4   thorpej 	{ 2, s(struct aoutm68k_sys___lstat13_args), 0,
    998  1.1       scw 	    aoutm68k_sys___lstat13 },		/* 280 = __lstat13 */
    999  1.4   thorpej 	{ 2, s(struct sys___sigaltstack14_args), 0,
   1000  1.1       scw 	    sys___sigaltstack14 },		/* 281 = __sigaltstack14 */
   1001  1.4   thorpej 	{ 0, 0, 0,
   1002  1.1       scw 	    sys___vfork14 },			/* 282 = __vfork14 */
   1003  1.6   tsutsui #ifdef COMPAT_AOUT_ALTPATH
   1004  1.4   thorpej 	{ 3, s(struct aoutm68k_sys___posix_chown_args), 0,
   1005  1.1       scw 	    aoutm68k_sys___posix_chown },	/* 283 = __posix_chown */
   1006  1.6   tsutsui #else
   1007  1.6   tsutsui 	{ 3, s(struct sys___posix_chown_args), 0,
   1008  1.6   tsutsui 	    sys___posix_chown },		/* 283 = __posix_chown */
   1009  1.6   tsutsui #endif
   1010  1.4   thorpej 	{ 3, s(struct sys___posix_fchown_args), 0,
   1011  1.1       scw 	    sys___posix_fchown },		/* 284 = __posix_fchown */
   1012  1.4   thorpej 	{ 3, s(struct sys___posix_lchown_args), 0,
   1013  1.1       scw 	    sys___posix_lchown },		/* 285 = __posix_lchown */
   1014  1.4   thorpej 	{ 1, s(struct sys_getsid_args), 0,
   1015  1.1       scw 	    sys_getsid },			/* 286 = getsid */
   1016  1.4   thorpej 	{ 0, 0, 0,
   1017  1.1       scw 	    sys_nosys },			/* 287 = unimplemented */
   1018  1.1       scw #if defined(KTRACE) || !defined(_KERNEL)
   1019  1.4   thorpej 	{ 4, s(struct sys_fktrace_args), 0,
   1020  1.1       scw 	    sys_fktrace },			/* 288 = fktrace */
   1021  1.1       scw #else
   1022  1.4   thorpej 	{ 0, 0, 0,
   1023  1.1       scw 	    sys_nosys },			/* 288 = excluded ktrace */
   1024  1.1       scw #endif
   1025  1.4   thorpej 	{ 5, s(struct sys_preadv_args), 0,
   1026  1.1       scw 	    sys_preadv },			/* 289 = preadv */
   1027  1.4   thorpej 	{ 5, s(struct sys_pwritev_args), 0,
   1028  1.1       scw 	    sys_pwritev },			/* 290 = pwritev */
   1029  1.4   thorpej 	{ 3, s(struct sys___sigaction14_args), 0,
   1030  1.1       scw 	    sys___sigaction14 },		/* 291 = __sigaction14 */
   1031  1.4   thorpej 	{ 1, s(struct sys___sigpending14_args), 0,
   1032  1.1       scw 	    sys___sigpending14 },		/* 292 = __sigpending14 */
   1033  1.4   thorpej 	{ 3, s(struct sys___sigprocmask14_args), 0,
   1034  1.1       scw 	    sys___sigprocmask14 },		/* 293 = __sigprocmask14 */
   1035  1.4   thorpej 	{ 1, s(struct sys___sigsuspend14_args), 0,
   1036  1.1       scw 	    sys___sigsuspend14 },		/* 294 = __sigsuspend14 */
   1037  1.4   thorpej 	{ 1, s(struct sys___sigreturn14_args), 0,
   1038  1.1       scw 	    sys___sigreturn14 },		/* 295 = __sigreturn14 */
   1039  1.4   thorpej 	{ 2, s(struct sys___getcwd_args), 0,
   1040  1.1       scw 	    sys___getcwd },			/* 296 = __getcwd */
   1041  1.4   thorpej 	{ 1, s(struct sys_fchroot_args), 0,
   1042  1.1       scw 	    sys_fchroot },			/* 297 = fchroot */
   1043  1.4   thorpej 	{ 2, s(struct sys_fhopen_args), 0,
   1044  1.1       scw 	    sys_fhopen },			/* 298 = fhopen */
   1045  1.4   thorpej 	{ 2, s(struct aoutm68k_sys_fhstat_args), 0,
   1046  1.1       scw 	    aoutm68k_sys_fhstat },		/* 299 = fhstat */
   1047  1.4   thorpej 	{ 2, s(struct sys_fhstatfs_args), 0,
   1048  1.1       scw 	    sys_fhstatfs },			/* 300 = fhstatfs */
   1049  1.1       scw #if defined(SYSVSEM) || !defined(_KERNEL)
   1050  1.4   thorpej 	{ 4, s(struct sys_____semctl13_args), 0,
   1051  1.1       scw 	    sys_____semctl13 },			/* 301 = ____semctl13 */
   1052  1.1       scw #else
   1053  1.4   thorpej 	{ 0, 0, 0,
   1054  1.1       scw 	    sys_nosys },			/* 301 = excluded ____semctl13 */
   1055  1.1       scw #endif
   1056  1.1       scw #if defined(SYSVMSG) || !defined(_KERNEL)
   1057  1.4   thorpej 	{ 3, s(struct sys___msgctl13_args), 0,
   1058  1.1       scw 	    sys___msgctl13 },			/* 302 = __msgctl13 */
   1059  1.1       scw #else
   1060  1.4   thorpej 	{ 0, 0, 0,
   1061  1.1       scw 	    sys_nosys },			/* 302 = excluded __msgctl13 */
   1062  1.1       scw #endif
   1063  1.1       scw #if defined(SYSVSHM) || !defined(_KERNEL)
   1064  1.4   thorpej 	{ 3, s(struct sys___shmctl13_args), 0,
   1065  1.1       scw 	    sys___shmctl13 },			/* 303 = __shmctl13 */
   1066  1.1       scw #else
   1067  1.4   thorpej 	{ 0, 0, 0,
   1068  1.1       scw 	    sys_nosys },			/* 303 = excluded __shmctl13 */
   1069  1.1       scw #endif
   1070  1.4   thorpej 	{ 2, s(struct sys_lchflags_args), 0,
   1071  1.1       scw 	    sys_lchflags },			/* 304 = lchflags */
   1072  1.4   thorpej 	{ 0, 0, 0,
   1073  1.1       scw 	    sys_issetugid },			/* 305 = issetugid */
   1074  1.1       scw };
   1075  1.1       scw 
   1076