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