blob: 82c581ac1b8c4ec22dcee4076903dd924d8b44ae [file] [log] [blame]
Roland McGrath75a99b72003-03-31 01:04:27 +00001/*
2 * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
3 * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
4 * Copyright (c) 2000 PocketPenguins Inc. Linux for Hitachi SuperH
5 * port by Greg Banks <gbanks@pocketpenguins.com>
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 * 3. The name of the author may not be used to endorse or promote products
17 * derived from this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $Id$
31 */
32
Roland McGrath79dcd7a2006-01-12 22:34:50 +000033 { 0, 0, sys_restart_syscall, "restart_syscall"}, /* 0 */
Roland McGrath75a99b72003-03-31 01:04:27 +000034 { 1, TP, sys_exit, "_exit" }, /* 1 */
35 { 0, TP, sys_fork, "fork" }, /* 2 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000036 { 3, TD, sys_read, "read" }, /* 3 */
37 { 3, TD, sys_write, "write" }, /* 4 */
38 { 3, TD|TF, sys_open, "open" }, /* 5 */
39 { 1, TD, sys_close, "close" }, /* 6 */
Roland McGrath75a99b72003-03-31 01:04:27 +000040 { 3, TP, sys_waitpid, "waitpid" }, /* 7 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000041 { 2, TD|TF, sys_creat, "creat" }, /* 8 */
Roland McGrath75a99b72003-03-31 01:04:27 +000042 { 2, TF, sys_link, "link" }, /* 9 */
43 { 1, TF, sys_unlink, "unlink" }, /* 10 */
44 { 3, TF|TP, sys_execve, "execve" }, /* 11 */
45 { 1, TF, sys_chdir, "chdir" }, /* 12 */
46 { 1, 0, sys_time, "time" }, /* 13 */
47 { 3, TF, sys_mknod, "mknod" }, /* 14 */
48 { 2, TF, sys_chmod, "chmod" }, /* 15 */
49 { 3, TF, sys_chown, "lchown" }, /* 16 */
50 { 0, 0, sys_break, "break" }, /* 17 */
51 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000052 { 3, TD, sys_lseek, "lseek" }, /* 19 */
Roland McGrath75a99b72003-03-31 01:04:27 +000053 { 0, 0, sys_getpid, "getpid" }, /* 20 */
54 { 5, TF, sys_mount, "mount" }, /* 21 */
55 { 1, TF, sys_umount, "oldumount" }, /* 22 */
56 { 1, 0, sys_setuid, "setuid" }, /* 23 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000057 { 0, NF, sys_getuid, "getuid" }, /* 24 */
Roland McGrath75a99b72003-03-31 01:04:27 +000058 { 1, 0, sys_stime, "stime" }, /* 25 */
59 { 4, 0, sys_ptrace, "ptrace" }, /* 26 */
60 { 1, 0, sys_alarm, "alarm" }, /* 27 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000061 { 2, TD, sys_oldfstat, "oldfstat" }, /* 28 */
Roland McGrath75a99b72003-03-31 01:04:27 +000062 { 0, TS, sys_pause, "pause" }, /* 29 */
63 { 2, TF, sys_utime, "utime" }, /* 30 */
64 { 2, 0, sys_stty, "stty" }, /* 31 */
65 { 2, 0, sys_gtty, "gtty" }, /* 32 */
66 { 2, TF, sys_access, "access" }, /* 33 */
67 { 1, 0, sys_nice, "nice" }, /* 34 */
68 { 0, 0, sys_ftime, "ftime" }, /* 35 */
69 { 0, 0, sys_sync, "sync" }, /* 36 */
70 { 2, TS, sys_kill, "kill" }, /* 37 */
71 { 2, TF, sys_rename, "rename" }, /* 38 */
72 { 2, TF, sys_mkdir, "mkdir" }, /* 39 */
73 { 1, TF, sys_rmdir, "rmdir" }, /* 40 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000074 { 1, TD, sys_dup, "dup" }, /* 41 */
75 { 1, TD, sys_pipe, "pipe" }, /* 42 */
Roland McGrath75a99b72003-03-31 01:04:27 +000076 { 1, 0, sys_times, "times" }, /* 43 */
77 { 0, 0, sys_prof, "prof" }, /* 44 */
78 { 1, 0, sys_brk, "brk" }, /* 45 */
79 { 1, 0, sys_setgid, "setgid" }, /* 46 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000080 { 0, NF, sys_getgid, "getgid" }, /* 47 */
Roland McGrath75a99b72003-03-31 01:04:27 +000081 { 3, TS, sys_signal, "signal" }, /* 48 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000082 { 0, NF, sys_geteuid, "geteuid" }, /* 49 */
83 { 0, NF, sys_getegid, "getegid" }, /* 50 */
Roland McGrath75a99b72003-03-31 01:04:27 +000084 { 1, TF, sys_acct, "acct" }, /* 51 */
85 { 2, TF, sys_umount2, "umount" }, /* 52 */
86 { 0, 0, sys_lock, "lock" }, /* 53 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000087 { 3, TD, sys_ioctl, "ioctl" }, /* 54 */
88 { 3, TD, sys_fcntl, "fcntl" }, /* 55 */
Roland McGrath75a99b72003-03-31 01:04:27 +000089 { 0, 0, sys_mpx, "mpx" }, /* 56 */
90 { 2, 0, sys_setpgid, "setpgid" }, /* 57 */
91 { 2, 0, sys_ulimit, "ulimit" }, /* 58 */
92 { 1, 0, sys_oldolduname, "oldolduname" }, /* 59 */
93 { 1, 0, sys_umask, "umask" }, /* 60 */
94 { 1, TF, sys_chroot, "chroot" }, /* 61 */
95 { 2, 0, sys_ustat, "ustat" }, /* 62 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000096 { 2, TD, sys_dup2, "dup2" }, /* 63 */
Roland McGrath75a99b72003-03-31 01:04:27 +000097 { 0, 0, sys_getppid, "getppid" }, /* 64 */
98 { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */
99 { 0, 0, sys_setsid, "setsid" }, /* 66 */
100 { 3, TS, sys_sigaction, "sigaction" }, /* 67 */
101 { 0, TS, sys_siggetmask, "siggetmask" }, /* 68 */
102 { 1, TS, sys_sigsetmask, "sigsetmask" }, /* 69 */
103 { 2, 0, sys_setreuid, "setreuid" }, /* 70 */
104 { 2, 0, sys_setregid, "setregid" }, /* 71 */
105 { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 72 */
106 { 1, TS, sys_sigpending, "sigpending" }, /* 73 */
107 { 2, 0, sys_sethostname, "sethostname" }, /* 74 */
108 { 2, 0, sys_setrlimit, "setrlimit" }, /* 75 */
109 { 2, 0, sys_getrlimit, "getrlimit" }, /* 76 */
110 { 2, 0, sys_getrusage, "getrusage" }, /* 77 */
111 { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 78 */
112 { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */
113 { 2, 0, sys_getgroups, "getgroups" }, /* 80 */
114 { 2, 0, sys_setgroups, "setgroups" }, /* 81 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000115 { 1, TD, sys_oldselect, "oldselect" }, /* 82 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000116 { 2, TF, sys_symlink, "symlink" }, /* 83 */
117 { 2, TF, sys_oldlstat, "oldlstat" }, /* 84 */
118 { 3, TF, sys_readlink, "readlink" }, /* 85 */
119 { 1, TF, sys_uselib, "uselib" }, /* 86 */
120 { 1, TF, sys_swapon, "swapon" }, /* 87 */
121 { 3, 0, sys_reboot, "reboot" }, /* 88 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000122 { 3, TD, sys_readdir, "readdir" }, /* 89 */
123 { 6, TD, sys_old_mmap, "old_mmap" }, /* 90 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000124 { 2, 0, sys_munmap, "munmap" }, /* 91 */
125 { 2, TF, sys_truncate, "truncate" }, /* 92 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000126 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
127 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
128 { 3, TD, sys_fchown, "fchown" }, /* 95 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000129 { 2, 0, sys_getpriority, "getpriority" }, /* 96 */
130 { 3, 0, sys_setpriority, "setpriority" }, /* 97 */
131 { 4, 0, sys_profil, "profil" }, /* 98 */
132 { 2, TF, sys_statfs, "statfs" }, /* 99 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000133 { 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000134 { 3, 0, sys_ioperm, "ioperm" }, /* 101 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000135 { 2, TD, sys_socketcall, "socketcall" }, /* 102 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000136 { 3, 0, sys_syslog, "syslog" }, /* 103 */
137 { 3, 0, sys_setitimer, "setitimer" }, /* 104 */
138 { 2, 0, sys_getitimer, "getitimer" }, /* 105 */
139 { 2, TF, sys_stat, "stat" }, /* 106 */
140 { 2, TF, sys_lstat, "lstat" }, /* 107 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000141 { 2, TD, sys_fstat, "fstat" }, /* 108 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000142 { 1, 0, sys_olduname, "olduname" }, /* 109 */
143 { 1, 0, sys_iopl, "iopl" }, /* 110 */
144 { 0, 0, sys_vhangup, "vhangup" }, /* 111 */
145 { 0, 0, sys_idle, "idle" }, /* 112 */
146 { 1, 0, sys_vm86old, "vm86old" }, /* 113 */
147 { 4, TP, sys_wait4, "wait4" }, /* 114 */
Dmitry V. Levin612e0922011-02-20 19:14:10 +0000148 { 1, TF, sys_swapoff, "swapoff" }, /* 115 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000149 { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
150 { 5, 0, sys_ipc, "ipc" }, /* 117 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000151 { 1, TD, sys_fsync, "fsync" }, /* 118 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000152 { 1, TS, sys_sigreturn, "sigreturn" }, /* 119 */
Roland McGrathd8f98bc2003-05-23 00:29:00 +0000153 { 5, TP, sys_clone, "clone" }, /* 120 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000154 { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */
155 { 1, 0, sys_uname, "uname" }, /* 122 */
Carmelo AMOROSOf8e56502010-12-01 14:27:07 +0100156 { 3, 0, sys_cacheflush, "cacheflush" }, /* 123 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000157 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
158 { 3, 0, sys_mprotect, "mprotect" }, /* 125 */
159 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
160 { 2, 0, sys_create_module, "create_module" }, /* 127 */
Roland McGrath64434f82005-08-03 11:27:33 +0000161 { 3, 0, sys_init_module, "init_module" }, /* 128 */
Roland McGrath6e261272007-07-05 19:28:35 +0000162 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000163 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
164 { 4, 0, sys_quotactl, "quotactl" }, /* 131 */
165 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000166 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000167 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
168 { 3, 0, sys_sysfs, "sysfs" }, /* 135 */
169 { 1, 0, sys_personality, "personality" }, /* 136 */
170 { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 137 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +0000171 { 1, NF, sys_setfsuid, "setfsuid" }, /* 138 */
172 { 1, NF, sys_setfsgid, "setfsgid" }, /* 139 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000173 { 5, TD, sys_llseek, "_llseek" }, /* 140 */
174 { 3, TD, sys_getdents, "getdents" }, /* 141 */
175 { 5, TD, sys_select, "select" }, /* 142 */
176 { 2, TD, sys_flock, "flock" }, /* 143 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000177 { 3, 0, sys_msync, "msync" }, /* 144 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000178 { 3, TD, sys_readv, "readv" }, /* 145 */
179 { 3, TD, sys_writev, "writev" }, /* 146 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000180 { 1, 0, sys_getsid, "getsid" }, /* 147 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000181 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000182 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
183 { 1, 0, sys_mlock, "mlock" }, /* 150 */
184 { 2, 0, sys_munlock, "munlock" }, /* 151 */
185 { 2, 0, sys_mlockall, "mlockall" }, /* 152 */
186 { 1, 0, sys_munlockall, "munlockall" }, /* 153 */
187 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
188 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
189 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
190 { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */
191 { 0, 0, sys_sched_yield, "sched_yield"}, /* 158 */
192 { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 159 */
193 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
194 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
195 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
Dmitry V. Levinfdc45592009-12-24 23:34:58 +0000196 { 5, 0, sys_mremap, "mremap" }, /* 163 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000197 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
198 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
199 { 5, 0, printargs, "vm86" }, /* 166 */
200 { 5, 0, sys_query_module, "query_module" }, /* 167 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000201 { 3, TD, sys_poll, "poll" }, /* 168 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000202 { 3, 0, printargs, "nfsservctl" }, /* 169 */
203 { 3, 0, sys_setresgid, "setresgid" }, /* 170 */
204 { 3, 0, sys_getresgid, "getresgid" }, /* 171 */
Dmitry V. Levin86c26be2008-09-03 00:52:47 +0000205 { 5, 0, sys_prctl, "prctl" }, /* 172 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000206 { 1, TS, printargs, "rt_sigreturn" }, /* 173 */
207 { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
208 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
209 { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 176 */
210 { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait"}, /* 177 */
211 { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo"}, /* 178 */
212 { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 179 */
213
Roland McGrath2fe7b132005-07-05 03:25:35 +0000214 { 6, TD, sys_pread, "pread" }, /* 180 */
215 { 6, TD, sys_pwrite, "pwrite" }, /* 181 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000216 { 3, TF, sys_chown, "chown" }, /* 182 */
217 { 2, 0, sys_getcwd, "getcwd" }, /* 183 */
218 { 2, 0, sys_capget, "capget" }, /* 184 */
219 { 2, 0, sys_capset, "capset" }, /* 185 */
220 { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 186 */
Denys Vlasenko24f0dce2008-12-29 20:04:15 +0000221 { 4, TD|TN, sys_sendfile, "sendfile" }, /* 187 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000222 { 5, 0, printargs, "SYS_188" }, /* 188 */
223 { 5, 0, printargs, "SYS_189" }, /* 189 */
224 { 0, TP, sys_vfork, "vfork" }, /* 190 */
225 { 5, 0, printargs, "getrlimit" }, /* 191 */
Dmitry V. Levinbde80332011-02-20 15:10:32 +0000226 { 6, TD, sys_mmap, "mmap2" }, /* 192 */
Roland McGrathc0f8bbd2003-08-21 09:58:00 +0000227 { 5, 0, sys_truncate64, "truncate64" }, /* 193 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000228 { 5, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000229 { 2, TF, sys_stat64, "stat64" }, /* 195 */
230 { 2, TF, sys_lstat64, "lstat64" }, /* 196 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000231 { 2, TD, sys_fstat64, "fstat64" }, /* 197 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000232/*TODO*/{ 3, TF, printargs, "lchown32" }, /* 198 */
233/*TODO*/{ 0, 0, printargs, "getuid32" }, /* 199 */
234
235 { 0, 0, printargs, "getgid32" }, /* 200 */
236 { 0, 0, printargs, "geteuid32" }, /* 201 */
237 { 0, 0, printargs, "getegid32" }, /* 202 */
238 { 2, 0, printargs, "setreuid32" }, /* 203 */
239 { 2, 0, printargs, "setregid32" }, /* 204 */
Roland McGrathee067622003-11-13 22:32:28 +0000240 { 2, 0, sys_getgroups32, "getgroups32" }, /* 205 */
241 { 2, 0, sys_setgroups32, "setgroups32" }, /* 206 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000242 { 3, 0, printargs, "fchown32" }, /* 207 */
243 { 3, 0, printargs, "setresuid32" }, /* 208 */
244 { 3, 0, printargs, "getresuid32" }, /* 209 */
245 { 3, 0, printargs, "setresgid32" }, /* 210 */
246 { 3, 0, printargs, "getsetgid32" }, /* 211 */
247 { 3, TF, printargs, "chown32" }, /* 212 */
248 { 1, 0, printargs, "setuid32" }, /* 213 */
249 { 1, 0, printargs, "setgid32" }, /* 214 */
250 { 1, 0, printargs, "setfsuid32" }, /* 215 */
251 { 1, 0, printargs, "setfsgid32" }, /* 216 */
252 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
253 { 3, 0, printargs, "mincore" }, /* 218 */
254 { 3, 0, sys_madvise, "madvise" }, /* 219 */
Roland McGrathf59eaf42007-11-19 22:10:21 +0000255 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000256 { 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000257 { 4, 0, printargs, "SYS_222" }, /* 222 */
258 { 4, 0, printargs, "SYS_223" }, /* 223 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000259 { 4, 0, printargs, "gettid" }, /* 224 */
260 { 5, TD, sys_readahead, "readahead" }, /* 225 */
261 { 5, TF, sys_setxattr, "setxattr" }, /* 226 */
262 { 5, TF, sys_setxattr, "lsetxattr" }, /* 227 */
263 { 5, TD, sys_fsetxattr, "fsetxattr" }, /* 228 */
264 { 4, TF, sys_getxattr, "getxattr" }, /* 229 */
265 { 4, TF, sys_getxattr, "lgetxattr" }, /* 230 */
266 { 4, 0, sys_fgetxattr, "fgetxattr" }, /* 231 */
267 { 3, TF, sys_listxattr, "listxattr" }, /* 232 */
268 { 3, TF, sys_listxattr, "llistxattr" }, /* 233 */
269 { 3, 0, sys_flistxattr, "flistxattr" }, /* 234 */
270 { 2, TF, sys_removexattr, "removexattr" }, /* 235 */
271 { 2, TF, sys_removexattr, "lremovexattr" }, /* 236 */
272 { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 237 */
273 { 2, TD, sys_kill, "tkill" }, /* 238 */
Denys Vlasenko24f0dce2008-12-29 20:04:15 +0000274 { 5, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000275 { 6, 0, sys_futex, "futex" }, /* 240 */
276 { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 241 */
277 { 3, 0, sys_sched_getaffinity, "sched_getaffinity"}, /* 242 */
278 { 0, 0, printargs, "SYS_243" }, /* 243 */
279 { 0, 0, printargs, "SYS_244" }, /* 244 */
280 { 2, 0, sys_io_setup, "io_setup" }, /* 245 */
281 { 1, 0, sys_io_destroy, "io_destroy" }, /* 246 */
282 { 5, 0, sys_io_getevents, "io_getevents" }, /* 247 */
283 { 3, 0, sys_io_submit, "io_submit" }, /* 248 */
284 { 3, 0, sys_io_cancel, "io_cancel" }, /* 249 */
Dmitry V. Levinfdbe3c52011-02-20 15:23:22 +0000285 { 5, TD, sys_fadvise64, "fadvise64" }, /* 250 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000286 { 0, 0, printargs, "SYS_251" }, /* 251 */
287 { 1, TP, sys_exit, "exit_group" }, /* 252 */
288 { 4, 0, printargs, "lookup_dcookie"}, /* 253 */
289 { 1, 0, sys_epoll_create, "epoll_create" }, /* 254 */
290 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
291 { 3, TD, sys_epoll_wait, "epoll_wait" }, /* 256 */
292 { 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
293 { 1, 0, printargs, "set_tid_address"}, /* 258 */
294 { 3, 0, sys_timer_create, "timer_create" }, /* 259 */
295 { 4, 0, sys_timer_settime, "timer_settime" }, /* 260 */
296 { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 261 */
297 { 1, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 262 */
298 { 1, 0, sys_timer_delete, "timer_delete" }, /* 263 */
299 { 2, 0, sys_clock_settime, "clock_settime" }, /* 264 */
300 { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 265 */
301 { 2, 0, sys_clock_getres, "clock_getres" }, /* 266 */
302 { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 267 */
303 { 3, TF, sys_statfs64, "statfs64" }, /* 268 */
304 { 2, TD, sys_fstatfs64, "fstatfs64" }, /* 269 */
305 { 3, TS, sys_tgkill, "tgkill" }, /* 270 */
306 { 2, TF, sys_utimes, "utimes" }, /* 271 */
Dmitry V. Levinfdbe3c52011-02-20 15:23:22 +0000307 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 272 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000308 { 0, 0, printargs, "SYS_273" }, /* 273 */
309 { 4, 0, sys_mbind, "mbind" }, /* 274 */
310 { 5, 0, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
311 { 3, 0, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
312 { 4, 0, sys_mq_open, "mq_open" }, /* 277 */
313 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 278 */
314 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 279 */
315 { 5, 0, sys_mq_timedreceive, "mq_timedreceive"}, /* 280 */
316 { 2, 0, sys_mq_notify, "mq_notify" }, /* 281 */
317 { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 282 */
318 { 5, 0, printargs, "kexec_load" }, /* 283 */
319 { 5, TP, sys_waitid, "waitid" }, /* 284 */
320 { 5, 0, printargs, "add_key" }, /* 285 */
321 { 4, 0, printargs, "request_key" }, /* 286 */
322 { 5, 0, printargs, "keyctl" }, /* 287 */
323 { 3, 0, printargs, "ioprio_set" }, /* 288 */
324 { 2, 0, printargs, "ioprio_get" }, /* 289 */
325 { 0, TD, printargs, "inotify_init" }, /* 290 */
326 { 3, TD, sys_inotify_add_watch, "inotify_add_watch"}, /* 291 */
327 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch"}, /* 292 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000328 { 5, 0, printargs, "SYS_293" }, /* 293 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000329 { 4, 0, printargs, "migrate_pages" }, /* 294 */
330 { 4, TD|TF, sys_openat, "openat" }, /* 295 */
331 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
332 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
333 { 5, TD|TF, sys_fchownat, "fchownat" }, /* 298 */
334 { 3, TD|TF, sys_futimesat, "futimesat" }, /* 299 */
Dmitry V. Levin62d04282011-01-19 00:21:07 +0000335 { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 300 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000336 { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 301 */
337 { 4, TD|TF, sys_renameat, "renameat" }, /* 302 */
338 { 5, TD|TF, sys_linkat, "linkat" }, /* 303 */
339 { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 304 */
340 { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 305 */
341 { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 306 */
342 { 3, TD|TF, sys_faccessat, "faccessat" }, /* 307 */
343 { 6, TD, sys_pselect6, "pselect6" }, /* 308 */
344 { 5, TD, sys_ppoll, "ppoll" }, /* 309 */
345 { 1, TP, sys_unshare, "unshare" }, /* 310 */
346 { 2, 0, printargs, "set_robust_list"}, /* 311 */
347 { 3, 0, printargs, "get_robust_list"}, /* 312 */
348 { 6, TD, printargs, "splice" }, /* 313 */
349 { 4, TD, printargs, "sync_file_range"}, /* 314 */
350 { 4, TD, printargs, "tee" }, /* 315 */
351 { 5, TD, printargs, "vmsplice" }, /* 316 */
Roland McGrath0e091a12007-07-24 01:53:00 +0000352 { 6, 0, sys_move_pages, "move_pages" }, /* 317 */
Roland McGrath245745c2007-08-02 01:44:14 +0000353 { 3, 0, sys_getcpu, "getcpu" }, /* 318 */
Roland McGrath419cd382007-08-02 01:13:33 +0000354 { 5, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000355 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 320 */
Roland McGratha826df62007-08-02 01:23:38 +0000356 { 3, TD|TS, sys_signalfd, "signalfd" }, /* 321 */
Roland McGrathe6a00af2007-08-02 01:37:01 +0000357 { 4, TD, sys_timerfd, "timerfd" }, /* 322 */
358 { 1, TD, sys_eventfd, "eventfd" }, /* 323 */
Dmitry V. Levin62300392010-04-05 23:44:48 +0000359 { 6, TF, sys_fallocate, "fallocate" }, /* 324 */
360 { 4, TD, sys_timerfd_settime, "timerfd_settime"}, /* 325 */
361 { 2, TD, sys_timerfd_gettime, "timerfd_gettime"}, /* 326 */
362 { 4, TD|TS, sys_signalfd4, "signalfd4" }, /* 327 */
363 { 2, TD, sys_eventfd2, "eventfd2" }, /* 328 */
364 { 1, 0, sys_epoll_create1, "epoll_create1" }, /* 329 */
365 { 3, TD, sys_dup3, "dup3" }, /* 330 */
366 { 2, TD, sys_pipe2, "pipe2" }, /* 331 */
367 { 1, TD, sys_inotify_init1, "inotify_init1" }, /* 332 */
368 { 5, TD, printargs, "preadv" }, /* 333 */
369 { 5, TD, printargs, "pwritev" }, /* 334 */
370 { 4, TP|TS, printargs, "rt_tgsigqueueinfo"}, /* 335 */
371 { 5, TD, printargs, "perf_event_open"}, /* 336 */
Dmitry V. Levine9e3d702011-01-17 22:39:33 +0000372 { 2, 0, printargs, "fanotify_init" }, /* 337 */
373 { 5, 0, printargs, "fanotify_mark" }, /* 338 */
374 { 4, 0, printargs, "prlimit64" }, /* 339 */
Carmelo AMOROSO9b977d12010-12-13 11:39:48 +0100375 { 3, TN, sys_socket, "socket" }, /* 340 */
376 { 3, TN, sys_bind, "bind" }, /* 341 */
377 { 3, TN, sys_connect, "connect" }, /* 342 */
378 { 2, TN, sys_listen, "listen" }, /* 343 */
379 { 3, TN, sys_accept, "accept" }, /* 344 */
380 { 3, TN, sys_getsockname, "getsockname" }, /* 345 */
381 { 3, TN, sys_getpeername, "getpeername" }, /* 346 */
382 { 4, TN, sys_socketpair, "socketpair" }, /* 347 */
383 { 4, TN, sys_send, "send" }, /* 348 */
384 { 4, TN, sys_recv, "recv" }, /* 349 */
385 { 6, TN, sys_sendto, "sendto" }, /* 350 */
386 { 6, TN, sys_recvfrom, "recvfrom" }, /* 351 */
387 { 2, TN, sys_shutdown, "shutdown" }, /* 352 */
388 { 5, TN, sys_setsockopt, "setsockopt" }, /* 353 */
389 { 5, TN, sys_getsockopt, "getsockopt" }, /* 354 */
390 { 5, TN, sys_sendmsg, "sendmsg" }, /* 355 */
391 { 5, TN, sys_recvmsg, "recvmsg" }, /* 356 */
392 { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 357 */
Carmelo AMOROSOd64184f2011-01-04 16:30:40 +0100393 { 4, TN, sys_accept4, "accept4" }, /* 358 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000394 { 5, 0, printargs, "SYS_359" }, /* 359 */
395 { 5, 0, printargs, "SYS_360" }, /* 360 */
396 { 5, 0, printargs, "SYS_361" }, /* 361 */
397 { 5, 0, printargs, "SYS_362" }, /* 362 */
398 { 5, 0, printargs, "SYS_363" }, /* 363 */
399 { 5, 0, printargs, "SYS_364" }, /* 364 */
400 { 5, 0, printargs, "SYS_365" }, /* 365 */
401 { 5, 0, printargs, "SYS_366" }, /* 366 */
402 { 5, 0, printargs, "SYS_367" }, /* 367 */
403 { 5, 0, printargs, "SYS_368" }, /* 368 */
404 { 5, 0, printargs, "SYS_369" }, /* 369 */
405 { 5, 0, printargs, "SYS_370" }, /* 370 */
406 { 5, 0, printargs, "SYS_371" }, /* 371 */
407 { 5, 0, printargs, "SYS_372" }, /* 372 */
408 { 5, 0, printargs, "SYS_373" }, /* 373 */
409 { 5, 0, printargs, "SYS_374" }, /* 374 */
410 { 5, 0, printargs, "SYS_375" }, /* 375 */
411 { 5, 0, printargs, "SYS_376" }, /* 376 */
412 { 5, 0, printargs, "SYS_377" }, /* 377 */
413 { 5, 0, printargs, "SYS_378" }, /* 378 */
414 { 5, 0, printargs, "SYS_379" }, /* 379 */
415 { 5, 0, printargs, "SYS_380" }, /* 380 */
416 { 5, 0, printargs, "SYS_381" }, /* 381 */
417 { 5, 0, printargs, "SYS_382" }, /* 382 */
418 { 5, 0, printargs, "SYS_383" }, /* 383 */
419 { 5, 0, printargs, "SYS_384" }, /* 384 */
420 { 5, 0, printargs, "SYS_385" }, /* 385 */
421 { 5, 0, printargs, "SYS_386" }, /* 386 */
422 { 5, 0, printargs, "SYS_387" }, /* 387 */
423 { 5, 0, printargs, "SYS_388" }, /* 388 */
424 { 5, 0, printargs, "SYS_389" }, /* 389 */
425 { 5, 0, printargs, "SYS_390" }, /* 390 */
426 { 5, 0, printargs, "SYS_391" }, /* 391 */
427 { 5, 0, printargs, "SYS_392" }, /* 392 */
428 { 5, 0, printargs, "SYS_393" }, /* 393 */
429 { 5, 0, printargs, "SYS_394" }, /* 394 */
430 { 5, 0, printargs, "SYS_395" }, /* 395 */
431 { 5, 0, printargs, "SYS_396" }, /* 396 */
432 { 5, 0, printargs, "SYS_397" }, /* 397 */
433 { 5, 0, printargs, "SYS_398" }, /* 398 */
434 { 5, 0, printargs, "SYS_399" }, /* 399 */
435
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000436#if SYS_socket_subcall != 400
Roland McGrath1eecc382006-08-22 06:17:33 +0000437 #error fix me
438#endif
439 { 8, 0, printargs, "socket_subcall"}, /* 400 */
440 { 3, TN, sys_socket, "socket" }, /* 401 */
441 { 3, TN, sys_bind, "bind" }, /* 402 */
442 { 3, TN, sys_connect, "connect" }, /* 403 */
443 { 2, TN, sys_listen, "listen" }, /* 404 */
444 { 3, TN, sys_accept, "accept" }, /* 405 */
445 { 3, TN, sys_getsockname, "getsockname" }, /* 406 */
446 { 3, TN, sys_getpeername, "getpeername" }, /* 407 */
447 { 4, TN, sys_socketpair, "socketpair" }, /* 408 */
448 { 4, TN, sys_send, "send" }, /* 409 */
449 { 4, TN, sys_recv, "recv" }, /* 410 */
450 { 6, TN, sys_sendto, "sendto" }, /* 411 */
451 { 6, TN, sys_recvfrom, "recvfrom" }, /* 412 */
452 { 2, TN, sys_shutdown, "shutdown" }, /* 413 */
453 { 5, TN, sys_setsockopt, "setsockopt" }, /* 414 */
454 { 5, TN, sys_getsockopt, "getsockopt" }, /* 415 */
455 { 5, TN, sys_sendmsg, "sendmsg" }, /* 416 */
456 { 5, TN, sys_recvmsg, "recvmsg" }, /* 417 */
Paolo Bonzini8a56b8a2009-08-14 12:34:06 +0200457 { 4, TN, sys_accept4, "accept4" }, /* 418 */
Andreas Schwab0873f292010-02-12 21:39:12 +0100458 { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 419 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000459
Andreas Schwab0873f292010-02-12 21:39:12 +0100460#if SYS_ipc_subcall != 420
Roland McGrath1eecc382006-08-22 06:17:33 +0000461 #error fix me
462#endif
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000463
Andreas Schwab0873f292010-02-12 21:39:12 +0100464 { 4, 0, printargs, "ipc_subcall" }, /* 420 */
465 { 4, TI, sys_semop, "semop" }, /* 421 */
466 { 4, TI, sys_semget, "semget" }, /* 422 */
467 { 4, TI, sys_semctl, "semctl" }, /* 423 */
468 { 5, TI, sys_semtimedop, "semtimedop" }, /* 424 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000469 { 4, 0, printargs, "ipc_subcall" }, /* 425 */
470 { 4, 0, printargs, "ipc_subcall" }, /* 426 */
471 { 4, 0, printargs, "ipc_subcall" }, /* 427 */
472 { 4, 0, printargs, "ipc_subcall" }, /* 428 */
Paolo Bonzini8a56b8a2009-08-14 12:34:06 +0200473 { 4, 0, printargs, "ipc_subcall" }, /* 429 */
Andreas Schwab0873f292010-02-12 21:39:12 +0100474 { 4, 0, printargs, "ipc_subcall" }, /* 430 */
475 { 4, TI, sys_msgsnd, "msgsnd" }, /* 431 */
476 { 4, TI, sys_msgrcv, "msgrcv" }, /* 432 */
477 { 4, TI, sys_msgget, "msgget" }, /* 433 */
478 { 4, TI, sys_msgctl, "msgctl" }, /* 434 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000479 { 4, 0, printargs, "ipc_subcall" }, /* 435 */
480 { 4, 0, printargs, "ipc_subcall" }, /* 436 */
481 { 4, 0, printargs, "ipc_subcall" }, /* 437 */
482 { 4, 0, printargs, "ipc_subcall" }, /* 438 */
Paolo Bonzini8a56b8a2009-08-14 12:34:06 +0200483 { 4, 0, printargs, "ipc_subcall" }, /* 439 */
Andreas Schwab0873f292010-02-12 21:39:12 +0100484 { 4, 0, printargs, "ipc_subcall" }, /* 440 */
485 { 4, TI, sys_shmat, "shmat" }, /* 441 */
486 { 4, TI, sys_shmdt, "shmdt" }, /* 442 */
487 { 4, TI, sys_shmget, "shmget" }, /* 443 */
488 { 4, TI, sys_shmctl, "shmctl" }, /* 444 */