summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_syscalls.c')
-rw-r--r--sys/compat/linux/linux_syscalls.c114
1 files changed, 60 insertions, 54 deletions
diff --git a/sys/compat/linux/linux_syscalls.c b/sys/compat/linux/linux_syscalls.c
index 5cb80e62627..8b27a3a0179 100644
--- a/sys/compat/linux/linux_syscalls.c
+++ b/sys/compat/linux/linux_syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: linux_syscalls.c,v 1.23 2000/06/07 14:23:07 niklas Exp $ */
+/* $OpenBSD: linux_syscalls.c,v 1.24 2000/07/07 02:14:05 jasoni Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.24 2000/06/07 14:11:38 niklas Exp
+ * created from OpenBSD: syscalls.master,v 1.25 2000/07/07 02:13:40 jasoni Exp
*/
char *linux_syscallnames[] = {
@@ -26,7 +26,7 @@ char *linux_syscallnames[] = {
"chmod", /* 15 = chmod */
"lchown", /* 16 = lchown */
"break", /* 17 = break */
- "#18 (obsolete ostat)", /* 18 = obsolete ostat */
+ "ostat", /* 18 = ostat */
"lseek", /* 19 = lseek */
"getpid", /* 20 = getpid */
"mount", /* 21 = mount */
@@ -34,16 +34,16 @@ char *linux_syscallnames[] = {
"setuid", /* 23 = setuid */
"getuid", /* 24 = getuid */
"stime", /* 25 = stime */
- "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */
+ "ptrace", /* 26 = ptrace */
"alarm", /* 27 = alarm */
- "#28 (obsolete ofstat)", /* 28 = obsolete ofstat */
+ "ofstat", /* 28 = ofstat */
"pause", /* 29 = pause */
"utime", /* 30 = utime */
- "#31 (unimplemented stty)", /* 31 = unimplemented stty */
- "#32 (unimplemented gtty)", /* 32 = unimplemented gtty */
+ "stty", /* 31 = stty */
+ "gtty", /* 32 = gtty */
"access", /* 33 = access */
"nice", /* 34 = nice */
- "#35 (unimplemented ftime)", /* 35 = unimplemented ftime */
+ "ftime", /* 35 = ftime */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
"rename", /* 38 = rename */
@@ -52,7 +52,7 @@ char *linux_syscallnames[] = {
"dup", /* 41 = dup */
"pipe", /* 42 = pipe */
"times", /* 43 = times */
- "#44 (unimplemented prof)", /* 44 = unimplemented prof */
+ "prof", /* 44 = prof */
"brk", /* 45 = brk */
"setgid", /* 46 = setgid */
"getgid", /* 47 = getgid */
@@ -60,17 +60,17 @@ char *linux_syscallnames[] = {
"geteuid", /* 49 = geteuid */
"getegid", /* 50 = getegid */
"acct", /* 51 = acct */
- "#52 (unimplemented phys)", /* 52 = unimplemented phys */
- "#53 (unimplemented lock)", /* 53 = unimplemented lock */
+ "phys", /* 52 = phys */
+ "lock", /* 53 = lock */
"ioctl", /* 54 = ioctl */
"fcntl", /* 55 = fcntl */
- "#56 (unimplemented mpx)", /* 56 = unimplemented mpx */
+ "mpx", /* 56 = mpx */
"setpgid", /* 57 = setpgid */
- "#58 (unimplemented ulimit)", /* 58 = unimplemented ulimit */
+ "ulimit", /* 58 = ulimit */
"oldolduname", /* 59 = oldolduname */
"umask", /* 60 = umask */
"chroot", /* 61 = chroot */
- "#62 (unimplemented ustat)", /* 62 = unimplemented ustat */
+ "ustat", /* 62 = ustat */
"dup2", /* 63 = dup2 */
"getppid", /* 64 = getppid */
"getpgrp", /* 65 = getpgrp */
@@ -112,10 +112,10 @@ char *linux_syscallnames[] = {
#ifdef __i386__
"ioperm", /* 101 = ioperm */
#else
- "#101 (unimplemented ioperm)", /* 101 = unimplemented ioperm */
+ "ioperm", /* 101 = ioperm */
#endif
"socketcall", /* 102 = socketcall */
- "#103 (unimplemented klog)", /* 103 = unimplemented klog */
+ "klog", /* 103 = klog */
"setitimer", /* 104 = setitimer */
"getitimer", /* 105 = getitimer */
"stat", /* 106 = stat */
@@ -125,39 +125,39 @@ char *linux_syscallnames[] = {
#ifdef __i386__
"iopl", /* 110 = iopl */
#else
- "#110 (unimplemented iopl)", /* 110 = unimplemented iopl */
+ "iopl", /* 110 = iopl */
#endif
- "#111 (unimplemented vhangup)", /* 111 = unimplemented vhangup */
- "#112 (unimplemented idle)", /* 112 = unimplemented idle */
- "#113 (unimplemented vm86)", /* 113 = unimplemented vm86 */
+ "vhangup", /* 111 = vhangup */
+ "idle", /* 112 = idle */
+ "vm86old", /* 113 = vm86old */
"wait4", /* 114 = wait4 */
- "#115 (unimplemented swapoff)", /* 115 = unimplemented swapoff */
- "#116 (unimplemented sysinfo)", /* 116 = unimplemented sysinfo */
+ "swapoff", /* 115 = swapoff */
+ "sysinfo", /* 116 = sysinfo */
"ipc", /* 117 = ipc */
"fsync", /* 118 = fsync */
"sigreturn", /* 119 = sigreturn */
- "#120 (unimplemented clone)", /* 120 = unimplemented clone */
+ "clone", /* 120 = clone */
"setdomainname", /* 121 = setdomainname */
"uname", /* 122 = uname */
#ifdef __i386__
"modify_ldt", /* 123 = modify_ldt */
#else
- "#123 (unimplemented modify_ldt)", /* 123 = unimplemented modify_ldt */
+ "modify_ldt", /* 123 = modify_ldt */
#endif
- "#124 (unimplemented adjtimex)", /* 124 = unimplemented adjtimex */
+ "adjtimex", /* 124 = adjtimex */
"mprotect", /* 125 = mprotect */
"sigprocmask", /* 126 = sigprocmask */
- "#127 (unimplemented create_module)", /* 127 = unimplemented create_module */
- "#128 (unimplemented init_module)", /* 128 = unimplemented init_module */
- "#129 (unimplemented delete_module)", /* 129 = unimplemented delete_module */
- "#130 (unimplemented get_kernel_syms)", /* 130 = unimplemented get_kernel_syms */
- "#131 (unimplemented quotactl)", /* 131 = unimplemented quotactl */
+ "create_module", /* 127 = create_module */
+ "init_module", /* 128 = init_module */
+ "delete_module", /* 129 = delete_module */
+ "get_kernel_syms", /* 130 = get_kernel_syms */
+ "quotactl", /* 131 = quotactl */
"getpgid", /* 132 = getpgid */
"fchdir", /* 133 = fchdir */
- "#134 (unimplemented bdflush)", /* 134 = unimplemented bdflush */
- "#135 (unimplemented sysfs)", /* 135 = unimplemented sysfs */
+ "bdflush", /* 134 = bdflush */
+ "sysfs", /* 135 = sysfs */
"personality", /* 136 = personality */
- "#137 (unimplemented afs_syscall)", /* 137 = unimplemented afs_syscall */
+ "afs_syscall", /* 137 = afs_syscall */
"setfsuid", /* 138 = setfsuid */
"getfsuid", /* 139 = getfsuid */
"llseek", /* 140 = llseek */
@@ -172,44 +172,50 @@ char *linux_syscallnames[] = {
"__sysctl", /* 149 = __sysctl */
"mlock", /* 150 = mlock */
"munlock", /* 151 = munlock */
- "#152 (unimplemented mlockall)", /* 152 = unimplemented mlockall */
- "#153 (unimplemented munlockall)", /* 153 = unimplemented munlockall */
- "#154 (unimplemented sched_setparam)", /* 154 = unimplemented sched_setparam */
- "#155 (unimplemented sched_getparam)", /* 155 = unimplemented sched_getparam */
- "#156 (unimplemented sched_setscheduler)", /* 156 = unimplemented sched_setscheduler */
- "#157 (unimplemented sched_getscheduler)", /* 157 = unimplemented sched_getscheduler */
- "#158 (unimplemented sched_yield)", /* 158 = unimplemented sched_yield */
- "#159 (unimplemented sched_get_priority_max)", /* 159 = unimplemented sched_get_priority_max */
- "#160 (unimplemented sched_get_priority_min)", /* 160 = unimplemented sched_get_priority_min */
- "#161 (unimplemented sched_rr_get_interval)", /* 161 = unimplemented sched_rr_get_interval */
+ "mlockall", /* 152 = mlockall */
+ "munlockall", /* 153 = munlockall */
+ "sched_setparam", /* 154 = sched_setparam */
+ "sched_getparam", /* 155 = sched_getparam */
+ "sched_setscheduler", /* 156 = sched_setscheduler */
+ "sched_getscheduler", /* 157 = sched_getscheduler */
+ "sched_yield", /* 158 = sched_yield */
+ "sched_get_priority_max", /* 159 = sched_get_priority_max */
+ "sched_get_priority_min", /* 160 = sched_get_priority_min */
+ "sched_rr_get_interval", /* 161 = sched_rr_get_interval */
"nanosleep", /* 162 = nanosleep */
"mremap", /* 163 = mremap */
"setresuid", /* 164 = setresuid */
"getresuid", /* 165 = getresuid */
- "#166 (unimplemented vm86)", /* 166 = unimplemented vm86 */
- "#167 (unimplemented query_module)", /* 167 = unimplemented query_module */
+ "vm86", /* 166 = vm86 */
+ "query_module", /* 167 = query_module */
"poll", /* 168 = poll */
- "#169 (unimplemented nfsservctl)", /* 169 = unimplemented nfsservctl */
+ "nfsservctl", /* 169 = nfsservctl */
"setresgid", /* 170 = setresgid */
"getresgid", /* 171 = getresgid */
- "#172 (unimplemented prctl)", /* 172 = unimplemented prctl */
+ "prctl", /* 172 = prctl */
"rt_sigreturn", /* 173 = rt_sigreturn */
"rt_sigaction", /* 174 = rt_sigaction */
"rt_sigprocmask", /* 175 = rt_sigprocmask */
"rt_sigpending", /* 176 = rt_sigpending */
- "#177 (unimplemented rt_sigtimedwait)", /* 177 = unimplemented rt_sigtimedwait */
- "#178 (unimplemented rt_queueinfo)", /* 178 = unimplemented rt_queueinfo */
+ "rt_sigtimedwait", /* 177 = rt_sigtimedwait */
+ "rt_queueinfo", /* 178 = rt_queueinfo */
"rt_sigsuspend", /* 179 = rt_sigsuspend */
"pread", /* 180 = pread */
"pwrite", /* 181 = pwrite */
"chown", /* 182 = chown */
"getcwd", /* 183 = getcwd */
- "#184 (unimplemented capget)", /* 184 = unimplemented capget */
- "#185 (unimplemented capset)", /* 185 = unimplemented capset */
+ "capget", /* 184 = capget */
+ "capset", /* 185 = capset */
"sigaltstack", /* 186 = sigaltstack */
- "#187 (unimplemented sendfile)", /* 187 = unimplemented sendfile */
- "#188 (unimplemented getpmsg)", /* 188 = unimplemented getpmsg */
- "#189 (unimplemented putpmsg)", /* 189 = unimplemented putpmsg */
+ "sendfile", /* 187 = sendfile */
+ "getpmsg", /* 188 = getpmsg */
+ "putpmsg", /* 189 = putpmsg */
"vfork", /* 190 = vfork */
"ugetrlimit", /* 191 = ugetrlimit */
+ "mmap2", /* 192 = mmap2 */
+ "truncate64", /* 193 = truncate64 */
+ "ftruncate64", /* 194 = ftruncate64 */
+ "stat64", /* 195 = stat64 */
+ "lstat64", /* 196 = lstat64 */
+ "fstat64", /* 197 = fstat64 */
};