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