/* $OpenBSD: linux_syscalls.c,v 1.27 2001/04/02 21:44:46 niklas Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. * created from OpenBSD: syscalls.master,v 1.28 2001/04/02 21:43:11 niklas Exp */ char *linux_syscallnames[] = { "syscall", /* 0 = syscall */ "exit", /* 1 = exit */ "fork", /* 2 = fork */ "read", /* 3 = read */ "write", /* 4 = write */ "open", /* 5 = open */ "close", /* 6 = close */ "waitpid", /* 7 = waitpid */ "creat", /* 8 = creat */ "link", /* 9 = link */ "unlink", /* 10 = unlink */ "execve", /* 11 = execve */ "chdir", /* 12 = chdir */ "time", /* 13 = time */ "mknod", /* 14 = mknod */ "chmod", /* 15 = chmod */ "lchown", /* 16 = lchown */ "break", /* 17 = break */ "ostat", /* 18 = ostat */ "lseek", /* 19 = lseek */ "getpid", /* 20 = getpid */ "mount", /* 21 = mount */ "umount", /* 22 = umount */ "setuid", /* 23 = setuid */ "getuid", /* 24 = getuid */ "stime", /* 25 = stime */ "ptrace", /* 26 = ptrace */ "alarm", /* 27 = alarm */ "ofstat", /* 28 = ofstat */ "pause", /* 29 = pause */ "utime", /* 30 = utime */ "stty", /* 31 = stty */ "gtty", /* 32 = gtty */ "access", /* 33 = access */ "nice", /* 34 = nice */ "ftime", /* 35 = ftime */ "sync", /* 36 = sync */ "kill", /* 37 = kill */ "rename", /* 38 = rename */ "mkdir", /* 39 = mkdir */ "rmdir", /* 40 = rmdir */ "dup", /* 41 = dup */ "pipe", /* 42 = pipe */ "times", /* 43 = times */ "prof", /* 44 = prof */ "brk", /* 45 = brk */ "setgid", /* 46 = setgid */ "getgid", /* 47 = getgid */ "signal", /* 48 = signal */ "geteuid", /* 49 = geteuid */ "getegid", /* 50 = getegid */ "acct", /* 51 = acct */ "phys", /* 52 = phys */ "lock", /* 53 = lock */ "ioctl", /* 54 = ioctl */ "fcntl", /* 55 = fcntl */ "mpx", /* 56 = mpx */ "setpgid", /* 57 = setpgid */ "ulimit", /* 58 = ulimit */ "oldolduname", /* 59 = oldolduname */ "umask", /* 60 = umask */ "chroot", /* 61 = chroot */ "ustat", /* 62 = ustat */ "dup2", /* 63 = dup2 */ "getppid", /* 64 = getppid */ "getpgrp", /* 65 = getpgrp */ "setsid", /* 66 = setsid */ "sigaction", /* 67 = sigaction */ "siggetmask", /* 68 = siggetmask */ "sigsetmask", /* 69 = sigsetmask */ "setreuid", /* 70 = setreuid */ "setregid", /* 71 = setregid */ "sigsuspend", /* 72 = sigsuspend */ "sigpending", /* 73 = sigpending */ "sethostname", /* 74 = sethostname */ "setrlimit", /* 75 = setrlimit */ "getrlimit", /* 76 = getrlimit */ "getrusage", /* 77 = getrusage */ "gettimeofday", /* 78 = gettimeofday */ "settimeofday", /* 79 = settimeofday */ "getgroups", /* 80 = getgroups */ "setgroups", /* 81 = setgroups */ "oldselect", /* 82 = oldselect */ "symlink", /* 83 = symlink */ "olstat", /* 84 = olstat */ "readlink", /* 85 = readlink */ "uselib", /* 86 = uselib */ "swapon", /* 87 = swapon */ "reboot", /* 88 = reboot */ "readdir", /* 89 = readdir */ "mmap", /* 90 = mmap */ "munmap", /* 91 = munmap */ "truncate", /* 92 = truncate */ "ftruncate", /* 93 = ftruncate */ "fchmod", /* 94 = fchmod */ "fchown", /* 95 = fchown */ "getpriority", /* 96 = getpriority */ "setpriority", /* 97 = setpriority */ "profil", /* 98 = profil */ "statfs", /* 99 = statfs */ "fstatfs", /* 100 = fstatfs */ #ifdef __i386__ "ioperm", /* 101 = ioperm */ #else "ioperm", /* 101 = ioperm */ #endif "socketcall", /* 102 = socketcall */ "klog", /* 103 = klog */ "setitimer", /* 104 = setitimer */ "getitimer", /* 105 = getitimer */ "stat", /* 106 = stat */ "lstat", /* 107 = lstat */ "fstat", /* 108 = fstat */ "olduname", /* 109 = olduname */ #ifdef __i386__ "iopl", /* 110 = iopl */ #else "iopl", /* 110 = iopl */ #endif "vhangup", /* 111 = vhangup */ "idle", /* 112 = idle */ "vm86old", /* 113 = vm86old */ "wait4", /* 114 = wait4 */ "swapoff", /* 115 = swapoff */ "sysinfo", /* 116 = sysinfo */ "ipc", /* 117 = ipc */ "fsync", /* 118 = fsync */ "sigreturn", /* 119 = sigreturn */ "clone", /* 120 = clone */ "setdomainname", /* 121 = setdomainname */ "uname", /* 122 = uname */ #ifdef __i386__ "modify_ldt", /* 123 = modify_ldt */ #else "modify_ldt", /* 123 = modify_ldt */ #endif "adjtimex", /* 124 = adjtimex */ "mprotect", /* 125 = mprotect */ "sigprocmask", /* 126 = sigprocmask */ "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 */ "bdflush", /* 134 = bdflush */ "sysfs", /* 135 = sysfs */ "personality", /* 136 = personality */ "afs_syscall", /* 137 = afs_syscall */ "setfsuid", /* 138 = setfsuid */ "getfsuid", /* 139 = getfsuid */ "llseek", /* 140 = llseek */ "getdents", /* 141 = getdents */ "select", /* 142 = select */ "flock", /* 143 = flock */ "msync", /* 144 = msync */ "readv", /* 145 = readv */ "writev", /* 146 = writev */ "getsid", /* 147 = getsid */ "fdatasync", /* 148 = fdatasync */ "__sysctl", /* 149 = __sysctl */ "mlock", /* 150 = mlock */ "munlock", /* 151 = munlock */ "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 */ "vm86", /* 166 = vm86 */ "query_module", /* 167 = query_module */ "poll", /* 168 = poll */ "nfsservctl", /* 169 = nfsservctl */ "setresgid", /* 170 = setresgid */ "getresgid", /* 171 = getresgid */ "prctl", /* 172 = prctl */ "rt_sigreturn", /* 173 = rt_sigreturn */ "rt_sigaction", /* 174 = rt_sigaction */ "rt_sigprocmask", /* 175 = rt_sigprocmask */ "rt_sigpending", /* 176 = rt_sigpending */ "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 */ "capget", /* 184 = capget */ "capset", /* 185 = capset */ "sigaltstack", /* 186 = sigaltstack */ "sendfile", /* 187 = sendfile */ "getpmsg", /* 188 = getpmsg */ "putpmsg", /* 189 = putpmsg */ "vfork", /* 190 = vfork */ "ugetrlimit", /* 191 = ugetrlimit */ "mmap2", /* 192 = mmap2 */ "truncate64", /* 193 = truncate64 */ "linux_ftruncate64", /* 194 = linux_ftruncate64 */ "stat64", /* 195 = stat64 */ "lstat64", /* 196 = lstat64 */ "fstat64", /* 197 = fstat64 */ };