blob: 4f38e12eadf1561d0513ba319f66158a6a7207db [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 */
57 { 0, 0, sys_getuid, "getuid" }, /* 24 */
58 { 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 */
80 { 0, 0, sys_getgid, "getgid" }, /* 47 */
81 { 3, TS, sys_signal, "signal" }, /* 48 */
82 { 0, 0, sys_geteuid, "geteuid" }, /* 49 */
83 { 0, 0, sys_getegid, "getegid" }, /* 50 */
84 { 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 */
148 { 1, 0, sys_swapoff, "swapoff" }, /* 115 */
149 { 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 */
156 { 3, 0, sys_modify_ldt, "modify_ldt" }, /* 123 */
157 { 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 */
171 { 1, 0, sys_setfsuid, "setfsuid" }, /* 138 */
172 { 1, 0, 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 */
196 { 4, 0, sys_mremap, "mremap" }, /* 163 */
197 { 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 */
205 { 5, 0, printargs, "prctl" }, /* 172 */
206 { 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 */
Roland McGrath2fe7b132005-07-05 03:25:35 +0000221 { 4, TD, 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 */
226 { 6, 0, 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 */
255 { 4, 0, printargs, "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 */
259 { 4, 0, printargs, "SYS_224" }, /* 224 */
260 { 5, 0, printargs, "SYS_225" }, /* 225 */
261 { 5, 0, printargs, "SYS_226" }, /* 226 */
262 { 5, 0, printargs, "SYS_227" }, /* 227 */
263 { 5, 0, printargs, "SYS_228" }, /* 228 */
264 { 5, 0, printargs, "SYS_229" }, /* 229 */
265
266 { 8, 0, printargs, "socket_subcall"}, /* 230 */
267 { 3, TN, sys_socket, "socket" }, /* 231 */
268 { 3, TN, sys_bind, "bind" }, /* 232 */
269 { 3, TN, sys_connect, "connect" }, /* 233 */
270 { 2, TN, sys_listen, "listen" }, /* 234 */
271 { 3, TN, sys_accept, "accept" }, /* 235 */
272 { 3, TN, sys_getsockname, "getsockname" }, /* 236 */
273 { 3, TN, sys_getpeername, "getpeername" }, /* 237 */
274 { 4, TN, sys_socketpair, "socketpair" }, /* 238 */
275 { 4, TN, sys_send, "send" }, /* 239 */
276 { 4, TN, sys_recv, "recv" }, /* 240 */
277 { 6, TN, sys_sendto, "sendto" }, /* 241 */
278 { 6, TN, sys_recvfrom, "recvfrom" }, /* 242 */
279 { 2, TN, sys_shutdown, "shutdown" }, /* 243 */
280 { 5, TN, sys_setsockopt, "setsockopt" }, /* 244 */
281 { 5, TN, sys_getsockopt, "getsockopt" }, /* 245 */
282 { 5, TN, sys_sendmsg, "sendmsg" }, /* 246 */
283 { 5, TN, sys_recvmsg, "recvmsg" }, /* 247 */
284 { 5, 0, printargs, "SYS_248" }, /* 248 */
285 { 5, 0, printargs, "SYS_249" }, /* 249 */
286
287 { 4, 0, printargs, "ipc_subcall" }, /* 250 */
288 { 4, TI, sys_semop, "semop" }, /* 251 */
289 { 4, TI, sys_semget, "semget" }, /* 252 */
290 { 4, TI, sys_semctl, "semctl" }, /* 253 */
291 { 4, 0, printargs, "ipc_subcall" }, /* 254 */
292 { 4, 0, printargs, "ipc_subcall" }, /* 255 */
293 { 4, 0, printargs, "ipc_subcall" }, /* 256 */
294 { 4, 0, printargs, "ipc_subcall" }, /* 257 */
295 { 4, 0, printargs, "ipc_subcall" }, /* 258 */
296 { 4, 0, printargs, "ipc_subcall" }, /* 259 */
297 { 4, 0, printargs, "ipc_subcall" }, /* 260 */
298 { 4, TI, sys_msgsnd, "msgsnd" }, /* 261 */
299 { 4, TI, sys_msgrcv, "msgrcv" }, /* 262 */
300 { 4, TI, sys_msgget, "msgget" }, /* 263 */
301 { 4, TI, sys_msgctl, "msgctl" }, /* 264 */
302 { 4, 0, printargs, "ipc_subcall" }, /* 265 */
303 { 4, 0, printargs, "ipc_subcall" }, /* 266 */
304 { 4, 0, printargs, "ipc_subcall" }, /* 267 */
305 { 4, 0, printargs, "ipc_subcall" }, /* 268 */
306 { 4, 0, printargs, "ipc_subcall" }, /* 269 */
307 { 4, 0, printargs, "ipc_subcall" }, /* 270 */
308 { 4, TI, sys_shmat, "shmat" }, /* 271 */
309 { 4, TI, sys_shmdt, "shmdt" }, /* 272 */
310 { 4, TI, sys_shmget, "shmget" }, /* 273 */
311 { 4, TI, sys_shmctl, "shmctl" }, /* 274 */
312 { 5, 0, printargs, "SYS_275" }, /* 275 */
313 { 5, 0, printargs, "SYS_276" }, /* 276 */
314 { 5, 0, printargs, "SYS_277" }, /* 277 */
315 { 5, 0, printargs, "SYS_278" }, /* 278 */
316 { 5, 0, printargs, "SYS_279" }, /* 279 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000317 { 5, 0, printargs, "SYS_280" }, /* 280 */
318 { 5, 0, printargs, "SYS_281" }, /* 281 */
319 { 5, 0, printargs, "SYS_282" }, /* 282 */
320 { 5, 0, printargs, "SYS_283" }, /* 283 */
321 { 5, 0, printargs, "SYS_284" }, /* 284 */
322 { 5, 0, printargs, "SYS_285" }, /* 285 */
323 { 5, 0, printargs, "SYS_286" }, /* 286 */
324 { 5, 0, printargs, "SYS_287" }, /* 287 */
325 { 5, 0, printargs, "SYS_288" }, /* 288 */
326 { 5, 0, printargs, "SYS_289" }, /* 289 */
327 { 5, 0, printargs, "SYS_290" }, /* 290 */
328 { 5, 0, printargs, "SYS_291" }, /* 291 */
329 { 5, 0, printargs, "SYS_292" }, /* 292 */
330 { 5, 0, printargs, "SYS_293" }, /* 293 */
331 { 5, 0, printargs, "SYS_294" }, /* 294 */
332 { 5, 0, printargs, "SYS_295" }, /* 295 */
333 { 5, 0, printargs, "SYS_296" }, /* 296 */
334 { 5, 0, printargs, "SYS_297" }, /* 297 */
Roland McGrath75a99b72003-03-31 01:04:27 +0000335 { 5, 0, printargs, "SYS_298" }, /* 298 */
336 { 5, 0, printargs, "SYS_299" }, /* 299 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000337 { 5, 0, printargs, "SYS_300" }, /* 300 */
338 { 5, 0, printargs, "SYS_301" }, /* 301 */
339 { 5, 0, printargs, "SYS_302" }, /* 302 */
340 { 5, 0, printargs, "SYS_303" }, /* 303 */
341 { 5, 0, printargs, "SYS_304" }, /* 304 */
342 { 5, 0, printargs, "SYS_305" }, /* 305 */
343 { 5, 0, printargs, "SYS_306" }, /* 306 */
344 { 5, 0, printargs, "SYS_307" }, /* 307 */
345 { 5, 0, printargs, "SYS_308" }, /* 308 */
346 { 5, 0, printargs, "SYS_309" }, /* 309 */
347 { 5, 0, printargs, "SYS_310" }, /* 310 */
348 { 5, 0, printargs, "SYS_311" }, /* 311 */
349 { 5, 0, printargs, "SYS_312" }, /* 312 */
350 { 5, 0, printargs, "SYS_313" }, /* 313 */
351 { 5, 0, printargs, "SYS_314" }, /* 314 */
352 { 5, 0, printargs, "SYS_315" }, /* 315 */
353 { 5, 0, printargs, "SYS_316" }, /* 316 */
Roland McGrath0e091a12007-07-24 01:53:00 +0000354 { 6, 0, sys_move_pages, "move_pages" }, /* 317 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000355 { 5, 0, printargs, "SYS_318" }, /* 318 */
Roland McGrath419cd382007-08-02 01:13:33 +0000356 { 5, TD, sys_epoll_pwait, "epoll_pwait" }, /* 319 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000357 { 5, 0, printargs, "SYS_320" }, /* 320 */
Roland McGratha826df62007-08-02 01:23:38 +0000358 { 3, TD|TS, sys_signalfd, "signalfd" }, /* 321 */
Roland McGrath1eecc382006-08-22 06:17:33 +0000359 { 5, 0, printargs, "SYS_322" }, /* 322 */
360 { 5, 0, printargs, "SYS_323" }, /* 323 */
361 { 5, 0, printargs, "SYS_324" }, /* 324 */
362 { 5, 0, printargs, "SYS_325" }, /* 325 */
363 { 5, 0, printargs, "SYS_326" }, /* 326 */
364 { 5, 0, printargs, "SYS_327" }, /* 327 */
365 { 5, 0, printargs, "SYS_328" }, /* 328 */
366 { 5, 0, printargs, "SYS_329" }, /* 329 */
367 { 5, 0, printargs, "SYS_330" }, /* 330 */
368 { 5, 0, printargs, "SYS_331" }, /* 331 */
369 { 5, 0, printargs, "SYS_332" }, /* 332 */
370 { 5, 0, printargs, "SYS_333" }, /* 333 */
371 { 5, 0, printargs, "SYS_334" }, /* 334 */
372 { 5, 0, printargs, "SYS_335" }, /* 335 */
373 { 5, 0, printargs, "SYS_336" }, /* 336 */
374 { 5, 0, printargs, "SYS_337" }, /* 337 */
375 { 5, 0, printargs, "SYS_338" }, /* 338 */
376 { 5, 0, printargs, "SYS_339" }, /* 339 */
377 { 5, 0, printargs, "SYS_340" }, /* 340 */
378 { 5, 0, printargs, "SYS_341" }, /* 341 */
379 { 5, 0, printargs, "SYS_342" }, /* 342 */
380 { 5, 0, printargs, "SYS_343" }, /* 343 */
381 { 5, 0, printargs, "SYS_344" }, /* 344 */
382 { 5, 0, printargs, "SYS_345" }, /* 345 */
383 { 5, 0, printargs, "SYS_346" }, /* 346 */
384 { 5, 0, printargs, "SYS_347" }, /* 347 */
385 { 5, 0, printargs, "SYS_348" }, /* 348 */
386 { 5, 0, printargs, "SYS_349" }, /* 349 */
387 { 5, 0, printargs, "SYS_350" }, /* 350 */
388 { 5, 0, printargs, "SYS_351" }, /* 351 */
389 { 5, 0, printargs, "SYS_352" }, /* 352 */
390 { 5, 0, printargs, "SYS_353" }, /* 353 */
391 { 5, 0, printargs, "SYS_354" }, /* 354 */
392 { 5, 0, printargs, "SYS_355" }, /* 355 */
393 { 5, 0, printargs, "SYS_356" }, /* 356 */
394 { 5, 0, printargs, "SYS_357" }, /* 357 */
395 { 5, 0, printargs, "SYS_358" }, /* 358 */
396 { 5, 0, printargs, "SYS_359" }, /* 359 */
397 { 5, 0, printargs, "SYS_360" }, /* 360 */
398 { 5, 0, printargs, "SYS_361" }, /* 361 */
399 { 5, 0, printargs, "SYS_362" }, /* 362 */
400 { 5, 0, printargs, "SYS_363" }, /* 363 */
401 { 5, 0, printargs, "SYS_364" }, /* 364 */
402 { 5, 0, printargs, "SYS_365" }, /* 365 */
403 { 5, 0, printargs, "SYS_366" }, /* 366 */
404 { 5, 0, printargs, "SYS_367" }, /* 367 */
405 { 5, 0, printargs, "SYS_368" }, /* 368 */
406 { 5, 0, printargs, "SYS_369" }, /* 369 */
407 { 5, 0, printargs, "SYS_370" }, /* 370 */
408 { 5, 0, printargs, "SYS_371" }, /* 371 */
409 { 5, 0, printargs, "SYS_372" }, /* 372 */
410 { 5, 0, printargs, "SYS_373" }, /* 373 */
411 { 5, 0, printargs, "SYS_374" }, /* 374 */
412 { 5, 0, printargs, "SYS_375" }, /* 375 */
413 { 5, 0, printargs, "SYS_376" }, /* 376 */
414 { 5, 0, printargs, "SYS_377" }, /* 377 */
415 { 5, 0, printargs, "SYS_378" }, /* 378 */
416 { 5, 0, printargs, "SYS_379" }, /* 379 */
417 { 5, 0, printargs, "SYS_380" }, /* 380 */
418 { 5, 0, printargs, "SYS_381" }, /* 381 */
419 { 5, 0, printargs, "SYS_382" }, /* 382 */
420 { 5, 0, printargs, "SYS_383" }, /* 383 */
421 { 5, 0, printargs, "SYS_384" }, /* 384 */
422 { 5, 0, printargs, "SYS_385" }, /* 385 */
423 { 5, 0, printargs, "SYS_386" }, /* 386 */
424 { 5, 0, printargs, "SYS_387" }, /* 387 */
425 { 5, 0, printargs, "SYS_388" }, /* 388 */
426 { 5, 0, printargs, "SYS_389" }, /* 389 */
427 { 5, 0, printargs, "SYS_390" }, /* 390 */
428 { 5, 0, printargs, "SYS_391" }, /* 391 */
429 { 5, 0, printargs, "SYS_392" }, /* 392 */
430 { 5, 0, printargs, "SYS_393" }, /* 393 */
431 { 5, 0, printargs, "SYS_394" }, /* 394 */
432 { 5, 0, printargs, "SYS_395" }, /* 395 */
433 { 5, 0, printargs, "SYS_396" }, /* 396 */
434 { 5, 0, printargs, "SYS_397" }, /* 397 */
435 { 5, 0, printargs, "SYS_398" }, /* 398 */
436 { 5, 0, printargs, "SYS_399" }, /* 399 */
437
438#if SYS_ipc_subcall != 400
439 #error fix me
440#endif
441 { 8, 0, printargs, "socket_subcall"}, /* 400 */
442 { 3, TN, sys_socket, "socket" }, /* 401 */
443 { 3, TN, sys_bind, "bind" }, /* 402 */
444 { 3, TN, sys_connect, "connect" }, /* 403 */
445 { 2, TN, sys_listen, "listen" }, /* 404 */
446 { 3, TN, sys_accept, "accept" }, /* 405 */
447 { 3, TN, sys_getsockname, "getsockname" }, /* 406 */
448 { 3, TN, sys_getpeername, "getpeername" }, /* 407 */
449 { 4, TN, sys_socketpair, "socketpair" }, /* 408 */
450 { 4, TN, sys_send, "send" }, /* 409 */
451 { 4, TN, sys_recv, "recv" }, /* 410 */
452 { 6, TN, sys_sendto, "sendto" }, /* 411 */
453 { 6, TN, sys_recvfrom, "recvfrom" }, /* 412 */
454 { 2, TN, sys_shutdown, "shutdown" }, /* 413 */
455 { 5, TN, sys_setsockopt, "setsockopt" }, /* 414 */
456 { 5, TN, sys_getsockopt, "getsockopt" }, /* 415 */
457 { 5, TN, sys_sendmsg, "sendmsg" }, /* 416 */
458 { 5, TN, sys_recvmsg, "recvmsg" }, /* 417 */
459
460#if SYS_ipc_subcall != 418
461 #error fix me
462#endif
463 { 4, 0, printargs, "ipc_subcall" }, /* 418 */