Home | History | Annotate | Line # | Download | only in sunos
sunos_sysent.c revision 1.24
      1   1.1   deraadt /*
      2   1.1   deraadt  * System call switch table.
      3   1.1   deraadt  *
      4   1.1   deraadt  * DO NOT EDIT-- this file is automatically generated.
      5  1.24   thorpej  * created from	NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp
      6   1.1   deraadt  */
      7   1.1   deraadt 
      8   1.1   deraadt #include <sys/param.h>
      9   1.1   deraadt #include <sys/systm.h>
     10  1.18  christos #include <sys/signal.h>
     11  1.18  christos #include <sys/mount.h>
     12  1.18  christos #include <sys/syscallargs.h>
     13  1.18  christos #include <compat/sunos/sunos.h>
     14  1.18  christos #include <compat/sunos/sunos_syscallargs.h>
     15  1.18  christos #define	s(type)	sizeof(type)
     16  1.18  christos 
     17  1.18  christos struct sysent sunos_sysent[] = {
     18  1.18  christos 	{ 0, 0,
     19  1.18  christos 	    nosys },				/* 0 = syscall */
     20  1.18  christos 	{ 1, s(struct exit_args),
     21  1.18  christos 	    exit },				/* 1 = exit */
     22  1.18  christos 	{ 0, 0,
     23  1.18  christos 	    fork },				/* 2 = fork */
     24  1.18  christos 	{ 3, s(struct read_args),
     25  1.18  christos 	    read },				/* 3 = read */
     26  1.18  christos 	{ 3, s(struct write_args),
     27  1.18  christos 	    write },				/* 4 = write */
     28  1.18  christos 	{ 3, s(struct sunos_open_args),
     29  1.18  christos 	    sunos_open },			/* 5 = sunos_open */
     30  1.18  christos 	{ 1, s(struct close_args),
     31  1.18  christos 	    close },				/* 6 = close */
     32  1.18  christos 	{ 4, s(struct sunos_wait4_args),
     33  1.18  christos 	    sunos_wait4 },			/* 7 = sunos_wait4 */
     34  1.18  christos 	{ 2, s(struct sunos_creat_args),
     35  1.18  christos 	    sunos_creat },			/* 8 = sunos_creat */
     36  1.18  christos 	{ 2, s(struct link_args),
     37  1.18  christos 	    link },				/* 9 = link */
     38  1.18  christos 	{ 1, s(struct unlink_args),
     39  1.18  christos 	    unlink },				/* 10 = unlink */
     40  1.18  christos 	{ 2, s(struct sunos_execv_args),
     41  1.18  christos 	    sunos_execv },			/* 11 = sunos_execv */
     42  1.18  christos 	{ 1, s(struct chdir_args),
     43  1.18  christos 	    chdir },				/* 12 = chdir */
     44  1.18  christos 	{ 0, 0,
     45  1.18  christos 	    nosys },				/* 13 = obsolete time */
     46  1.18  christos 	{ 3, s(struct sunos_mknod_args),
     47  1.18  christos 	    sunos_mknod },			/* 14 = sunos_mknod */
     48  1.18  christos 	{ 2, s(struct chmod_args),
     49  1.18  christos 	    chmod },				/* 15 = chmod */
     50  1.18  christos 	{ 3, s(struct chown_args),
     51  1.18  christos 	    chown },				/* 16 = chown */
     52  1.18  christos 	{ 1, s(struct obreak_args),
     53  1.18  christos 	    obreak },				/* 17 = break */
     54  1.18  christos 	{ 0, 0,
     55  1.18  christos 	    nosys },				/* 18 = obsolete stat */
     56  1.18  christos 	{ 3, s(struct compat_43_lseek_args),
     57  1.18  christos 	    compat_43_lseek },			/* 19 = compat_43_lseek */
     58  1.18  christos 	{ 0, 0,
     59  1.18  christos 	    getpid },				/* 20 = getpid */
     60  1.18  christos 	{ 0, 0,
     61  1.18  christos 	    nosys },				/* 21 = obsolete sunos_old_mount */
     62  1.18  christos 	{ 0, 0,
     63  1.18  christos 	    nosys },				/* 22 = unimplemented System V umount */
     64  1.18  christos 	{ 1, s(struct setuid_args),
     65  1.18  christos 	    setuid },				/* 23 = setuid */
     66  1.18  christos 	{ 0, 0,
     67  1.18  christos 	    getuid },				/* 24 = getuid */
     68  1.18  christos 	{ 0, 0,
     69  1.18  christos 	    nosys },				/* 25 = unimplemented sunos_stime */
     70  1.18  christos 	{ 5, s(struct sunos_ptrace_args),
     71  1.18  christos 	    sunos_ptrace },			/* 26 = sunos_ptrace */
     72  1.18  christos 	{ 0, 0,
     73  1.18  christos 	    nosys },				/* 27 = unimplemented sunos_alarm */
     74  1.18  christos 	{ 0, 0,
     75  1.18  christos 	    nosys },				/* 28 = unimplemented sunos_fstat */
     76  1.18  christos 	{ 0, 0,
     77  1.18  christos 	    nosys },				/* 29 = unimplemented sunos_pause */
     78  1.18  christos 	{ 0, 0,
     79  1.18  christos 	    nosys },				/* 30 = unimplemented sunos_utime */
     80  1.18  christos 	{ 0, 0,
     81  1.18  christos 	    nosys },				/* 31 = unimplemented sunos_stty */
     82  1.18  christos 	{ 0, 0,
     83  1.18  christos 	    nosys },				/* 32 = unimplemented sunos_gtty */
     84  1.19        pk 	{ 2, s(struct sunos_access_args),
     85  1.19        pk 	    sunos_access },			/* 33 = sunos_access */
     86  1.18  christos 	{ 0, 0,
     87  1.18  christos 	    nosys },				/* 34 = unimplemented sunos_nice */
     88  1.18  christos 	{ 0, 0,
     89  1.18  christos 	    nosys },				/* 35 = unimplemented sunos_ftime */
     90  1.18  christos 	{ 0, 0,
     91  1.18  christos 	    sync },				/* 36 = sync */
     92  1.18  christos 	{ 2, s(struct kill_args),
     93  1.18  christos 	    kill },				/* 37 = kill */
     94  1.19        pk 	{ 2, s(struct sunos_stat_args),
     95  1.19        pk 	    sunos_stat },			/* 38 = sunos_stat */
     96  1.18  christos 	{ 0, 0,
     97  1.18  christos 	    nosys },				/* 39 = unimplemented sunos_setpgrp */
     98  1.19        pk 	{ 2, s(struct sunos_lstat_args),
     99  1.19        pk 	    sunos_lstat },			/* 40 = sunos_lstat */
    100  1.18  christos 	{ 1, s(struct dup_args),
    101  1.18  christos 	    dup },				/* 41 = dup */
    102  1.18  christos 	{ 0, 0,
    103  1.18  christos 	    pipe },				/* 42 = pipe */
    104  1.18  christos 	{ 0, 0,
    105  1.18  christos 	    nosys },				/* 43 = unimplemented sunos_times */
    106  1.18  christos 	{ 4, s(struct profil_args),
    107  1.18  christos 	    profil },				/* 44 = profil */
    108  1.18  christos 	{ 0, 0,
    109  1.18  christos 	    nosys },				/* 45 = unimplemented */
    110  1.18  christos 	{ 1, s(struct setgid_args),
    111  1.18  christos 	    setgid },				/* 46 = setgid */
    112  1.18  christos 	{ 0, 0,
    113  1.18  christos 	    getgid },				/* 47 = getgid */
    114  1.18  christos 	{ 0, 0,
    115  1.18  christos 	    nosys },				/* 48 = unimplemented sunos_ssig */
    116  1.18  christos 	{ 0, 0,
    117  1.18  christos 	    nosys },				/* 49 = unimplemented reserved for USG */
    118  1.18  christos 	{ 0, 0,
    119  1.18  christos 	    nosys },				/* 50 = unimplemented reserved for USG */
    120  1.18  christos 	{ 1, s(struct acct_args),
    121  1.18  christos 	    acct },				/* 51 = acct */
    122  1.18  christos 	{ 0, 0,
    123  1.18  christos 	    nosys },				/* 52 = unimplemented */
    124  1.18  christos 	{ 4, s(struct sunos_mctl_args),
    125  1.18  christos 	    sunos_mctl },			/* 53 = sunos_mctl */
    126  1.18  christos 	{ 3, s(struct sunos_ioctl_args),
    127  1.18  christos 	    sunos_ioctl },			/* 54 = sunos_ioctl */
    128  1.18  christos 	{ 2, s(struct sunos_reboot_args),
    129  1.18  christos 	    sunos_reboot },			/* 55 = sunos_reboot */
    130  1.18  christos 	{ 0, 0,
    131  1.18  christos 	    nosys },				/* 56 = obsolete sunos_owait3 */
    132  1.18  christos 	{ 2, s(struct symlink_args),
    133  1.18  christos 	    symlink },				/* 57 = symlink */
    134  1.18  christos 	{ 3, s(struct readlink_args),
    135  1.18  christos 	    readlink },				/* 58 = readlink */
    136  1.18  christos 	{ 3, s(struct execve_args),
    137  1.18  christos 	    execve },				/* 59 = execve */
    138  1.18  christos 	{ 1, s(struct umask_args),
    139  1.18  christos 	    umask },				/* 60 = umask */
    140  1.18  christos 	{ 1, s(struct chroot_args),
    141  1.18  christos 	    chroot },				/* 61 = chroot */
    142  1.18  christos 	{ 2, s(struct compat_43_fstat_args),
    143  1.18  christos 	    compat_43_fstat },			/* 62 = compat_43_fstat */
    144  1.18  christos 	{ 0, 0,
    145  1.18  christos 	    nosys },				/* 63 = unimplemented */
    146  1.18  christos 	{ 0, 0,
    147  1.18  christos 	    compat_43_getpagesize },		/* 64 = compat_43_getpagesize */
    148  1.18  christos 	{ 3, s(struct sunos_omsync_args),
    149  1.18  christos 	    sunos_omsync },			/* 65 = sunos_omsync */
    150  1.18  christos 	{ 0, 0,
    151  1.18  christos 	    vfork },				/* 66 = vfork */
    152  1.18  christos 	{ 0, 0,
    153  1.18  christos 	    nosys },				/* 67 = obsolete vread */
    154  1.18  christos 	{ 0, 0,
    155  1.18  christos 	    nosys },				/* 68 = obsolete vwrite */
    156  1.18  christos 	{ 1, s(struct sbrk_args),
    157  1.18  christos 	    sbrk },				/* 69 = sbrk */
    158  1.18  christos 	{ 1, s(struct sstk_args),
    159  1.18  christos 	    sstk },				/* 70 = sstk */
    160  1.18  christos 	{ 6, s(struct sunos_mmap_args),
    161  1.18  christos 	    sunos_mmap },			/* 71 = sunos_mmap */
    162  1.18  christos 	{ 1, s(struct ovadvise_args),
    163  1.18  christos 	    ovadvise },				/* 72 = vadvise */
    164  1.18  christos 	{ 2, s(struct munmap_args),
    165  1.18  christos 	    munmap },				/* 73 = munmap */
    166  1.18  christos 	{ 3, s(struct mprotect_args),
    167  1.18  christos 	    mprotect },				/* 74 = mprotect */
    168  1.18  christos 	{ 3, s(struct madvise_args),
    169  1.18  christos 	    madvise },				/* 75 = madvise */
    170  1.18  christos 	{ 0, 0,
    171  1.18  christos 	    sunos_vhangup },			/* 76 = sunos_vhangup */
    172  1.18  christos 	{ 0, 0,
    173  1.18  christos 	    nosys },				/* 77 = unimplemented vlimit */
    174  1.18  christos 	{ 3, s(struct mincore_args),
    175  1.18  christos 	    mincore },				/* 78 = mincore */
    176  1.18  christos 	{ 2, s(struct getgroups_args),
    177  1.18  christos 	    getgroups },			/* 79 = getgroups */
    178  1.18  christos 	{ 2, s(struct setgroups_args),
    179  1.18  christos 	    setgroups },			/* 80 = setgroups */
    180  1.18  christos 	{ 0, 0,
    181  1.18  christos 	    getpgrp },				/* 81 = getpgrp */
    182  1.18  christos 	{ 2, s(struct sunos_setpgid_args),
    183  1.18  christos 	    sunos_setpgid },			/* 82 = sunos_setpgid */
    184  1.18  christos 	{ 3, s(struct setitimer_args),
    185  1.18  christos 	    setitimer },			/* 83 = setitimer */
    186  1.18  christos 	{ 0, 0,
    187  1.18  christos 	    nosys },				/* 84 = unimplemented { int sunos_wait ( void ) ; } */
    188  1.18  christos 	{ 1, s(struct swapon_args),
    189  1.18  christos 	    swapon },				/* 85 = swapon */
    190  1.18  christos 	{ 2, s(struct getitimer_args),
    191  1.18  christos 	    getitimer },			/* 86 = getitimer */
    192  1.18  christos 	{ 2, s(struct compat_43_gethostname_args),
    193  1.18  christos 	    compat_43_gethostname },		/* 87 = compat_43_gethostname */
    194  1.18  christos 	{ 2, s(struct compat_43_sethostname_args),
    195  1.18  christos 	    compat_43_sethostname },		/* 88 = compat_43_sethostname */
    196  1.18  christos 	{ 0, 0,
    197  1.18  christos 	    compat_43_getdtablesize },		/* 89 = compat_43_getdtablesize */
    198  1.18  christos 	{ 2, s(struct dup2_args),
    199  1.18  christos 	    dup2 },				/* 90 = dup2 */
    200  1.18  christos 	{ 0, 0,
    201  1.18  christos 	    nosys },				/* 91 = unimplemented getdopt */
    202  1.18  christos 	{ 3, s(struct fcntl_args),
    203  1.18  christos 	    fcntl },				/* 92 = fcntl */
    204  1.18  christos 	{ 5, s(struct select_args),
    205  1.18  christos 	    select },				/* 93 = select */
    206  1.18  christos 	{ 0, 0,
    207  1.18  christos 	    nosys },				/* 94 = unimplemented setdopt */
    208  1.18  christos 	{ 1, s(struct fsync_args),
    209  1.18  christos 	    fsync },				/* 95 = fsync */
    210  1.18  christos 	{ 3, s(struct setpriority_args),
    211  1.18  christos 	    setpriority },			/* 96 = setpriority */
    212  1.18  christos 	{ 3, s(struct socket_args),
    213  1.18  christos 	    socket },				/* 97 = socket */
    214  1.18  christos 	{ 3, s(struct connect_args),
    215  1.18  christos 	    connect },				/* 98 = connect */
    216  1.18  christos 	{ 3, s(struct compat_43_accept_args),
    217  1.18  christos 	    compat_43_accept },			/* 99 = compat_43_accept */
    218  1.18  christos 	{ 2, s(struct getpriority_args),
    219  1.18  christos 	    getpriority },			/* 100 = getpriority */
    220  1.18  christos 	{ 4, s(struct compat_43_send_args),
    221  1.18  christos 	    compat_43_send },			/* 101 = compat_43_send */
    222  1.18  christos 	{ 4, s(struct compat_43_recv_args),
    223  1.18  christos 	    compat_43_recv },			/* 102 = compat_43_recv */
    224  1.18  christos 	{ 0, 0,
    225  1.18  christos 	    nosys },				/* 103 = unimplemented old socketaddr */
    226  1.18  christos 	{ 3, s(struct bind_args),
    227  1.18  christos 	    bind },				/* 104 = bind */
    228  1.18  christos 	{ 5, s(struct sunos_setsockopt_args),
    229  1.18  christos 	    sunos_setsockopt },			/* 105 = sunos_setsockopt */
    230  1.18  christos 	{ 2, s(struct listen_args),
    231  1.18  christos 	    listen },				/* 106 = listen */
    232  1.18  christos 	{ 0, 0,
    233  1.18  christos 	    nosys },				/* 107 = unimplemented vtimes */
    234  1.23        pk 	{ 3, s(struct sunos_sigvec_args),
    235  1.23        pk 	    sunos_sigvec },			/* 108 = sunos_sigvec */
    236  1.18  christos 	{ 1, s(struct compat_43_sigblock_args),
    237  1.18  christos 	    compat_43_sigblock },		/* 109 = compat_43_sigblock */
    238  1.18  christos 	{ 1, s(struct compat_43_sigsetmask_args),
    239  1.18  christos 	    compat_43_sigsetmask },		/* 110 = compat_43_sigsetmask */
    240  1.18  christos 	{ 1, s(struct sigsuspend_args),
    241  1.18  christos 	    sigsuspend },			/* 111 = sigsuspend */
    242  1.18  christos 	{ 2, s(struct compat_43_sigstack_args),
    243  1.18  christos 	    compat_43_sigstack },		/* 112 = compat_43_sigstack */
    244  1.18  christos 	{ 3, s(struct compat_43_recvmsg_args),
    245  1.18  christos 	    compat_43_recvmsg },		/* 113 = compat_43_recvmsg */
    246  1.18  christos 	{ 3, s(struct compat_43_sendmsg_args),
    247  1.18  christos 	    compat_43_sendmsg },		/* 114 = compat_43_sendmsg */
    248  1.18  christos 	{ 0, 0,
    249  1.18  christos 	    nosys },				/* 115 = obsolete vtrace */
    250  1.18  christos 	{ 2, s(struct gettimeofday_args),
    251  1.18  christos 	    gettimeofday },			/* 116 = gettimeofday */
    252  1.18  christos 	{ 2, s(struct getrusage_args),
    253  1.18  christos 	    getrusage },			/* 117 = getrusage */
    254  1.18  christos 	{ 5, s(struct getsockopt_args),
    255  1.18  christos 	    getsockopt },			/* 118 = getsockopt */
    256  1.18  christos 	{ 0, 0,
    257  1.18  christos 	    nosys },				/* 119 = unimplemented */
    258  1.18  christos 	{ 3, s(struct readv_args),
    259  1.18  christos 	    readv },				/* 120 = readv */
    260  1.18  christos 	{ 3, s(struct writev_args),
    261  1.18  christos 	    writev },				/* 121 = writev */
    262  1.18  christos 	{ 2, s(struct settimeofday_args),
    263  1.18  christos 	    settimeofday },			/* 122 = settimeofday */
    264  1.18  christos 	{ 3, s(struct fchown_args),
    265  1.18  christos 	    fchown },				/* 123 = fchown */
    266  1.18  christos 	{ 2, s(struct fchmod_args),
    267  1.18  christos 	    fchmod },				/* 124 = fchmod */
    268  1.18  christos 	{ 6, s(struct compat_43_recvfrom_args),
    269  1.18  christos 	    compat_43_recvfrom },		/* 125 = compat_43_recvfrom */
    270  1.18  christos 	{ 2, s(struct compat_43_setreuid_args),
    271  1.18  christos 	    compat_43_setreuid },		/* 126 = compat_43_setreuid */
    272  1.18  christos 	{ 2, s(struct compat_43_setregid_args),
    273  1.18  christos 	    compat_43_setregid },		/* 127 = compat_43_setregid */
    274  1.18  christos 	{ 2, s(struct rename_args),
    275  1.18  christos 	    rename },				/* 128 = rename */
    276  1.18  christos 	{ 2, s(struct compat_43_truncate_args),
    277  1.18  christos 	    compat_43_truncate },		/* 129 = compat_43_truncate */
    278  1.18  christos 	{ 2, s(struct compat_43_ftruncate_args),
    279  1.18  christos 	    compat_43_ftruncate },		/* 130 = compat_43_ftruncate */
    280  1.18  christos 	{ 2, s(struct flock_args),
    281  1.18  christos 	    flock },				/* 131 = flock */
    282  1.18  christos 	{ 0, 0,
    283  1.18  christos 	    nosys },				/* 132 = unimplemented */
    284  1.18  christos 	{ 6, s(struct sendto_args),
    285  1.18  christos 	    sendto },				/* 133 = sendto */
    286  1.18  christos 	{ 2, s(struct shutdown_args),
    287  1.18  christos 	    shutdown },				/* 134 = shutdown */
    288  1.18  christos 	{ 4, s(struct socketpair_args),
    289  1.18  christos 	    socketpair },			/* 135 = socketpair */
    290  1.18  christos 	{ 2, s(struct mkdir_args),
    291  1.18  christos 	    mkdir },				/* 136 = mkdir */
    292  1.18  christos 	{ 1, s(struct rmdir_args),
    293  1.18  christos 	    rmdir },				/* 137 = rmdir */
    294  1.18  christos 	{ 2, s(struct utimes_args),
    295  1.18  christos 	    utimes },				/* 138 = utimes */
    296  1.18  christos 	{ 1, s(struct sunos_sigreturn_args),
    297  1.18  christos 	    sunos_sigreturn },			/* 139 = sunos_sigreturn */
    298  1.18  christos 	{ 2, s(struct adjtime_args),
    299  1.18  christos 	    adjtime },				/* 140 = adjtime */
    300  1.18  christos 	{ 3, s(struct compat_43_getpeername_args),
    301  1.18  christos 	    compat_43_getpeername },		/* 141 = compat_43_getpeername */
    302  1.18  christos 	{ 0, 0,
    303  1.18  christos 	    compat_43_gethostid },		/* 142 = compat_43_gethostid */
    304  1.18  christos 	{ 0, 0,
    305  1.18  christos 	    nosys },				/* 143 = unimplemented old sethostid */
    306  1.18  christos 	{ 2, s(struct sunos_getrlimit_args),
    307  1.18  christos 	    sunos_getrlimit },			/* 144 = sunos_getrlimit */
    308  1.18  christos 	{ 2, s(struct sunos_setrlimit_args),
    309  1.18  christos 	    sunos_setrlimit },			/* 145 = sunos_setrlimit */
    310  1.18  christos 	{ 2, s(struct compat_43_killpg_args),
    311  1.18  christos 	    compat_43_killpg },			/* 146 = compat_43_killpg */
    312  1.18  christos 	{ 0, 0,
    313  1.18  christos 	    nosys },				/* 147 = unimplemented */
    314  1.18  christos 	{ 0, 0,
    315  1.18  christos 	    nosys },				/* 148 = unimplemented */
    316  1.18  christos 	{ 0, 0,
    317  1.18  christos 	    nosys },				/* 149 = unimplemented */
    318  1.18  christos 	{ 3, s(struct compat_43_getsockname_args),
    319  1.18  christos 	    compat_43_getsockname },		/* 150 = compat_43_getsockname */
    320  1.18  christos 	{ 0, 0,
    321  1.18  christos 	    nosys },				/* 151 = unimplemented getmsg */
    322  1.18  christos 	{ 0, 0,
    323  1.18  christos 	    nosys },				/* 152 = unimplemented putmsg */
    324  1.18  christos 	{ 3, s(struct sunos_poll_args),
    325  1.18  christos 	    sunos_poll },			/* 153 = sunos_poll */
    326  1.18  christos 	{ 0, 0,
    327  1.18  christos 	    nosys },				/* 154 = unimplemented */
    328  1.18  christos #ifdef NFSSERVER
    329  1.18  christos 	{ 1, s(struct sunos_nfssvc_args),
    330  1.18  christos 	    sunos_nfssvc },			/* 155 = sunos_nfssvc */
    331  1.18  christos #else
    332  1.18  christos 	{ 0, 0,
    333  1.18  christos 	    nosys },				/* 155 = unimplemented */
    334  1.18  christos #endif
    335  1.18  christos 	{ 4, s(struct getdirentries_args),
    336  1.18  christos 	    getdirentries },			/* 156 = getdirentries */
    337  1.18  christos 	{ 2, s(struct sunos_statfs_args),
    338  1.18  christos 	    sunos_statfs },			/* 157 = sunos_statfs */
    339  1.18  christos 	{ 2, s(struct sunos_fstatfs_args),
    340  1.18  christos 	    sunos_fstatfs },			/* 158 = sunos_fstatfs */
    341  1.18  christos 	{ 2, s(struct sunos_unmount_args),
    342  1.18  christos 	    sunos_unmount },			/* 159 = sunos_unmount */
    343  1.18  christos #ifdef NFSCLIENT
    344  1.18  christos 	{ 0, 0,
    345  1.18  christos 	    async_daemon },			/* 160 = async_daemon */
    346  1.18  christos 	{ 2, s(struct getfh_args),
    347  1.18  christos 	    getfh },				/* 161 = getfh */
    348  1.18  christos #else
    349  1.18  christos 	{ 0, 0,
    350  1.18  christos 	    nosys },				/* 160 = unimplemented */
    351  1.18  christos 	{ 0, 0,
    352  1.18  christos 	    nosys },				/* 161 = unimplemented */
    353  1.18  christos #endif
    354  1.18  christos 	{ 2, s(struct compat_09_getdomainname_args),
    355  1.18  christos 	    compat_09_getdomainname },		/* 162 = compat_09_getdomainname */
    356  1.18  christos 	{ 2, s(struct compat_09_setdomainname_args),
    357  1.18  christos 	    compat_09_setdomainname },		/* 163 = compat_09_setdomainname */
    358  1.18  christos 	{ 0, 0,
    359  1.18  christos 	    nosys },				/* 164 = unimplemented rtschedule */
    360  1.18  christos 	{ 4, s(struct sunos_quotactl_args),
    361  1.18  christos 	    sunos_quotactl },			/* 165 = sunos_quotactl */
    362  1.18  christos 	{ 2, s(struct sunos_exportfs_args),
    363  1.18  christos 	    sunos_exportfs },			/* 166 = sunos_exportfs */
    364  1.18  christos 	{ 4, s(struct sunos_mount_args),
    365  1.18  christos 	    sunos_mount },			/* 167 = sunos_mount */
    366  1.18  christos 	{ 2, s(struct sunos_ustat_args),
    367  1.18  christos 	    sunos_ustat },			/* 168 = sunos_ustat */
    368  1.18  christos #ifdef SYSVSEM
    369  1.18  christos 	{ 5, s(struct compat_10_semsys_args),
    370  1.18  christos 	    compat_10_semsys },			/* 169 = compat_10_semsys */
    371  1.18  christos #else
    372  1.18  christos 	{ 0, 0,
    373  1.18  christos 	    nosys },				/* 169 = unimplemented nosys */
    374  1.18  christos #endif
    375  1.18  christos #ifdef SYSVMSG
    376  1.18  christos 	{ 6, s(struct compat_10_msgsys_args),
    377  1.18  christos 	    compat_10_msgsys },			/* 170 = compat_10_msgsys */
    378  1.18  christos #else
    379  1.18  christos 	{ 0, 0,
    380  1.18  christos 	    nosys },				/* 170 = unimplemented nosys */
    381  1.18  christos #endif
    382  1.18  christos #ifdef SYSVSHM
    383  1.18  christos 	{ 4, s(struct compat_10_shmsys_args),
    384  1.18  christos 	    compat_10_shmsys },			/* 171 = compat_10_shmsys */
    385  1.18  christos #else
    386  1.18  christos 	{ 0, 0,
    387  1.18  christos 	    nosys },				/* 171 = unimplemented nosys */
    388  1.18  christos #endif
    389  1.18  christos 	{ 1, s(struct sunos_auditsys_args),
    390  1.18  christos 	    sunos_auditsys },			/* 172 = sunos_auditsys */
    391  1.18  christos 	{ 0, 0,
    392  1.18  christos 	    nosys },				/* 173 = unimplemented rfssys */
    393  1.18  christos 	{ 3, s(struct sunos_getdents_args),
    394  1.18  christos 	    sunos_getdents },			/* 174 = sunos_getdents */
    395  1.18  christos 	{ 0, 0,
    396  1.18  christos 	    setsid },				/* 175 = setsid */
    397  1.18  christos 	{ 1, s(struct fchdir_args),
    398  1.18  christos 	    fchdir },				/* 176 = fchdir */
    399  1.18  christos 	{ 1, s(struct sunos_fchroot_args),
    400  1.18  christos 	    sunos_fchroot },			/* 177 = sunos_fchroot */
    401  1.18  christos 	{ 0, 0,
    402  1.18  christos 	    nosys },				/* 178 = unimplemented vpixsys */
    403  1.18  christos 	{ 0, 0,
    404  1.18  christos 	    nosys },				/* 179 = unimplemented aioread */
    405  1.18  christos 	{ 0, 0,
    406  1.18  christos 	    nosys },				/* 180 = unimplemented aiowrite */
    407  1.18  christos 	{ 0, 0,
    408  1.18  christos 	    nosys },				/* 181 = unimplemented aiowait */
    409  1.18  christos 	{ 0, 0,
    410  1.18  christos 	    nosys },				/* 182 = unimplemented aiocancel */
    411  1.18  christos 	{ 1, s(struct sunos_sigpending_args),
    412  1.18  christos 	    sunos_sigpending },			/* 183 = sunos_sigpending */
    413  1.18  christos 	{ 0, 0,
    414  1.18  christos 	    nosys },				/* 184 = unimplemented */
    415  1.18  christos 	{ 2, s(struct setpgid_args),
    416  1.18  christos 	    setpgid },				/* 185 = setpgid */
    417  1.18  christos 	{ 2, s(struct pathconf_args),
    418  1.18  christos 	    pathconf },				/* 186 = pathconf */
    419  1.18  christos 	{ 2, s(struct fpathconf_args),
    420  1.18  christos 	    fpathconf },			/* 187 = fpathconf */
    421  1.18  christos 	{ 1, s(struct sunos_sysconf_args),
    422  1.18  christos 	    sunos_sysconf },			/* 188 = sunos_sysconf */
    423  1.18  christos 	{ 1, s(struct sunos_uname_args),
    424  1.18  christos 	    sunos_uname },			/* 189 = sunos_uname */
    425   1.1   deraadt };
    426   1.1   deraadt 
    427