linux_syscalls.c revision 1.25
1/* $NetBSD: linux_syscalls.c,v 1.25 1998/02/19 00:41:47 thorpej Exp $ */ 2 3/* 4 * System call names. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from NetBSD: syscalls.master,v 1.22 1998/02/19 00:41:12 thorpej Exp 8 */ 9 10#include <sys/param.h> 11#include <sys/systm.h> 12#include <sys/signal.h> 13#include <sys/mount.h> 14#include <sys/syscallargs.h> 15#include <compat/linux/linux_types.h> 16#include <compat/linux/linux_signal.h> 17#include <compat/linux/linux_syscallargs.h> 18#include <machine/linux_machdep.h> 19 20char *linux_syscallnames[] = { 21 "syscall", /* 0 = syscall */ 22 "exit", /* 1 = exit */ 23 "fork", /* 2 = fork */ 24 "read", /* 3 = read */ 25 "write", /* 4 = write */ 26 "open", /* 5 = open */ 27 "close", /* 6 = close */ 28 "waitpid", /* 7 = waitpid */ 29 "creat", /* 8 = creat */ 30 "link", /* 9 = link */ 31 "unlink", /* 10 = unlink */ 32 "execve", /* 11 = execve */ 33 "chdir", /* 12 = chdir */ 34 "time", /* 13 = time */ 35 "mknod", /* 14 = mknod */ 36 "chmod", /* 15 = chmod */ 37 "chown", /* 16 = chown */ 38 "break", /* 17 = break */ 39 "#18 (obsolete ostat)", /* 18 = obsolete ostat */ 40 "lseek", /* 19 = lseek */ 41 "getpid", /* 20 = getpid */ 42 "#21 (unimplemented mount)", /* 21 = unimplemented mount */ 43 "#22 (unimplemented umount)", /* 22 = unimplemented umount */ 44 "setuid", /* 23 = setuid */ 45 "getuid", /* 24 = getuid */ 46 "#25 (unimplemented stime)", /* 25 = unimplemented stime */ 47 "#26 (unimplemented ptrace)", /* 26 = unimplemented ptrace */ 48 "alarm", /* 27 = alarm */ 49 "#28 (obsolete ofstat)", /* 28 = obsolete ofstat */ 50 "pause", /* 29 = pause */ 51 "utime", /* 30 = utime */ 52 "#31 (unimplemented stty)", /* 31 = unimplemented stty */ 53 "#32 (unimplemented gtty)", /* 32 = unimplemented gtty */ 54 "access", /* 33 = access */ 55 "nice", /* 34 = nice */ 56 "#35 (unimplemented ftime)", /* 35 = unimplemented ftime */ 57 "sync", /* 36 = sync */ 58 "kill", /* 37 = kill */ 59 "rename", /* 38 = rename */ 60 "mkdir", /* 39 = mkdir */ 61 "rmdir", /* 40 = rmdir */ 62 "dup", /* 41 = dup */ 63 "pipe", /* 42 = pipe */ 64 "times", /* 43 = times */ 65 "#44 (unimplemented prof)", /* 44 = unimplemented prof */ 66 "brk", /* 45 = brk */ 67 "setgid", /* 46 = setgid */ 68 "getgid", /* 47 = getgid */ 69 "signal", /* 48 = signal */ 70 "geteuid", /* 49 = geteuid */ 71 "getegid", /* 50 = getegid */ 72 "acct", /* 51 = acct */ 73 "#52 (unimplemented phys)", /* 52 = unimplemented phys */ 74 "#53 (unimplemented lock)", /* 53 = unimplemented lock */ 75 "ioctl", /* 54 = ioctl */ 76 "fcntl", /* 55 = fcntl */ 77 "#56 (unimplemented mpx)", /* 56 = unimplemented mpx */ 78 "setpgid", /* 57 = setpgid */ 79 "#58 (unimplemented ulimit)", /* 58 = unimplemented ulimit */ 80 "oldolduname", /* 59 = oldolduname */ 81 "umask", /* 60 = umask */ 82 "chroot", /* 61 = chroot */ 83 "#62 (unimplemented ustat)", /* 62 = unimplemented ustat */ 84 "dup2", /* 63 = dup2 */ 85 "getppid", /* 64 = getppid */ 86 "getpgrp", /* 65 = getpgrp */ 87 "setsid", /* 66 = setsid */ 88 "sigaction", /* 67 = sigaction */ 89 "siggetmask", /* 68 = siggetmask */ 90 "sigsetmask", /* 69 = sigsetmask */ 91 "setreuid", /* 70 = setreuid */ 92 "setregid", /* 71 = setregid */ 93 "sigsuspend", /* 72 = sigsuspend */ 94 "sigpending", /* 73 = sigpending */ 95 "sethostname", /* 74 = sethostname */ 96 "setrlimit", /* 75 = setrlimit */ 97 "getrlimit", /* 76 = getrlimit */ 98 "getrusage", /* 77 = getrusage */ 99 "gettimeofday", /* 78 = gettimeofday */ 100 "settimeofday", /* 79 = settimeofday */ 101 "getgroups", /* 80 = getgroups */ 102 "setgroups", /* 81 = setgroups */ 103 "oldselect", /* 82 = oldselect */ 104 "symlink", /* 83 = symlink */ 105 "oolstat", /* 84 = oolstat */ 106 "readlink", /* 85 = readlink */ 107 "uselib", /* 86 = uselib */ 108 "swapon", /* 87 = swapon */ 109 "reboot", /* 88 = reboot */ 110 "readdir", /* 89 = readdir */ 111 "mmap", /* 90 = mmap */ 112 "munmap", /* 91 = munmap */ 113 "truncate", /* 92 = truncate */ 114 "ftruncate", /* 93 = ftruncate */ 115 "fchmod", /* 94 = fchmod */ 116 "fchown", /* 95 = fchown */ 117 "getpriority", /* 96 = getpriority */ 118 "setpriority", /* 97 = setpriority */ 119 "profil", /* 98 = profil */ 120 "statfs", /* 99 = statfs */ 121 "fstatfs", /* 100 = fstatfs */ 122#ifdef __i386__ 123 "ioperm", /* 101 = ioperm */ 124#else 125 "#101 (unimplemented ioperm)", /* 101 = unimplemented ioperm */ 126#endif 127 "socketcall", /* 102 = socketcall */ 128 "#103 (unimplemented klog)", /* 103 = unimplemented klog */ 129 "setitimer", /* 104 = setitimer */ 130 "getitimer", /* 105 = getitimer */ 131 "stat", /* 106 = stat */ 132 "lstat", /* 107 = lstat */ 133 "fstat", /* 108 = fstat */ 134 "olduname", /* 109 = olduname */ 135#ifdef __i386__ 136 "iopl", /* 110 = iopl */ 137#else 138 "#110 (unimplemented iopl)", /* 110 = unimplemented iopl */ 139#endif 140 "#111 (unimplemented vhangup)", /* 111 = unimplemented vhangup */ 141 "#112 (unimplemented idle)", /* 112 = unimplemented idle */ 142 "#113 (unimplemented vm86)", /* 113 = unimplemented vm86 */ 143 "wait4", /* 114 = wait4 */ 144 "#115 (unimplemented swapoff)", /* 115 = unimplemented swapoff */ 145 "#116 (unimplemented sysinfo)", /* 116 = unimplemented sysinfo */ 146 "ipc", /* 117 = ipc */ 147 "fsync", /* 118 = fsync */ 148 "sigreturn", /* 119 = sigreturn */ 149 "#120 (unimplemented clone)", /* 120 = unimplemented clone */ 150 "setdomainname", /* 121 = setdomainname */ 151 "uname", /* 122 = uname */ 152#ifdef __i386__ 153 "modify_ldt", /* 123 = modify_ldt */ 154#else 155 "#123 (unimplemented modify_ldt)", /* 123 = unimplemented modify_ldt */ 156#endif 157 "#124 (unimplemented adjtimex)", /* 124 = unimplemented adjtimex */ 158 "mprotect", /* 125 = mprotect */ 159 "sigprocmask", /* 126 = sigprocmask */ 160 "#127 (unimplemented create_module)", /* 127 = unimplemented create_module */ 161 "#128 (unimplemented init_module)", /* 128 = unimplemented init_module */ 162 "#129 (unimplemented delete_module)", /* 129 = unimplemented delete_module */ 163 "#130 (unimplemented get_kernel_syms)", /* 130 = unimplemented get_kernel_syms */ 164 "#131 (unimplemented quotactl)", /* 131 = unimplemented quotactl */ 165 "getpgid", /* 132 = getpgid */ 166 "fchdir", /* 133 = fchdir */ 167 "#134 (unimplemented bdflush)", /* 134 = unimplemented bdflush */ 168 "#135 (unimplemented sysfs)", /* 135 = unimplemented sysfs */ 169 "personality", /* 136 = personality */ 170 "#137 (unimplemented afs_syscall)", /* 137 = unimplemented afs_syscall */ 171 "#138 (unimplemented setfsuid)", /* 138 = unimplemented setfsuid */ 172 "#139 (unimplemented getfsuid)", /* 139 = unimplemented getfsuid */ 173 "llseek", /* 140 = llseek */ 174 "getdents", /* 141 = getdents */ 175 "select", /* 142 = select */ 176 "flock", /* 143 = flock */ 177 "msync", /* 144 = msync */ 178 "readv", /* 145 = readv */ 179 "writev", /* 146 = writev */ 180 "getsid", /* 147 = getsid */ 181 "fdatasync", /* 148 = fdatasync */ 182 "__sysctl", /* 149 = __sysctl */ 183 "mlock", /* 150 = mlock */ 184 "munlock", /* 151 = munlock */ 185 "#152 (unimplemented mlockall)", /* 152 = unimplemented mlockall */ 186 "#153 (unimplemented munlockall)", /* 153 = unimplemented munlockall */ 187 "#154 (unimplemented sched_setparam)", /* 154 = unimplemented sched_setparam */ 188 "#155 (unimplemented sched_getparam)", /* 155 = unimplemented sched_getparam */ 189 "#156 (unimplemented sched_setscheduler)", /* 156 = unimplemented sched_setscheduler */ 190 "#157 (unimplemented sched_getscheduler)", /* 157 = unimplemented sched_getscheduler */ 191 "#158 (unimplemented sched_yield)", /* 158 = unimplemented sched_yield */ 192 "#159 (unimplemented sched_get_priority_max)", /* 159 = unimplemented sched_get_priority_max */ 193 "#160 (unimplemented sched_get_priority_min)", /* 160 = unimplemented sched_get_priority_min */ 194 "#161 (unimplemented sched_rr_get_interval)", /* 161 = unimplemented sched_rr_get_interval */ 195 "#162 (unimplemented nanosleep)", /* 162 = unimplemented nanosleep */ 196 "mremap", /* 163 = mremap */ 197}; 198