NetBSD/sys/compat/ibcs2/ibcs2_syscalls.c

296 lines
13 KiB
C
Raw Normal View History

1998-09-12 03:13:32 +04:00
/* $NetBSD: ibcs2_syscalls.c,v 1.18 1998/09/11 23:14:47 mycroft Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
1998-09-12 03:13:32 +04:00
* created from NetBSD: syscalls.master,v 1.15 1998/09/11 12:50:08 mycroft Exp
*/
1998-02-19 06:34:15 +03:00
#if defined(_KERNEL) && !defined(_LKM)
1998-02-19 03:40:44 +03:00
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_signal.h>
#include <compat/ibcs2/ibcs2_syscallargs.h>
#include <compat/ibcs2/ibcs2_statfs.h>
1998-02-19 06:34:15 +03:00
#endif /* _KERNEL && ! _LKM */
1998-02-19 03:40:44 +03:00
char *ibcs2_syscallnames[] = {
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
"fork", /* 2 = fork */
1995-10-07 09:41:34 +03:00
"read", /* 3 = read */
"write", /* 4 = write */
1995-10-07 09:41:34 +03:00
"open", /* 5 = open */
"close", /* 6 = close */
1995-10-07 09:41:34 +03:00
"waitsys", /* 7 = waitsys */
"creat", /* 8 = creat */
"link", /* 9 = link */
1995-10-07 09:41:34 +03:00
"unlink", /* 10 = unlink */
"execv", /* 11 = execv */
"chdir", /* 12 = chdir */
"time", /* 13 = time */
"mknod", /* 14 = mknod */
"chmod", /* 15 = chmod */
"chown", /* 16 = chown */
"obreak", /* 17 = obreak */
1995-10-07 09:41:34 +03:00
"stat", /* 18 = stat */
"lseek", /* 19 = lseek */
"getpid", /* 20 = getpid */
1995-10-07 09:41:34 +03:00
"mount", /* 21 = mount */
"umount", /* 22 = umount */
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
1995-10-07 09:41:34 +03:00
"stime", /* 25 = stime */
"#26 (unimplemented ibcs2_ptrace)", /* 26 = unimplemented ibcs2_ptrace */
1995-10-07 09:41:34 +03:00
"alarm", /* 27 = alarm */
"fstat", /* 28 = fstat */
"pause", /* 29 = pause */
"utime", /* 30 = utime */
"#31 (unimplemented was stty)", /* 31 = unimplemented was stty */
"#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */
1995-10-07 09:41:34 +03:00
"access", /* 33 = access */
"nice", /* 34 = nice */
"statfs", /* 35 = statfs */
"sync", /* 36 = sync */
1995-10-07 09:41:34 +03:00
"kill", /* 37 = kill */
"fstatfs", /* 38 = fstatfs */
"pgrpsys", /* 39 = pgrpsys */
"#40 (unimplemented ibcs2_xenix)", /* 40 = unimplemented ibcs2_xenix */
"dup", /* 41 = dup */
"pipe", /* 42 = pipe */
1995-10-07 09:41:34 +03:00
"times", /* 43 = times */
"#44 (unimplemented profil)", /* 44 = unimplemented profil */
1995-10-07 09:41:34 +03:00
"plock", /* 45 = plock */
"setgid", /* 46 = setgid */
"getgid", /* 47 = getgid */
1995-10-07 09:41:34 +03:00
"sigsys", /* 48 = sigsys */
#ifdef SYSVMSG
1995-10-07 09:41:34 +03:00
"msgsys", /* 49 = msgsys */
#else
1995-10-07 09:41:34 +03:00
"#49 (unimplemented msgsys)", /* 49 = unimplemented msgsys */
#endif
1996-01-07 09:09:43 +03:00
"sysi86", /* 50 = sysi86 */
"#51 (unimplemented ibcs2_acct)", /* 51 = unimplemented ibcs2_acct */
#ifdef SYSVSHM
1995-10-07 09:41:34 +03:00
"shmsys", /* 52 = shmsys */
#else
1995-10-07 09:41:34 +03:00
"#52 (unimplemented shmsys)", /* 52 = unimplemented shmsys */
#endif
#ifdef SYSVSEM
1995-10-07 09:41:34 +03:00
"semsys", /* 53 = semsys */
#else
1995-10-07 09:41:34 +03:00
"#53 (unimplemented semsys)", /* 53 = unimplemented semsys */
#endif
1995-10-07 09:41:34 +03:00
"ioctl", /* 54 = ioctl */
"uadmin", /* 55 = uadmin */
"#56 (unimplemented)", /* 56 = unimplemented */
"utssys", /* 57 = utssys */
"fsync", /* 58 = fsync */
1995-10-07 09:41:34 +03:00
"execve", /* 59 = execve */
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
1995-10-07 09:41:34 +03:00
"fcntl", /* 62 = fcntl */
"ulimit", /* 63 = ulimit */
"#64 (unimplemented reserved for unix/pc)", /* 64 = unimplemented reserved for unix/pc */
"#65 (unimplemented reserved for unix/pc)", /* 65 = unimplemented reserved for unix/pc */
"#66 (unimplemented reserved for unix/pc)", /* 66 = unimplemented reserved for unix/pc */
"#67 (unimplemented reserved for unix/pc)", /* 67 = unimplemented reserved for unix/pc */
"#68 (unimplemented reserved for unix/pc)", /* 68 = unimplemented reserved for unix/pc */
"#69 (unimplemented reserved for unix/pc)", /* 69 = unimplemented reserved for unix/pc */
"#70 (obsolete rfs_advfs)", /* 70 = obsolete rfs_advfs */
"#71 (obsolete rfs_unadvfs)", /* 71 = obsolete rfs_unadvfs */
"#72 (obsolete rfs_rmount)", /* 72 = obsolete rfs_rmount */
"#73 (obsolete rfs_rumount)", /* 73 = obsolete rfs_rumount */
"#74 (obsolete rfs_rfstart)", /* 74 = obsolete rfs_rfstart */
"#75 (obsolete rfs_sigret)", /* 75 = obsolete rfs_sigret */
"#76 (obsolete rfs_rdebug)", /* 76 = obsolete rfs_rdebug */
"#77 (obsolete rfs_rfstop)", /* 77 = obsolete rfs_rfstop */
"#78 (unimplemented rfs_rfsys)", /* 78 = unimplemented rfs_rfsys */
1995-10-07 09:41:34 +03:00
"rmdir", /* 79 = rmdir */
"mkdir", /* 80 = mkdir */
"getdents", /* 81 = getdents */
"#82 (unimplemented)", /* 82 = unimplemented */
"#83 (unimplemented)", /* 83 = unimplemented */
"sysfs", /* 84 = sysfs */
"getmsg", /* 85 = getmsg */
"putmsg", /* 86 = putmsg */
"poll", /* 87 = poll */
"#88 (unimplemented)", /* 88 = unimplemented */
"#89 (unimplemented)", /* 89 = unimplemented */
"symlink", /* 90 = symlink */
"lstat", /* 91 = lstat */
"readlink", /* 92 = readlink */
"fchmod", /* 93 = fchmod */
"__posix_fchown", /* 94 = __posix_fchown */
1995-10-07 09:41:34 +03:00
"#95 (unimplemented)", /* 95 = unimplemented */
"sigreturn", /* 96 = sigreturn */
1998-09-12 03:13:32 +04:00
"sigaltstack", /* 97 = sigaltstack */
1995-10-07 09:41:34 +03:00
"#98 (unimplemented)", /* 98 = unimplemented */
"#99 (unimplemented)", /* 99 = unimplemented */
"#100 (unimplemented getcontext/setcontext/sigsetjmp)", /* 100 = unimplemented getcontext/setcontext/sigsetjmp */
1995-10-07 09:41:34 +03:00
"#101 (unimplemented)", /* 101 = unimplemented */
"#102 (unimplemented)", /* 102 = unimplemented */
"statvfs", /* 103 = statvfs */
"fstatvfs", /* 104 = fstatvfs */
1995-10-07 09:41:34 +03:00
"#105 (unimplemented)", /* 105 = unimplemented */
"#106 (unimplemented)", /* 106 = unimplemented */
"#107 (unimplemented waitid)", /* 107 = unimplemented waitid */
"#108 (unimplemented sigsendset)", /* 108 = unimplemented sigsendset */
1995-10-07 09:41:34 +03:00
"#109 (unimplemented)", /* 109 = unimplemented */
"#110 (unimplemented)", /* 110 = unimplemented */
"#111 (unimplemented)", /* 111 = unimplemented */
"#112 (unimplemented priocntl)", /* 112 = unimplemented priocntl */
1995-10-07 09:41:34 +03:00
"#113 (unimplemented)", /* 113 = unimplemented */
"#114 (unimplemented)", /* 114 = unimplemented */
"mmap", /* 115 = mmap */
"mprotect", /* 116 = mprotect */
"munmap", /* 117 = munmap */
1995-10-07 09:41:34 +03:00
"#118 (unimplemented)", /* 118 = unimplemented */
"#119 (unimplemented vfork)", /* 119 = unimplemented vfork */
"fchdir", /* 120 = fchdir */
"readv", /* 121 = readv */
"writev", /* 122 = writev */
"#123 (unimplemented xstat)", /* 123 = unimplemented xstat */
"#124 (unimplemented lxstat)", /* 124 = unimplemented lxstat */
"#125 (unimplemented fxstat)", /* 125 = unimplemented fxstat */
1995-10-07 09:41:34 +03:00
"#126 (unimplemented)", /* 126 = unimplemented */
"#127 (unimplemented)", /* 127 = unimplemented */
"#128 (unimplemented setrlimit)", /* 128 = unimplemented setrlimit */
"#129 (unimplemented getrlimit)", /* 129 = unimplemented getrlimit */
"#130 (unimplemented lchown)", /* 130 = unimplemented lchown */
"memcntl", /* 131 = memcntl */
"#132 (unimplemented getpmsg)", /* 132 = unimplemented getpmsg */
"#133 (unimplemented putpmsg)", /* 133 = unimplemented putpmsg */
"#134 (unimplemented)", /* 134 = unimplemented */
"#135 (unimplemented)", /* 135 = unimplemented */
"#136 (unimplemented setegid)", /* 136 = unimplemented setegid */
1995-10-07 09:41:34 +03:00
"#137 (unimplemented)", /* 137 = unimplemented */
"#138 (unimplemented adjtime)", /* 138 = unimplemented adjtime */
"#139 (unimplemented)", /* 139 = unimplemented */
"#140 (unimplemented)", /* 140 = unimplemented */
"#141 (unimplemented seteuid)", /* 141 = unimplemented seteuid */
"#142 (unimplemented)", /* 142 = unimplemented */
"#143 (unimplemented)", /* 143 = unimplemented */
"#144 (unimplemented)", /* 144 = unimplemented */
"#145 (unimplemented)", /* 145 = unimplemented */
"#146 (unimplemented)", /* 146 = unimplemented */
1995-10-07 09:41:34 +03:00
"#147 (unimplemented)", /* 147 = unimplemented */
"#148 (unimplemented)", /* 148 = unimplemented */
"#149 (unimplemented)", /* 149 = unimplemented */
"#150 (unimplemented)", /* 150 = unimplemented */
"#151 (unimplemented)", /* 151 = unimplemented */
"#152 (unimplemented)", /* 152 = unimplemented */
"#153 (unimplemented)", /* 153 = unimplemented */
"#154 (unimplemented)", /* 154 = unimplemented */
"#155 (unimplemented)", /* 155 = unimplemented */
"#156 (unimplemented)", /* 156 = unimplemented */
"#157 (unimplemented)", /* 157 = unimplemented */
"#158 (unimplemented)", /* 158 = unimplemented */
"#159 (unimplemented)", /* 159 = unimplemented */
"#160 (unimplemented)", /* 160 = unimplemented */
"#161 (unimplemented)", /* 161 = unimplemented */
"#162 (unimplemented)", /* 162 = unimplemented */
1995-10-07 09:41:34 +03:00
"#163 (unimplemented)", /* 163 = unimplemented */
"#164 (unimplemented)", /* 164 = unimplemented */
"#165 (unimplemented)", /* 165 = unimplemented */
"#166 (unimplemented)", /* 166 = unimplemented */
"#167 (unimplemented)", /* 167 = unimplemented */
"#168 (unimplemented)", /* 168 = unimplemented */
"#169 (unimplemented)", /* 169 = unimplemented */
"#170 (unimplemented)", /* 170 = unimplemented */
"gettimeofday", /* 171 = gettimeofday */
"settimeofday", /* 172 = settimeofday */
"#173 (unimplemented)", /* 173 = unimplemented */
"#174 (unimplemented)", /* 174 = unimplemented */
"#175 (unimplemented)", /* 175 = unimplemented */
"#176 (unimplemented)", /* 176 = unimplemented */
"#177 (unimplemented)", /* 177 = unimplemented */
"#178 (unimplemented)", /* 178 = unimplemented */
"#179 (unimplemented)", /* 179 = unimplemented */
"#180 (unimplemented)", /* 180 = unimplemented */
"#181 (unimplemented)", /* 181 = unimplemented */
"#182 (unimplemented)", /* 182 = unimplemented */
"#183 (unimplemented)", /* 183 = unimplemented */
"#184 (unimplemented)", /* 184 = unimplemented */
"#185 (unimplemented)", /* 185 = unimplemented */
"#186 (unimplemented)", /* 186 = unimplemented */
"#187 (unimplemented)", /* 187 = unimplemented */
"#188 (unimplemented)", /* 188 = unimplemented */
"#189 (unimplemented)", /* 189 = unimplemented */
"#190 (unimplemented)", /* 190 = unimplemented */
"truncate", /* 191 = truncate */
"ftruncate", /* 192 = ftruncate */
"#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 */
"locking", /* 201 = locking */
"#202 (unimplemented xenix_creatsem)", /* 202 = unimplemented xenix_creatsem */
"#203 (unimplemented xenix_opensem)", /* 203 = unimplemented xenix_opensem */
"#204 (unimplemented xenix_sigsem)", /* 204 = unimplemented xenix_sigsem */
"#205 (unimplemented xenix_waitsem)", /* 205 = unimplemented xenix_waitsem */
"#206 (unimplemented xenix_nbwaitsem)", /* 206 = unimplemented xenix_nbwaitsem */
"rdchk", /* 207 = rdchk */
"#208 (unimplemented)", /* 208 = unimplemented */
"#209 (unimplemented)", /* 209 = unimplemented */
"chsize", /* 210 = chsize */
"ftime", /* 211 = ftime */
"nap", /* 212 = nap */
"#213 (unimplemented xenix_sdget)", /* 213 = unimplemented xenix_sdget */
"#214 (unimplemented xenix_sdfree)", /* 214 = unimplemented xenix_sdfree */
"#215 (unimplemented xenix_sdenter)", /* 215 = unimplemented xenix_sdenter */
"#216 (unimplemented xenix_sdleave)", /* 216 = unimplemented xenix_sdleave */
"#217 (unimplemented xenix_sdgetv)", /* 217 = unimplemented xenix_sdgetv */
"#218 (unimplemented xenix_sdwaitv)", /* 218 = unimplemented xenix_sdwaitv */
"#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 xenix_proctl)", /* 232 = unimplemented xenix_proctl */
"#233 (unimplemented xenix_execseg)", /* 233 = unimplemented xenix_execseg */
"#234 (unimplemented xenix_unexecseg)", /* 234 = unimplemented xenix_unexecseg */
"#235 (unimplemented)", /* 235 = unimplemented */
"select", /* 236 = select */
"eaccess", /* 237 = eaccess */
"#238 (unimplemented xenix_paccess)", /* 238 = unimplemented xenix_paccess */
"sigaction", /* 239 = sigaction */
"sigprocmask", /* 240 = sigprocmask */
"sigpending", /* 241 = sigpending */
"sigsuspend", /* 242 = sigsuspend */
"getgroups", /* 243 = getgroups */
"setgroups", /* 244 = setgroups */
"sysconf", /* 245 = sysconf */
"pathconf", /* 246 = pathconf */
"fpathconf", /* 247 = fpathconf */
"rename", /* 248 = rename */
"#249 (unimplemented)", /* 249 = unimplemented */
"scoinfo", /* 250 = scoinfo */
"#251 (unimplemented)", /* 251 = unimplemented */
"#252 (unimplemented)", /* 252 = unimplemented */
"#253 (unimplemented)", /* 253 = unimplemented */
"#254 (unimplemented)", /* 254 = unimplemented */
"#255 (unimplemented getitimer)", /* 255 = unimplemented getitimer */
"#256 (unimplemented setitimer)", /* 256 = unimplemented setitimer */
"#257 (unimplemented)", /* 257 = unimplemented */
"#258 (unimplemented setreuid)", /* 258 = unimplemented setreuid */
"#259 (unimplemented setregid)", /* 259 = unimplemented setregid */
};