Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> |
| 3 | * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com> |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions |
| 8 | * are met: |
| 9 | * 1. Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer. |
| 11 | * 2. Redistributions in binary form must reproduce the above copyright |
| 12 | * notice, this list of conditions and the following disclaimer in the |
| 13 | * documentation and/or other materials provided with the distribution. |
| 14 | * 3. The name of the author may not be used to endorse or promote products |
| 15 | * derived from this software without specific prior written permission. |
| 16 | * |
| 17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 22 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | * |
| 28 | * $Id$ |
| 29 | */ |
| 30 | |
| 31 | { 0, 0, sys_setup, "setup" }, /* 0 */ |
| 32 | { 1, TP, sys_exit, "_exit" }, /* 1 */ |
| 33 | { 0, TP, sys_fork, "fork" }, /* 2 */ |
| 34 | { 3, 0, sys_read, "read" }, /* 3 */ |
| 35 | { 3, 0, sys_write, "write" }, /* 4 */ |
| 36 | { 3, TF, sys_open, "open" }, /* 5 */ |
| 37 | { 1, 0, sys_close, "close" }, /* 6 */ |
| 38 | { 3, TP, sys_waitpid, "waitpid" }, /* 7 */ |
| 39 | { 2, TF, sys_creat, "creat" }, /* 8 */ |
| 40 | { 2, TF, sys_link, "link" }, /* 9 */ |
| 41 | { 1, TF, sys_unlink, "unlink" }, /* 10 */ |
| 42 | { 3, TF|TP, sys_execve, "execve" }, /* 11 */ |
| 43 | { 1, TF, sys_chdir, "chdir" }, /* 12 */ |
| 44 | { 1, 0, sys_time, "time" }, /* 13 */ |
| 45 | { 3, TF, sys_mknod, "mknod" }, /* 14 */ |
| 46 | { 2, TF, sys_chmod, "chmod" }, /* 15 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 47 | #ifdef M68K |
| 48 | { 3, TF, sys_chown, "chown" }, /* 16 */ |
| 49 | #else |
Wichert Akkerman | c792698 | 2000-04-10 22:22:31 +0000 | [diff] [blame] | 50 | { 3, TF, sys_chown, "lchown" }, /* 16 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 51 | #endif |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 52 | { 0, 0, sys_break, "break" }, /* 17 */ |
| 53 | { 2, TF, sys_oldstat, "oldstat" }, /* 18 */ |
| 54 | { 3, 0, sys_lseek, "lseek" }, /* 19 */ |
| 55 | { 0, 0, sys_getpid, "getpid" }, /* 20 */ |
| 56 | { 5, TF, sys_mount, "mount" }, /* 21 */ |
Wichert Akkerman | dacfb6e | 1999-06-03 14:21:07 +0000 | [diff] [blame] | 57 | { 1, TF, sys_umount, "oldumount" }, /* 22 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 58 | { 1, 0, sys_setuid, "setuid" }, /* 23 */ |
| 59 | { 0, 0, sys_getuid, "getuid" }, /* 24 */ |
| 60 | { 1, 0, sys_stime, "stime" }, /* 25 */ |
| 61 | { 4, 0, sys_ptrace, "ptrace" }, /* 26 */ |
| 62 | { 1, 0, sys_alarm, "alarm" }, /* 27 */ |
| 63 | { 2, 0, sys_oldfstat, "oldfstat" }, /* 28 */ |
| 64 | { 0, TS, sys_pause, "pause" }, /* 29 */ |
| 65 | { 2, TF, sys_utime, "utime" }, /* 30 */ |
| 66 | { 2, 0, sys_stty, "stty" }, /* 31 */ |
| 67 | { 2, 0, sys_gtty, "gtty" }, /* 32 */ |
| 68 | { 2, TF, sys_access, "access" }, /* 33 */ |
| 69 | { 1, 0, sys_nice, "nice" }, /* 34 */ |
| 70 | { 0, 0, sys_ftime, "ftime" }, /* 35 */ |
| 71 | { 0, 0, sys_sync, "sync" }, /* 36 */ |
| 72 | { 2, TS, sys_kill, "kill" }, /* 37 */ |
| 73 | { 2, TF, sys_rename, "rename" }, /* 38 */ |
| 74 | { 2, TF, sys_mkdir, "mkdir" }, /* 39 */ |
| 75 | { 1, TF, sys_rmdir, "rmdir" }, /* 40 */ |
| 76 | { 1, 0, sys_dup, "dup" }, /* 41 */ |
| 77 | { 1, 0, sys_pipe, "pipe" }, /* 42 */ |
| 78 | { 1, 0, sys_times, "times" }, /* 43 */ |
| 79 | { 0, 0, sys_prof, "prof" }, /* 44 */ |
| 80 | { 1, 0, sys_brk, "brk" }, /* 45 */ |
| 81 | { 1, 0, sys_setgid, "setgid" }, /* 46 */ |
| 82 | { 0, 0, sys_getgid, "getgid" }, /* 47 */ |
| 83 | { 3, TS, sys_signal, "signal" }, /* 48 */ |
| 84 | { 0, 0, sys_geteuid, "geteuid" }, /* 49 */ |
| 85 | { 0, 0, sys_getegid, "getegid" }, /* 50 */ |
| 86 | { 1, TF, sys_acct, "acct" }, /* 51 */ |
Wichert Akkerman | dacfb6e | 1999-06-03 14:21:07 +0000 | [diff] [blame] | 87 | { 2, TF, sys_umount2, "umount" }, /* 52 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 88 | { 0, 0, sys_lock, "lock" }, /* 53 */ |
| 89 | { 3, 0, sys_ioctl, "ioctl" }, /* 54 */ |
| 90 | { 3, 0, sys_fcntl, "fcntl" }, /* 55 */ |
| 91 | { 0, 0, sys_mpx, "mpx" }, /* 56 */ |
| 92 | { 2, 0, sys_setpgid, "setpgid" }, /* 57 */ |
| 93 | { 2, 0, sys_ulimit, "ulimit" }, /* 58 */ |
| 94 | { 1, 0, sys_oldolduname, "oldolduname" }, /* 59 */ |
| 95 | { 1, 0, sys_umask, "umask" }, /* 60 */ |
| 96 | { 1, TF, sys_chroot, "chroot" }, /* 61 */ |
| 97 | { 2, 0, sys_ustat, "ustat" }, /* 62 */ |
| 98 | { 2, 0, sys_dup2, "dup2" }, /* 63 */ |
| 99 | { 0, 0, sys_getppid, "getppid" }, /* 64 */ |
| 100 | { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */ |
| 101 | { 0, 0, sys_setsid, "setsid" }, /* 66 */ |
| 102 | { 3, TS, sys_sigaction, "sigaction" }, /* 67 */ |
| 103 | { 0, TS, sys_siggetmask, "siggetmask" }, /* 68 */ |
| 104 | { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 69 */ |
| 105 | { 2, 0, sys_setreuid, "setreuid" }, /* 70 */ |
| 106 | { 2, 0, sys_setregid, "setregid" }, /* 71 */ |
| 107 | { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 72 */ |
| 108 | { 1, TS, sys_sigpending, "sigpending" }, /* 73 */ |
| 109 | { 2, 0, sys_sethostname, "sethostname" }, /* 74 */ |
| 110 | { 2, 0, sys_setrlimit, "setrlimit" }, /* 75 */ |
Roland McGrath | e9a188d | 2003-03-30 23:52:26 +0000 | [diff] [blame] | 111 | { 2, 0, sys_getrlimit, "old_getrlimit" }, /* 76 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 112 | { 2, 0, sys_getrusage, "getrusage" }, /* 77 */ |
| 113 | { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 78 */ |
| 114 | { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */ |
| 115 | { 2, 0, sys_getgroups, "getgroups" }, /* 80 */ |
| 116 | { 2, 0, sys_setgroups, "setgroups" }, /* 81 */ |
| 117 | { 1, 0, sys_oldselect, "oldselect" }, /* 82 */ |
| 118 | { 2, TF, sys_symlink, "symlink" }, /* 83 */ |
| 119 | { 2, TF, sys_oldlstat, "oldlstat" }, /* 84 */ |
| 120 | { 3, TF, sys_readlink, "readlink" }, /* 85 */ |
| 121 | { 1, TF, sys_uselib, "uselib" }, /* 86 */ |
| 122 | { 1, TF, sys_swapon, "swapon" }, /* 87 */ |
| 123 | { 3, 0, sys_reboot, "reboot" }, /* 88 */ |
| 124 | { 3, 0, sys_readdir, "readdir" }, /* 89 */ |
Wichert Akkerman | 4dc8a2a | 1999-12-23 14:20:14 +0000 | [diff] [blame] | 125 | { 6, 0, sys_old_mmap, "old_mmap" }, /* 90 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 126 | { 2, 0, sys_munmap, "munmap" }, /* 91 */ |
| 127 | { 2, TF, sys_truncate, "truncate" }, /* 92 */ |
| 128 | { 2, 0, sys_ftruncate, "ftruncate" }, /* 93 */ |
| 129 | { 2, 0, sys_fchmod, "fchmod" }, /* 94 */ |
| 130 | { 3, 0, sys_fchown, "fchown" }, /* 95 */ |
| 131 | { 2, 0, sys_getpriority, "getpriority" }, /* 96 */ |
| 132 | { 3, 0, sys_setpriority, "setpriority" }, /* 97 */ |
| 133 | { 4, 0, sys_profil, "profil" }, /* 98 */ |
| 134 | { 2, TF, sys_statfs, "statfs" }, /* 99 */ |
| 135 | { 2, 0, sys_fstatfs, "fstatfs" }, /* 100 */ |
| 136 | { 3, 0, sys_ioperm, "ioperm" }, /* 101 */ |
| 137 | { 2, 0, sys_socketcall, "socketcall" }, /* 102 */ |
| 138 | { 3, 0, sys_syslog, "syslog" }, /* 103 */ |
| 139 | { 3, 0, sys_setitimer, "setitimer" }, /* 104 */ |
| 140 | { 2, 0, sys_getitimer, "getitimer" }, /* 105 */ |
| 141 | { 2, TF, sys_stat, "stat" }, /* 106 */ |
| 142 | { 2, TF, sys_lstat, "lstat" }, /* 107 */ |
| 143 | { 2, 0, sys_fstat, "fstat" }, /* 108 */ |
| 144 | { 1, 0, sys_olduname, "olduname" }, /* 109 */ |
| 145 | { 1, 0, sys_iopl, "iopl" }, /* 110 */ |
| 146 | { 0, 0, sys_vhangup, "vhangup" }, /* 111 */ |
| 147 | { 0, 0, sys_idle, "idle" }, /* 112 */ |
Wichert Akkerman | dacfb6e | 1999-06-03 14:21:07 +0000 | [diff] [blame] | 148 | { 1, 0, sys_vm86old, "vm86old" }, /* 113 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 149 | { 4, TP, sys_wait4, "wait4" }, /* 114 */ |
| 150 | { 1, 0, sys_swapoff, "swapoff" }, /* 115 */ |
| 151 | { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */ |
Roland McGrath | 58f38db | 2003-04-08 01:46:51 +0000 | [diff] [blame] | 152 | { 6, 0, sys_ipc, "ipc" }, /* 117 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 153 | { 1, 0, sys_fsync, "fsync" }, /* 118 */ |
| 154 | { 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 155 | { 5, TP, sys_clone, "clone" }, /* 120 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 156 | { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */ |
| 157 | { 1, 0, sys_uname, "uname" }, /* 122 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 158 | #ifdef M68K |
| 159 | { 4, 0, sys_cacheflush, "cacheflush" }, /* 123 */ |
| 160 | #else |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 161 | { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 162 | #endif |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 163 | { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */ |
| 164 | { 3, 0, sys_mprotect, "mprotect" }, /* 125 */ |
| 165 | { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */ |
| 166 | { 2, 0, sys_create_module, "create_module" }, /* 127 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 167 | { 2, 0, sys_init_module, "init_module" }, /* 128 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 168 | { 1, 0, sys_delete_module, "delete_module" }, /* 129 */ |
| 169 | { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ |
| 170 | { 4, 0, sys_quotactl, "quotactl" }, /* 131 */ |
| 171 | { 1, 0, sys_getpgid, "getpgid" }, /* 132 */ |
| 172 | { 1, 0, sys_fchdir, "fchdir" }, /* 133 */ |
| 173 | { 0, 0, sys_bdflush, "bdflush" }, /* 134 */ |
| 174 | { 3, 0, sys_sysfs, "sysfs" }, /* 135 */ |
| 175 | { 1, 0, sys_personality, "personality" }, /* 136 */ |
| 176 | { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 137 */ |
| 177 | { 1, 0, sys_setfsuid, "setfsuid" }, /* 138 */ |
| 178 | { 1, 0, sys_setfsgid, "setfsgid" }, /* 139 */ |
| 179 | { 5, 0, sys_llseek, "_llseek" }, /* 140 */ |
| 180 | { 3, 0, sys_getdents, "getdents" }, /* 141 */ |
| 181 | { 5, 0, sys_select, "select" }, /* 142 */ |
| 182 | { 2, 0, sys_flock, "flock" }, /* 143 */ |
| 183 | { 3, 0, sys_msync, "msync" }, /* 144 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 184 | { 3, 0, sys_readv, "readv" }, /* 145 */ |
| 185 | { 3, 0, sys_writev, "writev" }, /* 146 */ |
| 186 | { 1, 0, sys_getsid, "getsid" }, /* 147 */ |
| 187 | { 1, 0, sys_fdatasync, "fdatasync" }, /* 148 */ |
| 188 | { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */ |
| 189 | { 1, 0, sys_mlock, "mlock" }, /* 150 */ |
| 190 | { 2, 0, sys_munlock, "munlock" }, /* 151 */ |
| 191 | { 2, 0, sys_mlockall, "mlockall" }, /* 152 */ |
Wichert Akkerman | 5ae21ea | 2000-05-01 01:53:59 +0000 | [diff] [blame] | 192 | { 0, 0, sys_munlockall, "munlockall" }, /* 153 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 193 | { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */ |
| 194 | { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */ |
| 195 | { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */ |
| 196 | { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */ |
| 197 | { 0, 0, sys_sched_yield, "sched_yield"}, /* 158 */ |
| 198 | { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 159 */ |
| 199 | { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */ |
| 200 | { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */ |
| 201 | { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */ |
| 202 | { 4, 0, sys_mremap, "mremap" }, /* 163 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 203 | { 3, 0, sys_setresuid, "setresuid" }, /* 164 */ |
| 204 | { 3, 0, sys_getresuid, "getresuid" }, /* 165 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 205 | #ifdef M68K |
| 206 | { 5, 0, printargs, "SYS_166" }, /* 166 */ |
| 207 | #else |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 208 | { 5, 0, printargs, "vm86" }, /* 166 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 209 | #endif |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 210 | { 5, 0, sys_query_module, "query_module" }, /* 167 */ |
| 211 | { 3, 0, sys_poll, "poll" }, /* 168 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 212 | { 3, 0, printargs, "nfsservctl" }, /* 169 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 213 | { 3, 0, sys_setresgid, "setresgid" }, /* 170 */ |
| 214 | { 3, 0, sys_getresgid, "getresgid" }, /* 171 */ |
| 215 | { 5, 0, printargs, "prctl" }, /* 172 */ |
| 216 | { 1, TS, printargs, "rt_sigreturn" }, /* 173 */ |
| 217 | { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */ |
| 218 | { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */ |
| 219 | { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 176 */ |
| 220 | { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait"}, /* 177 */ |
| 221 | { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo"}, /* 178 */ |
| 222 | { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 179 */ |
| 223 | |
| 224 | { 5, TF, sys_pread, "pread" }, /* 180 */ |
| 225 | { 5, TF, sys_pwrite, "pwrite" }, /* 181 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 226 | #ifdef M68K |
| 227 | { 3, TF, sys_chown, "lchown" }, /* 182 */ |
| 228 | #else |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 229 | { 3, TF, sys_chown, "chown" }, /* 182 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 230 | #endif |
Wichert Akkerman | c792698 | 2000-04-10 22:22:31 +0000 | [diff] [blame] | 231 | { 2, TF, sys_getcwd, "getcwd" }, /* 183 */ |
Wichert Akkerman | 2e2553a | 1999-05-09 00:29:58 +0000 | [diff] [blame] | 232 | { 2, 0, sys_capget, "capget" }, /* 184 */ |
| 233 | { 2, 0, sys_capset, "capset" }, /* 185 */ |
| 234 | { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 186 */ |
| 235 | { 4, TF, sys_sendfile, "sendfile" }, /* 187 */ |
Roland McGrath | 5b70e7c | 2002-12-15 23:58:35 +0000 | [diff] [blame] | 236 | { 5, 0, sys_getpmsg, "getpmsg" }, /* 188 */ |
| 237 | { 5, 0, sys_putpmsg, "putpmsg" }, /* 189 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 238 | { 0, TP, sys_vfork, "vfork" }, /* 190 */ |
Roland McGrath | e9a188d | 2003-03-30 23:52:26 +0000 | [diff] [blame] | 239 | { 2, 0, sys_getrlimit, "getrlimit" }, /* 191 */ |
Wichert Akkerman | 4dc8a2a | 1999-12-23 14:20:14 +0000 | [diff] [blame] | 240 | { 6, 0, sys_mmap, "mmap2" }, /* 192 */ |
Roland McGrath | 0fe4158 | 2003-07-17 09:03:05 +0000 | [diff] [blame] | 241 | { 3, TF, sys_truncate64, "truncate64" }, /* 193 */ |
| 242 | { 3, TF, sys_ftruncate64, "ftruncate64" }, /* 194 */ |
Ulrich Drepper | 2f2a586 | 1999-12-24 08:00:37 +0000 | [diff] [blame] | 243 | { 2, TF, sys_stat64, "stat64" }, /* 195 */ |
| 244 | { 2, TF, sys_lstat64, "lstat64" }, /* 196 */ |
| 245 | { 2, TF, sys_fstat64, "fstat64" }, /* 197 */ |
Roland McGrath | 5b70e7c | 2002-12-15 23:58:35 +0000 | [diff] [blame] | 246 | { 3, TF, sys_chown, "lchown32" }, /* 198 */ |
| 247 | { 0, 0, sys_getuid, "getuid32" }, /* 199 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 248 | |
Wichert Akkerman | c792698 | 2000-04-10 22:22:31 +0000 | [diff] [blame] | 249 | { 0, 0, printargs, "getgid32" }, /* 200 */ |
| 250 | { 0, 0, printargs, "geteuid32" }, /* 201 */ |
| 251 | { 0, 0, printargs, "getegid32" }, /* 202 */ |
| 252 | { 2, 0, printargs, "setreuid32" }, /* 203 */ |
| 253 | { 2, 0, printargs, "setregid32" }, /* 204 */ |
| 254 | { 2, 0, printargs, "getgroups32" }, /* 205 */ |
| 255 | { 2, 0, printargs, "setgroups32" }, /* 206 */ |
| 256 | { 3, 0, printargs, "fchown32" }, /* 207 */ |
| 257 | { 3, 0, printargs, "setresuid32" }, /* 208 */ |
| 258 | { 3, 0, printargs, "getresuid32" }, /* 209 */ |
| 259 | { 3, 0, printargs, "setresgid32" }, /* 210 */ |
Wichert Akkerman | 0fddf43 | 2002-03-31 18:54:14 +0000 | [diff] [blame] | 260 | { 3, 0, printargs, "getresgid32" }, /* 211 */ |
Wichert Akkerman | c792698 | 2000-04-10 22:22:31 +0000 | [diff] [blame] | 261 | { 3, TF, printargs, "chown32" }, /* 212 */ |
| 262 | { 1, 0, printargs, "setuid32" }, /* 213 */ |
| 263 | { 1, 0, printargs, "setgid32" }, /* 214 */ |
| 264 | { 1, 0, printargs, "setfsuid32" }, /* 215 */ |
| 265 | { 1, 0, printargs, "setfsgid32" }, /* 216 */ |
| 266 | { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */ |
| 267 | { 3, 0, printargs, "mincore" }, /* 218 */ |
| 268 | { 3, 0, sys_madvise, "madvise" }, /* 219 */ |
Roland McGrath | 5017d43 | 2003-01-14 09:46:23 +0000 | [diff] [blame] | 269 | { 4, 0, sys_getdents64, "getdents64" }, /* 220 */ |
Wichert Akkerman | cd6aefc | 2001-08-03 12:27:54 +0000 | [diff] [blame] | 270 | { 3, 0, sys_fcntl, "fcntl64" }, /* 221 */ |
Wichert Akkerman | c792698 | 2000-04-10 22:22:31 +0000 | [diff] [blame] | 271 | { 4, 0, printargs, "SYS_222" }, /* 222 */ |
Roland McGrath | 5b70e7c | 2002-12-15 23:58:35 +0000 | [diff] [blame] | 272 | /*TODO*/{ 5, 0, printargs, "security" }, /* 223 */ |
| 273 | { 0, 0, printargs, "gettid" }, /* 224 */ |
| 274 | { 4, 0, sys_readahead, "readahead" }, /* 225 */ |
| 275 | { 5, TF, sys_setxattr, "setxattr" }, /* 226 */ |
| 276 | { 5, TF, sys_setxattr, "lsetxattr" }, /* 227 */ |
| 277 | { 5, 0, sys_fsetxattr, "fsetxattr" }, /* 228 */ |
| 278 | { 4, TF, sys_getxattr, "getxattr" }, /* 229 */ |
| 279 | { 4, TF, sys_getxattr, "lgetxattr" }, /* 230 */ |
| 280 | { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 231 */ |
| 281 | { 3, TF, sys_listxattr, "listxattr" }, /* 232 */ |
| 282 | { 3, TF, sys_listxattr, "llistxattr" }, /* 233 */ |
| 283 | { 3, 0, sys_flistxattr, "flistxattr" }, /* 234 */ |
| 284 | { 2, TF, sys_removexattr, "removexattr" }, /* 235 */ |
| 285 | { 2, TF, sys_removexattr, "lremovexattr" }, /* 236 */ |
| 286 | { 2, 0, sys_fremovexattr, "fremovexattr" }, /* 237 */ |
| 287 | { 2, TS, sys_kill, "tkill" }, /* 238 */ |
| 288 | { 4, TF, sys_sendfile64, "sendfile64" }, /* 239 */ |
Roland McGrath | 88812d6 | 2003-06-26 22:27:23 +0000 | [diff] [blame] | 289 | { 5, 0, sys_futex, "futex" }, /* 240 */ |
Roland McGrath | 5b70e7c | 2002-12-15 23:58:35 +0000 | [diff] [blame] | 290 | { 3, 0, sys_sched_setaffinity, "sched_setaffinity" },/* 241 */ |
| 291 | { 3, 0, sys_sched_getaffinity, "sched_getaffinity" },/* 242 */ |
| 292 | { 1, 0, sys_set_thread_area, "set_thread_area" }, /* 243 */ |
| 293 | { 1, 0, sys_get_thread_area, "get_thread_area" }, /* 244 */ |
| 294 | { 2, 0, printargs, "io_setup" }, /* 245 */ |
| 295 | { 1, 0, printargs, "io_destroy" }, /* 246 */ |
| 296 | { 5, 0, printargs, "io_getevents" }, /* 247 */ |
| 297 | { 3, 0, printargs, "io_submit" }, /* 248 */ |
| 298 | { 3, 0, printargs, "io_cancel" }, /* 249 */ |
| 299 | { 5, 0, printargs, "SYS_250" }, /* 250 */ |
| 300 | { 5, 0, printargs, "SYS_251" }, /* 251 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 301 | { 1, TP, sys_exit, "exit_group" }, /* 252 */ |
| 302 | { 4, 0, printargs, "lookup_dcookie"}, /* 253 */ |
| 303 | { 1, 0, printargs, "epoll_create" }, /* 254 */ |
| 304 | { 4, 0, printargs, "epoll_ctl" }, /* 255 */ |
| 305 | { 4, 0, printargs, "epoll_wait" }, /* 256 */ |
Roland McGrath | 72c5b7b | 2003-03-05 04:08:00 +0000 | [diff] [blame] | 306 | { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 257 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 307 | { 1, 0, printargs, "set_tid_address"}, /* 258 */ |
Roland McGrath | e9a188d | 2003-03-30 23:52:26 +0000 | [diff] [blame] | 308 | { 3, 0, sys_timer_create, "timer_create" }, /* 259 */ |
| 309 | { 4, 0, sys_timer_settime, "timer_settime" }, /* 260 */ |
| 310 | { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 261 */ |
| 311 | { 1, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 262 */ |
| 312 | { 1, 0, sys_timer_delete, "timer_delete" }, /* 263 */ |
| 313 | { 2, 0, sys_clock_settime, "clock_settime" }, /* 264 */ |
| 314 | { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 265 */ |
| 315 | { 2, 0, sys_clock_getres, "clock_getres" }, /* 266 */ |
| 316 | { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 267 */ |
Roland McGrath | 0fe4158 | 2003-07-17 09:03:05 +0000 | [diff] [blame] | 317 | { 3, TF, sys_statfs64, "statfs64" }, /* 268 */ |
| 318 | { 3, 0, sys_fstatfs64, "fstatfs64" }, /* 269 */ |
Roland McGrath | 8ffc352 | 2003-07-09 09:47:49 +0000 | [diff] [blame] | 319 | { 3, TS, sys_tgkill, "tgkill" }, /* 270 */ |
Roland McGrath | 0fe4158 | 2003-07-17 09:03:05 +0000 | [diff] [blame] | 320 | { 2, TF, sys_utimes, "utimes" }, /* 271 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 321 | { 5, 0, printargs, "SYS_272" }, /* 272 */ |
| 322 | { 5, 0, printargs, "SYS_273" }, /* 273 */ |
| 323 | { 5, 0, printargs, "SYS_274" }, /* 274 */ |
| 324 | { 5, 0, printargs, "SYS_275" }, /* 275 */ |
| 325 | { 5, 0, printargs, "SYS_276" }, /* 276 */ |
| 326 | { 5, 0, printargs, "SYS_277" }, /* 277 */ |
| 327 | { 5, 0, printargs, "SYS_278" }, /* 278 */ |
| 328 | { 5, 0, printargs, "SYS_279" }, /* 279 */ |
| 329 | { 5, 0, printargs, "SYS_280" }, /* 280 */ |
| 330 | { 5, 0, printargs, "SYS_281" }, /* 281 */ |
| 331 | { 5, 0, printargs, "SYS_282" }, /* 282 */ |
| 332 | { 5, 0, printargs, "SYS_283" }, /* 283 */ |
| 333 | { 5, 0, printargs, "SYS_284" }, /* 284 */ |
| 334 | { 5, 0, printargs, "SYS_285" }, /* 285 */ |
| 335 | { 5, 0, printargs, "SYS_286" }, /* 286 */ |
| 336 | { 5, 0, printargs, "SYS_287" }, /* 287 */ |
| 337 | { 5, 0, printargs, "SYS_288" }, /* 288 */ |
| 338 | { 5, 0, printargs, "SYS_289" }, /* 289 */ |
| 339 | { 5, 0, printargs, "SYS_290" }, /* 290 */ |
| 340 | { 5, 0, printargs, "SYS_291" }, /* 291 */ |
| 341 | { 5, 0, printargs, "SYS_292" }, /* 292 */ |
| 342 | { 5, 0, printargs, "SYS_293" }, /* 293 */ |
| 343 | { 5, 0, printargs, "SYS_294" }, /* 294 */ |
| 344 | { 5, 0, printargs, "SYS_295" }, /* 295 */ |
| 345 | { 5, 0, printargs, "SYS_296" }, /* 296 */ |
| 346 | { 5, 0, printargs, "SYS_297" }, /* 297 */ |
| 347 | { 5, 0, printargs, "SYS_298" }, /* 298 */ |
| 348 | { 5, 0, printargs, "SYS_299" }, /* 299 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 349 | |
Roland McGrath | 7e7f770 | 2002-12-30 09:13:07 +0000 | [diff] [blame] | 350 | #if SYS_socket_subcall != 300 && !defined X86_64 /* pers1 broken on x86-64 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 351 | #error fix me |
| 352 | #endif |
| 353 | { 8, 0, printargs, "socket_subcall"}, /* 300 */ |
| 354 | { 3, TN, sys_socket, "socket" }, /* 301 */ |
| 355 | { 3, TN, sys_bind, "bind" }, /* 302 */ |
| 356 | { 3, TN, sys_connect, "connect" }, /* 303 */ |
| 357 | { 2, TN, sys_listen, "listen" }, /* 304 */ |
| 358 | { 3, TN, sys_accept, "accept" }, /* 305 */ |
| 359 | { 3, TN, sys_getsockname, "getsockname" }, /* 306 */ |
| 360 | { 3, TN, sys_getpeername, "getpeername" }, /* 307 */ |
| 361 | { 4, TN, sys_socketpair, "socketpair" }, /* 308 */ |
| 362 | { 4, TN, sys_send, "send" }, /* 309 */ |
| 363 | { 4, TN, sys_recv, "recv" }, /* 310 */ |
| 364 | { 6, TN, sys_sendto, "sendto" }, /* 311 */ |
| 365 | { 6, TN, sys_recvfrom, "recvfrom" }, /* 312 */ |
| 366 | { 2, TN, sys_shutdown, "shutdown" }, /* 313 */ |
| 367 | { 5, TN, sys_setsockopt, "setsockopt" }, /* 314 */ |
| 368 | { 5, TN, sys_getsockopt, "getsockopt" }, /* 315 */ |
| 369 | { 5, TN, sys_sendmsg, "sendmsg" }, /* 316 */ |
| 370 | { 5, TN, sys_recvmsg, "recvmsg" }, /* 317 */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 371 | |
Roland McGrath | 7e7f770 | 2002-12-30 09:13:07 +0000 | [diff] [blame] | 372 | #if SYS_ipc_subcall != 318 && !defined X86_64 /* pers1 broken on x86-64 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 373 | #error fix me |
| 374 | #endif |
| 375 | { 4, 0, printargs, "ipc_subcall" }, /* 318 */ |
| 376 | { 4, TI, sys_semop, "semop" }, /* 319 */ |
| 377 | { 4, TI, sys_semget, "semget" }, /* 320 */ |
| 378 | { 4, TI, sys_semctl, "semctl" }, /* 321 */ |
Roland McGrath | 58f38db | 2003-04-08 01:46:51 +0000 | [diff] [blame] | 379 | { 5, TI, sys_semtimedop, "semtimedop" }, /* 322 */ |
Roland McGrath | 7a178af | 2002-12-22 03:34:34 +0000 | [diff] [blame] | 380 | { 4, 0, printargs, "ipc_subcall" }, /* 323 */ |
| 381 | { 4, 0, printargs, "ipc_subcall" }, /* 324 */ |
| 382 | { 4, 0, printargs, "ipc_subcall" }, /* 325 */ |
| 383 | { 4, 0, printargs, "ipc_subcall" }, /* 326 */ |
| 384 | { 4, 0, printargs, "ipc_subcall" }, /* 327 */ |
| 385 | { 4, 0, printargs, "ipc_subcall" }, /* 328 */ |
| 386 | { 4, TI, sys_msgsnd, "msgsnd" }, /* 329 */ |
| 387 | { 4, TI, sys_msgrcv, "msgrcv" }, /* 330 */ |
| 388 | { 4, TI, sys_msgget, "msgget" }, /* 331 */ |
| 389 | { 4, TI, sys_msgctl, "msgctl" }, /* 332 */ |
| 390 | { 4, 0, printargs, "ipc_subcall" }, /* 333 */ |
| 391 | { 4, 0, printargs, "ipc_subcall" }, /* 334 */ |
| 392 | { 4, 0, printargs, "ipc_subcall" }, /* 335 */ |
| 393 | { 4, 0, printargs, "ipc_subcall" }, /* 336 */ |
| 394 | { 4, 0, printargs, "ipc_subcall" }, /* 337 */ |
| 395 | { 4, 0, printargs, "ipc_subcall" }, /* 338 */ |
| 396 | { 4, TI, sys_shmat, "shmat" }, /* 339 */ |
| 397 | { 4, TI, sys_shmdt, "shmdt" }, /* 340 */ |
| 398 | { 4, TI, sys_shmget, "shmget" }, /* 341 */ |
| 399 | { 4, TI, sys_shmctl, "shmctl" }, /* 342 */ |