Home | History | Annotate | Line # | Download | only in ultrix
ultrix_sysent.c revision 1.41
      1  1.38       cgd /* $NetBSD: ultrix_sysent.c,v 1.41 2001/01/27 07:29:58 thorpej Exp $ */
      2  1.25   thorpej 
      3   1.1     glass /*
      4   1.1     glass  * System call switch table.
      5   1.1     glass  *
      6   1.1     glass  * DO NOT EDIT-- this file is automatically generated.
      7  1.40   mycroft  * created from	NetBSD: syscalls.master,v 1.35 2000/12/09 05:31:10 mycroft Exp
      8   1.1     glass  */
      9   1.1     glass 
     10  1.40   mycroft #if defined(_KERNEL) && !defined(_LKM)
     11  1.30   thorpej #include "opt_nfsserver.h"
     12  1.28   thorpej #include "fs_nfs.h"
     13  1.39  jdolecek #endif
     14   1.1     glass #include <sys/param.h>
     15   1.1     glass #include <sys/systm.h>
     16   1.6      dean #include <sys/signal.h>
     17   1.6      dean #include <sys/mount.h>
     18   1.6      dean #include <sys/syscallargs.h>
     19   1.6      dean #include <compat/ultrix/ultrix_syscallargs.h>
     20  1.12   mycroft 
     21   1.6      dean #define	s(type)	sizeof(type)
     22   1.1     glass 
     23   1.1     glass struct sysent ultrix_sysent[] = {
     24  1.41   thorpej 	{ 0, 0, 0,
     25  1.12   mycroft 	    sys_nosys },			/* 0 = syscall */
     26  1.41   thorpej 	{ 1, s(struct sys_exit_args), 0,
     27  1.12   mycroft 	    sys_exit },				/* 1 = exit */
     28  1.41   thorpej 	{ 0, 0, 0,
     29  1.12   mycroft 	    sys_fork },				/* 2 = fork */
     30  1.41   thorpej 	{ 3, s(struct sys_read_args), 0,
     31  1.12   mycroft 	    sys_read },				/* 3 = read */
     32  1.41   thorpej 	{ 3, s(struct sys_write_args), 0,
     33  1.12   mycroft 	    sys_write },			/* 4 = write */
     34  1.41   thorpej 	{ 3, s(struct ultrix_sys_open_args), 0,
     35  1.12   mycroft 	    ultrix_sys_open },			/* 5 = open */
     36  1.41   thorpej 	{ 1, s(struct sys_close_args), 0,
     37  1.12   mycroft 	    sys_close },			/* 6 = close */
     38  1.41   thorpej 	{ 0, 0, 0,
     39  1.14  jonathan 	    compat_43_sys_wait },		/* 7 = owait */
     40  1.41   thorpej 	{ 2, s(struct ultrix_sys_creat_args), 0,
     41  1.15  jonathan 	    ultrix_sys_creat },			/* 8 = creat */
     42  1.41   thorpej 	{ 2, s(struct sys_link_args), 0,
     43  1.12   mycroft 	    sys_link },				/* 9 = link */
     44  1.41   thorpej 	{ 1, s(struct sys_unlink_args), 0,
     45  1.12   mycroft 	    sys_unlink },			/* 10 = unlink */
     46  1.41   thorpej 	{ 2, s(struct ultrix_sys_execv_args), 0,
     47  1.12   mycroft 	    ultrix_sys_execv },			/* 11 = execv */
     48  1.41   thorpej 	{ 1, s(struct sys_chdir_args), 0,
     49  1.12   mycroft 	    sys_chdir },			/* 12 = chdir */
     50  1.41   thorpej 	{ 0, 0, 0,
     51  1.12   mycroft 	    sys_nosys },			/* 13 = obsolete time */
     52  1.41   thorpej 	{ 3, s(struct ultrix_sys_mknod_args), 0,
     53  1.12   mycroft 	    ultrix_sys_mknod },			/* 14 = mknod */
     54  1.41   thorpej 	{ 2, s(struct sys_chmod_args), 0,
     55  1.12   mycroft 	    sys_chmod },			/* 15 = chmod */
     56  1.41   thorpej 	{ 3, s(struct sys___posix_chown_args), 0,
     57  1.27    kleink 	    sys___posix_chown },		/* 16 = __posix_chown */
     58  1.41   thorpej 	{ 1, s(struct sys_obreak_args), 0,
     59  1.12   mycroft 	    sys_obreak },			/* 17 = break */
     60  1.41   thorpej 	{ 0, 0, 0,
     61  1.12   mycroft 	    sys_nosys },			/* 18 = obsolete stat */
     62  1.41   thorpej 	{ 3, s(struct compat_43_sys_lseek_args), 0,
     63  1.12   mycroft 	    compat_43_sys_lseek },		/* 19 = lseek */
     64  1.41   thorpej 	{ 0, 0, 0,
     65  1.12   mycroft 	    sys_getpid },			/* 20 = getpid */
     66  1.41   thorpej 	{ 5, s(struct ultrix_sys_mount_args), 0,
     67  1.14  jonathan 	    ultrix_sys_mount },			/* 21 = mount */
     68  1.41   thorpej 	{ 0, 0, 0,
     69  1.12   mycroft 	    sys_nosys },			/* 22 = obsolete sysV_unmount */
     70  1.41   thorpej 	{ 1, s(struct sys_setuid_args), 0,
     71  1.12   mycroft 	    sys_setuid },			/* 23 = setuid */
     72  1.41   thorpej 	{ 0, 0, 0,
     73  1.12   mycroft 	    sys_getuid },			/* 24 = getuid */
     74  1.41   thorpej 	{ 0, 0, 0,
     75  1.12   mycroft 	    sys_nosys },			/* 25 = obsolete v7 stime */
     76  1.41   thorpej 	{ 0, 0, 0,
     77  1.12   mycroft 	    sys_nosys },			/* 26 = obsolete v7 ptrace */
     78  1.41   thorpej 	{ 0, 0, 0,
     79  1.12   mycroft 	    sys_nosys },			/* 27 = obsolete v7 alarm */
     80  1.41   thorpej 	{ 0, 0, 0,
     81  1.12   mycroft 	    sys_nosys },			/* 28 = obsolete v7 fstat */
     82  1.41   thorpej 	{ 0, 0, 0,
     83  1.12   mycroft 	    sys_nosys },			/* 29 = obsolete v7 pause */
     84  1.41   thorpej 	{ 0, 0, 0,
     85  1.12   mycroft 	    sys_nosys },			/* 30 = obsolete v7 utime */
     86  1.41   thorpej 	{ 0, 0, 0,
     87  1.12   mycroft 	    sys_nosys },			/* 31 = obsolete v7 stty */
     88  1.41   thorpej 	{ 0, 0, 0,
     89  1.12   mycroft 	    sys_nosys },			/* 32 = obsolete v7 gtty */
     90  1.41   thorpej 	{ 2, s(struct ultrix_sys_access_args), 0,
     91  1.15  jonathan 	    ultrix_sys_access },		/* 33 = access */
     92  1.41   thorpej 	{ 0, 0, 0,
     93  1.12   mycroft 	    sys_nosys },			/* 34 = obsolete v7 nice */
     94  1.41   thorpej 	{ 0, 0, 0,
     95  1.12   mycroft 	    sys_nosys },			/* 35 = obsolete v7 ftime */
     96  1.41   thorpej 	{ 0, 0, 0,
     97  1.12   mycroft 	    sys_sync },				/* 36 = sync */
     98  1.41   thorpej 	{ 2, s(struct sys_kill_args), 0,
     99  1.12   mycroft 	    sys_kill },				/* 37 = kill */
    100  1.41   thorpej 	{ 2, s(struct ultrix_sys_stat_args), 0,
    101  1.22  christos 	    ultrix_sys_stat },			/* 38 = stat43 */
    102  1.41   thorpej 	{ 0, 0, 0,
    103  1.12   mycroft 	    sys_nosys },			/* 39 = obsolete v7 setpgrp */
    104  1.41   thorpej 	{ 2, s(struct ultrix_sys_lstat_args), 0,
    105  1.22  christos 	    ultrix_sys_lstat },			/* 40 = lstat43 */
    106  1.41   thorpej 	{ 1, s(struct sys_dup_args), 0,
    107  1.12   mycroft 	    sys_dup },				/* 41 = dup */
    108  1.41   thorpej 	{ 0, 0, 0,
    109  1.12   mycroft 	    sys_pipe },				/* 42 = pipe */
    110  1.41   thorpej 	{ 0, 0, 0,
    111  1.12   mycroft 	    sys_nosys },			/* 43 = obsolete v7 times */
    112  1.41   thorpej 	{ 4, s(struct sys_profil_args), 0,
    113  1.12   mycroft 	    sys_profil },			/* 44 = profil */
    114  1.41   thorpej 	{ 0, 0, 0,
    115  1.12   mycroft 	    sys_nosys },			/* 45 = unimplemented */
    116  1.41   thorpej 	{ 0, 0, 0,
    117  1.12   mycroft 	    sys_nosys },			/* 46 = obsolete v7 setgid */
    118  1.41   thorpej 	{ 0, 0, 0,
    119  1.12   mycroft 	    sys_getgid },			/* 47 = getgid */
    120  1.41   thorpej 	{ 0, 0, 0,
    121  1.12   mycroft 	    sys_nosys },			/* 48 = unimplemented ssig */
    122  1.41   thorpej 	{ 0, 0, 0,
    123  1.12   mycroft 	    sys_nosys },			/* 49 = unimplemented reserved for USG */
    124  1.41   thorpej 	{ 0, 0, 0,
    125  1.12   mycroft 	    sys_nosys },			/* 50 = unimplemented reserved for USG */
    126  1.41   thorpej 	{ 1, s(struct sys_acct_args), 0,
    127  1.12   mycroft 	    sys_acct },				/* 51 = acct */
    128  1.41   thorpej 	{ 0, 0, 0,
    129  1.12   mycroft 	    sys_nosys },			/* 52 = unimplemented */
    130  1.41   thorpej 	{ 0, 0, 0,
    131  1.12   mycroft 	    sys_nosys },			/* 53 = unimplemented syslock */
    132  1.41   thorpej 	{ 3, s(struct ultrix_sys_ioctl_args), 0,
    133  1.13  jonathan 	    ultrix_sys_ioctl },			/* 54 = ioctl */
    134  1.41   thorpej 	{ 1, s(struct sys_reboot_args), 0,
    135  1.12   mycroft 	    sys_reboot },			/* 55 = reboot */
    136  1.41   thorpej 	{ 0, 0, 0,
    137  1.12   mycroft 	    sys_nosys },			/* 56 = unimplemented v7 mpxchan */
    138  1.41   thorpej 	{ 2, s(struct sys_symlink_args), 0,
    139  1.12   mycroft 	    sys_symlink },			/* 57 = symlink */
    140  1.41   thorpej 	{ 3, s(struct sys_readlink_args), 0,
    141  1.12   mycroft 	    sys_readlink },			/* 58 = readlink */
    142  1.41   thorpej 	{ 3, s(struct ultrix_sys_execve_args), 0,
    143  1.17   mycroft 	    ultrix_sys_execve },		/* 59 = execve */
    144  1.41   thorpej 	{ 1, s(struct sys_umask_args), 0,
    145  1.12   mycroft 	    sys_umask },			/* 60 = umask */
    146  1.41   thorpej 	{ 1, s(struct sys_chroot_args), 0,
    147  1.12   mycroft 	    sys_chroot },			/* 61 = chroot */
    148  1.41   thorpej 	{ 2, s(struct compat_43_sys_fstat_args), 0,
    149  1.12   mycroft 	    compat_43_sys_fstat },		/* 62 = fstat */
    150  1.41   thorpej 	{ 0, 0, 0,
    151  1.12   mycroft 	    sys_nosys },			/* 63 = unimplemented */
    152  1.41   thorpej 	{ 0, 0, 0,
    153  1.12   mycroft 	    compat_43_sys_getpagesize },	/* 64 = getpagesize */
    154  1.41   thorpej 	{ 0, 0, 0,
    155  1.12   mycroft 	    sys_nosys },			/* 65 = unimplemented mremap */
    156  1.41   thorpej 	{ 0, 0, 0,
    157  1.12   mycroft 	    sys_vfork },			/* 66 = vfork */
    158  1.41   thorpej 	{ 0, 0, 0,
    159  1.12   mycroft 	    sys_nosys },			/* 67 = obsolete vread */
    160  1.41   thorpej 	{ 0, 0, 0,
    161  1.12   mycroft 	    sys_nosys },			/* 68 = obsolete vwrite */
    162  1.41   thorpej 	{ 1, s(struct sys_sbrk_args), 0,
    163  1.12   mycroft 	    sys_sbrk },				/* 69 = sbrk */
    164  1.41   thorpej 	{ 1, s(struct sys_sstk_args), 0,
    165  1.12   mycroft 	    sys_sstk },				/* 70 = sstk */
    166  1.41   thorpej 	{ 6, s(struct ultrix_sys_mmap_args), 0,
    167  1.12   mycroft 	    ultrix_sys_mmap },			/* 71 = mmap */
    168  1.41   thorpej 	{ 1, s(struct sys_ovadvise_args), 0,
    169  1.12   mycroft 	    sys_ovadvise },			/* 72 = vadvise */
    170  1.41   thorpej 	{ 2, s(struct sys_munmap_args), 0,
    171  1.12   mycroft 	    sys_munmap },			/* 73 = munmap */
    172  1.41   thorpej 	{ 3, s(struct sys_mprotect_args), 0,
    173  1.12   mycroft 	    sys_mprotect },			/* 74 = mprotect */
    174  1.41   thorpej 	{ 3, s(struct sys_madvise_args), 0,
    175  1.12   mycroft 	    sys_madvise },			/* 75 = madvise */
    176  1.41   thorpej 	{ 0, 0, 0,
    177  1.12   mycroft 	    ultrix_sys_vhangup },		/* 76 = vhangup */
    178  1.41   thorpej 	{ 0, 0, 0,
    179  1.12   mycroft 	    sys_nosys },			/* 77 = unimplemented old vlimit */
    180  1.41   thorpej 	{ 3, s(struct sys_mincore_args), 0,
    181  1.12   mycroft 	    sys_mincore },			/* 78 = mincore */
    182  1.41   thorpej 	{ 2, s(struct sys_getgroups_args), 0,
    183  1.12   mycroft 	    sys_getgroups },			/* 79 = getgroups */
    184  1.41   thorpej 	{ 2, s(struct sys_setgroups_args), 0,
    185  1.12   mycroft 	    sys_setgroups },			/* 80 = setgroups */
    186  1.41   thorpej 	{ 0, 0, 0,
    187  1.12   mycroft 	    sys_getpgrp },			/* 81 = getpgrp */
    188  1.41   thorpej 	{ 2, s(struct ultrix_sys_setpgrp_args), 0,
    189  1.12   mycroft 	    ultrix_sys_setpgrp },		/* 82 = setpgrp */
    190  1.41   thorpej 	{ 3, s(struct sys_setitimer_args), 0,
    191  1.12   mycroft 	    sys_setitimer },			/* 83 = setitimer */
    192  1.41   thorpej 	{ 3, s(struct ultrix_sys_wait3_args), 0,
    193  1.12   mycroft 	    ultrix_sys_wait3 },			/* 84 = wait3 */
    194  1.41   thorpej 	{ 1, s(struct compat_12_sys_swapon_args), 0,
    195  1.21   thorpej 	    compat_12_sys_swapon },		/* 85 = swapon */
    196  1.41   thorpej 	{ 2, s(struct sys_getitimer_args), 0,
    197  1.12   mycroft 	    sys_getitimer },			/* 86 = getitimer */
    198  1.41   thorpej 	{ 2, s(struct compat_43_sys_gethostname_args), 0,
    199  1.12   mycroft 	    compat_43_sys_gethostname },	/* 87 = gethostname */
    200  1.41   thorpej 	{ 2, s(struct compat_43_sys_sethostname_args), 0,
    201  1.12   mycroft 	    compat_43_sys_sethostname },	/* 88 = sethostname */
    202  1.41   thorpej 	{ 0, 0, 0,
    203  1.12   mycroft 	    compat_43_sys_getdtablesize },	/* 89 = getdtablesize */
    204  1.41   thorpej 	{ 2, s(struct sys_dup2_args), 0,
    205  1.12   mycroft 	    sys_dup2 },				/* 90 = dup2 */
    206  1.41   thorpej 	{ 0, 0, 0,
    207  1.12   mycroft 	    sys_nosys },			/* 91 = unimplemented getdopt */
    208  1.41   thorpej 	{ 3, s(struct ultrix_sys_fcntl_args), 0,
    209  1.37  drochner 	    ultrix_sys_fcntl },			/* 92 = fcntl */
    210  1.41   thorpej 	{ 5, s(struct ultrix_sys_select_args), 0,
    211  1.13  jonathan 	    ultrix_sys_select },		/* 93 = select */
    212  1.41   thorpej 	{ 0, 0, 0,
    213  1.12   mycroft 	    sys_nosys },			/* 94 = unimplemented setdopt */
    214  1.41   thorpej 	{ 1, s(struct sys_fsync_args), 0,
    215  1.12   mycroft 	    sys_fsync },			/* 95 = fsync */
    216  1.41   thorpej 	{ 3, s(struct sys_setpriority_args), 0,
    217  1.12   mycroft 	    sys_setpriority },			/* 96 = setpriority */
    218  1.41   thorpej 	{ 3, s(struct sys_socket_args), 0,
    219  1.12   mycroft 	    sys_socket },			/* 97 = socket */
    220  1.41   thorpej 	{ 3, s(struct sys_connect_args), 0,
    221  1.12   mycroft 	    sys_connect },			/* 98 = connect */
    222  1.41   thorpej 	{ 3, s(struct compat_43_sys_accept_args), 0,
    223  1.12   mycroft 	    compat_43_sys_accept },		/* 99 = accept */
    224  1.41   thorpej 	{ 2, s(struct sys_getpriority_args), 0,
    225  1.12   mycroft 	    sys_getpriority },			/* 100 = getpriority */
    226  1.41   thorpej 	{ 4, s(struct compat_43_sys_send_args), 0,
    227  1.12   mycroft 	    compat_43_sys_send },		/* 101 = send */
    228  1.41   thorpej 	{ 4, s(struct compat_43_sys_recv_args), 0,
    229  1.12   mycroft 	    compat_43_sys_recv },		/* 102 = recv */
    230  1.41   thorpej 	{ 1, s(struct ultrix_sys_sigreturn_args), 0,
    231  1.31  drochner 	    ultrix_sys_sigreturn },		/* 103 = sigreturn */
    232  1.41   thorpej 	{ 3, s(struct sys_bind_args), 0,
    233  1.12   mycroft 	    sys_bind },				/* 104 = bind */
    234  1.41   thorpej 	{ 5, s(struct ultrix_sys_setsockopt_args), 0,
    235  1.12   mycroft 	    ultrix_sys_setsockopt },		/* 105 = setsockopt */
    236  1.41   thorpej 	{ 2, s(struct sys_listen_args), 0,
    237  1.12   mycroft 	    sys_listen },			/* 106 = listen */
    238  1.41   thorpej 	{ 0, 0, 0,
    239  1.12   mycroft 	    sys_nosys },			/* 107 = unimplemented vtimes */
    240  1.41   thorpej 	{ 3, s(struct ultrix_sys_sigvec_args), 0,
    241  1.32  drochner 	    ultrix_sys_sigvec },		/* 108 = sigvec */
    242  1.41   thorpej 	{ 1, s(struct compat_43_sys_sigblock_args), 0,
    243  1.12   mycroft 	    compat_43_sys_sigblock },		/* 109 = sigblock */
    244  1.41   thorpej 	{ 1, s(struct compat_43_sys_sigsetmask_args), 0,
    245  1.12   mycroft 	    compat_43_sys_sigsetmask },		/* 110 = sigsetmask */
    246  1.41   thorpej 	{ 1, s(struct ultrix_sys_sigsuspend_args), 0,
    247  1.31  drochner 	    ultrix_sys_sigsuspend },		/* 111 = sigsuspend */
    248  1.41   thorpej 	{ 2, s(struct compat_43_sys_sigstack_args), 0,
    249  1.12   mycroft 	    compat_43_sys_sigstack },		/* 112 = sigstack */
    250  1.41   thorpej 	{ 3, s(struct compat_43_sys_recvmsg_args), 0,
    251  1.12   mycroft 	    compat_43_sys_recvmsg },		/* 113 = recvmsg */
    252  1.41   thorpej 	{ 3, s(struct compat_43_sys_sendmsg_args), 0,
    253  1.12   mycroft 	    compat_43_sys_sendmsg },		/* 114 = sendmsg */
    254  1.41   thorpej 	{ 0, 0, 0,
    255  1.12   mycroft 	    sys_nosys },			/* 115 = obsolete vtrace */
    256  1.41   thorpej 	{ 2, s(struct sys_gettimeofday_args), 0,
    257  1.12   mycroft 	    sys_gettimeofday },			/* 116 = gettimeofday */
    258  1.41   thorpej 	{ 2, s(struct sys_getrusage_args), 0,
    259  1.12   mycroft 	    sys_getrusage },			/* 117 = getrusage */
    260  1.41   thorpej 	{ 5, s(struct sys_getsockopt_args), 0,
    261  1.12   mycroft 	    sys_getsockopt },			/* 118 = getsockopt */
    262  1.41   thorpej 	{ 0, 0, 0,
    263  1.12   mycroft 	    sys_nosys },			/* 119 = unimplemented resuba */
    264  1.41   thorpej 	{ 3, s(struct sys_readv_args), 0,
    265  1.12   mycroft 	    sys_readv },			/* 120 = readv */
    266  1.41   thorpej 	{ 3, s(struct sys_writev_args), 0,
    267  1.12   mycroft 	    sys_writev },			/* 121 = writev */
    268  1.41   thorpej 	{ 2, s(struct sys_settimeofday_args), 0,
    269  1.12   mycroft 	    sys_settimeofday },			/* 122 = settimeofday */
    270  1.41   thorpej 	{ 3, s(struct sys___posix_fchown_args), 0,
    271  1.27    kleink 	    sys___posix_fchown },		/* 123 = __posix_fchown */
    272  1.41   thorpej 	{ 2, s(struct sys_fchmod_args), 0,
    273  1.12   mycroft 	    sys_fchmod },			/* 124 = fchmod */
    274  1.41   thorpej 	{ 6, s(struct compat_43_sys_recvfrom_args), 0,
    275  1.12   mycroft 	    compat_43_sys_recvfrom },		/* 125 = recvfrom */
    276  1.41   thorpej 	{ 2, s(struct sys_setreuid_args), 0,
    277  1.16   mycroft 	    sys_setreuid },			/* 126 = setreuid */
    278  1.41   thorpej 	{ 2, s(struct sys_setregid_args), 0,
    279  1.16   mycroft 	    sys_setregid },			/* 127 = setregid */
    280  1.41   thorpej 	{ 2, s(struct sys_rename_args), 0,
    281  1.12   mycroft 	    sys_rename },			/* 128 = rename */
    282  1.41   thorpej 	{ 2, s(struct compat_43_sys_truncate_args), 0,
    283  1.12   mycroft 	    compat_43_sys_truncate },		/* 129 = truncate */
    284  1.41   thorpej 	{ 2, s(struct compat_43_sys_ftruncate_args), 0,
    285  1.12   mycroft 	    compat_43_sys_ftruncate },		/* 130 = ftruncate */
    286  1.41   thorpej 	{ 2, s(struct sys_flock_args), 0,
    287  1.12   mycroft 	    sys_flock },			/* 131 = flock */
    288  1.41   thorpej 	{ 0, 0, 0,
    289  1.12   mycroft 	    sys_nosys },			/* 132 = unimplemented */
    290  1.41   thorpej 	{ 6, s(struct sys_sendto_args), 0,
    291  1.12   mycroft 	    sys_sendto },			/* 133 = sendto */
    292  1.41   thorpej 	{ 2, s(struct sys_shutdown_args), 0,
    293  1.12   mycroft 	    sys_shutdown },			/* 134 = shutdown */
    294  1.41   thorpej 	{ 4, s(struct sys_socketpair_args), 0,
    295  1.12   mycroft 	    sys_socketpair },			/* 135 = socketpair */
    296  1.41   thorpej 	{ 2, s(struct sys_mkdir_args), 0,
    297  1.12   mycroft 	    sys_mkdir },			/* 136 = mkdir */
    298  1.41   thorpej 	{ 1, s(struct sys_rmdir_args), 0,
    299  1.12   mycroft 	    sys_rmdir },			/* 137 = rmdir */
    300  1.41   thorpej 	{ 2, s(struct sys_utimes_args), 0,
    301  1.12   mycroft 	    sys_utimes },			/* 138 = utimes */
    302  1.41   thorpej 	{ 1, s(struct ultrix_sys_sigcleanup_args), 0,
    303  1.12   mycroft 	    ultrix_sys_sigcleanup },		/* 139 = sigcleanup */
    304  1.41   thorpej 	{ 2, s(struct sys_adjtime_args), 0,
    305  1.12   mycroft 	    sys_adjtime },			/* 140 = adjtime */
    306  1.41   thorpej 	{ 3, s(struct compat_43_sys_getpeername_args), 0,
    307  1.12   mycroft 	    compat_43_sys_getpeername },	/* 141 = getpeername */
    308  1.41   thorpej 	{ 0, 0, 0,
    309  1.12   mycroft 	    compat_43_sys_gethostid },		/* 142 = gethostid */
    310  1.41   thorpej 	{ 0, 0, 0,
    311  1.12   mycroft 	    sys_nosys },			/* 143 = unimplemented old sethostid */
    312  1.41   thorpej 	{ 2, s(struct compat_43_sys_getrlimit_args), 0,
    313  1.12   mycroft 	    compat_43_sys_getrlimit },		/* 144 = getrlimit */
    314  1.41   thorpej 	{ 2, s(struct compat_43_sys_setrlimit_args), 0,
    315  1.12   mycroft 	    compat_43_sys_setrlimit },		/* 145 = setrlimit */
    316  1.41   thorpej 	{ 2, s(struct compat_43_sys_killpg_args), 0,
    317  1.12   mycroft 	    compat_43_sys_killpg },		/* 146 = killpg */
    318  1.41   thorpej 	{ 0, 0, 0,
    319  1.12   mycroft 	    sys_nosys },			/* 147 = unimplemented */
    320  1.41   thorpej 	{ 0, 0, 0,
    321  1.12   mycroft 	    sys_nosys },			/* 148 = unimplemented setquota */
    322  1.41   thorpej 	{ 0, 0, 0,
    323  1.12   mycroft 	    sys_nosys },			/* 149 = unimplemented quota / * needs to be nullop to boot on Ultrix root partition * / */
    324  1.41   thorpej 	{ 3, s(struct compat_43_sys_getsockname_args), 0,
    325  1.12   mycroft 	    compat_43_sys_getsockname },	/* 150 = getsockname */
    326  1.41   thorpej 	{ 0, 0, 0,
    327  1.12   mycroft 	    sys_nosys },			/* 151 = unimplemented sysmips / * 4 args * / */
    328  1.20  jonathan #ifdef __mips
    329  1.41   thorpej 	{ 3, s(struct ultrix_sys_cacheflush_args), 0,
    330  1.20  jonathan 	    ultrix_sys_cacheflush },		/* 152 = cacheflush */
    331  1.41   thorpej 	{ 3, s(struct ultrix_sys_cachectl_args), 0,
    332  1.20  jonathan 	    ultrix_sys_cachectl },		/* 153 = cachectl */
    333  1.20  jonathan #else	/* !mips */
    334  1.41   thorpej 	{ 0, 0, 0,
    335  1.20  jonathan 	    sys_nosys },			/* 152 = unimplemented */
    336  1.41   thorpej 	{ 0, 0, 0,
    337  1.20  jonathan 	    sys_nosys },			/* 153 = unimplemented */
    338  1.20  jonathan #endif	/* !mips */
    339  1.41   thorpej 	{ 0, 0, 0,
    340  1.12   mycroft 	    sys_nosys },			/* 154 = unimplemented */
    341  1.41   thorpej 	{ 0, 0, 0,
    342  1.12   mycroft 	    sys_nosys },			/* 155 = unimplemented atomic_op */
    343  1.41   thorpej 	{ 0, 0, 0,
    344  1.12   mycroft 	    sys_nosys },			/* 156 = unimplemented */
    345  1.41   thorpej 	{ 0, 0, 0,
    346  1.12   mycroft 	    sys_nosys },			/* 157 = unimplemented */
    347   1.6      dean #ifdef NFSSERVER
    348  1.41   thorpej 	{ 1, s(struct ultrix_sys_nfssvc_args), 0,
    349  1.12   mycroft 	    ultrix_sys_nfssvc },		/* 158 = nfssvc */
    350   1.6      dean #else
    351  1.41   thorpej 	{ 0, 0, 0,
    352  1.12   mycroft 	    sys_nosys },			/* 158 = unimplemented */
    353   1.6      dean #endif
    354  1.41   thorpej 	{ 4, s(struct compat_43_sys_getdirentries_args), 0,
    355  1.12   mycroft 	    compat_43_sys_getdirentries },	/* 159 = getdirentries */
    356  1.41   thorpej 	{ 2, s(struct ultrix_sys_statfs_args), 0,
    357  1.12   mycroft 	    ultrix_sys_statfs },		/* 160 = statfs */
    358  1.41   thorpej 	{ 2, s(struct ultrix_sys_fstatfs_args), 0,
    359  1.12   mycroft 	    ultrix_sys_fstatfs },		/* 161 = fstatfs */
    360  1.41   thorpej 	{ 0, 0, 0,
    361  1.12   mycroft 	    sys_nosys },			/* 162 = unimplemented umount */
    362  1.18   thorpej #ifdef NFS
    363  1.41   thorpej 	{ 0, 0, 0,
    364   1.6      dean 	    async_daemon },			/* 163 = async_daemon */
    365  1.41   thorpej 	{ 2, s(struct sys_getfh_args), 0,
    366  1.12   mycroft 	    sys_getfh },			/* 164 = getfh */
    367   1.6      dean #else
    368  1.41   thorpej 	{ 0, 0, 0,
    369  1.12   mycroft 	    sys_nosys },			/* 163 = unimplemented async_daemon */
    370  1.41   thorpej 	{ 0, 0, 0,
    371  1.12   mycroft 	    sys_nosys },			/* 164 = unimplemented getfh */
    372   1.6      dean #endif
    373  1.41   thorpej 	{ 2, s(struct compat_09_sys_getdomainname_args), 0,
    374  1.12   mycroft 	    compat_09_sys_getdomainname },	/* 165 = getdomainname */
    375  1.41   thorpej 	{ 2, s(struct compat_09_sys_setdomainname_args), 0,
    376  1.12   mycroft 	    compat_09_sys_setdomainname },	/* 166 = setdomainname */
    377  1.41   thorpej 	{ 0, 0, 0,
    378  1.12   mycroft 	    sys_nosys },			/* 167 = unimplemented */
    379  1.41   thorpej 	{ 4, s(struct ultrix_sys_quotactl_args), 0,
    380  1.12   mycroft 	    ultrix_sys_quotactl },		/* 168 = quotactl */
    381  1.41   thorpej 	{ 2, s(struct ultrix_sys_exportfs_args), 0,
    382  1.12   mycroft 	    ultrix_sys_exportfs },		/* 169 = exportfs */
    383  1.41   thorpej 	{ 0, 0, 0,
    384  1.14  jonathan 	    sys_nosys },			/* 170 = unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , caddr_t data ) ; } */
    385  1.41   thorpej 	{ 0, 0, 0,
    386  1.12   mycroft 	    sys_nosys },			/* 171 = unimplemented 4 hdwconf */
    387  1.41   thorpej 	{ 0, 0, 0,
    388  1.12   mycroft 	    sys_nosys },			/* 172 = unimplemented msgctl */
    389  1.41   thorpej 	{ 0, 0, 0,
    390  1.12   mycroft 	    sys_nosys },			/* 173 = unimplemented msgget */
    391  1.41   thorpej 	{ 0, 0, 0,
    392  1.12   mycroft 	    sys_nosys },			/* 174 = unimplemented msgrcv */
    393  1.41   thorpej 	{ 0, 0, 0,
    394  1.12   mycroft 	    sys_nosys },			/* 175 = unimplemented msgsnd */
    395  1.41   thorpej 	{ 0, 0, 0,
    396  1.12   mycroft 	    sys_nosys },			/* 176 = unimplemented semctl */
    397  1.41   thorpej 	{ 0, 0, 0,
    398  1.12   mycroft 	    sys_nosys },			/* 177 = unimplemented semget */
    399  1.41   thorpej 	{ 0, 0, 0,
    400  1.12   mycroft 	    sys_nosys },			/* 178 = unimplemented semop */
    401  1.41   thorpej 	{ 1, s(struct ultrix_sys_uname_args), 0,
    402  1.12   mycroft 	    ultrix_sys_uname },			/* 179 = uname */
    403  1.41   thorpej 	{ 4, s(struct ultrix_sys_shmsys_args), 0,
    404  1.19  jonathan 	    ultrix_sys_shmsys },		/* 180 = shmsys */
    405  1.41   thorpej 	{ 0, 0, 0,
    406  1.12   mycroft 	    sys_nosys },			/* 181 = unimplemented 0 plock */
    407  1.41   thorpej 	{ 0, 0, 0,
    408  1.12   mycroft 	    sys_nosys },			/* 182 = unimplemented 0 lockf */
    409  1.41   thorpej 	{ 2, s(struct ultrix_sys_ustat_args), 0,
    410  1.12   mycroft 	    ultrix_sys_ustat },			/* 183 = ustat */
    411  1.41   thorpej 	{ 5, s(struct ultrix_sys_getmnt_args), 0,
    412  1.13  jonathan 	    ultrix_sys_getmnt },		/* 184 = getmnt */
    413  1.41   thorpej 	{ 0, 0, 0,
    414  1.12   mycroft 	    sys_nosys },			/* 185 = unimplemented notdef */
    415  1.41   thorpej 	{ 0, 0, 0,
    416  1.12   mycroft 	    sys_nosys },			/* 186 = unimplemented notdef */
    417  1.41   thorpej 	{ 1, s(struct ultrix_sys_sigpending_args), 0,
    418  1.12   mycroft 	    ultrix_sys_sigpending },		/* 187 = sigpending */
    419  1.41   thorpej 	{ 0, 0, 0,
    420  1.12   mycroft 	    sys_setsid },			/* 188 = setsid */
    421  1.41   thorpej 	{ 3, s(struct ultrix_sys_waitpid_args), 0,
    422  1.12   mycroft 	    ultrix_sys_waitpid },		/* 189 = waitpid */
    423  1.41   thorpej 	{ 0, 0, 0,
    424  1.12   mycroft 	    sys_nosys },			/* 190 = unimplemented */
    425  1.41   thorpej 	{ 0, 0, 0,
    426  1.12   mycroft 	    sys_nosys },			/* 191 = unimplemented */
    427  1.41   thorpej 	{ 0, 0, 0,
    428  1.12   mycroft 	    sys_nosys },			/* 192 = unimplemented */
    429  1.41   thorpej 	{ 0, 0, 0,
    430  1.12   mycroft 	    sys_nosys },			/* 193 = unimplemented */
    431  1.41   thorpej 	{ 0, 0, 0,
    432  1.12   mycroft 	    sys_nosys },			/* 194 = unimplemented */
    433  1.41   thorpej 	{ 0, 0, 0,
    434  1.12   mycroft 	    sys_nosys },			/* 195 = unimplemented */
    435  1.41   thorpej 	{ 0, 0, 0,
    436  1.12   mycroft 	    sys_nosys },			/* 196 = unimplemented */
    437  1.41   thorpej 	{ 0, 0, 0,
    438  1.12   mycroft 	    sys_nosys },			/* 197 = unimplemented */
    439  1.41   thorpej 	{ 0, 0, 0,
    440  1.12   mycroft 	    sys_nosys },			/* 198 = unimplemented */
    441  1.41   thorpej 	{ 0, 0, 0,
    442  1.12   mycroft 	    sys_nosys },			/* 199 = unimplemented */
    443  1.41   thorpej 	{ 0, 0, 0,
    444  1.12   mycroft 	    sys_nosys },			/* 200 = unimplemented */
    445  1.41   thorpej 	{ 0, 0, 0,
    446  1.12   mycroft 	    sys_nosys },			/* 201 = unimplemented */
    447  1.41   thorpej 	{ 0, 0, 0,
    448  1.12   mycroft 	    sys_nosys },			/* 202 = unimplemented */
    449  1.41   thorpej 	{ 0, 0, 0,
    450  1.12   mycroft 	    sys_nosys },			/* 203 = unimplemented */
    451  1.41   thorpej 	{ 0, 0, 0,
    452  1.12   mycroft 	    sys_nosys },			/* 204 = unimplemented */
    453  1.41   thorpej 	{ 0, 0, 0,
    454  1.12   mycroft 	    sys_nosys },			/* 205 = unimplemented */
    455  1.41   thorpej 	{ 0, 0, 0,
    456  1.12   mycroft 	    sys_nosys },			/* 206 = unimplemented */
    457  1.41   thorpej 	{ 0, 0, 0,
    458  1.12   mycroft 	    sys_nosys },			/* 207 = unimplemented */
    459  1.41   thorpej 	{ 0, 0, 0,
    460  1.12   mycroft 	    sys_nosys },			/* 208 = unimplemented */
    461  1.41   thorpej 	{ 0, 0, 0,
    462  1.12   mycroft 	    sys_nosys },			/* 209 = unimplemented */
    463  1.41   thorpej 	{ 0, 0, 0,
    464  1.12   mycroft 	    sys_nosys },			/* 210 = unimplemented */
    465  1.41   thorpej 	{ 0, 0, 0,
    466  1.12   mycroft 	    sys_nosys },			/* 211 = unimplemented */
    467  1.41   thorpej 	{ 0, 0, 0,
    468  1.12   mycroft 	    sys_nosys },			/* 212 = unimplemented */
    469  1.41   thorpej 	{ 0, 0, 0,
    470  1.12   mycroft 	    sys_nosys },			/* 213 = unimplemented */
    471  1.41   thorpej 	{ 0, 0, 0,
    472  1.12   mycroft 	    sys_nosys },			/* 214 = unimplemented */
    473  1.41   thorpej 	{ 0, 0, 0,
    474  1.12   mycroft 	    sys_nosys },			/* 215 = unimplemented */
    475  1.41   thorpej 	{ 0, 0, 0,
    476  1.12   mycroft 	    sys_nosys },			/* 216 = unimplemented */
    477  1.41   thorpej 	{ 0, 0, 0,
    478  1.12   mycroft 	    sys_nosys },			/* 217 = unimplemented */
    479  1.41   thorpej 	{ 0, 0, 0,
    480  1.12   mycroft 	    sys_nosys },			/* 218 = unimplemented */
    481  1.41   thorpej 	{ 0, 0, 0,
    482  1.12   mycroft 	    sys_nosys },			/* 219 = unimplemented */
    483  1.41   thorpej 	{ 0, 0, 0,
    484  1.12   mycroft 	    sys_nosys },			/* 220 = unimplemented */
    485  1.41   thorpej 	{ 0, 0, 0,
    486  1.12   mycroft 	    sys_nosys },			/* 221 = unimplemented */
    487  1.41   thorpej 	{ 0, 0, 0,
    488  1.12   mycroft 	    sys_nosys },			/* 222 = unimplemented */
    489  1.41   thorpej 	{ 0, 0, 0,
    490  1.12   mycroft 	    sys_nosys },			/* 223 = unimplemented */
    491  1.41   thorpej 	{ 0, 0, 0,
    492  1.12   mycroft 	    sys_nosys },			/* 224 = unimplemented */
    493  1.41   thorpej 	{ 0, 0, 0,
    494  1.12   mycroft 	    sys_nosys },			/* 225 = unimplemented */
    495  1.41   thorpej 	{ 0, 0, 0,
    496  1.12   mycroft 	    sys_nosys },			/* 226 = unimplemented */
    497  1.41   thorpej 	{ 0, 0, 0,
    498  1.12   mycroft 	    sys_nosys },			/* 227 = unimplemented */
    499  1.41   thorpej 	{ 0, 0, 0,
    500  1.12   mycroft 	    sys_nosys },			/* 228 = unimplemented */
    501  1.41   thorpej 	{ 0, 0, 0,
    502  1.12   mycroft 	    sys_nosys },			/* 229 = unimplemented */
    503  1.41   thorpej 	{ 0, 0, 0,
    504  1.12   mycroft 	    sys_nosys },			/* 230 = unimplemented */
    505  1.41   thorpej 	{ 0, 0, 0,
    506  1.12   mycroft 	    sys_nosys },			/* 231 = unimplemented */
    507  1.41   thorpej 	{ 0, 0, 0,
    508  1.12   mycroft 	    sys_nosys },			/* 232 = unimplemented */
    509  1.41   thorpej 	{ 0, 0, 0,
    510  1.12   mycroft 	    sys_nosys },			/* 233 = unimplemented 1 utc_gettime */
    511  1.41   thorpej 	{ 0, 0, 0,
    512  1.12   mycroft 	    sys_nosys },			/* 234 = unimplemented 2 utc_adjtime */
    513  1.41   thorpej 	{ 0, 0, 0,
    514  1.12   mycroft 	    sys_nosys },			/* 235 = unimplemented */
    515  1.41   thorpej 	{ 0, 0, 0,
    516  1.12   mycroft 	    sys_nosys },			/* 236 = unimplemented */
    517  1.41   thorpej 	{ 0, 0, 0,
    518  1.12   mycroft 	    sys_nosys },			/* 237 = unimplemented */
    519  1.41   thorpej 	{ 0, 0, 0,
    520  1.12   mycroft 	    sys_nosys },			/* 238 = unimplemented */
    521  1.41   thorpej 	{ 0, 0, 0,
    522  1.12   mycroft 	    sys_nosys },			/* 239 = unimplemented */
    523  1.41   thorpej 	{ 0, 0, 0,
    524  1.12   mycroft 	    sys_nosys },			/* 240 = unimplemented */
    525  1.41   thorpej 	{ 0, 0, 0,
    526  1.12   mycroft 	    sys_nosys },			/* 241 = unimplemented */
    527  1.41   thorpej 	{ 0, 0, 0,
    528  1.12   mycroft 	    sys_nosys },			/* 242 = unimplemented */
    529  1.41   thorpej 	{ 0, 0, 0,
    530  1.12   mycroft 	    sys_nosys },			/* 243 = unimplemented */
    531  1.41   thorpej 	{ 0, 0, 0,
    532  1.12   mycroft 	    sys_nosys },			/* 244 = unimplemented */
    533  1.41   thorpej 	{ 0, 0, 0,
    534  1.12   mycroft 	    sys_nosys },			/* 245 = unimplemented */
    535  1.41   thorpej 	{ 0, 0, 0,
    536  1.12   mycroft 	    sys_nosys },			/* 246 = unimplemented */
    537  1.41   thorpej 	{ 0, 0, 0,
    538  1.12   mycroft 	    sys_nosys },			/* 247 = unimplemented */
    539  1.41   thorpej 	{ 0, 0, 0,
    540  1.12   mycroft 	    sys_nosys },			/* 248 = unimplemented */
    541  1.41   thorpej 	{ 0, 0, 0,
    542  1.12   mycroft 	    sys_nosys },			/* 249 = unimplemented */
    543  1.41   thorpej 	{ 0, 0, 0,
    544  1.12   mycroft 	    sys_nosys },			/* 250 = unimplemented */
    545  1.41   thorpej 	{ 0, 0, 0,
    546  1.12   mycroft 	    sys_nosys },			/* 251 = unimplemented */
    547  1.41   thorpej 	{ 0, 0, 0,
    548  1.12   mycroft 	    sys_nosys },			/* 252 = unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * / */
    549  1.41   thorpej 	{ 0, 0, 0,
    550  1.12   mycroft 	    sys_nosys },			/* 253 = unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * / */
    551  1.41   thorpej 	{ 0, 0, 0,
    552  1.12   mycroft 	    sys_nosys },			/* 254 = unimplemented startcpu */
    553  1.41   thorpej 	{ 0, 0, 0,
    554  1.12   mycroft 	    sys_nosys },			/* 255 = unimplemented stopcpu */
    555  1.41   thorpej 	{ 5, s(struct ultrix_sys_getsysinfo_args), 0,
    556  1.12   mycroft 	    ultrix_sys_getsysinfo },		/* 256 = getsysinfo */
    557  1.41   thorpej 	{ 5, s(struct ultrix_sys_setsysinfo_args), 0,
    558  1.12   mycroft 	    ultrix_sys_setsysinfo },		/* 257 = setsysinfo */
    559   1.1     glass };
    560   1.1     glass 
    561