blob: af06962903ebbd27fa040284758ad78f5703677c [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.
Roland McGrath75a99b72003-03-31 01:04:27 +000029 */
30
Roland McGrath79dcd7a2006-01-12 22:34:50 +000031 { 0, 0, sys_restart_syscall, "restart_syscall"}, /* 0 */
Roland McGrath75a99b72003-03-31 01:04:27 +000032 { 1, TP, sys_exit, "_exit" }, /* 1 */
33 { 0, TP, sys_fork, "fork" }, /* 2 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000034 { 3, TD, sys_read, "read" }, /* 3 */
35 { 3, TD, sys_write, "write" }, /* 4 */
36 { 3, TD|TF, sys_open, "open" }, /* 5 */
37 { 1, TD, sys_close, "close" }, /* 6 */
Roland McGrath75a99b72003-03-31 01:04:27 +000038 { 3, TP, sys_waitpid, "waitpid" }, /* 7 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000039 { 2, TD|TF, sys_creat, "creat" }, /* 8 */
Roland McGrath75a99b72003-03-31 01:04:27 +000040 { 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 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +010047 { 3, TF, sys_chown, "lchown" }, /* 16 */
Namhyung Kim96792962012-10-24 11:41:57 +090048 { 0, TM, sys_break, "break" }, /* 17 */
Roland McGrath75a99b72003-03-31 01:04:27 +000049 { 2, TF, sys_oldstat, "oldstat" }, /* 18 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000050 { 3, TD, sys_lseek, "lseek" }, /* 19 */
Roland McGrath75a99b72003-03-31 01:04:27 +000051 { 0, 0, sys_getpid, "getpid" }, /* 20 */
52 { 5, TF, sys_mount, "mount" }, /* 21 */
53 { 1, TF, sys_umount, "oldumount" }, /* 22 */
54 { 1, 0, sys_setuid, "setuid" }, /* 23 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000055 { 0, NF, sys_getuid, "getuid" }, /* 24 */
Roland McGrath75a99b72003-03-31 01:04:27 +000056 { 1, 0, sys_stime, "stime" }, /* 25 */
57 { 4, 0, sys_ptrace, "ptrace" }, /* 26 */
58 { 1, 0, sys_alarm, "alarm" }, /* 27 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000059 { 2, TD, sys_oldfstat, "oldfstat" }, /* 28 */
Roland McGrath75a99b72003-03-31 01:04:27 +000060 { 0, TS, sys_pause, "pause" }, /* 29 */
61 { 2, TF, sys_utime, "utime" }, /* 30 */
62 { 2, 0, sys_stty, "stty" }, /* 31 */
63 { 2, 0, sys_gtty, "gtty" }, /* 32 */
64 { 2, TF, sys_access, "access" }, /* 33 */
65 { 1, 0, sys_nice, "nice" }, /* 34 */
66 { 0, 0, sys_ftime, "ftime" }, /* 35 */
67 { 0, 0, sys_sync, "sync" }, /* 36 */
68 { 2, TS, sys_kill, "kill" }, /* 37 */
69 { 2, TF, sys_rename, "rename" }, /* 38 */
70 { 2, TF, sys_mkdir, "mkdir" }, /* 39 */
71 { 1, TF, sys_rmdir, "rmdir" }, /* 40 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000072 { 1, TD, sys_dup, "dup" }, /* 41 */
73 { 1, TD, sys_pipe, "pipe" }, /* 42 */
Roland McGrath75a99b72003-03-31 01:04:27 +000074 { 1, 0, sys_times, "times" }, /* 43 */
75 { 0, 0, sys_prof, "prof" }, /* 44 */
Namhyung Kim96792962012-10-24 11:41:57 +090076 { 1, TM, sys_brk, "brk" }, /* 45 */
Roland McGrath75a99b72003-03-31 01:04:27 +000077 { 1, 0, sys_setgid, "setgid" }, /* 46 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000078 { 0, NF, sys_getgid, "getgid" }, /* 47 */
Roland McGrath75a99b72003-03-31 01:04:27 +000079 { 3, TS, sys_signal, "signal" }, /* 48 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000080 { 0, NF, sys_geteuid, "geteuid" }, /* 49 */
81 { 0, NF, sys_getegid, "getegid" }, /* 50 */
Roland McGrath75a99b72003-03-31 01:04:27 +000082 { 1, TF, sys_acct, "acct" }, /* 51 */
83 { 2, TF, sys_umount2, "umount" }, /* 52 */
84 { 0, 0, sys_lock, "lock" }, /* 53 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000085 { 3, TD, sys_ioctl, "ioctl" }, /* 54 */
86 { 3, TD, sys_fcntl, "fcntl" }, /* 55 */
Roland McGrath75a99b72003-03-31 01:04:27 +000087 { 0, 0, sys_mpx, "mpx" }, /* 56 */
88 { 2, 0, sys_setpgid, "setpgid" }, /* 57 */
89 { 2, 0, sys_ulimit, "ulimit" }, /* 58 */
90 { 1, 0, sys_oldolduname, "oldolduname" }, /* 59 */
91 { 1, 0, sys_umask, "umask" }, /* 60 */
92 { 1, TF, sys_chroot, "chroot" }, /* 61 */
93 { 2, 0, sys_ustat, "ustat" }, /* 62 */
Roland McGrath2fe7b132005-07-05 03:25:35 +000094 { 2, TD, sys_dup2, "dup2" }, /* 63 */
Roland McGrath75a99b72003-03-31 01:04:27 +000095 { 0, 0, sys_getppid, "getppid" }, /* 64 */
96 { 0, 0, sys_getpgrp, "getpgrp" }, /* 65 */
97 { 0, 0, sys_setsid, "setsid" }, /* 66 */
98 { 3, TS, sys_sigaction, "sigaction" }, /* 67 */
Dmitry V. Levin95383522011-11-25 21:43:01 +000099 { 0, TS, sys_siggetmask, "sgetmask" }, /* 68 */
100 { 1, TS, sys_sigsetmask, "ssetmask" }, /* 69 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000101 { 2, 0, sys_setreuid, "setreuid" }, /* 70 */
102 { 2, 0, sys_setregid, "setregid" }, /* 71 */
103 { 3, TS, sys_sigsuspend, "sigsuspend" }, /* 72 */
104 { 1, TS, sys_sigpending, "sigpending" }, /* 73 */
105 { 2, 0, sys_sethostname, "sethostname" }, /* 74 */
106 { 2, 0, sys_setrlimit, "setrlimit" }, /* 75 */
107 { 2, 0, sys_getrlimit, "getrlimit" }, /* 76 */
108 { 2, 0, sys_getrusage, "getrusage" }, /* 77 */
109 { 2, 0, sys_gettimeofday, "gettimeofday" }, /* 78 */
110 { 2, 0, sys_settimeofday, "settimeofday" }, /* 79 */
111 { 2, 0, sys_getgroups, "getgroups" }, /* 80 */
112 { 2, 0, sys_setgroups, "setgroups" }, /* 81 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000113 { 1, TD, sys_oldselect, "oldselect" }, /* 82 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000114 { 2, TF, sys_symlink, "symlink" }, /* 83 */
115 { 2, TF, sys_oldlstat, "oldlstat" }, /* 84 */
116 { 3, TF, sys_readlink, "readlink" }, /* 85 */
117 { 1, TF, sys_uselib, "uselib" }, /* 86 */
Dmitry V. Levinc0861c02011-11-25 23:04:04 +0000118 { 2, TF, sys_swapon, "swapon" }, /* 87 */
Dmitry V. Levin30a05152011-11-25 23:13:15 +0000119 { 4, 0, sys_reboot, "reboot" }, /* 88 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000120 { 3, TD, sys_readdir, "readdir" }, /* 89 */
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100121 { 6, TD|TM, sys_mmap, "old_mmap" }, /* 90 */
Namhyung Kim96792962012-10-24 11:41:57 +0900122 { 2, TM, sys_munmap, "munmap" }, /* 91 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000123 { 2, TF, sys_truncate, "truncate" }, /* 92 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000124 { 2, TD, sys_ftruncate, "ftruncate" }, /* 93 */
125 { 2, TD, sys_fchmod, "fchmod" }, /* 94 */
126 { 3, TD, sys_fchown, "fchown" }, /* 95 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000127 { 2, 0, sys_getpriority, "getpriority" }, /* 96 */
128 { 3, 0, sys_setpriority, "setpriority" }, /* 97 */
129 { 4, 0, sys_profil, "profil" }, /* 98 */
130 { 2, TF, sys_statfs, "statfs" }, /* 99 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000131 { 2, TD, sys_fstatfs, "fstatfs" }, /* 100 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000132 { 3, 0, sys_ioperm, "ioperm" }, /* 101 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000133 { 2, TD, sys_socketcall, "socketcall" }, /* 102 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000134 { 3, 0, sys_syslog, "syslog" }, /* 103 */
135 { 3, 0, sys_setitimer, "setitimer" }, /* 104 */
136 { 2, 0, sys_getitimer, "getitimer" }, /* 105 */
137 { 2, TF, sys_stat, "stat" }, /* 106 */
138 { 2, TF, sys_lstat, "lstat" }, /* 107 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000139 { 2, TD, sys_fstat, "fstat" }, /* 108 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000140 { 1, 0, sys_olduname, "olduname" }, /* 109 */
141 { 1, 0, sys_iopl, "iopl" }, /* 110 */
142 { 0, 0, sys_vhangup, "vhangup" }, /* 111 */
143 { 0, 0, sys_idle, "idle" }, /* 112 */
144 { 1, 0, sys_vm86old, "vm86old" }, /* 113 */
145 { 4, TP, sys_wait4, "wait4" }, /* 114 */
Dmitry V. Levin612e0922011-02-20 19:14:10 +0000146 { 1, TF, sys_swapoff, "swapoff" }, /* 115 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000147 { 1, 0, sys_sysinfo, "sysinfo" }, /* 116 */
Dmitry V. Levin454dcd42011-11-25 19:27:23 +0000148 { 5, TI, sys_ipc, "ipc" }, /* 117 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000149 { 1, TD, sys_fsync, "fsync" }, /* 118 */
Denys Vlasenkof0736792011-06-09 01:43:22 +0200150 { 0, TS, sys_sigreturn, "sigreturn" }, /* 119 */
Roland McGrathd8f98bc2003-05-23 00:29:00 +0000151 { 5, TP, sys_clone, "clone" }, /* 120 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000152 { 2, 0, sys_setdomainname, "setdomainname" }, /* 121 */
153 { 1, 0, sys_uname, "uname" }, /* 122 */
Carmelo AMOROSOf8e56502010-12-01 14:27:07 +0100154 { 3, 0, sys_cacheflush, "cacheflush" }, /* 123 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000155 { 1, 0, sys_adjtimex, "adjtimex" }, /* 124 */
Namhyung Kim96792962012-10-24 11:41:57 +0900156 { 3, TM, sys_mprotect, "mprotect" }, /* 125 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000157 { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */
158 { 2, 0, sys_create_module, "create_module" }, /* 127 */
Roland McGrath64434f82005-08-03 11:27:33 +0000159 { 3, 0, sys_init_module, "init_module" }, /* 128 */
Roland McGrath6e261272007-07-05 19:28:35 +0000160 { 2, 0, sys_delete_module, "delete_module" }, /* 129 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000161 { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */
Dmitry V. Levin79439662012-10-26 23:43:13 +0000162 { 4, TF, sys_quotactl, "quotactl" }, /* 131 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000163 { 1, 0, sys_getpgid, "getpgid" }, /* 132 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000164 { 1, TD, sys_fchdir, "fchdir" }, /* 133 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000165 { 0, 0, sys_bdflush, "bdflush" }, /* 134 */
166 { 3, 0, sys_sysfs, "sysfs" }, /* 135 */
167 { 1, 0, sys_personality, "personality" }, /* 136 */
168 { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 137 */
Dmitry V. Levin50a218d2011-01-18 17:36:20 +0000169 { 1, NF, sys_setfsuid, "setfsuid" }, /* 138 */
170 { 1, NF, sys_setfsgid, "setfsgid" }, /* 139 */
Denys Vlasenko86779132012-03-17 18:00:14 +0100171 { 5, TD, sys_llseek, "_llseek" }, /* 140 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000172 { 3, TD, sys_getdents, "getdents" }, /* 141 */
173 { 5, TD, sys_select, "select" }, /* 142 */
174 { 2, TD, sys_flock, "flock" }, /* 143 */
Namhyung Kim96792962012-10-24 11:41:57 +0900175 { 3, TM, sys_msync, "msync" }, /* 144 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000176 { 3, TD, sys_readv, "readv" }, /* 145 */
177 { 3, TD, sys_writev, "writev" }, /* 146 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000178 { 1, 0, sys_getsid, "getsid" }, /* 147 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000179 { 1, TD, sys_fdatasync, "fdatasync" }, /* 148 */
Denys Vlasenko86779132012-03-17 18:00:14 +0100180 { 1, 0, sys_sysctl, "_sysctl" }, /* 149 */
Namhyung Kim96792962012-10-24 11:41:57 +0900181 { 1, TM, sys_mlock, "mlock" }, /* 150 */
182 { 2, TM, sys_munlock, "munlock" }, /* 151 */
183 { 1, TM, sys_mlockall, "mlockall" }, /* 152 */
184 { 1, TM, sys_munlockall, "munlockall" }, /* 153 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000185 { 0, 0, sys_sched_setparam, "sched_setparam"}, /* 154 */
186 { 2, 0, sys_sched_getparam, "sched_getparam"}, /* 155 */
187 { 3, 0, sys_sched_setscheduler, "sched_setscheduler"}, /* 156 */
188 { 1, 0, sys_sched_getscheduler, "sched_getscheduler"}, /* 157 */
189 { 0, 0, sys_sched_yield, "sched_yield"}, /* 158 */
190 { 1, 0, sys_sched_get_priority_max,"sched_get_priority_max"}, /* 159 */
191 { 1, 0, sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
192 { 2, 0, sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
193 { 2, 0, sys_nanosleep, "nanosleep" }, /* 162 */
Namhyung Kim96792962012-10-24 11:41:57 +0900194 { 5, TM, sys_mremap, "mremap" }, /* 163 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000195 { 3, 0, sys_setresuid, "setresuid" }, /* 164 */
196 { 3, 0, sys_getresuid, "getresuid" }, /* 165 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000197 { 5, 0, sys_vm86, "vm86" }, /* 166 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000198 { 5, 0, sys_query_module, "query_module" }, /* 167 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000199 { 3, TD, sys_poll, "poll" }, /* 168 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000200 { 3, 0, sys_nfsservctl, "nfsservctl" }, /* 169 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000201 { 3, 0, sys_setresgid, "setresgid" }, /* 170 */
202 { 3, 0, sys_getresgid, "getresgid" }, /* 171 */
Dmitry V. Levin86c26be2008-09-03 00:52:47 +0000203 { 5, 0, sys_prctl, "prctl" }, /* 172 */
Denys Vlasenko3cc94382012-01-10 16:48:19 +0100204 { 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 173 */
Denys Vlasenkob63256e2011-06-07 12:13:24 +0200205 { 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000206 { 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
207 { 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 176 */
208 { 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait"}, /* 177 */
209 { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo"}, /* 178 */
210 { 2, TS, sys_rt_sigsuspend, "rt_sigsuspend" }, /* 179 */
211
Roland McGrath2fe7b132005-07-05 03:25:35 +0000212 { 6, TD, sys_pread, "pread" }, /* 180 */
213 { 6, TD, sys_pwrite, "pwrite" }, /* 181 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000214 { 3, TF, sys_chown, "chown" }, /* 182 */
Dmitry V. Levin6b03c9b2013-05-06 01:09:15 +0000215 { 2, TF, sys_getcwd, "getcwd" }, /* 183 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000216 { 2, 0, sys_capget, "capget" }, /* 184 */
217 { 2, 0, sys_capset, "capset" }, /* 185 */
218 { 2, TS, sys_sigaltstack, "sigaltstack" }, /* 186 */
Denys Vlasenko24f0dce2008-12-29 20:04:15 +0000219 { 4, TD|TN, sys_sendfile, "sendfile" }, /* 187 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100220 { 5, 0, NULL, NULL }, /* 188 */
221 { 5, 0, NULL, NULL }, /* 189 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000222 { 0, TP, sys_vfork, "vfork" }, /* 190 */
223 { 5, 0, printargs, "getrlimit" }, /* 191 */
Denys Vlasenko1ba85432013-02-19 11:28:20 +0100224 { 6, TD|TM, sys_mmap_4koff, "mmap2" }, /* 192 */
Dmitry V. Levin54aee7a2013-05-07 08:47:46 +0000225 { 3, TF, sys_truncate64, "truncate64" }, /* 193 */
226 { 3, TD, sys_ftruncate64, "ftruncate64" }, /* 194 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000227 { 2, TF, sys_stat64, "stat64" }, /* 195 */
228 { 2, TF, sys_lstat64, "lstat64" }, /* 196 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000229 { 2, TD, sys_fstat64, "fstat64" }, /* 197 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000230/*TODO*/{ 3, TF, printargs, "lchown32" }, /* 198 */
231/*TODO*/{ 0, 0, printargs, "getuid32" }, /* 199 */
232
233 { 0, 0, printargs, "getgid32" }, /* 200 */
234 { 0, 0, printargs, "geteuid32" }, /* 201 */
235 { 0, 0, printargs, "getegid32" }, /* 202 */
236 { 2, 0, printargs, "setreuid32" }, /* 203 */
237 { 2, 0, printargs, "setregid32" }, /* 204 */
Roland McGrathee067622003-11-13 22:32:28 +0000238 { 2, 0, sys_getgroups32, "getgroups32" }, /* 205 */
239 { 2, 0, sys_setgroups32, "setgroups32" }, /* 206 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000240 { 3, 0, printargs, "fchown32" }, /* 207 */
241 { 3, 0, printargs, "setresuid32" }, /* 208 */
242 { 3, 0, printargs, "getresuid32" }, /* 209 */
243 { 3, 0, printargs, "setresgid32" }, /* 210 */
244 { 3, 0, printargs, "getsetgid32" }, /* 211 */
245 { 3, TF, printargs, "chown32" }, /* 212 */
246 { 1, 0, printargs, "setuid32" }, /* 213 */
247 { 1, 0, printargs, "setgid32" }, /* 214 */
248 { 1, 0, printargs, "setfsuid32" }, /* 215 */
249 { 1, 0, printargs, "setfsgid32" }, /* 216 */
250 { 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
Namhyung Kim96792962012-10-24 11:41:57 +0900251 { 3, TM, sys_mincore, "mincore" }, /* 218 */
252 { 3, TM, sys_madvise, "madvise" }, /* 219 */
Roland McGrathf59eaf42007-11-19 22:10:21 +0000253 { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000254 { 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100255 { 4, 0, NULL, NULL }, /* 222 */
256 { 4, 0, NULL, NULL }, /* 223 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000257 { 4, 0, sys_gettid, "gettid" }, /* 224 */
Dmitry V. Levin4996b3a2013-05-07 01:25:11 +0000258 { 4, TD, sys_readahead, "readahead" }, /* 225 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000259 { 5, TF, sys_setxattr, "setxattr" }, /* 226 */
260 { 5, TF, sys_setxattr, "lsetxattr" }, /* 227 */
261 { 5, TD, sys_fsetxattr, "fsetxattr" }, /* 228 */
262 { 4, TF, sys_getxattr, "getxattr" }, /* 229 */
263 { 4, TF, sys_getxattr, "lgetxattr" }, /* 230 */
Dmitry V. Levin1e439612011-02-20 19:50:28 +0000264 { 4, TD, sys_fgetxattr, "fgetxattr" }, /* 231 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000265 { 3, TF, sys_listxattr, "listxattr" }, /* 232 */
266 { 3, TF, sys_listxattr, "llistxattr" }, /* 233 */
Dmitry V. Levin1e439612011-02-20 19:50:28 +0000267 { 3, TD, sys_flistxattr, "flistxattr" }, /* 234 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000268 { 2, TF, sys_removexattr, "removexattr" }, /* 235 */
269 { 2, TF, sys_removexattr, "lremovexattr" }, /* 236 */
270 { 2, TD, sys_fremovexattr, "fremovexattr" }, /* 237 */
Denys Vlasenko3b605422012-02-27 14:58:06 +0100271 { 2, TS, sys_kill, "tkill" }, /* 238 */
Denys Vlasenko34320592011-08-19 19:01:26 +0200272 { 4, TD|TN, sys_sendfile64, "sendfile64" }, /* 239 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000273 { 6, 0, sys_futex, "futex" }, /* 240 */
274 { 3, 0, sys_sched_setaffinity, "sched_setaffinity"}, /* 241 */
275 { 3, 0, sys_sched_getaffinity, "sched_getaffinity"}, /* 242 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100276 { 0, 0, NULL, NULL }, /* 243 */
277 { 0, 0, NULL, NULL }, /* 244 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000278 { 2, 0, sys_io_setup, "io_setup" }, /* 245 */
279 { 1, 0, sys_io_destroy, "io_destroy" }, /* 246 */
280 { 5, 0, sys_io_getevents, "io_getevents" }, /* 247 */
281 { 3, 0, sys_io_submit, "io_submit" }, /* 248 */
282 { 3, 0, sys_io_cancel, "io_cancel" }, /* 249 */
Dmitry V. Levinfdbe3c52011-02-20 15:23:22 +0000283 { 5, TD, sys_fadvise64, "fadvise64" }, /* 250 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100284 { 0, 0, NULL, NULL }, /* 251 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000285 { 1, TP, sys_exit, "exit_group" }, /* 252 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000286 { 4, 0, sys_lookup_dcookie, "lookup_dcookie"}, /* 253 */
Dmitry V. Levinb9839ef2011-02-20 19:58:09 +0000287 { 1, TD, sys_epoll_create, "epoll_create" }, /* 254 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000288 { 4, TD, sys_epoll_ctl, "epoll_ctl" }, /* 255 */
Dmitry V. Levin609ccb22011-11-25 23:45:28 +0000289 { 4, TD, sys_epoll_wait, "epoll_wait" }, /* 256 */
Namhyung Kim96792962012-10-24 11:41:57 +0900290 { 5, TM, sys_remap_file_pages, "remap_file_pages"}, /* 257 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000291 { 1, 0, sys_set_tid_address, "set_tid_address"}, /* 258 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000292 { 3, 0, sys_timer_create, "timer_create" }, /* 259 */
293 { 4, 0, sys_timer_settime, "timer_settime" }, /* 260 */
294 { 2, 0, sys_timer_gettime, "timer_gettime" }, /* 261 */
295 { 1, 0, sys_timer_getoverrun, "timer_getoverrun"}, /* 262 */
296 { 1, 0, sys_timer_delete, "timer_delete" }, /* 263 */
297 { 2, 0, sys_clock_settime, "clock_settime" }, /* 264 */
298 { 2, 0, sys_clock_gettime, "clock_gettime" }, /* 265 */
299 { 2, 0, sys_clock_getres, "clock_getres" }, /* 266 */
300 { 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 267 */
301 { 3, TF, sys_statfs64, "statfs64" }, /* 268 */
302 { 2, TD, sys_fstatfs64, "fstatfs64" }, /* 269 */
303 { 3, TS, sys_tgkill, "tgkill" }, /* 270 */
304 { 2, TF, sys_utimes, "utimes" }, /* 271 */
Dmitry V. Levinfdbe3c52011-02-20 15:23:22 +0000305 { 6, TD, sys_fadvise64_64, "fadvise64_64" }, /* 272 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100306 { 0, 0, NULL, NULL }, /* 273 */
Namhyung Kim96792962012-10-24 11:41:57 +0900307 { 4, TM, sys_mbind, "mbind" }, /* 274 */
308 { 5, TM, sys_get_mempolicy, "get_mempolicy" }, /* 275 */
309 { 3, TM, sys_set_mempolicy, "set_mempolicy" }, /* 276 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000310 { 4, 0, sys_mq_open, "mq_open" }, /* 277 */
311 { 1, 0, sys_mq_unlink, "mq_unlink" }, /* 278 */
312 { 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 279 */
313 { 5, 0, sys_mq_timedreceive, "mq_timedreceive"}, /* 280 */
314 { 2, 0, sys_mq_notify, "mq_notify" }, /* 281 */
315 { 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 282 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000316 { 4, 0, sys_kexec_load, "kexec_load" }, /* 283 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000317 { 5, TP, sys_waitid, "waitid" }, /* 284 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000318 { 5, 0, sys_add_key, "add_key" }, /* 285 */
319 { 4, 0, sys_request_key, "request_key" }, /* 286 */
320 { 5, 0, sys_keyctl, "keyctl" }, /* 287 */
321 { 3, 0, sys_ioprio_set, "ioprio_set" }, /* 288 */
322 { 2, 0, sys_ioprio_get, "ioprio_get" }, /* 289 */
323 { 0, TD, sys_inotify_init, "inotify_init" }, /* 290 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000324 { 3, TD, sys_inotify_add_watch, "inotify_add_watch"}, /* 291 */
325 { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch"}, /* 292 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100326 { 5, 0, NULL, NULL }, /* 293 */
Namhyung Kim96792962012-10-24 11:41:57 +0900327 { 4, TM, sys_migrate_pages, "migrate_pages" }, /* 294 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000328 { 4, TD|TF, sys_openat, "openat" }, /* 295 */
329 { 3, TD|TF, sys_mkdirat, "mkdirat" }, /* 296 */
330 { 4, TD|TF, sys_mknodat, "mknodat" }, /* 297 */
331 { 5, TD|TF, sys_fchownat, "fchownat" }, /* 298 */
332 { 3, TD|TF, sys_futimesat, "futimesat" }, /* 299 */
Dmitry V. Levin62d04282011-01-19 00:21:07 +0000333 { 4, TD|TF, sys_newfstatat, "newfstatat" }, /* 300 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000334 { 3, TD|TF, sys_unlinkat, "unlinkat" }, /* 301 */
335 { 4, TD|TF, sys_renameat, "renameat" }, /* 302 */
336 { 5, TD|TF, sys_linkat, "linkat" }, /* 303 */
337 { 3, TD|TF, sys_symlinkat, "symlinkat" }, /* 304 */
338 { 4, TD|TF, sys_readlinkat, "readlinkat" }, /* 305 */
339 { 3, TD|TF, sys_fchmodat, "fchmodat" }, /* 306 */
340 { 3, TD|TF, sys_faccessat, "faccessat" }, /* 307 */
341 { 6, TD, sys_pselect6, "pselect6" }, /* 308 */
342 { 5, TD, sys_ppoll, "ppoll" }, /* 309 */
343 { 1, TP, sys_unshare, "unshare" }, /* 310 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000344 { 2, 0, sys_set_robust_list, "set_robust_list"}, /* 311 */
345 { 3, 0, sys_get_robust_list, "get_robust_list"}, /* 312 */
Dmitry V. Levind99e48c2011-10-11 17:07:05 +0000346 { 6, TD, sys_splice, "splice" }, /* 313 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000347 { 4, TD, sys_sync_file_range, "sync_file_range"}, /* 314 */
Dmitry V. Levind99e48c2011-10-11 17:07:05 +0000348 { 4, TD, sys_tee, "tee" }, /* 315 */
349 { 5, TD, sys_vmsplice, "vmsplice" }, /* 316 */
Namhyung Kim96792962012-10-24 11:41:57 +0900350 { 6, TM, sys_move_pages, "move_pages" }, /* 317 */
Roland McGrath245745c2007-08-02 01:44:14 +0000351 { 3, 0, sys_getcpu, "getcpu" }, /* 318 */
Dmitry V. Levina7068812011-11-25 23:19:47 +0000352 { 6, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000353 { 4, TD|TF, sys_utimensat, "utimensat" }, /* 320 */
Roland McGratha826df62007-08-02 01:23:38 +0000354 { 3, TD|TS, sys_signalfd, "signalfd" }, /* 321 */
Roland McGrathe6a00af2007-08-02 01:37:01 +0000355 { 4, TD, sys_timerfd, "timerfd" }, /* 322 */
356 { 1, TD, sys_eventfd, "eventfd" }, /* 323 */
Dmitry V. Levin2bc744d2011-02-20 20:17:00 +0000357 { 6, TD, sys_fallocate, "fallocate" }, /* 324 */
Dmitry V. Levin62300392010-04-05 23:44:48 +0000358 { 4, TD, sys_timerfd_settime, "timerfd_settime"}, /* 325 */
359 { 2, TD, sys_timerfd_gettime, "timerfd_gettime"}, /* 326 */
360 { 4, TD|TS, sys_signalfd4, "signalfd4" }, /* 327 */
361 { 2, TD, sys_eventfd2, "eventfd2" }, /* 328 */
Dmitry V. Levinb9839ef2011-02-20 19:58:09 +0000362 { 1, TD, sys_epoll_create1, "epoll_create1" }, /* 329 */
Dmitry V. Levin62300392010-04-05 23:44:48 +0000363 { 3, TD, sys_dup3, "dup3" }, /* 330 */
364 { 2, TD, sys_pipe2, "pipe2" }, /* 331 */
365 { 1, TD, sys_inotify_init1, "inotify_init1" }, /* 332 */
Dmitry V. Levinea5a0792013-05-07 09:21:07 +0000366 { 6, TD, sys_preadv, "preadv" }, /* 333 */
367 { 6, TD, sys_pwritev, "pwritev" }, /* 334 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000368 { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo"}, /* 335 */
369 { 5, TD, sys_perf_event_open, "perf_event_open"}, /* 336 */
370 { 2, TD, sys_fanotify_init, "fanotify_init" }, /* 337 */
371 { 5, TD|TF, sys_fanotify_mark, "fanotify_mark" }, /* 338 */
372 { 4, 0, sys_prlimit64, "prlimit64" }, /* 339 */
Carmelo AMOROSO9b977d12010-12-13 11:39:48 +0100373 { 3, TN, sys_socket, "socket" }, /* 340 */
374 { 3, TN, sys_bind, "bind" }, /* 341 */
375 { 3, TN, sys_connect, "connect" }, /* 342 */
376 { 2, TN, sys_listen, "listen" }, /* 343 */
377 { 3, TN, sys_accept, "accept" }, /* 344 */
378 { 3, TN, sys_getsockname, "getsockname" }, /* 345 */
379 { 3, TN, sys_getpeername, "getpeername" }, /* 346 */
380 { 4, TN, sys_socketpair, "socketpair" }, /* 347 */
381 { 4, TN, sys_send, "send" }, /* 348 */
382 { 4, TN, sys_recv, "recv" }, /* 349 */
383 { 6, TN, sys_sendto, "sendto" }, /* 350 */
384 { 6, TN, sys_recvfrom, "recvfrom" }, /* 351 */
385 { 2, TN, sys_shutdown, "shutdown" }, /* 352 */
386 { 5, TN, sys_setsockopt, "setsockopt" }, /* 353 */
387 { 5, TN, sys_getsockopt, "getsockopt" }, /* 354 */
Dmitry V. Levine86f5422011-11-25 23:51:53 +0000388 { 3, TN, sys_sendmsg, "sendmsg" }, /* 355 */
Denys Vlasenko99d3e012013-03-05 13:59:45 +0100389 { 3, TN, sys_recvmsg, "recvmsg" }, /* 356 */
Carmelo AMOROSO9b977d12010-12-13 11:39:48 +0100390 { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 357 */
Carmelo AMOROSOd64184f2011-01-04 16:30:40 +0100391 { 4, TN, sys_accept4, "accept4" }, /* 358 */
Dmitry V. Levin00ebeee2011-11-26 23:37:23 +0000392 { 5, TD|TF, sys_name_to_handle_at, "name_to_handle_at"}, /* 359 */
393 { 3, TD, sys_open_by_handle_at, "open_by_handle_at"}, /* 360 */
394 { 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 361 */
395 { 1, TD, sys_syncfs, "syncfs" }, /* 362 */
396 { 4, TN, sys_sendmmsg, "sendmmsg" }, /* 363 */
397 { 2, TD, sys_setns, "setns" }, /* 364 */
Dmitry V. Levind92029e2012-03-10 15:04:16 +0000398 { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 365 */
399 { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 366 */
Denys Vlasenkoc1371eb2012-03-19 09:51:42 +0100400 { 5, 0, NULL, NULL }, /* 367 */
401 { 5, 0, NULL, NULL }, /* 368 */
402 { 5, 0, NULL, NULL }, /* 369 */
403 { 5, 0, NULL, NULL }, /* 370 */
404 { 5, 0, NULL, NULL }, /* 371 */
405 { 5, 0, NULL, NULL }, /* 372 */
406 { 5, 0, NULL, NULL }, /* 373 */
407 { 5, 0, NULL, NULL }, /* 374 */
408 { 5, 0, NULL, NULL }, /* 375 */
409 { 5, 0, NULL, NULL }, /* 376 */
410 { 5, 0, NULL, NULL }, /* 377 */
411 { 5, 0, NULL, NULL }, /* 378 */
412 { 5, 0, NULL, NULL }, /* 379 */
413 { 5, 0, NULL, NULL }, /* 380 */
414 { 5, 0, NULL, NULL }, /* 381 */
415 { 5, 0, NULL, NULL }, /* 382 */
416 { 5, 0, NULL, NULL }, /* 383 */
417 { 5, 0, NULL, NULL }, /* 384 */
418 { 5, 0, NULL, NULL }, /* 385 */
419 { 5, 0, NULL, NULL }, /* 386 */
420 { 5, 0, NULL, NULL }, /* 387 */
421 { 5, 0, NULL, NULL }, /* 388 */
422 { 5, 0, NULL, NULL }, /* 389 */
423 { 5, 0, NULL, NULL }, /* 390 */
424 { 5, 0, NULL, NULL }, /* 391 */
425 { 5, 0, NULL, NULL }, /* 392 */
426 { 5, 0, NULL, NULL }, /* 393 */
427 { 5, 0, NULL, NULL }, /* 394 */
428 { 5, 0, NULL, NULL }, /* 395 */
429 { 5, 0, NULL, NULL }, /* 396 */
430 { 5, 0, NULL, NULL }, /* 397 */
431 { 5, 0, NULL, NULL }, /* 398 */
432 { 5, 0, NULL, NULL }, /* 399 */
Dmitry V. Levinde462cf2013-05-07 18:38:01 +0400433#define SYS_socket_subcall 400
434#include "subcall.h"
Denys Vlasenkod9560c12011-08-19 17:41:28 +0200435 { 6, 0, printargs, "socket_subcall"}, /* 400 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000436 { 3, TN, sys_socket, "socket" }, /* 401 */
437 { 3, TN, sys_bind, "bind" }, /* 402 */
438 { 3, TN, sys_connect, "connect" }, /* 403 */
439 { 2, TN, sys_listen, "listen" }, /* 404 */
440 { 3, TN, sys_accept, "accept" }, /* 405 */
441 { 3, TN, sys_getsockname, "getsockname" }, /* 406 */
442 { 3, TN, sys_getpeername, "getpeername" }, /* 407 */
443 { 4, TN, sys_socketpair, "socketpair" }, /* 408 */
444 { 4, TN, sys_send, "send" }, /* 409 */
445 { 4, TN, sys_recv, "recv" }, /* 410 */
446 { 6, TN, sys_sendto, "sendto" }, /* 411 */
447 { 6, TN, sys_recvfrom, "recvfrom" }, /* 412 */
448 { 2, TN, sys_shutdown, "shutdown" }, /* 413 */
449 { 5, TN, sys_setsockopt, "setsockopt" }, /* 414 */
450 { 5, TN, sys_getsockopt, "getsockopt" }, /* 415 */
Dmitry V. Levine86f5422011-11-25 23:51:53 +0000451 { 3, TN, sys_sendmsg, "sendmsg" }, /* 416 */
Denys Vlasenko99d3e012013-03-05 13:59:45 +0100452 { 3, TN, sys_recvmsg, "recvmsg" }, /* 417 */
Paolo Bonzini8a56b8a2009-08-14 12:34:06 +0200453 { 4, TN, sys_accept4, "accept4" }, /* 418 */
Andreas Schwab0873f292010-02-12 21:39:12 +0100454 { 5, TN, sys_recvmmsg, "recvmmsg" }, /* 419 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000455
Andreas Schwab0873f292010-02-12 21:39:12 +0100456#if SYS_ipc_subcall != 420
Roland McGrath1eecc382006-08-22 06:17:33 +0000457 #error fix me
458#endif
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000459
Andreas Schwab0873f292010-02-12 21:39:12 +0100460 { 4, 0, printargs, "ipc_subcall" }, /* 420 */
461 { 4, TI, sys_semop, "semop" }, /* 421 */
462 { 4, TI, sys_semget, "semget" }, /* 422 */
463 { 4, TI, sys_semctl, "semctl" }, /* 423 */
464 { 5, TI, sys_semtimedop, "semtimedop" }, /* 424 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000465 { 4, 0, printargs, "ipc_subcall" }, /* 425 */
466 { 4, 0, printargs, "ipc_subcall" }, /* 426 */
467 { 4, 0, printargs, "ipc_subcall" }, /* 427 */
468 { 4, 0, printargs, "ipc_subcall" }, /* 428 */
Paolo Bonzini8a56b8a2009-08-14 12:34:06 +0200469 { 4, 0, printargs, "ipc_subcall" }, /* 429 */
Andreas Schwab0873f292010-02-12 21:39:12 +0100470 { 4, 0, printargs, "ipc_subcall" }, /* 430 */
471 { 4, TI, sys_msgsnd, "msgsnd" }, /* 431 */
472 { 4, TI, sys_msgrcv, "msgrcv" }, /* 432 */
473 { 4, TI, sys_msgget, "msgget" }, /* 433 */
474 { 4, TI, sys_msgctl, "msgctl" }, /* 434 */
Roland McGrath6eaa9e82007-11-01 21:54:11 +0000475 { 4, 0, printargs, "ipc_subcall" }, /* 435 */
476 { 4, 0, printargs, "ipc_subcall" }, /* 436 */
477 { 4, 0, printargs, "ipc_subcall" }, /* 437 */
478 { 4, 0, printargs, "ipc_subcall" }, /* 438 */
Paolo Bonzini8a56b8a2009-08-14 12:34:06 +0200479 { 4, 0, printargs, "ipc_subcall" }, /* 439 */
Andreas Schwab0873f292010-02-12 21:39:12 +0100480 { 4, 0, printargs, "ipc_subcall" }, /* 440 */
481 { 4, TI, sys_shmat, "shmat" }, /* 441 */
482 { 4, TI, sys_shmdt, "shmdt" }, /* 442 */
483 { 4, TI, sys_shmget, "shmget" }, /* 443 */
484 { 4, TI, sys_shmctl, "shmctl" }, /* 444 */