NetBSD/sys/compat/osf1/osf1_syscalls.c

288 lines
14 KiB
C
Raw Normal View History

2001-04-04 23:52:18 +04:00
/* $NetBSD: osf1_syscalls.c,v 1.42 2001/04/04 19:52:19 ross Exp $ */
1998-01-09 09:19:02 +03:00
1995-02-14 00:40:43 +03:00
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
2000-12-09 10:11:17 +03:00
* created from NetBSD: syscalls.master,v 1.34 2000/12/09 07:10:36 mycroft Exp
1995-02-14 00:40:43 +03:00
*/
2000-12-09 08:37:01 +03:00
#if defined(_KERNEL) && !defined(_LKM)
1998-02-19 06:34:15 +03:00
#if defined(_KERNEL) && !defined(_LKM)
1998-12-10 20:13:06 +03:00
#include "opt_compat_43.h"
2000-12-09 08:37:01 +03:00
#endif
1998-02-19 03:42:35 +03:00
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>
1999-05-04 09:00:21 +04:00
#include <compat/osf1/osf1.h>
1998-02-19 03:42:35 +03:00
#include <compat/osf1/osf1_syscallargs.h>
1998-02-19 06:34:15 +03:00
#endif /* _KERNEL && ! _LKM */
1998-02-19 03:42:35 +03:00
2000-12-09 08:37:01 +03:00
const char *const osf1_syscallnames[] = {
1995-02-14 00:40:43 +03:00
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
"fork", /* 2 = fork */
"read", /* 3 = read */
"write", /* 4 = write */
"#5 (unimplemented old open)", /* 5 = unimplemented old open */
"close", /* 6 = close */
"wait4", /* 7 = wait4 */
"#8 (unimplemented old creat)", /* 8 = unimplemented old creat */
"link", /* 9 = link */
"unlink", /* 10 = unlink */
"#11 (unimplemented execv)", /* 11 = unimplemented execv */
"chdir", /* 12 = chdir */
"fchdir", /* 13 = fchdir */
1995-10-07 09:41:34 +03:00
"mknod", /* 14 = mknod */
1995-02-14 00:40:43 +03:00
"chmod", /* 15 = chmod */
"__posix_chown", /* 16 = __posix_chown */
1995-02-14 00:40:43 +03:00
"obreak", /* 17 = obreak */
1995-10-07 09:41:34 +03:00
"getfsstat", /* 18 = getfsstat */
"lseek", /* 19 = lseek */
2000-12-09 10:11:17 +03:00
"getpid_with_ppid", /* 20 = getpid_with_ppid */
1995-10-07 09:41:34 +03:00
"mount", /* 21 = mount */
"unmount", /* 22 = unmount */
"setuid", /* 23 = setuid */
2000-12-09 10:11:17 +03:00
"getuid_with_euid", /* 24 = getuid_with_euid */
1995-02-14 00:40:43 +03:00
"#25 (unimplemented exec_with_loader)", /* 25 = unimplemented exec_with_loader */
"#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
1999-05-10 10:00:10 +04:00
"recvmsg_xopen", /* 27 = recvmsg_xopen */
"sendmsg_xopen", /* 28 = sendmsg_xopen */
1995-02-14 00:40:43 +03:00
"#29 (unimplemented recvfrom)", /* 29 = unimplemented recvfrom */
"#30 (unimplemented accept)", /* 30 = unimplemented accept */
"#31 (unimplemented getpeername)", /* 31 = unimplemented getpeername */
"#32 (unimplemented getsockname)", /* 32 = unimplemented getsockname */
"access", /* 33 = access */
"#34 (unimplemented chflags)", /* 34 = unimplemented chflags */
"#35 (unimplemented fchflags)", /* 35 = unimplemented fchflags */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
"#38 (unimplemented old stat)", /* 38 = unimplemented old stat */
"setpgid", /* 39 = setpgid */
"#40 (unimplemented old lstat)", /* 40 = unimplemented old lstat */
"dup", /* 41 = dup */
"pipe", /* 42 = pipe */
1999-04-29 21:20:37 +04:00
"set_program_attributes", /* 43 = set_program_attributes */
1995-02-14 00:40:43 +03:00
"#44 (unimplemented profil)", /* 44 = unimplemented profil */
1995-10-07 09:41:34 +03:00
"open", /* 45 = open */
1995-02-14 00:40:43 +03:00
"#46 (obsolete sigaction)", /* 46 = obsolete sigaction */
2000-12-09 10:11:17 +03:00
"getgid_with_egid", /* 47 = getgid_with_egid */
1995-02-14 00:40:43 +03:00
"sigprocmask", /* 48 = sigprocmask */
1998-05-20 20:35:19 +04:00
"__getlogin", /* 49 = __getlogin */
1995-02-14 00:40:43 +03:00
"setlogin", /* 50 = setlogin */
"acct", /* 51 = acct */
"#52 (unimplemented sigpending)", /* 52 = unimplemented sigpending */
1999-05-04 09:23:05 +04:00
"classcntl", /* 53 = classcntl */
1995-10-07 09:41:34 +03:00
"ioctl", /* 54 = ioctl */
"reboot", /* 55 = reboot */
1995-02-14 00:40:43 +03:00
"revoke", /* 56 = revoke */
"symlink", /* 57 = symlink */
"readlink", /* 58 = readlink */
"execve", /* 59 = execve */
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
"#62 (unimplemented old fstat)", /* 62 = unimplemented old fstat */
"getpgrp", /* 63 = getpgrp */
1995-10-07 09:41:34 +03:00
"getpagesize", /* 64 = getpagesize */
1995-02-14 00:40:43 +03:00
"#65 (unimplemented mremap)", /* 65 = unimplemented mremap */
"vfork", /* 66 = vfork */
1995-10-07 09:41:34 +03:00
"stat", /* 67 = stat */
"lstat", /* 68 = lstat */
1995-02-14 00:40:43 +03:00
"#69 (unimplemented sbrk)", /* 69 = unimplemented sbrk */
"#70 (unimplemented sstk)", /* 70 = unimplemented sstk */
1995-10-07 09:41:34 +03:00
"mmap", /* 71 = mmap */
1995-02-14 00:40:43 +03:00
"#72 (unimplemented ovadvise)", /* 72 = unimplemented ovadvise */
"munmap", /* 73 = munmap */
1999-04-29 06:11:51 +04:00
"mprotect", /* 74 = mprotect */
1995-10-07 09:41:34 +03:00
"madvise", /* 75 = madvise */
1995-02-14 00:40:43 +03:00
"#76 (unimplemented old vhangup)", /* 76 = unimplemented old vhangup */
"#77 (unimplemented kmodcall)", /* 77 = unimplemented kmodcall */
"#78 (unimplemented mincore)", /* 78 = unimplemented mincore */
"getgroups", /* 79 = getgroups */
"setgroups", /* 80 = setgroups */
"#81 (unimplemented old getpgrp)", /* 81 = unimplemented old getpgrp */
"setpgrp", /* 82 = setpgrp */
"setitimer", /* 83 = setitimer */
"#84 (unimplemented old wait)", /* 84 = unimplemented old wait */
"#85 (unimplemented table)", /* 85 = unimplemented table */
"#86 (unimplemented getitimer)", /* 86 = unimplemented getitimer */
1995-10-07 09:41:34 +03:00
"gethostname", /* 87 = gethostname */
"sethostname", /* 88 = sethostname */
"getdtablesize", /* 89 = getdtablesize */
1995-02-14 00:40:43 +03:00
"dup2", /* 90 = dup2 */
1995-10-07 09:41:34 +03:00
"fstat", /* 91 = fstat */
"fcntl", /* 92 = fcntl */
1995-02-14 00:40:43 +03:00
"select", /* 93 = select */
1996-09-07 16:56:49 +04:00
"poll", /* 94 = poll */
1995-02-14 00:40:43 +03:00
"fsync", /* 95 = fsync */
"setpriority", /* 96 = setpriority */
1995-10-07 09:41:34 +03:00
"socket", /* 97 = socket */
1995-02-14 00:40:43 +03:00
"connect", /* 98 = connect */
1999-05-10 07:34:20 +04:00
"accept", /* 99 = accept */
1995-02-14 00:40:43 +03:00
"getpriority", /* 100 = getpriority */
1995-10-07 09:41:34 +03:00
"send", /* 101 = send */
"recv", /* 102 = recv */
1995-02-14 00:40:43 +03:00
"sigreturn", /* 103 = sigreturn */
"bind", /* 104 = bind */
"setsockopt", /* 105 = setsockopt */
1999-05-10 07:00:27 +04:00
"listen", /* 106 = listen */
1995-02-14 00:40:43 +03:00
"#107 (unimplemented plock)", /* 107 = unimplemented plock */
"#108 (unimplemented old sigvec)", /* 108 = unimplemented old sigvec */
"#109 (unimplemented old sigblock)", /* 109 = unimplemented old sigblock */
"#110 (unimplemented old sigsetmask)", /* 110 = unimplemented old sigsetmask */
"sigsuspend", /* 111 = sigsuspend */
1995-10-07 09:41:34 +03:00
"sigstack", /* 112 = sigstack */
1995-02-14 00:40:43 +03:00
"#113 (unimplemented old recvmsg)", /* 113 = unimplemented old recvmsg */
"#114 (unimplemented old sendmsg)", /* 114 = unimplemented old sendmsg */
1998-07-01 04:41:55 +04:00
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
1995-02-14 00:40:43 +03:00
"gettimeofday", /* 116 = gettimeofday */
1995-10-07 09:41:34 +03:00
"getrusage", /* 117 = getrusage */
1995-02-14 00:40:43 +03:00
"getsockopt", /* 118 = getsockopt */
"#119 (unimplemented)", /* 119 = unimplemented */
1995-10-07 09:41:34 +03:00
"readv", /* 120 = readv */
"writev", /* 121 = writev */
1995-02-14 00:40:43 +03:00
"settimeofday", /* 122 = settimeofday */
"__posix_fchown", /* 123 = __posix_fchown */
1995-02-14 00:40:43 +03:00
"fchmod", /* 124 = fchmod */
1995-10-07 09:41:34 +03:00
"recvfrom", /* 125 = recvfrom */
1995-02-14 00:40:43 +03:00
"#126 (unimplemented setreuid)", /* 126 = unimplemented setreuid */
"#127 (unimplemented setregid)", /* 127 = unimplemented setregid */
1998-05-20 20:35:19 +04:00
"__posix_rename", /* 128 = __posix_rename */
1995-10-07 09:41:34 +03:00
"truncate", /* 129 = truncate */
"ftruncate", /* 130 = ftruncate */
1995-02-14 00:40:43 +03:00
"#131 (unimplemented flock)", /* 131 = unimplemented flock */
1995-10-07 09:41:34 +03:00
"setgid", /* 132 = setgid */
"sendto", /* 133 = sendto */
1995-02-14 00:40:43 +03:00
"shutdown", /* 134 = shutdown */
1999-05-10 05:59:41 +04:00
"socketpair", /* 135 = socketpair */
1995-02-14 00:40:43 +03:00
"mkdir", /* 136 = mkdir */
"rmdir", /* 137 = rmdir */
"utimes", /* 138 = utimes */
"#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
"#140 (unimplemented adjtime)", /* 140 = unimplemented adjtime */
1999-04-29 06:11:51 +04:00
"getpeername", /* 141 = getpeername */
1995-10-07 09:41:34 +03:00
"gethostid", /* 142 = gethostid */
"sethostid", /* 143 = sethostid */
"getrlimit", /* 144 = getrlimit */
"setrlimit", /* 145 = setrlimit */
1995-02-14 00:40:43 +03:00
"#146 (unimplemented old killpg)", /* 146 = unimplemented old killpg */
"setsid", /* 147 = setsid */
"#148 (unimplemented quotactl)", /* 148 = unimplemented quotactl */
1995-10-07 09:41:34 +03:00
"quota", /* 149 = quota */
1999-04-29 06:11:51 +04:00
"getsockname", /* 150 = getsockname */
1998-07-01 04:41:55 +04:00
"#151 (unimplemented pread)", /* 151 = unimplemented pread */
"#152 (unimplemented pwrite)", /* 152 = unimplemented pwrite */
"#153 (unimplemented pid_block)", /* 153 = unimplemented pid_block */
"#154 (unimplemented pid_unblock)", /* 154 = unimplemented pid_unblock */
"#155 (unimplemented signal_urti)", /* 155 = unimplemented signal_urti */
1995-10-07 09:41:34 +03:00
"sigaction", /* 156 = sigaction */
1998-07-01 04:41:55 +04:00
"#157 (unimplemented sigwaitprim)", /* 157 = unimplemented sigwaitprim */
1995-10-07 09:41:34 +03:00
"#158 (unimplemented nfssvc)", /* 158 = unimplemented nfssvc */
"getdirentries", /* 159 = getdirentries */
"statfs", /* 160 = statfs */
"fstatfs", /* 161 = fstatfs */
1995-02-14 00:40:43 +03:00
"#162 (unimplemented)", /* 162 = unimplemented */
1995-10-07 09:41:34 +03:00
"#163 (unimplemented async_daemon)", /* 163 = unimplemented async_daemon */
"#164 (unimplemented getfh)", /* 164 = unimplemented getfh */
1999-04-30 08:36:04 +04:00
"getdomainname", /* 165 = getdomainname */
"setdomainname", /* 166 = setdomainname */
1995-02-14 00:40:43 +03:00
"#167 (unimplemented)", /* 167 = unimplemented */
"#168 (unimplemented)", /* 168 = unimplemented */
1995-10-07 09:41:34 +03:00
"#169 (unimplemented exportfs)", /* 169 = unimplemented exportfs */
1995-02-14 00:40:43 +03:00
"#170 (unimplemented)", /* 170 = unimplemented */
"#171 (unimplemented)", /* 171 = unimplemented */
1995-10-07 09:41:34 +03:00
"#172 (unimplemented alt msgctl)", /* 172 = unimplemented alt msgctl */
"#173 (unimplemented alt msgget)", /* 173 = unimplemented alt msgget */
"#174 (unimplemented alt msgrcv)", /* 174 = unimplemented alt msgrcv */
"#175 (unimplemented alt msgsnd)", /* 175 = unimplemented alt msgsnd */
"#176 (unimplemented alt semctl)", /* 176 = unimplemented alt semctl */
"#177 (unimplemented alt semget)", /* 177 = unimplemented alt semget */
"#178 (unimplemented alt semop)", /* 178 = unimplemented alt semop */
"#179 (unimplemented alt uname)", /* 179 = unimplemented alt uname */
1995-02-14 00:40:43 +03:00
"#180 (unimplemented)", /* 180 = unimplemented */
1995-10-07 09:41:34 +03:00
"#181 (unimplemented alt plock)", /* 181 = unimplemented alt plock */
"#182 (unimplemented lockf)", /* 182 = unimplemented lockf */
1995-02-14 00:40:43 +03:00
"#183 (unimplemented)", /* 183 = unimplemented */
1995-10-07 09:41:34 +03:00
"#184 (unimplemented getmnt)", /* 184 = unimplemented getmnt */
1995-02-14 00:40:43 +03:00
"#185 (unimplemented)", /* 185 = unimplemented */
1995-10-07 09:41:34 +03:00
"#186 (unimplemented unmount)", /* 186 = unimplemented unmount */
"#187 (unimplemented alt sigpending)", /* 187 = unimplemented alt sigpending */
"#188 (unimplemented alt setsid)", /* 188 = unimplemented alt setsid */
1995-02-14 00:40:43 +03:00
"#189 (unimplemented)", /* 189 = unimplemented */
"#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 */
1995-10-07 09:41:34 +03:00
"#199 (unimplemented swapon)", /* 199 = unimplemented swapon */
"#200 (unimplemented msgctl)", /* 200 = unimplemented msgctl */
"#201 (unimplemented msgget)", /* 201 = unimplemented msgget */
"#202 (unimplemented msgrcv)", /* 202 = unimplemented msgrcv */
"#203 (unimplemented msgsnd)", /* 203 = unimplemented msgsnd */
"#204 (unimplemented semctl)", /* 204 = unimplemented semctl */
"#205 (unimplemented semget)", /* 205 = unimplemented semget */
"#206 (unimplemented semop)", /* 206 = unimplemented semop */
1999-04-28 06:03:45 +04:00
"uname", /* 207 = uname */
"__posix_lchown", /* 208 = __posix_lchown */
1999-05-04 09:00:21 +04:00
"shmat", /* 209 = shmat */
"shmctl", /* 210 = shmctl */
"shmdt", /* 211 = shmdt */
"shmget", /* 212 = shmget */
1995-10-07 09:41:34 +03:00
"#213 (unimplemented mvalid)", /* 213 = unimplemented mvalid */
"#214 (unimplemented getaddressconf)", /* 214 = unimplemented getaddressconf */
"#215 (unimplemented msleep)", /* 215 = unimplemented msleep */
"#216 (unimplemented mwakeup)", /* 216 = unimplemented mwakeup */
"#217 (unimplemented msync)", /* 217 = unimplemented msync */
"#218 (unimplemented signal)", /* 218 = unimplemented signal */
"#219 (unimplemented utc gettime)", /* 219 = unimplemented utc gettime */
"#220 (unimplemented utc adjtime)", /* 220 = unimplemented utc adjtime */
1995-02-14 00:40:43 +03:00
"#221 (unimplemented)", /* 221 = unimplemented */
1995-10-07 09:41:34 +03:00
"#222 (unimplemented security)", /* 222 = unimplemented security */
"#223 (unimplemented kloadcall)", /* 223 = unimplemented kloadcall */
2001-04-04 23:52:18 +04:00
"stat2", /* 224 = stat2 */
"lstat2", /* 225 = lstat2 */
"fstat2", /* 226 = fstat2 */
"#227 (unimplemented statfs2)", /* 227 = unimplemented statfs2 */
"#228 (unimplemented fstatfs2)", /* 228 = unimplemented fstatfs2 */
"#229 (unimplemented getfsstat2)", /* 229 = unimplemented getfsstat2 */
1995-02-14 00:40:43 +03:00
"#230 (unimplemented)", /* 230 = unimplemented */
"#231 (unimplemented)", /* 231 = unimplemented */
"#232 (unimplemented)", /* 232 = unimplemented */
"#233 (unimplemented getpgid)", /* 233 = unimplemented getpgid */
1995-10-07 09:41:34 +03:00
"getsid", /* 234 = getsid */
"sigaltstack", /* 235 = sigaltstack */
1995-02-14 00:40:43 +03:00
"#236 (unimplemented waitid)", /* 236 = unimplemented waitid */
"#237 (unimplemented priocntlset)", /* 237 = unimplemented priocntlset */
"#238 (unimplemented sigsendset)", /* 238 = unimplemented sigsendset */
1998-07-01 04:41:55 +04:00
"#239 (unimplemented set_speculative)", /* 239 = unimplemented set_speculative */
1995-02-14 00:40:43 +03:00
"#240 (unimplemented msfs_syscall)", /* 240 = unimplemented msfs_syscall */
1999-04-30 03:39:55 +04:00
"sysinfo", /* 241 = sysinfo */
1995-02-14 00:40:43 +03:00
"#242 (unimplemented uadmin)", /* 242 = unimplemented uadmin */
"#243 (unimplemented fuser)", /* 243 = unimplemented fuser */
1998-07-01 04:41:55 +04:00
"#244 (unimplemented proplist_syscall)", /* 244 = unimplemented proplist_syscall */
"#245 (unimplemented ntp_adjtime)", /* 245 = unimplemented ntp_adjtime */
"#246 (unimplemented ntp_gettime)", /* 246 = unimplemented ntp_gettime */
1999-05-04 06:12:33 +04:00
"pathconf", /* 247 = pathconf */
"fpathconf", /* 248 = fpathconf */
1995-02-14 00:40:43 +03:00
"#249 (unimplemented)", /* 249 = unimplemented */
"#250 (unimplemented uswitch)", /* 250 = unimplemented uswitch */
1995-10-07 09:41:34 +03:00
"usleep_thread", /* 251 = usleep_thread */
1995-02-14 00:40:43 +03:00
"#252 (unimplemented audcntl)", /* 252 = unimplemented audcntl */
"#253 (unimplemented audgen)", /* 253 = unimplemented audgen */
"#254 (unimplemented sysfs)", /* 254 = unimplemented sysfs */
1998-07-01 04:41:55 +04:00
"#255 (unimplemented subsys_info)", /* 255 = unimplemented subsys_info */
2000-11-17 06:07:25 +03:00
"getsysinfo", /* 256 = getsysinfo */
1995-10-07 09:41:34 +03:00
"setsysinfo", /* 257 = setsysinfo */
1995-02-14 00:40:43 +03:00
"#258 (unimplemented afs_syscall)", /* 258 = unimplemented afs_syscall */
"#259 (unimplemented swapctl)", /* 259 = unimplemented swapctl */
"#260 (unimplemented memcntl)", /* 260 = unimplemented memcntl */
1998-07-01 04:41:55 +04:00
"#261 (unimplemented fdatasync)", /* 261 = unimplemented fdatasync */
1995-02-14 00:40:43 +03:00
};