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