789 lines
22 KiB
C
789 lines
22 KiB
C
/*
|
|
* System call switch table.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* created from NetBSD: syscalls.master,v 1.6 1994/11/23 17:49:07 dean Exp
|
|
*/
|
|
|
|
#include <sys/param.h>
|
|
#include <sys/systm.h>
|
|
#include <sys/signal.h>
|
|
#include <sys/mount.h>
|
|
#include <sys/syscallargs.h>
|
|
#include <compat/ultrix/ultrix_syscallargs.h>
|
|
int nosys();
|
|
int exit();
|
|
int fork();
|
|
int read();
|
|
int write();
|
|
int sun_open();
|
|
int close();
|
|
int sun_creat();
|
|
int link();
|
|
int unlink();
|
|
int sun_execv();
|
|
int chdir();
|
|
int sun_mknod();
|
|
int chmod();
|
|
int chown();
|
|
int obreak();
|
|
int compat_43_lseek();
|
|
int getpid();
|
|
int setuid();
|
|
int getuid();
|
|
int access();
|
|
int sync();
|
|
int kill();
|
|
int compat_43_stat();
|
|
int compat_43_lstat();
|
|
int dup();
|
|
int pipe();
|
|
int profil();
|
|
int getgid();
|
|
int acct();
|
|
int reboot();
|
|
int symlink();
|
|
int readlink();
|
|
int execve();
|
|
int umask();
|
|
int chroot();
|
|
int compat_43_fstat();
|
|
int compat_43_getpagesize();
|
|
int vfork();
|
|
int sbrk();
|
|
int sstk();
|
|
int sun_mmap();
|
|
int ovadvise();
|
|
int munmap();
|
|
int mprotect();
|
|
int madvise();
|
|
int sun_vhangup();
|
|
int mincore();
|
|
int getgroups();
|
|
int setgroups();
|
|
int getpgrp();
|
|
int sun_setpgid();
|
|
int setitimer();
|
|
int sun_wait3();
|
|
int swapon();
|
|
int getitimer();
|
|
int compat_43_gethostname();
|
|
int compat_43_sethostname();
|
|
int compat_43_getdtablesize();
|
|
int dup2();
|
|
int fcntl();
|
|
int select();
|
|
int fsync();
|
|
int setpriority();
|
|
int socket();
|
|
int connect();
|
|
int compat_43_accept();
|
|
int getpriority();
|
|
int compat_43_send();
|
|
int compat_43_recv();
|
|
int sigreturn();
|
|
int bind();
|
|
int sun_setsockopt();
|
|
int listen();
|
|
int compat_43_sigvec();
|
|
int compat_43_sigblock();
|
|
int compat_43_sigsetmask();
|
|
int sigsuspend();
|
|
int compat_43_sigstack();
|
|
int compat_43_recvmsg();
|
|
int compat_43_sendmsg();
|
|
int gettimeofday();
|
|
int getrusage();
|
|
int getsockopt();
|
|
int readv();
|
|
int writev();
|
|
int settimeofday();
|
|
int fchown();
|
|
int fchmod();
|
|
int compat_43_recvfrom();
|
|
int compat_43_setreuid();
|
|
int compat_43_setregid();
|
|
int rename();
|
|
int compat_43_truncate();
|
|
int compat_43_ftruncate();
|
|
int flock();
|
|
int sendto();
|
|
int shutdown();
|
|
int socketpair();
|
|
int mkdir();
|
|
int rmdir();
|
|
int utimes();
|
|
int sigreturn();
|
|
int adjtime();
|
|
int compat_43_getpeername();
|
|
int compat_43_gethostid();
|
|
int compat_43_getrlimit();
|
|
int compat_43_setrlimit();
|
|
int compat_43_killpg();
|
|
int compat_43_getsockname();
|
|
#ifdef NFSSERVER
|
|
int sun_nfssvc();
|
|
#else
|
|
#endif
|
|
int getdirentries();
|
|
int sun_statfs();
|
|
int sun_fstatfs();
|
|
int sun_unmount();
|
|
#ifdef NFSCLIENT
|
|
int async_daemon();
|
|
int getfh();
|
|
#else
|
|
#endif
|
|
int compat_09_getdomainname();
|
|
int compat_09_setdomainname();
|
|
int sun_quotactl();
|
|
int sun_exportfs();
|
|
#ifdef SYSVMSG
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSEM
|
|
#else
|
|
#endif
|
|
int sun_uname();
|
|
#ifdef SYSVSHM
|
|
int shmsys();
|
|
#else
|
|
#endif
|
|
int sun_ustat();
|
|
int sun_sigpending();
|
|
int setsid();
|
|
int ultrix_waitpid();
|
|
int ultrix_getsysinfo();
|
|
int ultrix_setsysinfo();
|
|
|
|
#ifdef COMPAT_43
|
|
#define compat_43(func) __CONCAT(compat_43_,func)
|
|
|
|
#ifdef NFSSERVER
|
|
#else
|
|
#endif
|
|
#ifdef NFSCLIENT
|
|
#else
|
|
#endif
|
|
#ifdef SYSVMSG
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSEM
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSHM
|
|
#else
|
|
#endif
|
|
|
|
#else /* COMPAT_43 */
|
|
#define compat_43(func) nosys
|
|
#endif /* COMPAT_43 */
|
|
|
|
|
|
#ifdef COMPAT_09
|
|
#define compat_09(func) __CONCAT(compat_09_,func)
|
|
|
|
#ifdef NFSSERVER
|
|
#else
|
|
#endif
|
|
#ifdef NFSCLIENT
|
|
#else
|
|
#endif
|
|
#ifdef SYSVMSG
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSEM
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSHM
|
|
#else
|
|
#endif
|
|
|
|
#else /* COMPAT_09 */
|
|
#define compat_09(func) nosys
|
|
#endif /* COMPAT_09 */
|
|
|
|
|
|
#ifdef COMPAT_10
|
|
#define compat_10(func) __CONCAT(compat_10_,func)
|
|
|
|
#ifdef NFSSERVER
|
|
#else
|
|
#endif
|
|
#ifdef NFSCLIENT
|
|
#else
|
|
#endif
|
|
#ifdef SYSVMSG
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSEM
|
|
#else
|
|
#endif
|
|
#ifdef SYSVSHM
|
|
#else
|
|
#endif
|
|
|
|
#else /* COMPAT_10 */
|
|
#define compat_10(func) nosys
|
|
#endif /* COMPAT_10 */
|
|
|
|
#define s(type) sizeof(type)
|
|
|
|
struct sysent ultrix_sysent[] = {
|
|
{ 0, 0,
|
|
nosys }, /* 0 = syscall */
|
|
{ 1, s(struct exit_args),
|
|
exit }, /* 1 = exit */
|
|
{ 0, 0,
|
|
fork }, /* 2 = fork */
|
|
{ 3, s(struct read_args),
|
|
read }, /* 3 = read */
|
|
{ 3, s(struct write_args),
|
|
write }, /* 4 = write */
|
|
{ 3, s(struct sun_open_args),
|
|
sun_open }, /* 5 = sun_open */
|
|
{ 1, s(struct close_args),
|
|
close }, /* 6 = close */
|
|
{ 0, 0,
|
|
nosys }, /* 7 = unimplemented 0 old_wait */
|
|
{ 2, s(struct sun_creat_args),
|
|
sun_creat }, /* 8 = sun_creat */
|
|
{ 2, s(struct link_args),
|
|
link }, /* 9 = link */
|
|
{ 1, s(struct unlink_args),
|
|
unlink }, /* 10 = unlink */
|
|
{ 2, s(struct sun_execv_args),
|
|
sun_execv }, /* 11 = sun_execv */
|
|
{ 1, s(struct chdir_args),
|
|
chdir }, /* 12 = chdir */
|
|
{ 0, 0,
|
|
nosys }, /* 13 = obsolete sun_time */
|
|
{ 3, s(struct sun_mknod_args),
|
|
sun_mknod }, /* 14 = sun_mknod */
|
|
{ 2, s(struct chmod_args),
|
|
chmod }, /* 15 = chmod */
|
|
{ 3, s(struct chown_args),
|
|
chown }, /* 16 = chown */
|
|
{ 1, s(struct obreak_args),
|
|
obreak }, /* 17 = break */
|
|
{ 0, 0,
|
|
nosys }, /* 18 = obsolete sun_stat */
|
|
{ 3, s(struct compat_43_lseek_args),
|
|
compat_43_lseek }, /* 19 = compat_43_lseek */
|
|
{ 0, 0,
|
|
getpid }, /* 20 = getpid */
|
|
{ 0, 0,
|
|
nosys }, /* 21 = obsolete ultrix_mount */
|
|
{ 0, 0,
|
|
nosys }, /* 22 = obsolete sun_or_sysV_unmount */
|
|
{ 1, s(struct setuid_args),
|
|
setuid }, /* 23 = setuid */
|
|
{ 0, 0,
|
|
getuid }, /* 24 = getuid */
|
|
{ 0, 0,
|
|
nosys }, /* 25 = obsolete v7 stime */
|
|
{ 0, 0,
|
|
nosys }, /* 26 = obsolete v7 ptrace */
|
|
{ 0, 0,
|
|
nosys }, /* 27 = obsolete v7 alarm */
|
|
{ 0, 0,
|
|
nosys }, /* 28 = obsolete v7 fstat */
|
|
{ 0, 0,
|
|
nosys }, /* 29 = obsolete v7 pause */
|
|
{ 0, 0,
|
|
nosys }, /* 30 = obsolete v7 utime */
|
|
{ 0, 0,
|
|
nosys }, /* 31 = obsolete v7 stty */
|
|
{ 0, 0,
|
|
nosys }, /* 32 = obsolete v7 gtty */
|
|
{ 2, s(struct access_args),
|
|
access }, /* 33 = access */
|
|
{ 0, 0,
|
|
nosys }, /* 34 = obsolete v7 nice */
|
|
{ 0, 0,
|
|
nosys }, /* 35 = obsolete v7 ftime */
|
|
{ 0, 0,
|
|
sync }, /* 36 = sync */
|
|
{ 2, s(struct kill_args),
|
|
kill }, /* 37 = kill */
|
|
{ 2, s(struct compat_43_stat_args),
|
|
compat_43_stat }, /* 38 = compat_43_stat */
|
|
{ 0, 0,
|
|
nosys }, /* 39 = obsolete v7 setpgrp */
|
|
{ 2, s(struct compat_43_lstat_args),
|
|
compat_43_lstat }, /* 40 = compat_43_lstat */
|
|
{ 1, s(struct dup_args),
|
|
dup }, /* 41 = dup */
|
|
{ 0, 0,
|
|
pipe }, /* 42 = pipe */
|
|
{ 0, 0,
|
|
nosys }, /* 43 = obsolete v7 times */
|
|
{ 4, s(struct profil_args),
|
|
profil }, /* 44 = profil */
|
|
{ 0, 0,
|
|
nosys }, /* 45 = unimplemented 0 nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 46 = obsolete v7 setgid */
|
|
{ 0, 0,
|
|
getgid }, /* 47 = getgid */
|
|
{ 0, 0,
|
|
nosys }, /* 48 = unimplemented sun_ssig */
|
|
{ 0, 0,
|
|
nosys }, /* 49 = unimplemented reserved for USG */
|
|
{ 0, 0,
|
|
nosys }, /* 50 = unimplemented reserved for USG */
|
|
{ 1, s(struct acct_args),
|
|
acct }, /* 51 = acct */
|
|
{ 0, 0,
|
|
nosys }, /* 52 = unimplemented 0 nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 53 = unimplemented 0 syslock */
|
|
{ 0, 0,
|
|
nosys }, /* 54 = unimplemented { int sunos_ioctl ( int fd , u_long com , caddr_t data ) ; } */
|
|
{ 1, s(struct reboot_args),
|
|
reboot }, /* 55 = reboot */
|
|
{ 0, 0,
|
|
nosys }, /* 56 = unimplemented 7thedition mpxchan */
|
|
{ 2, s(struct symlink_args),
|
|
symlink }, /* 57 = symlink */
|
|
{ 3, s(struct readlink_args),
|
|
readlink }, /* 58 = readlink */
|
|
{ 3, s(struct execve_args),
|
|
execve }, /* 59 = execve */
|
|
{ 1, s(struct umask_args),
|
|
umask }, /* 60 = umask */
|
|
{ 1, s(struct chroot_args),
|
|
chroot }, /* 61 = chroot */
|
|
{ 2, s(struct compat_43_fstat_args),
|
|
compat_43_fstat }, /* 62 = compat_43_fstat */
|
|
{ 0, 0,
|
|
nosys }, /* 63 = unimplemented nosys */
|
|
{ 0, 0,
|
|
compat_43_getpagesize }, /* 64 = compat_43_getpagesize */
|
|
{ 0, 0,
|
|
nosys }, /* 65 = unimplemented mremap */
|
|
{ 0, 0,
|
|
vfork }, /* 66 = vfork */
|
|
{ 0, 0,
|
|
nosys }, /* 67 = obsolete vread */
|
|
{ 0, 0,
|
|
nosys }, /* 68 = obsolete vwrite */
|
|
{ 1, s(struct sbrk_args),
|
|
sbrk }, /* 69 = sbrk */
|
|
{ 1, s(struct sstk_args),
|
|
sstk }, /* 70 = sstk */
|
|
{ 6, s(struct sun_mmap_args),
|
|
sun_mmap }, /* 71 = sun_mmap */
|
|
{ 1, s(struct ovadvise_args),
|
|
ovadvise }, /* 72 = vadvise */
|
|
{ 2, s(struct munmap_args),
|
|
munmap }, /* 73 = munmap */
|
|
{ 3, s(struct mprotect_args),
|
|
mprotect }, /* 74 = mprotect */
|
|
{ 3, s(struct madvise_args),
|
|
madvise }, /* 75 = madvise */
|
|
{ 0, 0,
|
|
sun_vhangup }, /* 76 = sun_vhangup */
|
|
{ 0, 0,
|
|
nosys }, /* 77 = unimplemented old vlimit */
|
|
{ 3, s(struct mincore_args),
|
|
mincore }, /* 78 = mincore */
|
|
{ 2, s(struct getgroups_args),
|
|
getgroups }, /* 79 = getgroups */
|
|
{ 2, s(struct setgroups_args),
|
|
setgroups }, /* 80 = setgroups */
|
|
{ 0, 0,
|
|
getpgrp }, /* 81 = getpgrp */
|
|
{ 2, s(struct sun_setpgid_args),
|
|
sun_setpgid }, /* 82 = sun_setpgid */
|
|
{ 3, s(struct setitimer_args),
|
|
setitimer }, /* 83 = setitimer */
|
|
{ 3, s(struct sun_wait3_args),
|
|
sun_wait3 }, /* 84 = sun_wait3 */
|
|
{ 1, s(struct swapon_args),
|
|
swapon }, /* 85 = swapon */
|
|
{ 2, s(struct getitimer_args),
|
|
getitimer }, /* 86 = getitimer */
|
|
{ 2, s(struct compat_43_gethostname_args),
|
|
compat_43_gethostname }, /* 87 = compat_43_gethostname */
|
|
{ 2, s(struct compat_43_sethostname_args),
|
|
compat_43_sethostname }, /* 88 = compat_43_sethostname */
|
|
{ 0, 0,
|
|
compat_43_getdtablesize }, /* 89 = compat_43_getdtablesize */
|
|
{ 2, s(struct dup2_args),
|
|
dup2 }, /* 90 = dup2 */
|
|
{ 0, 0,
|
|
nosys }, /* 91 = unimplemented getdopt */
|
|
{ 3, s(struct fcntl_args),
|
|
fcntl }, /* 92 = fcntl */
|
|
{ 5, s(struct select_args),
|
|
select }, /* 93 = select */
|
|
{ 0, 0,
|
|
nosys }, /* 94 = unimplemented setdopt */
|
|
{ 1, s(struct fsync_args),
|
|
fsync }, /* 95 = fsync */
|
|
{ 3, s(struct setpriority_args),
|
|
setpriority }, /* 96 = setpriority */
|
|
{ 3, s(struct socket_args),
|
|
socket }, /* 97 = socket */
|
|
{ 3, s(struct connect_args),
|
|
connect }, /* 98 = connect */
|
|
{ 3, s(struct compat_43_accept_args),
|
|
compat_43_accept }, /* 99 = compat_43_accept */
|
|
{ 2, s(struct getpriority_args),
|
|
getpriority }, /* 100 = getpriority */
|
|
{ 4, s(struct compat_43_send_args),
|
|
compat_43_send }, /* 101 = compat_43_send */
|
|
{ 4, s(struct compat_43_recv_args),
|
|
compat_43_recv }, /* 102 = compat_43_recv */
|
|
{ 1, s(struct sigreturn_args),
|
|
sigreturn }, /* 103 = sigreturn */
|
|
{ 3, s(struct bind_args),
|
|
bind }, /* 104 = bind */
|
|
{ 5, s(struct sun_setsockopt_args),
|
|
sun_setsockopt }, /* 105 = sun_setsockopt */
|
|
{ 2, s(struct listen_args),
|
|
listen }, /* 106 = listen */
|
|
{ 0, 0,
|
|
nosys }, /* 107 = unimplemented vtimes */
|
|
{ 3, s(struct compat_43_sigvec_args),
|
|
compat_43_sigvec }, /* 108 = compat_43_sigvec */
|
|
{ 1, s(struct compat_43_sigblock_args),
|
|
compat_43_sigblock }, /* 109 = compat_43_sigblock */
|
|
{ 1, s(struct compat_43_sigsetmask_args),
|
|
compat_43_sigsetmask }, /* 110 = compat_43_sigsetmask */
|
|
{ 1, s(struct sigsuspend_args),
|
|
sigsuspend }, /* 111 = sigsuspend */
|
|
{ 2, s(struct compat_43_sigstack_args),
|
|
compat_43_sigstack }, /* 112 = compat_43_sigstack */
|
|
{ 3, s(struct compat_43_recvmsg_args),
|
|
compat_43_recvmsg }, /* 113 = compat_43_recvmsg */
|
|
{ 3, s(struct compat_43_sendmsg_args),
|
|
compat_43_sendmsg }, /* 114 = compat_43_sendmsg */
|
|
{ 0, 0,
|
|
nosys }, /* 115 = obsolete vtrace */
|
|
{ 2, s(struct gettimeofday_args),
|
|
gettimeofday }, /* 116 = gettimeofday */
|
|
{ 2, s(struct getrusage_args),
|
|
getrusage }, /* 117 = getrusage */
|
|
{ 5, s(struct getsockopt_args),
|
|
getsockopt }, /* 118 = getsockopt */
|
|
{ 0, 0,
|
|
nosys }, /* 119 = unimplemented resuba */
|
|
{ 3, s(struct readv_args),
|
|
readv }, /* 120 = readv */
|
|
{ 3, s(struct writev_args),
|
|
writev }, /* 121 = writev */
|
|
{ 2, s(struct settimeofday_args),
|
|
settimeofday }, /* 122 = settimeofday */
|
|
{ 3, s(struct fchown_args),
|
|
fchown }, /* 123 = fchown */
|
|
{ 2, s(struct fchmod_args),
|
|
fchmod }, /* 124 = fchmod */
|
|
{ 6, s(struct compat_43_recvfrom_args),
|
|
compat_43_recvfrom }, /* 125 = compat_43_recvfrom */
|
|
{ 2, s(struct compat_43_setreuid_args),
|
|
compat_43_setreuid }, /* 126 = compat_43_setreuid */
|
|
{ 2, s(struct compat_43_setregid_args),
|
|
compat_43_setregid }, /* 127 = compat_43_setregid */
|
|
{ 2, s(struct rename_args),
|
|
rename }, /* 128 = rename */
|
|
{ 2, s(struct compat_43_truncate_args),
|
|
compat_43_truncate }, /* 129 = compat_43_truncate */
|
|
{ 2, s(struct compat_43_ftruncate_args),
|
|
compat_43_ftruncate }, /* 130 = compat_43_ftruncate */
|
|
{ 2, s(struct flock_args),
|
|
flock }, /* 131 = flock */
|
|
{ 0, 0,
|
|
nosys }, /* 132 = unimplemented nosys */
|
|
{ 6, s(struct sendto_args),
|
|
sendto }, /* 133 = sendto */
|
|
{ 2, s(struct shutdown_args),
|
|
shutdown }, /* 134 = shutdown */
|
|
{ 4, s(struct socketpair_args),
|
|
socketpair }, /* 135 = socketpair */
|
|
{ 2, s(struct mkdir_args),
|
|
mkdir }, /* 136 = mkdir */
|
|
{ 1, s(struct rmdir_args),
|
|
rmdir }, /* 137 = rmdir */
|
|
{ 2, s(struct utimes_args),
|
|
utimes }, /* 138 = utimes */
|
|
{ 1, s(struct sigreturn_args),
|
|
sigreturn }, /* 139 = sigreturn */
|
|
{ 2, s(struct adjtime_args),
|
|
adjtime }, /* 140 = adjtime */
|
|
{ 3, s(struct compat_43_getpeername_args),
|
|
compat_43_getpeername }, /* 141 = compat_43_getpeername */
|
|
{ 0, 0,
|
|
compat_43_gethostid }, /* 142 = compat_43_gethostid */
|
|
{ 0, 0,
|
|
nosys }, /* 143 = unimplemented old sethostid */
|
|
{ 2, s(struct compat_43_getrlimit_args),
|
|
compat_43_getrlimit }, /* 144 = compat_43_getrlimit */
|
|
{ 2, s(struct compat_43_setrlimit_args),
|
|
compat_43_setrlimit }, /* 145 = compat_43_setrlimit */
|
|
{ 2, s(struct compat_43_killpg_args),
|
|
compat_43_killpg }, /* 146 = compat_43_killpg */
|
|
{ 0, 0,
|
|
nosys }, /* 147 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 148 = unimplemented setquota */
|
|
{ 0, 0,
|
|
nosys }, /* 149 = unimplemented quota / * needs to be nullop to boot on Ultrix root partition * / */
|
|
{ 3, s(struct compat_43_getsockname_args),
|
|
compat_43_getsockname }, /* 150 = compat_43_getsockname */
|
|
{ 0, 0,
|
|
nosys }, /* 151 = unimplemented sysmips / * 4 args * / */
|
|
{ 0, 0,
|
|
nosys }, /* 152 = unimplemented cacheflush / * 4 args * / */
|
|
{ 0, 0,
|
|
nosys }, /* 153 = unimplemented cachectl / * 3 args * / */
|
|
{ 0, 0,
|
|
nosys }, /* 154 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 155 = unimplemented atomic_op */
|
|
{ 0, 0,
|
|
nosys }, /* 156 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 157 = unimplemented nosys */
|
|
#ifdef NFSSERVER
|
|
{ 1, s(struct sun_nfssvc_args),
|
|
sun_nfssvc }, /* 158 = sun_nfssvc */
|
|
#else
|
|
{ 0, 0,
|
|
nosys }, /* 158 = unimplemented */
|
|
#endif
|
|
{ 4, s(struct getdirentries_args),
|
|
getdirentries }, /* 159 = getdirentries */
|
|
{ 2, s(struct sun_statfs_args),
|
|
sun_statfs }, /* 160 = sun_statfs */
|
|
{ 2, s(struct sun_fstatfs_args),
|
|
sun_fstatfs }, /* 161 = sun_fstatfs */
|
|
{ 2, s(struct sun_unmount_args),
|
|
sun_unmount }, /* 162 = sun_unmount */
|
|
#ifdef NFSCLIENT
|
|
{ 0, 0,
|
|
async_daemon }, /* 163 = async_daemon */
|
|
{ 2, s(struct getfh_args),
|
|
getfh }, /* 164 = getfh */
|
|
#else
|
|
{ 0, 0,
|
|
nosys }, /* 163 = unimplemented async_daemon */
|
|
{ 0, 0,
|
|
nosys }, /* 164 = unimplemented getfh */
|
|
#endif
|
|
{ 2, s(struct compat_09_getdomainname_args),
|
|
compat_09_getdomainname }, /* 165 = compat_09_getdomainname */
|
|
{ 2, s(struct compat_09_setdomainname_args),
|
|
compat_09_setdomainname }, /* 166 = compat_09_setdomainname */
|
|
{ 0, 0,
|
|
nosys }, /* 167 = unimplemented 0 nosys */
|
|
{ 4, s(struct sun_quotactl_args),
|
|
sun_quotactl }, /* 168 = sun_quotactl */
|
|
{ 2, s(struct sun_exportfs_args),
|
|
sun_exportfs }, /* 169 = sun_exportfs */
|
|
{ 0, 0,
|
|
nosys }, /* 170 = unimplemented ultrix_mount/ * implemented by jonathan@DSG.Stanford.EDU * / */
|
|
{ 0, 0,
|
|
nosys }, /* 171 = unimplemented 4 hdwconf */
|
|
#ifdef SYSVMSG
|
|
{ 0, 0,
|
|
nosys }, /* 172 = unimplemented 0 msgctl */
|
|
{ 0, 0,
|
|
nosys }, /* 173 = unimplemented 0 msgget */
|
|
{ 0, 0,
|
|
nosys }, /* 174 = unimplemented 0 msgrcv */
|
|
{ 0, 0,
|
|
nosys }, /* 175 = unimplemented 0 msgsnd */
|
|
#else
|
|
{ 0, 0,
|
|
nosys }, /* 172 = unimplemented 0 msgctl */
|
|
{ 0, 0,
|
|
nosys }, /* 173 = unimplemented 0 msgget */
|
|
{ 0, 0,
|
|
nosys }, /* 174 = unimplemented 0 msgrcv */
|
|
{ 0, 0,
|
|
nosys }, /* 175 = unimplemented 0 msgsnd */
|
|
#endif
|
|
#ifdef SYSVSEM
|
|
{ 0, 0,
|
|
nosys }, /* 176 = unimplemented 0 semctl */
|
|
{ 0, 0,
|
|
nosys }, /* 177 = unimplemented 0 semget */
|
|
{ 0, 0,
|
|
nosys }, /* 178 = unimplemented 0 semop */
|
|
#else
|
|
{ 0, 0,
|
|
nosys }, /* 176 = unimplemented 0 semctl */
|
|
{ 0, 0,
|
|
nosys }, /* 177 = unimplemented 0 semget */
|
|
{ 0, 0,
|
|
nosys }, /* 178 = unimplemented 0 semop */
|
|
#endif
|
|
{ 1, s(struct sun_uname_args),
|
|
sun_uname }, /* 179 = sun_uname */
|
|
#ifdef SYSVSHM
|
|
{ 4, s(struct shmsys_args),
|
|
shmsys }, /* 180 = shmsys */
|
|
#else
|
|
{ 0, 0,
|
|
nosys }, /* 180 = unimplemented shmsys */
|
|
#endif
|
|
{ 0, 0,
|
|
nosys }, /* 181 = unimplemented 0 plock */
|
|
{ 0, 0,
|
|
nosys }, /* 182 = unimplemented 0 lockf */
|
|
{ 2, s(struct sun_ustat_args),
|
|
sun_ustat }, /* 183 = sun_ustat */
|
|
{ 0, 0,
|
|
nosys }, /* 184 = unimplemented ult_getmnt / * implemented by jonathan@DSG.Stanford.EDU * / */
|
|
{ 0, 0,
|
|
nosys }, /* 185 = unimplemented notdef */
|
|
{ 0, 0,
|
|
nosys }, /* 186 = unimplemented notdef */
|
|
{ 1, s(struct sun_sigpending_args),
|
|
sun_sigpending }, /* 187 = sun_sigpending */
|
|
{ 0, 0,
|
|
setsid }, /* 188 = setsid */
|
|
{ 0, 0,
|
|
ultrix_waitpid }, /* 189 = ultrix_waitpid */
|
|
{ 0, 0,
|
|
nosys }, /* 190 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 191 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 192 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 193 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 194 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 195 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 196 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 197 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 198 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 199 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 200 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 201 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 202 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 203 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 204 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 205 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 206 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 207 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 208 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 209 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 210 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 211 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 212 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 213 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 214 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 215 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 216 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 217 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 218 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 219 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 220 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 221 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 222 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 223 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 224 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 225 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 226 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 227 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 228 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 229 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 230 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 231 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 232 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 233 = unimplemented 1 utc_gettime */
|
|
{ 0, 0,
|
|
nosys }, /* 234 = unimplemented 2 utc_adjtime */
|
|
{ 0, 0,
|
|
nosys }, /* 235 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 236 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 237 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 238 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 239 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 240 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 241 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 242 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 243 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 244 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 245 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 246 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 247 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 248 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 249 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 250 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 251 = unimplemented nosys */
|
|
{ 0, 0,
|
|
nosys }, /* 252 = unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * / */
|
|
{ 0, 0,
|
|
nosys }, /* 253 = unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * / */
|
|
{ 0, 0,
|
|
nosys }, /* 254 = unimplemented startcpu */
|
|
{ 0, 0,
|
|
nosys }, /* 255 = unimplemented stopcpu */
|
|
{ 5, s(struct ultrix_getsysinfo_args),
|
|
ultrix_getsysinfo }, /* 256 = ultrix_getsysinfo */
|
|
{ 5, s(struct ultrix_setsysinfo_args),
|
|
ultrix_setsysinfo }, /* 257 = ultrix_setsysinfo */
|
|
};
|
|
|
|
int nultrix_sysent= sizeof(ultrix_sysent) / sizeof(ultrix_sysent[0]);
|