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