summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/svr4/svr4_syscalls.c')
-rw-r--r--sys/compat/svr4/svr4_syscalls.c208
1 files changed, 208 insertions, 0 deletions
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
new file mode 100644
index 00000000000..8019c68e7e8
--- /dev/null
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -0,0 +1,208 @@
+/*
+ * System call names.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from NetBSD: syscalls.master,v 1.13 1995/10/07 06:27:57 mycroft Exp
+ */
+
+char *svr4_syscallnames[] = {
+ "syscall", /* 0 = syscall */
+ "exit", /* 1 = exit */
+ "fork", /* 2 = fork */
+ "read", /* 3 = read */
+ "write", /* 4 = write */
+ "open", /* 5 = open */
+ "close", /* 6 = close */
+ "wait", /* 7 = wait */
+ "creat", /* 8 = creat */
+ "link", /* 9 = link */
+ "unlink", /* 10 = unlink */
+ "execv", /* 11 = execv */
+ "chdir", /* 12 = chdir */
+ "time", /* 13 = time */
+ "mknod", /* 14 = mknod */
+ "chmod", /* 15 = chmod */
+ "chown", /* 16 = chown */
+ "break", /* 17 = break */
+ "stat", /* 18 = stat */
+ "lseek", /* 19 = lseek */
+ "getpid", /* 20 = getpid */
+ "#21 (unimplemented old_mount)", /* 21 = unimplemented old_mount */
+ "#22 (unimplemented System V umount)", /* 22 = unimplemented System V umount */
+ "setuid", /* 23 = setuid */
+ "getuid", /* 24 = getuid */
+ "#25 (unimplemented stime)", /* 25 = unimplemented stime */
+ "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
+ "alarm", /* 27 = alarm */
+ "fstat", /* 28 = fstat */
+ "#29 (unimplemented pause)", /* 29 = unimplemented pause */
+ "#30 (unimplemented utime)", /* 30 = unimplemented utime */
+ "#31 (unimplemented was stty)", /* 31 = unimplemented was stty */
+ "#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */
+ "access", /* 33 = access */
+ "#34 (unimplemented nice)", /* 34 = unimplemented nice */
+ "#35 (unimplemented statfs)", /* 35 = unimplemented statfs */
+ "sync", /* 36 = sync */
+ "kill", /* 37 = kill */
+ "#38 (unimplemented fstatfs)", /* 38 = unimplemented fstatfs */
+ "pgrpsys", /* 39 = pgrpsys */
+ "#40 (unimplemented xenix)", /* 40 = unimplemented xenix */
+ "dup", /* 41 = dup */
+ "pipe", /* 42 = pipe */
+ "times", /* 43 = times */
+ "#44 (unimplemented profil)", /* 44 = unimplemented profil */
+ "#45 (unimplemented plock)", /* 45 = unimplemented plock */
+ "setgid", /* 46 = setgid */
+ "getgid", /* 47 = getgid */
+ "signal", /* 48 = signal */
+#ifdef SYSVMSG
+ "#49 (unimplemented { int sys_msgsys ( int which , int a2 , int a3 , int a4 , int a5 , int a6 ) ; })", /* 49 = unimplemented { int sys_msgsys ( int which , int a2 , int a3 , int a4 , int a5 , int a6 ) ; } */
+#else
+ "#49 (unimplemented msgsys)", /* 49 = unimplemented msgsys */
+#endif
+ "sysarch", /* 50 = sysarch */
+ "#51 (unimplemented acct)", /* 51 = unimplemented acct */
+#ifdef SYSVSHM
+ "#52 (unimplemented { int sys_shmsys ( int which , int a2 , int a3 , int a4 ) ; })", /* 52 = unimplemented { int sys_shmsys ( int which , int a2 , int a3 , int a4 ) ; } */
+#else
+ "#52 (unimplemented shmsys)", /* 52 = unimplemented shmsys */
+#endif
+#ifdef SYSVSEM
+ "#53 (unimplemented { int sys_semsys ( int which , int a2 , int a3 , int a4 , int a5 ) ; })", /* 53 = unimplemented { int sys_semsys ( int which , int a2 , int a3 , int a4 , int a5 ) ; } */
+#else
+ "#53 (unimplemented semsys)", /* 53 = unimplemented semsys */
+#endif
+ "ioctl", /* 54 = ioctl */
+ "#55 (unimplemented uadmin)", /* 55 = unimplemented uadmin */
+ "#56 (unimplemented exch)", /* 56 = unimplemented exch */
+ "utssys", /* 57 = utssys */
+ "fsync", /* 58 = fsync */
+ "execve", /* 59 = execve */
+ "umask", /* 60 = umask */
+ "chroot", /* 61 = chroot */
+ "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 advfs)", /* 70 = obsolete advfs */
+ "#71 (obsolete unadvfs)", /* 71 = obsolete unadvfs */
+ "#72 (obsolete rmount)", /* 72 = obsolete rmount */
+ "#73 (obsolete rumount)", /* 73 = obsolete rumount */
+ "#74 (obsolete rfstart)", /* 74 = obsolete rfstart */
+ "#75 (obsolete sigret)", /* 75 = obsolete sigret */
+ "#76 (obsolete rdebug)", /* 76 = obsolete rdebug */
+ "#77 (obsolete rfstop)", /* 77 = obsolete rfstop */
+ "#78 (unimplemented rfsys)", /* 78 = unimplemented rfsys */
+ "rmdir", /* 79 = rmdir */
+ "mkdir", /* 80 = mkdir */
+ "getdents", /* 81 = getdents */
+ "#82 (obsolete libattach)", /* 82 = obsolete libattach */
+ "#83 (obsolete libdetach)", /* 83 = obsolete libdetach */
+ "#84 (unimplemented sysfs)", /* 84 = unimplemented sysfs */
+ "getmsg", /* 85 = getmsg */
+ "putmsg", /* 86 = putmsg */
+ "poll", /* 87 = poll */
+ "lstat", /* 88 = lstat */
+ "symlink", /* 89 = symlink */
+ "readlink", /* 90 = readlink */
+ "getgroups", /* 91 = getgroups */
+ "setgroups", /* 92 = setgroups */
+ "fchmod", /* 93 = fchmod */
+ "fchown", /* 94 = fchown */
+ "sigprocmask", /* 95 = sigprocmask */
+ "sigsuspend", /* 96 = sigsuspend */
+ "sigaltstack", /* 97 = sigaltstack */
+ "sigaction", /* 98 = sigaction */
+ "sigpending", /* 99 = sigpending */
+ "context", /* 100 = context */
+ "#101 (unimplemented evsys)", /* 101 = unimplemented evsys */
+ "#102 (unimplemented evtrapret)", /* 102 = unimplemented evtrapret */
+ "statvfs", /* 103 = statvfs */
+ "fstatvfs", /* 104 = fstatvfs */
+ "#105 (unimplemented)", /* 105 = unimplemented */
+ "#106 (unimplemented nfssvc)", /* 106 = unimplemented nfssvc */
+ "waitsys", /* 107 = waitsys */
+ "#108 (unimplemented sigsendsys)", /* 108 = unimplemented sigsendsys */
+ "hrtsys", /* 109 = hrtsys */
+ "#110 (unimplemented acancel)", /* 110 = unimplemented acancel */
+ "#111 (unimplemented async)", /* 111 = unimplemented async */
+ "#112 (unimplemented priocntlsys)", /* 112 = unimplemented priocntlsys */
+ "#113 (unimplemented pathconf)", /* 113 = unimplemented pathconf */
+ "#114 (unimplemented mincore)", /* 114 = unimplemented mincore */
+ "mmap", /* 115 = mmap */
+ "mprotect", /* 116 = mprotect */
+ "munmap", /* 117 = munmap */
+ "fpathconf", /* 118 = fpathconf */
+ "vfork", /* 119 = vfork */
+ "fchdir", /* 120 = fchdir */
+ "readv", /* 121 = readv */
+ "writev", /* 122 = writev */
+ "xstat", /* 123 = xstat */
+ "lxstat", /* 124 = lxstat */
+ "fxstat", /* 125 = fxstat */
+ "#126 (unimplemented xmknod)", /* 126 = unimplemented xmknod */
+ "#127 (unimplemented clocal)", /* 127 = unimplemented clocal */
+ "setrlimit", /* 128 = setrlimit */
+ "getrlimit", /* 129 = getrlimit */
+ "#130 (unimplemented lchown)", /* 130 = unimplemented lchown */
+ "#131 (unimplemented memcntl)", /* 131 = unimplemented memcntl */
+ "#132 (unimplemented getpmsg)", /* 132 = unimplemented getpmsg */
+ "#133 (unimplemented putpmsg)", /* 133 = unimplemented putpmsg */
+ "rename", /* 134 = rename */
+ "uname", /* 135 = uname */
+ "setegid", /* 136 = setegid */
+ "sysconfig", /* 137 = sysconfig */
+ "adjtime", /* 138 = adjtime */
+ "systeminfo", /* 139 = systeminfo */
+ "#140 (unimplemented)", /* 140 = unimplemented */
+ "seteuid", /* 141 = seteuid */
+ "#142 (unimplemented vtrace)", /* 142 = unimplemented vtrace */
+ "#143 (unimplemented fork1)", /* 143 = unimplemented fork1 */
+ "#144 (unimplemented sigwait)", /* 144 = unimplemented sigwait */
+ "#145 (unimplemented lwp_info)", /* 145 = unimplemented lwp_info */
+ "#146 (unimplemented yield)", /* 146 = unimplemented yield */
+ "#147 (unimplemented lwp_sema_p)", /* 147 = unimplemented lwp_sema_p */
+ "#148 (unimplemented lwp_sema_v)", /* 148 = unimplemented lwp_sema_v */
+ "#149 (unimplemented)", /* 149 = unimplemented */
+ "#150 (unimplemented)", /* 150 = unimplemented */
+ "#151 (unimplemented)", /* 151 = unimplemented */
+ "#152 (unimplemented modctl)", /* 152 = unimplemented modctl */
+ "fchroot", /* 153 = fchroot */
+ "#154 (unimplemented utimes)", /* 154 = unimplemented utimes */
+ "vhangup", /* 155 = vhangup */
+ "gettimeofday", /* 156 = gettimeofday */
+ "getitimer", /* 157 = getitimer */
+ "setitimer", /* 158 = setitimer */
+ "#159 (unimplemented lwp_create)", /* 159 = unimplemented lwp_create */
+ "#160 (unimplemented lwp_exit)", /* 160 = unimplemented lwp_exit */
+ "#161 (unimplemented lwp_suspend)", /* 161 = unimplemented lwp_suspend */
+ "#162 (unimplemented lwp_continue)", /* 162 = unimplemented lwp_continue */
+ "#163 (unimplemented lwp_kill)", /* 163 = unimplemented lwp_kill */
+ "#164 (unimplemented lwp_self)", /* 164 = unimplemented lwp_self */
+ "#165 (unimplemented lwp_getprivate)", /* 165 = unimplemented lwp_getprivate */
+ "#166 (unimplemented lwp_setprivate)", /* 166 = unimplemented lwp_setprivate */
+ "#167 (unimplemented lwp_wait)", /* 167 = unimplemented lwp_wait */
+ "#168 (unimplemented lwp_mutex_unlock)", /* 168 = unimplemented lwp_mutex_unlock */
+ "#169 (unimplemented lwp_mutex_lock)", /* 169 = unimplemented lwp_mutex_lock */
+ "#170 (unimplemented lwp_cond_wait)", /* 170 = unimplemented lwp_cond_wait */
+ "#171 (unimplemented lwp_cond_signal)", /* 171 = unimplemented lwp_cond_signal */
+ "#172 (unimplemented lwp_cond_broadcast)", /* 172 = unimplemented lwp_cond_broadcast */
+ "#173 (unimplemented pread)", /* 173 = unimplemented pread */
+ "#174 (unimplemented pwrite)", /* 174 = unimplemented pwrite */
+ "#175 (unimplemented llseek)", /* 175 = unimplemented llseek */
+ "#176 (unimplemented inst_sync)", /* 176 = unimplemented inst_sync */
+ "#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 auditsys)", /* 186 = unimplemented auditsys */
+};