1998-02-19 06:34:15 +03:00
/* $NetBSD: ultrix_syscalls.c,v 1.28 1998/02/19 03:34:20 thorpej Exp $ */
1998-01-09 09:19:02 +03:00
1994-06-02 10:25:37 +04:00
/*
* System call names .
*
* DO NOT EDIT - - this file is automatically generated .
1998-02-19 03:46:39 +03:00
* created from NetBSD : syscalls . master , v 1.24 1998 / 02 / 19 00 : 46 : 02 thorpej Exp
1994-06-02 10:25:37 +04:00
*/
1998-02-19 06:34:15 +03:00
# if defined(_KERNEL) && !defined(_LKM)
1998-02-19 03:46:39 +03:00
# include "fs_nfs.h"
# 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>
1998-02-19 06:34:15 +03:00
# endif /* _KERNEL && ! _LKM */
1998-02-19 03:46:39 +03:00
1994-06-02 10:25:37 +04:00
char * ultrix_syscallnames [ ] = {
" syscall " , /* 0 = syscall */
" exit " , /* 1 = exit */
" fork " , /* 2 = fork */
" read " , /* 3 = read */
" write " , /* 4 = write */
1995-10-07 09:51:37 +03:00
" open " , /* 5 = open */
1994-06-02 10:25:37 +04:00
" close " , /* 6 = close */
1995-12-26 13:06:14 +03:00
" owait " , /* 7 = owait */
1995-10-07 09:51:37 +03:00
" creat " , /* 8 = creat */
1994-06-02 10:25:37 +04:00
" link " , /* 9 = link */
" unlink " , /* 10 = unlink */
1995-10-07 09:51:37 +03:00
" execv " , /* 11 = execv */
1994-06-02 10:25:37 +04:00
" chdir " , /* 12 = chdir */
1995-10-07 09:51:37 +03:00
" #13 (obsolete time) " , /* 13 = obsolete time */
" mknod " , /* 14 = mknod */
1994-06-02 10:25:37 +04:00
" chmod " , /* 15 = chmod */
1998-02-15 01:06:38 +03:00
" __posix_chown " , /* 16 = __posix_chown */
1994-06-02 10:25:37 +04:00
" break " , /* 17 = break */
1995-10-07 09:51:37 +03:00
" #18 (obsolete stat) " , /* 18 = obsolete stat */
" lseek " , /* 19 = lseek */
1994-06-02 10:25:37 +04:00
" getpid " , /* 20 = getpid */
1995-12-26 13:06:14 +03:00
" mount " , /* 21 = mount */
1995-10-07 09:51:37 +03:00
" #22 (obsolete sysV_unmount) " , /* 22 = obsolete sysV_unmount */
1994-11-23 20:49:06 +03:00
" setuid " , /* 23 = setuid */
1994-06-02 10:25:37 +04:00
" getuid " , /* 24 = getuid */
1994-11-23 20:49:06 +03:00
" #25 (obsolete v7 stime) " , /* 25 = obsolete v7 stime */
" #26 (obsolete v7 ptrace) " , /* 26 = obsolete v7 ptrace */
" #27 (obsolete v7 alarm) " , /* 27 = obsolete v7 alarm */
" #28 (obsolete v7 fstat) " , /* 28 = obsolete v7 fstat */
" #29 (obsolete v7 pause) " , /* 29 = obsolete v7 pause */
" #30 (obsolete v7 utime) " , /* 30 = obsolete v7 utime */
" #31 (obsolete v7 stty) " , /* 31 = obsolete v7 stty */
" #32 (obsolete v7 gtty) " , /* 32 = obsolete v7 gtty */
1994-06-02 10:25:37 +04:00
" access " , /* 33 = access */
1994-11-23 20:49:06 +03:00
" #34 (obsolete v7 nice) " , /* 34 = obsolete v7 nice */
" #35 (obsolete v7 ftime) " , /* 35 = obsolete v7 ftime */
1994-06-02 10:25:37 +04:00
" sync " , /* 36 = sync */
" kill " , /* 37 = kill */
1997-10-17 03:56:40 +04:00
" stat43 " , /* 38 = stat43 */
1994-11-23 20:49:06 +03:00
" #39 (obsolete v7 setpgrp) " , /* 39 = obsolete v7 setpgrp */
1997-10-17 03:56:40 +04:00
" lstat43 " , /* 40 = lstat43 */
1994-06-02 10:25:37 +04:00
" dup " , /* 41 = dup */
" pipe " , /* 42 = pipe */
1994-11-23 20:49:06 +03:00
" #43 (obsolete v7 times) " , /* 43 = obsolete v7 times */
1994-06-02 10:25:37 +04:00
" profil " , /* 44 = profil */
1995-10-07 09:51:37 +03:00
" #45 (unimplemented) " , /* 45 = unimplemented */
1994-11-23 20:49:06 +03:00
" #46 (obsolete v7 setgid) " , /* 46 = obsolete v7 setgid */
1994-06-02 10:25:37 +04:00
" getgid " , /* 47 = getgid */
1995-10-07 09:51:37 +03:00
" #48 (unimplemented ssig) " , /* 48 = unimplemented ssig */
1994-11-23 20:49:06 +03:00
" #49 (unimplemented reserved for USG) " , /* 49 = unimplemented reserved for USG */
" #50 (unimplemented reserved for USG) " , /* 50 = unimplemented reserved for USG */
1994-06-02 10:25:37 +04:00
" acct " , /* 51 = acct */
1995-10-07 09:51:37 +03:00
" #52 (unimplemented) " , /* 52 = unimplemented */
1995-04-22 23:48:19 +04:00
" #53 (unimplemented syslock) " , /* 53 = unimplemented syslock */
" ioctl " , /* 54 = ioctl */
1994-06-02 10:25:37 +04:00
" reboot " , /* 55 = reboot */
1995-04-22 23:48:19 +04:00
" #56 (unimplemented v7 mpxchan) " , /* 56 = unimplemented v7 mpxchan */
1994-06-02 10:25:37 +04:00
" symlink " , /* 57 = symlink */
" readlink " , /* 58 = readlink */
" execve " , /* 59 = execve */
" umask " , /* 60 = umask */
" chroot " , /* 61 = chroot */
1995-10-07 09:51:37 +03:00
" fstat " , /* 62 = fstat */
" #63 (unimplemented) " , /* 63 = unimplemented */
" getpagesize " , /* 64 = getpagesize */
1994-11-23 20:49:06 +03:00
" #65 (unimplemented mremap) " , /* 65 = unimplemented mremap */
1994-06-02 10:25:37 +04:00
" vfork " , /* 66 = vfork */
1994-11-23 20:49:06 +03:00
" #67 (obsolete vread) " , /* 67 = obsolete vread */
" #68 (obsolete vwrite) " , /* 68 = obsolete vwrite */
1994-06-02 10:25:37 +04:00
" sbrk " , /* 69 = sbrk */
" sstk " , /* 70 = sstk */
1995-10-07 09:51:37 +03:00
" mmap " , /* 71 = mmap */
1994-06-02 10:25:37 +04:00
" vadvise " , /* 72 = vadvise */
" munmap " , /* 73 = munmap */
" mprotect " , /* 74 = mprotect */
" madvise " , /* 75 = madvise */
1995-10-07 09:51:37 +03:00
" vhangup " , /* 76 = vhangup */
1994-11-23 20:49:06 +03:00
" #77 (unimplemented old vlimit) " , /* 77 = unimplemented old vlimit */
1994-06-02 10:25:37 +04:00
" mincore " , /* 78 = mincore */
" getgroups " , /* 79 = getgroups */
" setgroups " , /* 80 = setgroups */
" getpgrp " , /* 81 = getpgrp */
1995-10-07 09:51:37 +03:00
" setpgrp " , /* 82 = setpgrp */
1994-06-02 10:25:37 +04:00
" setitimer " , /* 83 = setitimer */
1995-10-07 09:51:37 +03:00
" wait3 " , /* 84 = wait3 */
1994-06-02 10:25:37 +04:00
" swapon " , /* 85 = swapon */
" getitimer " , /* 86 = getitimer */
1995-10-07 09:51:37 +03:00
" gethostname " , /* 87 = gethostname */
" sethostname " , /* 88 = sethostname */
" getdtablesize " , /* 89 = getdtablesize */
1994-06-02 10:25:37 +04:00
" dup2 " , /* 90 = dup2 */
1994-11-23 20:49:06 +03:00
" #91 (unimplemented getdopt) " , /* 91 = unimplemented getdopt */
1994-06-02 10:25:37 +04:00
" fcntl " , /* 92 = fcntl */
" select " , /* 93 = select */
1994-11-23 20:49:06 +03:00
" #94 (unimplemented setdopt) " , /* 94 = unimplemented setdopt */
1994-06-02 10:25:37 +04:00
" fsync " , /* 95 = fsync */
" setpriority " , /* 96 = setpriority */
" socket " , /* 97 = socket */
" connect " , /* 98 = connect */
1995-10-07 09:51:37 +03:00
" accept " , /* 99 = accept */
1994-06-02 10:25:37 +04:00
" getpriority " , /* 100 = getpriority */
1995-10-07 09:51:37 +03:00
" send " , /* 101 = send */
" recv " , /* 102 = recv */
1994-12-01 19:41:43 +03:00
" sigreturn " , /* 103 = sigreturn */
1994-06-02 10:25:37 +04:00
" bind " , /* 104 = bind */
1995-10-07 09:51:37 +03:00
" setsockopt " , /* 105 = setsockopt */
1994-06-02 10:25:37 +04:00
" listen " , /* 106 = listen */
1994-11-23 20:49:06 +03:00
" #107 (unimplemented vtimes) " , /* 107 = unimplemented vtimes */
1995-10-07 09:51:37 +03:00
" sigvec " , /* 108 = sigvec */
" sigblock " , /* 109 = sigblock */
" sigsetmask " , /* 110 = sigsetmask */
1994-06-02 10:25:37 +04:00
" sigsuspend " , /* 111 = sigsuspend */
1995-10-07 09:51:37 +03:00
" sigstack " , /* 112 = sigstack */
" recvmsg " , /* 113 = recvmsg */
" sendmsg " , /* 114 = sendmsg */
1994-11-23 20:49:06 +03:00
" #115 (obsolete vtrace) " , /* 115 = obsolete vtrace */
1994-06-02 10:25:37 +04:00
" gettimeofday " , /* 116 = gettimeofday */
" getrusage " , /* 117 = getrusage */
" getsockopt " , /* 118 = getsockopt */
1994-11-23 20:49:06 +03:00
" #119 (unimplemented resuba) " , /* 119 = unimplemented resuba */
1994-06-02 10:25:37 +04:00
" readv " , /* 120 = readv */
" writev " , /* 121 = writev */
" settimeofday " , /* 122 = settimeofday */
1998-02-15 01:06:38 +03:00
" __posix_fchown " , /* 123 = __posix_fchown */
1994-06-02 10:25:37 +04:00
" fchmod " , /* 124 = fchmod */
1995-10-07 09:51:37 +03:00
" recvfrom " , /* 125 = recvfrom */
" setreuid " , /* 126 = setreuid */
" setregid " , /* 127 = setregid */
1994-06-02 10:25:37 +04:00
" rename " , /* 128 = rename */
1995-10-07 09:51:37 +03:00
" truncate " , /* 129 = truncate */
" ftruncate " , /* 130 = ftruncate */
1994-06-02 10:25:37 +04:00
" flock " , /* 131 = flock */
1995-10-07 09:51:37 +03:00
" #132 (unimplemented) " , /* 132 = unimplemented */
1994-06-02 10:25:37 +04:00
" sendto " , /* 133 = sendto */
" shutdown " , /* 134 = shutdown */
" socketpair " , /* 135 = socketpair */
" mkdir " , /* 136 = mkdir */
" rmdir " , /* 137 = rmdir */
" utimes " , /* 138 = utimes */
1995-10-07 09:51:37 +03:00
" sigcleanup " , /* 139 = sigcleanup */
1994-06-02 10:25:37 +04:00
" adjtime " , /* 140 = adjtime */
1995-10-07 09:51:37 +03:00
" getpeername " , /* 141 = getpeername */
" gethostid " , /* 142 = gethostid */
1994-11-23 20:49:06 +03:00
" #143 (unimplemented old sethostid) " , /* 143 = unimplemented old sethostid */
1995-10-07 09:51:37 +03:00
" getrlimit " , /* 144 = getrlimit */
" setrlimit " , /* 145 = setrlimit */
" killpg " , /* 146 = killpg */
" #147 (unimplemented) " , /* 147 = unimplemented */
1994-11-23 20:49:06 +03:00
" #148 (unimplemented setquota) " , /* 148 = unimplemented setquota */
" #149 (unimplemented quota / * needs to be nullop to boot on Ultrix root partition * /) " , /* 149 = unimplemented quota / * needs to be nullop to boot on Ultrix root partition * / */
1995-10-07 09:51:37 +03:00
" getsockname " , /* 150 = getsockname */
1994-11-23 20:49:06 +03:00
" #151 (unimplemented sysmips / * 4 args * /) " , /* 151 = unimplemented sysmips / * 4 args * / */
1997-06-09 15:57:43 +04:00
# ifdef __mips
" cacheflush " , /* 152 = cacheflush */
" cachectl " , /* 153 = cachectl */
# else /* !mips */
" #152 (unimplemented) " , /* 152 = unimplemented */
" #153 (unimplemented) " , /* 153 = unimplemented */
# endif /* !mips */
1995-10-07 09:51:37 +03:00
" #154 (unimplemented) " , /* 154 = unimplemented */
1994-11-23 20:49:06 +03:00
" #155 (unimplemented atomic_op) " , /* 155 = unimplemented atomic_op */
1995-10-07 09:51:37 +03:00
" #156 (unimplemented) " , /* 156 = unimplemented */
" #157 (unimplemented) " , /* 157 = unimplemented */
1994-11-23 20:49:06 +03:00
# ifdef NFSSERVER
1995-10-07 09:51:37 +03:00
" nfssvc " , /* 158 = nfssvc */
1994-11-23 20:49:06 +03:00
# else
" #158 (unimplemented) " , /* 158 = unimplemented */
# endif
1995-10-07 09:51:37 +03:00
" getdirentries " , /* 159 = getdirentries */
" statfs " , /* 160 = statfs */
" fstatfs " , /* 161 = fstatfs */
" #162 (unimplemented umount) " , /* 162 = unimplemented umount */
1997-01-31 05:20:58 +03:00
# ifdef NFS
1994-06-02 10:25:37 +04:00
" async_daemon " , /* 163 = async_daemon */
" getfh " , /* 164 = getfh */
1994-11-23 20:49:06 +03:00
# else
" #163 (unimplemented async_daemon) " , /* 163 = unimplemented async_daemon */
" #164 (unimplemented getfh) " , /* 164 = unimplemented getfh */
# endif
1995-10-07 09:51:37 +03:00
" getdomainname " , /* 165 = getdomainname */
" setdomainname " , /* 166 = setdomainname */
" #167 (unimplemented) " , /* 167 = unimplemented */
" quotactl " , /* 168 = quotactl */
" exportfs " , /* 169 = exportfs */
1995-12-26 13:06:14 +03:00
" #170 (unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , caddr_t data ) ; }) " , /* 170 = unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , caddr_t data ) ; } */
1994-11-23 20:49:06 +03:00
" #171 (unimplemented 4 hdwconf) " , /* 171 = unimplemented 4 hdwconf */
1995-10-07 09:51:37 +03:00
" #172 (unimplemented msgctl) " , /* 172 = unimplemented msgctl */
" #173 (unimplemented msgget) " , /* 173 = unimplemented msgget */
" #174 (unimplemented msgrcv) " , /* 174 = unimplemented msgrcv */
" #175 (unimplemented msgsnd) " , /* 175 = unimplemented msgsnd */
" #176 (unimplemented semctl) " , /* 176 = unimplemented semctl */
" #177 (unimplemented semget) " , /* 177 = unimplemented semget */
" #178 (unimplemented semop) " , /* 178 = unimplemented semop */
" uname " , /* 179 = uname */
1997-04-07 03:26:52 +04:00
" shmsys " , /* 180 = shmsys */
1994-11-23 20:49:06 +03:00
" #181 (unimplemented 0 plock) " , /* 181 = unimplemented 0 plock */
" #182 (unimplemented 0 lockf) " , /* 182 = unimplemented 0 lockf */
1995-10-07 09:51:37 +03:00
" ustat " , /* 183 = ustat */
1995-12-26 07:22:30 +03:00
" getmnt " , /* 184 = getmnt */
1994-11-23 20:49:06 +03:00
" #185 (unimplemented notdef) " , /* 185 = unimplemented notdef */
" #186 (unimplemented notdef) " , /* 186 = unimplemented notdef */
1995-10-07 09:51:37 +03:00
" sigpending " , /* 187 = sigpending */
1994-06-02 10:25:37 +04:00
" setsid " , /* 188 = setsid */
1995-10-07 09:51:37 +03:00
" waitpid " , /* 189 = waitpid */
" #190 (unimplemented) " , /* 190 = unimplemented */
" #191 (unimplemented) " , /* 191 = unimplemented */
" #192 (unimplemented) " , /* 192 = unimplemented */
" #193 (unimplemented) " , /* 193 = unimplemented */
" #194 (unimplemented) " , /* 194 = unimplemented */
" #195 (unimplemented) " , /* 195 = unimplemented */
" #196 (unimplemented) " , /* 196 = unimplemented */
" #197 (unimplemented) " , /* 197 = unimplemented */
" #198 (unimplemented) " , /* 198 = unimplemented */
" #199 (unimplemented) " , /* 199 = unimplemented */
" #200 (unimplemented) " , /* 200 = unimplemented */
" #201 (unimplemented) " , /* 201 = unimplemented */
" #202 (unimplemented) " , /* 202 = unimplemented */
" #203 (unimplemented) " , /* 203 = unimplemented */
" #204 (unimplemented) " , /* 204 = unimplemented */
" #205 (unimplemented) " , /* 205 = unimplemented */
" #206 (unimplemented) " , /* 206 = unimplemented */
" #207 (unimplemented) " , /* 207 = unimplemented */
" #208 (unimplemented) " , /* 208 = unimplemented */
" #209 (unimplemented) " , /* 209 = unimplemented */
" #210 (unimplemented) " , /* 210 = unimplemented */
" #211 (unimplemented) " , /* 211 = unimplemented */
" #212 (unimplemented) " , /* 212 = unimplemented */
" #213 (unimplemented) " , /* 213 = unimplemented */
" #214 (unimplemented) " , /* 214 = unimplemented */
" #215 (unimplemented) " , /* 215 = unimplemented */
" #216 (unimplemented) " , /* 216 = unimplemented */
" #217 (unimplemented) " , /* 217 = unimplemented */
" #218 (unimplemented) " , /* 218 = unimplemented */
" #219 (unimplemented) " , /* 219 = unimplemented */
" #220 (unimplemented) " , /* 220 = unimplemented */
" #221 (unimplemented) " , /* 221 = unimplemented */
" #222 (unimplemented) " , /* 222 = unimplemented */
" #223 (unimplemented) " , /* 223 = unimplemented */
" #224 (unimplemented) " , /* 224 = unimplemented */
" #225 (unimplemented) " , /* 225 = unimplemented */
" #226 (unimplemented) " , /* 226 = unimplemented */
" #227 (unimplemented) " , /* 227 = unimplemented */
" #228 (unimplemented) " , /* 228 = unimplemented */
" #229 (unimplemented) " , /* 229 = unimplemented */
" #230 (unimplemented) " , /* 230 = unimplemented */
" #231 (unimplemented) " , /* 231 = unimplemented */
" #232 (unimplemented) " , /* 232 = unimplemented */
1994-11-23 20:49:06 +03:00
" #233 (unimplemented 1 utc_gettime) " , /* 233 = unimplemented 1 utc_gettime */
" #234 (unimplemented 2 utc_adjtime) " , /* 234 = unimplemented 2 utc_adjtime */
1995-10-07 09:51:37 +03:00
" #235 (unimplemented) " , /* 235 = unimplemented */
" #236 (unimplemented) " , /* 236 = unimplemented */
" #237 (unimplemented) " , /* 237 = unimplemented */
" #238 (unimplemented) " , /* 238 = unimplemented */
" #239 (unimplemented) " , /* 239 = unimplemented */
" #240 (unimplemented) " , /* 240 = unimplemented */
" #241 (unimplemented) " , /* 241 = unimplemented */
" #242 (unimplemented) " , /* 242 = unimplemented */
" #243 (unimplemented) " , /* 243 = unimplemented */
" #244 (unimplemented) " , /* 244 = unimplemented */
" #245 (unimplemented) " , /* 245 = unimplemented */
" #246 (unimplemented) " , /* 246 = unimplemented */
" #247 (unimplemented) " , /* 247 = unimplemented */
" #248 (unimplemented) " , /* 248 = unimplemented */
" #249 (unimplemented) " , /* 249 = unimplemented */
" #250 (unimplemented) " , /* 250 = unimplemented */
" #251 (unimplemented) " , /* 251 = unimplemented */
1994-11-23 20:49:06 +03:00
" #252 (unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * /) " , /* 252 = unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * / */
" #253 (unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * /) " , /* 253 = unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * / */
" #254 (unimplemented startcpu) " , /* 254 = unimplemented startcpu */
" #255 (unimplemented stopcpu) " , /* 255 = unimplemented stopcpu */
1995-10-07 09:51:37 +03:00
" getsysinfo " , /* 256 = getsysinfo */
" setsysinfo " , /* 257 = setsysinfo */
1994-06-02 10:25:37 +04:00
} ;