• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: syscallent.h,v 1.34 2005/06/07 23:21:24 roland Exp $
29  */
30 
31 	{ 0,	0,	sys_setup,		"setup"		}, /* 0 */
32 	{ 1,	TP,	sys_exit,		"_exit", SYS_exit }, /* 1 */
33 	{ 0,	TP,	sys_fork,		"fork", SYS_fork }, /* 2 */
34 	{ 3,	0,	sys_read,		"read", SYS_read }, /* 3 */
35 	{ 3,	0,	sys_write,		"write", SYS_write }, /* 4 */
36 	{ 3,	TF,	sys_open,		"open"		}, /* 5 */
37 	{ 1,	0,	sys_close,		"close"		}, /* 6 */
38 	{ 3,	TP,	sys_waitpid,		"waitpid", SYS_wait4 }, /* 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", SYS_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 */
47 #ifdef M68K
48 	{ 3,	TF,	sys_chown,		"chown"		}, /* 16 */
49 #else
50 	{ 3,	TF,	sys_chown,		"lchown"	}, /* 16 */
51 #endif
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 */
57 	{ 1,	TF,	sys_umount,		"oldumount"	}, /* 22 */
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 */
87 	{ 2,	TF,	sys_umount2,		"umount"	}, /* 52 */
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 */
111 	{ 2,	0,	sys_getrlimit,		"old_getrlimit"	}, /* 76 */
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 */
125 	{ 6,	0,	sys_old_mmap,		"old_mmap"	}, /* 90 */
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 #ifdef HAVE_ANDROID_OS
138 	{ 2,	0,	sys_socketcall,		"socketcall"}, /* 102 */
139 #else
140 	{ 2,	0,	sys_socketcall,		"socketcall", SYS_socketcall }, /* 102 */
141 #endif
142 	{ 3,	0,	sys_syslog,		"syslog"	}, /* 103 */
143 	{ 3,	0,	sys_setitimer,		"setitimer"	}, /* 104 */
144 	{ 2,	0,	sys_getitimer,		"getitimer"	}, /* 105 */
145 	{ 2,	TF,	sys_stat,		"stat"		}, /* 106 */
146 	{ 2,	TF,	sys_lstat,		"lstat"		}, /* 107 */
147 	{ 2,	0,	sys_fstat,		"fstat"		}, /* 108 */
148 	{ 1,	0,	sys_olduname,		"olduname"	}, /* 109 */
149 	{ 1,	0,	sys_iopl,		"iopl"		}, /* 110 */
150 	{ 0,	0,	sys_vhangup,		"vhangup"	}, /* 111 */
151 	{ 0,	0,	sys_idle,		"idle"		}, /* 112 */
152 	{ 1,	0,	sys_vm86old,		"vm86old"	}, /* 113 */
153 	{ 4,	TP,	sys_wait4,		"wait4", SYS_wait4 }, /* 114 */
154 	{ 1,	0,	sys_swapoff,		"swapoff"	}, /* 115 */
155 	{ 1,	0,	sys_sysinfo,		"sysinfo"	}, /* 116 */
156 #ifdef HAVE_ANDROID_OS
157 	{ 6,	0,	sys_ipc,		"ipc"}, /* 117 */
158 #else
159 	{ 6,	0,	sys_ipc,		"ipc", SYS_ipc }, /* 117 */
160 #endif
161 	{ 1,	0,	sys_fsync,		"fsync"		}, /* 118 */
162 	{ 1,	TS,	sys_sigreturn,		"sigreturn"	}, /* 119 */
163 	{ 5,	TP,	sys_clone,		"clone", SYS_clone }, /* 120 */
164 	{ 2,	0,	sys_setdomainname,	"setdomainname"	}, /* 121 */
165 	{ 1,	0,	sys_uname,		"uname"		}, /* 122 */
166 #ifdef M68K
167 	{ 4,	0,	sys_cacheflush,		"cacheflush"	}, /* 123 */
168 #else
169 	{ 3,	0,	sys_modify_ldt,		"modify_ldt"	}, /* 123 */
170 #endif
171 	{ 1,	0,	sys_adjtimex,		"adjtimex"	}, /* 124 */
172 	{ 3,	0,	sys_mprotect,		"mprotect"	}, /* 125 */
173 	{ 3,	TS,	sys_sigprocmask,	"sigprocmask"	}, /* 126 */
174 	{ 2,	0,	sys_create_module,	"create_module"	}, /* 127 */
175 	{ 2,	0,	sys_init_module,	"init_module"	}, /* 128 */
176 	{ 1,	0,	sys_delete_module,	"delete_module"	}, /* 129 */
177 	{ 1,	0,	sys_get_kernel_syms,	"get_kernel_syms"}, /* 130 */
178 	{ 4,	0,	sys_quotactl,		"quotactl"	}, /* 131 */
179 	{ 1,	0,	sys_getpgid,		"getpgid"	}, /* 132 */
180 	{ 1,	0,	sys_fchdir,		"fchdir"	}, /* 133 */
181 	{ 0,	0,	sys_bdflush,		"bdflush"	}, /* 134 */
182 	{ 3,	0,	sys_sysfs,		"sysfs", SYS_sysfs }, /* 135 */
183 	{ 1,	0,	sys_personality,	"personality"	}, /* 136 */
184 	{ 5,	0,	sys_afs_syscall,	"afs_syscall"	}, /* 137 */
185 	{ 1,	0,	sys_setfsuid,		"setfsuid"	}, /* 138 */
186 	{ 1,	0,	sys_setfsgid,		"setfsgid"	}, /* 139 */
187 	{ 5,	0,	sys_llseek,		"_llseek"	}, /* 140 */
188 	{ 3,	0,	sys_getdents,		"getdents"	}, /* 141 */
189 	{ 5,	0,	sys_select,		"select"	}, /* 142 */
190 	{ 2,	0,	sys_flock,		"flock"		}, /* 143 */
191 	{ 3,	0,	sys_msync,		"msync"		}, /* 144 */
192 	{ 3,	0,	sys_readv,		"readv", SYS_readv }, /* 145 */
193 	{ 3,	0,	sys_writev,		"writev", SYS_writev }, /* 146 */
194 	{ 1,	0,	sys_getsid,		"getsid"	}, /* 147 */
195 	{ 1,	0,	sys_fdatasync,		"fdatasync"	}, /* 148 */
196 	{ 1,	0,	sys_sysctl,		"_sysctl"	}, /* 149 */
197 	{ 2,	0,	sys_mlock,		"mlock"		}, /* 150 */
198 	{ 2,	0,	sys_munlock,		"munlock"	}, /* 151 */
199 	{ 2,	0,	sys_mlockall,		"mlockall"	}, /* 152 */
200 	{ 0,	0,	sys_munlockall,		"munlockall"	}, /* 153 */
201 	{ 0,	0,	sys_sched_setparam,	"sched_setparam"}, /* 154 */
202 	{ 2,	0,	sys_sched_getparam,	"sched_getparam"}, /* 155 */
203 	{ 3,	0,	sys_sched_setscheduler,	"sched_setscheduler"}, /* 156 */
204 	{ 1,	0,	sys_sched_getscheduler,	"sched_getscheduler"}, /* 157 */
205 	{ 0,	0,	sys_sched_yield,	"sched_yield"}, /* 158 */
206 	{ 1,	0,	sys_sched_get_priority_max,"sched_get_priority_max"}, /* 159 */
207 	{ 1,	0,	sys_sched_get_priority_min,"sched_get_priority_min"}, /* 160 */
208 	{ 2,	0,	sys_sched_rr_get_interval,"sched_rr_get_interval"}, /* 161 */
209 	{ 2,	0,	sys_nanosleep,		"nanosleep"	}, /* 162 */
210 	{ 4,	0,	sys_mremap,		"mremap"	}, /* 163 */
211 	{ 3,	0,	sys_setresuid,		"setresuid"	}, /* 164 */
212 	{ 3,	0,	sys_getresuid,		"getresuid"	}, /* 165 */
213 #ifdef M68K
214 	{ 5,	0,	printargs,		"SYS_166"	}, /* 166 */
215 #else
216 	{ 5,	0,	printargs,		"vm86"		}, /* 166 */
217 #endif
218 	{ 5,	0,	sys_query_module,	"query_module"	}, /* 167 */
219 	{ 3,	0,	sys_poll,		"poll"		}, /* 168 */
220 	{ 3,	0,	printargs,		"nfsservctl"	}, /* 169 */
221 	{ 3,	0,	sys_setresgid,		"setresgid"	}, /* 170 */
222 	{ 3,	0,	sys_getresgid,		"getresgid"	}, /* 171 */
223 	{ 5,	0,	printargs,		"prctl"		}, /* 172 */
224 	{ 1,	TS,	printargs,		"rt_sigreturn"	}, /* 173 */
225 	{ 4,	TS,	sys_rt_sigaction,	"rt_sigaction"  }, /* 174 */
226 	{ 4,	TS,	sys_rt_sigprocmask,	"rt_sigprocmask"}, /* 175 */
227 	{ 2,	TS,	sys_rt_sigpending,	"rt_sigpending"	}, /* 176 */
228 	{ 4,	TS,	sys_rt_sigtimedwait,	"rt_sigtimedwait"}, /* 177 */
229 	{ 3,	TS,	sys_rt_sigqueueinfo,    "rt_sigqueueinfo"}, /* 178 */
230 	{ 2,	TS,	sys_rt_sigsuspend,	"rt_sigsuspend"	}, /* 179 */
231 
232 	{ 5,	TF,	sys_pread,		"pread64", SYS_read }, /* 180 */
233 	{ 5,	TF,	sys_pwrite,		"pwrite64", SYS_write }, /* 181 */
234 #ifdef M68K
235 	{ 3,	TF,	sys_chown,		"lchown"	}, /* 182 */
236 #else
237 	{ 3,	TF,	sys_chown,		"chown"		}, /* 182 */
238 #endif
239 	{ 2,	TF,	sys_getcwd,		"getcwd"	}, /* 183 */
240 	{ 2,	0,	sys_capget,		"capget"	}, /* 184 */
241 	{ 2,	0,	sys_capset,		"capset"	}, /* 185 */
242 	{ 2,	TS,	sys_sigaltstack,	"sigaltstack"	}, /* 186 */
243 	{ 4,	TF,	sys_sendfile,		"sendfile"	}, /* 187 */
244 	{ 5,	0,	sys_getpmsg,		"getpmsg"	}, /* 188 */
245 	{ 5,	0,	sys_putpmsg,		"putpmsg"	}, /* 189 */
246 	{ 0,	TP,	sys_vfork,		"vfork", SYS_vfork }, /* 190 */
247 	{ 2,	0,	sys_getrlimit,		"getrlimit"	}, /* 191 */
248 	{ 6,	0,	sys_mmap,		"mmap2"		}, /* 192 */
249 	{ 3,	TF,	sys_truncate64,		"truncate64"	}, /* 193 */
250 	{ 3,	TF,	sys_ftruncate64,	"ftruncate64"	}, /* 194 */
251 	{ 2,	TF,	sys_stat64,		"stat64"	}, /* 195 */
252 	{ 2,	TF,	sys_lstat64,		"lstat64"	}, /* 196 */
253 	{ 2,	TF,	sys_fstat64,		"fstat64"	}, /* 197 */
254 	{ 3,	TF,	sys_chown,		"lchown32"	}, /* 198 */
255 	{ 0,	0,	sys_getuid,		"getuid32"	}, /* 199 */
256 
257 	{ 0,	0,	sys_getgid,		"getgid32"	}, /* 200 */
258 	{ 0,	0,	sys_geteuid,		"geteuid32"	}, /* 201 */
259 	{ 0,	0,	sys_geteuid,		"getegid32"	}, /* 202 */
260 	{ 2,	0,	sys_setreuid,		"setreuid32"	}, /* 203 */
261 	{ 2,	0,	sys_setregid,		"setregid32"	}, /* 204 */
262 	{ 2,	0,	sys_getgroups32,	"getgroups32"	}, /* 205 */
263 	{ 2,	0,	sys_setgroups32,	"setgroups32"	}, /* 206 */
264 	{ 3,	0,	sys_fchown,		"fchown32"	}, /* 207 */
265 	{ 3,	0,	sys_setresuid,		"setresuid32"	}, /* 208 */
266 	{ 3,	0,	sys_getresuid,		"getresuid32"	}, /* 209 */
267 	{ 3,	0,	sys_setresgid,		"setresgid32"	}, /* 210 */
268 	{ 3,	0,	sys_getresgid,		"getresgid32"	}, /* 211 */
269 	{ 3,	TF,	sys_chown,		"chown32"	}, /* 212 */
270 	{ 1,	0,	sys_setuid,		"setuid32"	}, /* 213 */
271 	{ 1,	0,	sys_setgid,		"setgid32"	}, /* 214 */
272 	{ 1,	0,	sys_setfsuid,		"setfsuid32"	}, /* 215 */
273 	{ 1,	0,	sys_setfsgid,		"setfsgid32"	}, /* 216 */
274 	{ 2,	TF,	sys_pivotroot,		"pivot_root"	}, /* 217 */
275 	{ 3,	0,	sys_mincore,		"mincore"	}, /* 218 */
276 	{ 3,	0,	sys_madvise,		"madvise"	}, /* 219 */
277 	{ 4,	0,	sys_getdents64,		"getdents64"	}, /* 220 */
278 	{ 3,	0,	sys_fcntl,		"fcntl64"	}, /* 221 */
279 	{ 4,	0,	printargs,		"SYS_222"	}, /* 222 */
280 /*TODO*/{ 5,	0,	printargs,		"security"	}, /* 223 */
281 	{ 0,	0,	printargs,		"gettid"	}, /* 224 */
282 	{ 4,	0,	sys_readahead,		"readahead"	}, /* 225 */
283 	{ 5,	TF,	sys_setxattr,		"setxattr"	}, /* 226 */
284 	{ 5,	TF,	sys_setxattr,		"lsetxattr"	}, /* 227 */
285 	{ 5,	0,	sys_fsetxattr,		"fsetxattr"	}, /* 228 */
286 	{ 4,	TF,	sys_getxattr,		"getxattr"	}, /* 229 */
287 	{ 4,	TF,	sys_getxattr,		"lgetxattr"	}, /* 230 */
288 	{ 4,	0,	sys_fgetxattr,		"fgetxattr"	}, /* 231 */
289 	{ 3,	TF,	sys_listxattr,		"listxattr"	}, /* 232 */
290 	{ 3,	TF,	sys_listxattr,		"llistxattr"	}, /* 233 */
291 	{ 3,	0,	sys_flistxattr,		"flistxattr"	}, /* 234 */
292 	{ 2,	TF,	sys_removexattr,	"removexattr"	}, /* 235 */
293 	{ 2,	TF,	sys_removexattr,	"lremovexattr"	}, /* 236 */
294 	{ 2,	0,	sys_fremovexattr,	"fremovexattr"	}, /* 237 */
295 	{ 2,	TS,	sys_kill,		"tkill"		}, /* 238 */
296 	{ 4,	TF,	sys_sendfile64,		"sendfile64"	}, /* 239 */
297 	{ 5,	0,	sys_futex,		"futex"		}, /* 240 */
298 	{ 3,	0,	sys_sched_setaffinity,	"sched_setaffinity" },/* 241 */
299 	{ 3,	0,	sys_sched_getaffinity,	"sched_getaffinity" },/* 242 */
300 	{ 1,	0,	sys_set_thread_area,	"set_thread_area" }, /* 243 */
301 	{ 1,	0,	sys_get_thread_area,	"get_thread_area" }, /* 244 */
302 	{ 2,	0,	sys_io_setup,		"io_setup"	}, /* 245 */
303 	{ 1,	0,	sys_io_destroy,		"io_destroy"	}, /* 246 */
304 	{ 5,	0,	sys_io_getevents,	"io_getevents"	}, /* 247 */
305 	{ 3,	0,	sys_io_submit,		"io_submit"	}, /* 248 */
306 	{ 3,	0,	sys_io_cancel,		"io_cancel"	}, /* 249 */
307 	{ 5,	TF,	sys_fadvise64,		"fadvise64"	}, /* 250 */
308 	{ 5,	0,	printargs,		"SYS_251"	}, /* 251 */
309 	{ 1,	TP,	sys_exit,		"exit_group", __NR_exit_group }, /* 252 */
310 	{ 4,	0,	printargs,		"lookup_dcookie"}, /* 253 */
311 	{ 1,	0,	sys_epoll_create,	"epoll_create"	}, /* 254 */
312 	{ 4,	0,	sys_epoll_ctl,		"epoll_ctl"	}, /* 255 */
313 	{ 4,	0,	sys_epoll_wait,		"epoll_wait"	}, /* 256 */
314 	{ 5,	0,	sys_remap_file_pages,	"remap_file_pages"}, /* 257 */
315 	{ 1,	0,	printargs,		"set_tid_address"}, /* 258 */
316 	{ 3,	0,	sys_timer_create,	"timer_create"	}, /* 259 */
317 	{ 4,	0,	sys_timer_settime,	"timer_settime"	}, /* 260 */
318 	{ 2,	0,	sys_timer_gettime,	"timer_gettime"	}, /* 261 */
319 	{ 1,	0,	sys_timer_getoverrun,	"timer_getoverrun"}, /* 262 */
320 	{ 1,	0,	sys_timer_delete,	"timer_delete"	}, /* 263 */
321 	{ 2,	0,	sys_clock_settime,	"clock_settime"	}, /* 264 */
322 	{ 2,	0,	sys_clock_gettime,	"clock_gettime"	}, /* 265 */
323 	{ 2,	0,	sys_clock_getres,	"clock_getres"	}, /* 266 */
324 	{ 4,	0,	sys_clock_nanosleep,	"clock_nanosleep"}, /* 267 */
325 	{ 3,	TF,	sys_statfs64,		"statfs64"	}, /* 268 */
326 	{ 3,	TF,	sys_fstatfs64,		"fstatfs64"	}, /* 269 */
327 	{ 3,	TS,	sys_tgkill,		"tgkill"	}, /* 270 */
328 	{ 2,	TF,	sys_utimes,		"utimes"	}, /* 271 */
329 	{ 6,	TF,	sys_fadvise64_64,	"fadvise64_64"	}, /* 272 */
330 	{ 5,	0,	printargs,		"vserver"	}, /* 273 */
331 	{ 6,	0,	sys_mbind,		"mbind"		}, /* 274 */
332 	{ 5,	0,	sys_get_mempolicy,	"get_mempolicy"	}, /* 275 */
333 	{ 3,	0,	sys_set_mempolicy,	"set_mempolicy"	}, /* 276 */
334 	{ 4,	0,	sys_mq_open,		"mq_open"	}, /* 277 */
335 	{ 1,	0,	sys_mq_unlink,		"mq_unlink"	}, /* 278 */
336 	{ 5,	0,	sys_mq_timedsend,	"mq_timedsend"	}, /* 279 */
337 	{ 5,	0,	sys_mq_timedreceive,	"mq_timedreceive" }, /* 280 */
338 	{ 2,	0,	sys_mq_notify,		"mq_notify"	}, /* 281 */
339 	{ 3,	0,	sys_mq_getsetattr,	"mq_getsetattr"	}, /* 282 */
340 	{ 5,	0,	printargs,		"sys_kexec_load" }, /* 283 */
341 	{ 5,	TP,	sys_waitid,		"waitid", SYS_waitid }, /* 284 */
342 	{ 5,	0,	printargs,		"SYS_285"	}, /* 285 */
343 	{ 5,	0,	printargs,		"SYS_286"	}, /* 286 */
344 	{ 5,	0,	printargs,		"SYS_287"	}, /* 287 */
345 	{ 5,	0,	printargs,		"SYS_288"	}, /* 288 */
346 	{ 5,	0,	printargs,		"SYS_289"	}, /* 289 */
347 	{ 5,	0,	printargs,		"SYS_290"	}, /* 290 */
348 	{ 5,	0,	printargs,		"SYS_291"	}, /* 291 */
349 	{ 5,	0,	printargs,		"SYS_292"	}, /* 292 */
350 	{ 5,	0,	printargs,		"SYS_293"	}, /* 293 */
351 	{ 5,	0,	printargs,		"SYS_294"	}, /* 294 */
352 	{ 5,	0,	printargs,		"SYS_295"	}, /* 295 */
353 	{ 5,	0,	printargs,		"SYS_296"	}, /* 296 */
354 	{ 5,	0,	printargs,		"SYS_297"	}, /* 297 */
355 	{ 5,	0,	printargs,		"SYS_298"	}, /* 298 */
356 	{ 5,	0,	printargs,		"SYS_299"	}, /* 299 */
357 
358 #if SYS_socket_subcall != 300
359  #error fix me
360 #endif
361 	{ 8,	0,	printargs,		"socket_subcall"}, /* 300 */
362 	{ 3,	TN,	sys_socket,		"socket"	}, /* 301 */
363 	{ 3,	TN,	sys_bind,		"bind"		}, /* 302 */
364 	{ 3,	TN,	sys_connect,		"connect"	}, /* 303 */
365 	{ 2,	TN,	sys_listen,		"listen"	}, /* 304 */
366 	{ 3,	TN,	sys_accept,		"accept"	}, /* 305 */
367 	{ 3,	TN,	sys_getsockname,	"getsockname"	}, /* 306 */
368 	{ 3,	TN,	sys_getpeername,	"getpeername"	}, /* 307 */
369 	{ 4,	TN,	sys_socketpair,		"socketpair"	}, /* 308 */
370 	{ 4,	TN,	sys_send,		"send", SYS_sub_send }, /* 309 */
371 	{ 4,	TN,	sys_recv,		"recv", SYS_sub_recv }, /* 310 */
372 	{ 6,	TN,	sys_sendto,		"sendto", SYS_sub_sendto }, /* 311 */
373 	{ 6,	TN,	sys_recvfrom,		"recvfrom", SYS_sub_recvfrom }, /* 312 */
374 	{ 2,	TN,	sys_shutdown,		"shutdown"	}, /* 313 */
375 	{ 5,	TN,	sys_setsockopt,		"setsockopt"	}, /* 314 */
376 	{ 5,	TN,	sys_getsockopt,		"getsockopt"	}, /* 315 */
377 	{ 5,	TN,	sys_sendmsg,		"sendmsg"	}, /* 316 */
378 	{ 5,	TN,	sys_recvmsg,		"recvmsg"	}, /* 317 */
379 
380 #if SYS_ipc_subcall != 318
381  #error fix me
382 #endif
383 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 318 */
384 	{ 4,	TI,	sys_semop,		"semop"		}, /* 319 */
385 	{ 4,	TI,	sys_semget,		"semget"	}, /* 320 */
386 	{ 4,	TI,	sys_semctl,		"semctl"	}, /* 321 */
387 	{ 5,	TI,	sys_semtimedop,		"semtimedop"	}, /* 322 */
388 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 323 */
389 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 324 */
390 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 325 */
391 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 326 */
392 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 327 */
393 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 328 */
394 	{ 4,	TI,	sys_msgsnd,		"msgsnd"	}, /* 329 */
395 	{ 4,	TI,	sys_msgrcv,		"msgrcv"	}, /* 330 */
396 	{ 4,	TI,	sys_msgget,		"msgget"	}, /* 331 */
397 	{ 4,	TI,	sys_msgctl,		"msgctl"	}, /* 332 */
398 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 333 */
399 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 334 */
400 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 335 */
401 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 336 */
402 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 337 */
403 	{ 4,	0,	printargs,		"ipc_subcall"	}, /* 338 */
404 	{ 4,	TI,	sys_shmat,		"shmat"		}, /* 339 */
405 	{ 4,	TI,	sys_shmdt,		"shmdt"		}, /* 340 */
406 	{ 4,	TI,	sys_shmget,		"shmget"	}, /* 341 */
407 	{ 4,	TI,	sys_shmctl,		"shmctl"	}, /* 342 */
408