linux_sysent.c revision 1.14 1 /* $NetBSD: linux_sysent.c,v 1.14 2003/06/23 21:26:42 christos Exp $ */
2
3 /*
4 * System call switch table.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.11 2003/06/23 21:25:58 christos Exp
8 */
9
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.14 2003/06/23 21:26:42 christos Exp $");
12
13 #if defined(_KERNEL_OPT)
14 #include "opt_compat_netbsd.h"
15 #include "opt_compat_43.h"
16 #endif
17 #include <sys/param.h>
18 #include <sys/poll.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/mount.h>
22 #include <sys/sa.h>
23 #include <sys/syscallargs.h>
24 #include <compat/linux/common/linux_types.h>
25 #include <compat/linux/common/linux_signal.h>
26 #include <compat/linux/common/linux_siginfo.h>
27 #include <compat/linux/common/linux_machdep.h>
28 #include <compat/linux/common/linux_mmap.h>
29 #include <compat/linux/common/linux_socketcall.h>
30 #include <compat/linux/linux_syscallargs.h>
31
32 #define s(type) sizeof(type)
33
34 struct sysent linux_sysent[] = {
35 { 0, 0, 0,
36 linux_sys_nosys }, /* 0 = syscall */
37 { 1, s(struct sys_exit_args), 0,
38 sys_exit }, /* 1 = exit */
39 { 0, 0, 0,
40 sys_fork }, /* 2 = fork */
41 { 3, s(struct sys_read_args), 0,
42 sys_read }, /* 3 = read */
43 { 3, s(struct sys_write_args), 0,
44 sys_write }, /* 4 = write */
45 { 3, s(struct linux_sys_open_args), 0,
46 linux_sys_open }, /* 5 = open */
47 { 1, s(struct sys_close_args), 0,
48 sys_close }, /* 6 = close */
49 { 3, s(struct linux_sys_waitpid_args), 0,
50 linux_sys_waitpid }, /* 7 = waitpid */
51 { 2, s(struct linux_sys_creat_args), 0,
52 linux_sys_creat }, /* 8 = creat */
53 { 2, s(struct linux_sys_link_args), 0,
54 linux_sys_link }, /* 9 = link */
55 { 1, s(struct linux_sys_unlink_args), 0,
56 linux_sys_unlink }, /* 10 = unlink */
57 { 3, s(struct linux_sys_execve_args), 0,
58 linux_sys_execve }, /* 11 = execve */
59 { 1, s(struct linux_sys_chdir_args), 0,
60 linux_sys_chdir }, /* 12 = chdir */
61 { 1, s(struct linux_sys_time_args), 0,
62 linux_sys_time }, /* 13 = time */
63 { 3, s(struct linux_sys_mknod_args), 0,
64 linux_sys_mknod }, /* 14 = mknod */
65 { 2, s(struct linux_sys_chmod_args), 0,
66 linux_sys_chmod }, /* 15 = chmod */
67 { 3, s(struct linux_sys_lchown_args), 0,
68 linux_sys_lchown }, /* 16 = lchown */
69 { 0, 0, 0,
70 linux_sys_nosys }, /* 17 = unimplemented */
71 { 0, 0, 0,
72 linux_sys_nosys }, /* 18 = obsolete ostat */
73 { 3, s(struct compat_43_sys_lseek_args), 0,
74 compat_43_sys_lseek }, /* 19 = lseek */
75 { 0, 0, SYCALL_MPSAFE | 0,
76 sys_getpid }, /* 20 = getpid */
77 { 0, 0, 0,
78 linux_sys_nosys }, /* 21 = unimplemented mount */
79 { 0, 0, 0,
80 linux_sys_nosys }, /* 22 = obsolete umount */
81 { 1, s(struct sys_setuid_args), 0,
82 sys_setuid }, /* 23 = setuid */
83 { 0, 0, 0,
84 sys_getuid }, /* 24 = getuid */
85 { 1, s(struct linux_sys_stime_args), 0,
86 linux_sys_stime }, /* 25 = stime */
87 { 4, s(struct linux_sys_ptrace_args), 0,
88 linux_sys_ptrace }, /* 26 = ptrace */
89 { 1, s(struct linux_sys_alarm_args), 0,
90 linux_sys_alarm }, /* 27 = alarm */
91 { 0, 0, 0,
92 linux_sys_nosys }, /* 28 = obsolete ofstat */
93 { 0, 0, 0,
94 linux_sys_pause }, /* 29 = pause */
95 { 2, s(struct linux_sys_utime_args), 0,
96 linux_sys_utime }, /* 30 = utime */
97 { 0, 0, 0,
98 linux_sys_nosys }, /* 31 = unimplemented */
99 { 0, 0, 0,
100 linux_sys_nosys }, /* 32 = unimplemented */
101 { 2, s(struct linux_sys_access_args), 0,
102 linux_sys_access }, /* 33 = access */
103 { 1, s(struct linux_sys_nice_args), 0,
104 linux_sys_nice }, /* 34 = nice */
105 { 0, 0, 0,
106 linux_sys_nosys }, /* 35 = unimplemented */
107 { 0, 0, 0,
108 sys_sync }, /* 36 = sync */
109 { 2, s(struct linux_sys_kill_args), 0,
110 linux_sys_kill }, /* 37 = kill */
111 { 2, s(struct linux_sys_rename_args), 0,
112 linux_sys_rename }, /* 38 = rename */
113 { 2, s(struct linux_sys_mkdir_args), 0,
114 linux_sys_mkdir }, /* 39 = mkdir */
115 { 1, s(struct linux_sys_rmdir_args), 0,
116 linux_sys_rmdir }, /* 40 = rmdir */
117 { 1, s(struct sys_dup_args), 0,
118 sys_dup }, /* 41 = dup */
119 { 1, s(struct linux_sys_pipe_args), 0,
120 linux_sys_pipe }, /* 42 = pipe */
121 { 1, s(struct linux_sys_times_args), 0,
122 linux_sys_times }, /* 43 = times */
123 { 0, 0, 0,
124 linux_sys_nosys }, /* 44 = unimplemented */
125 { 1, s(struct linux_sys_brk_args), 0,
126 linux_sys_brk }, /* 45 = brk */
127 { 1, s(struct sys_setgid_args), 0,
128 sys_setgid }, /* 46 = setgid */
129 { 0, 0, 0,
130 sys_getgid }, /* 47 = getgid */
131 { 2, s(struct linux_sys_signal_args), 0,
132 linux_sys_signal }, /* 48 = signal */
133 { 0, 0, 0,
134 sys_geteuid }, /* 49 = geteuid */
135 { 0, 0, 0,
136 sys_getegid }, /* 50 = getegid */
137 { 1, s(struct sys_acct_args), 0,
138 sys_acct }, /* 51 = acct */
139 { 0, 0, 0,
140 linux_sys_nosys }, /* 52 = unimplemented umount */
141 { 0, 0, 0,
142 linux_sys_nosys }, /* 53 = unimplemented */
143 { 3, s(struct linux_sys_ioctl_args), 0,
144 linux_sys_ioctl }, /* 54 = ioctl */
145 { 3, s(struct linux_sys_fcntl_args), 0,
146 linux_sys_fcntl }, /* 55 = fcntl */
147 { 0, 0, 0,
148 linux_sys_nosys }, /* 56 = obsolete mpx */
149 { 2, s(struct sys_setpgid_args), 0,
150 sys_setpgid }, /* 57 = setpgid */
151 { 0, 0, 0,
152 linux_sys_nosys }, /* 58 = unimplemented */
153 { 1, s(struct linux_sys_olduname_args), 0,
154 linux_sys_olduname }, /* 59 = olduname */
155 { 1, s(struct sys_umask_args), 0,
156 sys_umask }, /* 60 = umask */
157 { 1, s(struct sys_chroot_args), 0,
158 sys_chroot }, /* 61 = chroot */
159 { 0, 0, 0,
160 linux_sys_nosys }, /* 62 = unimplemented ustat */
161 { 2, s(struct sys_dup2_args), 0,
162 sys_dup2 }, /* 63 = dup2 */
163 { 0, 0, 0,
164 sys_getppid }, /* 64 = getppid */
165 { 0, 0, 0,
166 sys_getpgrp }, /* 65 = getpgrp */
167 { 0, 0, 0,
168 sys_setsid }, /* 66 = setsid */
169 { 3, s(struct linux_sys_sigaction_args), 0,
170 linux_sys_sigaction }, /* 67 = sigaction */
171 { 0, 0, 0,
172 linux_sys_siggetmask }, /* 68 = siggetmask */
173 { 1, s(struct linux_sys_sigsetmask_args), 0,
174 linux_sys_sigsetmask }, /* 69 = sigsetmask */
175 { 2, s(struct sys_setreuid_args), 0,
176 sys_setreuid }, /* 70 = setreuid */
177 { 2, s(struct sys_setregid_args), 0,
178 sys_setregid }, /* 71 = setregid */
179 { 3, s(struct linux_sys_sigsuspend_args), 0,
180 linux_sys_sigsuspend }, /* 72 = sigsuspend */
181 { 1, s(struct linux_sys_sigpending_args), 0,
182 linux_sys_sigpending }, /* 73 = sigpending */
183 { 2, s(struct compat_43_sys_sethostname_args), 0,
184 compat_43_sys_sethostname }, /* 74 = sethostname */
185 { 2, s(struct linux_sys_setrlimit_args), 0,
186 linux_sys_setrlimit }, /* 75 = setrlimit */
187 { 2, s(struct linux_sys_getrlimit_args), 0,
188 linux_sys_getrlimit }, /* 76 = getrlimit */
189 { 2, s(struct sys_getrusage_args), 0,
190 sys_getrusage }, /* 77 = getrusage */
191 { 2, s(struct linux_sys_gettimeofday_args), 0,
192 linux_sys_gettimeofday }, /* 78 = gettimeofday */
193 { 2, s(struct linux_sys_settimeofday_args), 0,
194 linux_sys_settimeofday }, /* 79 = settimeofday */
195 { 2, s(struct sys_getgroups_args), 0,
196 sys_getgroups }, /* 80 = getgroups */
197 { 2, s(struct sys_setgroups_args), 0,
198 sys_setgroups }, /* 81 = setgroups */
199 { 0, 0, 0,
200 linux_sys_nosys }, /* 82 = unimplemented old_select */
201 { 2, s(struct linux_sys_symlink_args), 0,
202 linux_sys_symlink }, /* 83 = symlink */
203 { 2, s(struct compat_43_sys_lstat_args), 0,
204 compat_43_sys_lstat }, /* 84 = oolstat */
205 { 3, s(struct linux_sys_readlink_args), 0,
206 linux_sys_readlink }, /* 85 = readlink */
207 { 0, 0, 0,
208 linux_sys_nosys }, /* 86 = unimplemented uselib */
209 { 1, s(struct linux_sys_swapon_args), 0,
210 linux_sys_swapon }, /* 87 = swapon */
211 { 4, s(struct linux_sys_reboot_args), 0,
212 linux_sys_reboot }, /* 88 = reboot */
213 { 3, s(struct linux_sys_readdir_args), 0,
214 linux_sys_readdir }, /* 89 = readdir */
215 { 6, s(struct linux_sys_mmap_args), 0,
216 linux_sys_mmap }, /* 90 = mmap */
217 { 2, s(struct sys_munmap_args), 0,
218 sys_munmap }, /* 91 = munmap */
219 { 2, s(struct linux_sys_truncate_args), 0,
220 linux_sys_truncate }, /* 92 = truncate */
221 { 2, s(struct compat_43_sys_ftruncate_args), 0,
222 compat_43_sys_ftruncate }, /* 93 = ftruncate */
223 { 2, s(struct sys_fchmod_args), 0,
224 sys_fchmod }, /* 94 = fchmod */
225 { 3, s(struct sys___posix_fchown_args), 0,
226 sys___posix_fchown }, /* 95 = __posix_fchown */
227 { 2, s(struct sys_getpriority_args), 0,
228 sys_getpriority }, /* 96 = getpriority */
229 { 3, s(struct sys_setpriority_args), 0,
230 sys_setpriority }, /* 97 = setpriority */
231 { 0, 0, 0,
232 linux_sys_nosys }, /* 98 = unimplemented */
233 { 2, s(struct linux_sys_statfs_args), 0,
234 linux_sys_statfs }, /* 99 = statfs */
235 { 2, s(struct linux_sys_fstatfs_args), 0,
236 linux_sys_fstatfs }, /* 100 = fstatfs */
237 { 3, s(struct linux_sys_ioperm_args), 0,
238 linux_sys_ioperm }, /* 101 = ioperm */
239 { 2, s(struct linux_sys_socketcall_args), 0,
240 linux_sys_socketcall }, /* 102 = socketcall */
241 { 0, 0, 0,
242 linux_sys_nosys }, /* 103 = unimplemented syslog */
243 { 3, s(struct sys_setitimer_args), 0,
244 sys_setitimer }, /* 104 = setitimer */
245 { 2, s(struct sys_getitimer_args), 0,
246 sys_getitimer }, /* 105 = getitimer */
247 { 2, s(struct linux_sys_stat_args), 0,
248 linux_sys_stat }, /* 106 = stat */
249 { 2, s(struct linux_sys_lstat_args), 0,
250 linux_sys_lstat }, /* 107 = lstat */
251 { 2, s(struct linux_sys_fstat_args), 0,
252 linux_sys_fstat }, /* 108 = fstat */
253 { 1, s(struct linux_sys_uname_args), 0,
254 linux_sys_uname }, /* 109 = uname */
255 { 0, 0, 0,
256 linux_sys_nosys }, /* 110 = unimplemented iopl */
257 { 0, 0, 0,
258 linux_sys_nosys }, /* 111 = unimplemented vhangup */
259 { 0, 0, 0,
260 linux_sys_nosys }, /* 112 = unimplemented idle */
261 { 0, 0, 0,
262 linux_sys_nosys }, /* 113 = unimplemented vm86old */
263 { 4, s(struct linux_sys_wait4_args), 0,
264 linux_sys_wait4 }, /* 114 = wait4 */
265 { 1, s(struct linux_sys_swapoff_args), 0,
266 linux_sys_swapoff }, /* 115 = swapoff */
267 { 1, s(struct linux_sys_sysinfo_args), 0,
268 linux_sys_sysinfo }, /* 116 = sysinfo */
269 { 5, s(struct linux_sys_ipc_args), 0,
270 linux_sys_ipc }, /* 117 = ipc */
271 { 1, s(struct sys_fsync_args), 0,
272 sys_fsync }, /* 118 = fsync */
273 { 1, s(struct linux_sys_sigreturn_args), 0,
274 linux_sys_sigreturn }, /* 119 = sigreturn */
275 { 2, s(struct linux_sys_clone_args), 0,
276 linux_sys_clone }, /* 120 = clone */
277 { 2, s(struct linux_sys_setdomainname_args), 0,
278 linux_sys_setdomainname }, /* 121 = setdomainname */
279 { 1, s(struct linux_sys_new_uname_args), 0,
280 linux_sys_new_uname }, /* 122 = new_uname */
281 { 0, 0, 0,
282 linux_sys_nosys }, /* 123 = unimplemented modify_ldt */
283 { 0, 0, 0,
284 linux_sys_nosys }, /* 124 = unimplemented adjtimex */
285 { 3, s(struct linux_sys_mprotect_args), 0,
286 linux_sys_mprotect }, /* 125 = mprotect */
287 { 3, s(struct linux_sys_sigprocmask_args), 0,
288 linux_sys_sigprocmask }, /* 126 = sigprocmask */
289 { 0, 0, 0,
290 linux_sys_nosys }, /* 127 = unimplemented create_module */
291 { 0, 0, 0,
292 linux_sys_nosys }, /* 128 = unimplemented init_module */
293 { 0, 0, 0,
294 linux_sys_nosys }, /* 129 = unimplemented delete_module */
295 { 0, 0, 0,
296 linux_sys_nosys }, /* 130 = unimplemented get_kernel_syms */
297 { 0, 0, 0,
298 linux_sys_nosys }, /* 131 = unimplemented quotactl */
299 { 1, s(struct linux_sys_getpgid_args), 0,
300 linux_sys_getpgid }, /* 132 = getpgid */
301 { 1, s(struct sys_fchdir_args), 0,
302 sys_fchdir }, /* 133 = fchdir */
303 { 0, 0, 0,
304 linux_sys_nosys }, /* 134 = unimplemented bdflush */
305 { 0, 0, 0,
306 linux_sys_nosys }, /* 135 = unimplemented sysfs */
307 { 1, s(struct linux_sys_personality_args), 0,
308 linux_sys_personality }, /* 136 = personality */
309 { 0, 0, 0,
310 linux_sys_nosys }, /* 137 = unimplemented afs_syscall */
311 { 1, s(struct linux_sys_setfsuid_args), 0,
312 linux_sys_setfsuid }, /* 138 = setfsuid */
313 { 0, 0, 0,
314 linux_sys_getfsuid }, /* 139 = getfsuid */
315 { 5, s(struct linux_sys_llseek_args), 0,
316 linux_sys_llseek }, /* 140 = llseek */
317 { 3, s(struct linux_sys_getdents_args), 0,
318 linux_sys_getdents }, /* 141 = getdents */
319 { 5, s(struct linux_sys_select_args), 0,
320 linux_sys_select }, /* 142 = select */
321 { 2, s(struct sys_flock_args), 0,
322 sys_flock }, /* 143 = flock */
323 { 3, s(struct linux_sys_msync_args), 0,
324 linux_sys_msync }, /* 144 = msync */
325 { 3, s(struct sys_readv_args), 0,
326 sys_readv }, /* 145 = readv */
327 { 3, s(struct sys_writev_args), 0,
328 sys_writev }, /* 146 = writev */
329 { 3, s(struct linux_sys_cacheflush_args), 0,
330 linux_sys_cacheflush }, /* 147 = cacheflush */
331 { 0, 0, 0,
332 linux_sys_nosys }, /* 148 = unimplemented cachectl */
333 { 4, s(struct linux_sys_sysmips_args), 0,
334 linux_sys_sysmips }, /* 149 = sysmips */
335 { 0, 0, 0,
336 linux_sys_nosys }, /* 150 = unimplemented */
337 { 1, s(struct sys_getsid_args), 0,
338 sys_getsid }, /* 151 = getsid */
339 { 1, s(struct linux_sys_fdatasync_args), 0,
340 linux_sys_fdatasync }, /* 152 = fdatasync */
341 { 1, s(struct linux_sys___sysctl_args), 0,
342 linux_sys___sysctl }, /* 153 = __sysctl */
343 { 2, s(struct sys_mlock_args), 0,
344 sys_mlock }, /* 154 = mlock */
345 { 2, s(struct sys_munlock_args), 0,
346 sys_munlock }, /* 155 = munlock */
347 { 1, s(struct sys_mlockall_args), 0,
348 sys_mlockall }, /* 156 = mlockall */
349 { 0, 0, 0,
350 sys_munlockall }, /* 157 = munlockall */
351 { 2, s(struct linux_sys_sched_setparam_args), 0,
352 linux_sys_sched_setparam }, /* 158 = sched_setparam */
353 { 2, s(struct linux_sys_sched_getparam_args), 0,
354 linux_sys_sched_getparam }, /* 159 = sched_getparam */
355 { 3, s(struct linux_sys_sched_setscheduler_args), 0,
356 linux_sys_sched_setscheduler }, /* 160 = sched_setscheduler */
357 { 1, s(struct linux_sys_sched_getscheduler_args), 0,
358 linux_sys_sched_getscheduler }, /* 161 = sched_getscheduler */
359 { 0, 0, 0,
360 linux_sys_sched_yield }, /* 162 = sched_yield */
361 { 1, s(struct linux_sys_sched_get_priority_max_args), 0,
362 linux_sys_sched_get_priority_max }, /* 163 = sched_get_priority_max */
363 { 1, s(struct linux_sys_sched_get_priority_min_args), 0,
364 linux_sys_sched_get_priority_min }, /* 164 = sched_get_priority_min */
365 { 0, 0, 0,
366 linux_sys_nosys }, /* 165 = unimplemented sched_rr_get_interval */
367 { 2, s(struct sys_nanosleep_args), 0,
368 sys_nanosleep }, /* 166 = nanosleep */
369 { 4, s(struct linux_sys_mremap_args), 0,
370 linux_sys_mremap }, /* 167 = mremap */
371 { 3, s(struct linux_sys_accept_args), 0,
372 linux_sys_accept }, /* 168 = accept */
373 { 3, s(struct linux_sys_bind_args), 0,
374 linux_sys_bind }, /* 169 = bind */
375 { 3, s(struct linux_sys_connect_args), 0,
376 linux_sys_connect }, /* 170 = connect */
377 { 3, s(struct linux_sys_getpeername_args), 0,
378 linux_sys_getpeername }, /* 171 = getpeername */
379 { 3, s(struct linux_sys_getsockname_args), 0,
380 linux_sys_getsockname }, /* 172 = getsockname */
381 { 5, s(struct linux_sys_getsockopt_args), 0,
382 linux_sys_getsockopt }, /* 173 = getsockopt */
383 { 2, s(struct sys_listen_args), 0,
384 sys_listen }, /* 174 = listen */
385 { 4, s(struct linux_sys_recv_args), 0,
386 linux_sys_recv }, /* 175 = recv */
387 { 6, s(struct linux_sys_recvfrom_args), 0,
388 linux_sys_recvfrom }, /* 176 = recvfrom */
389 { 3, s(struct linux_sys_recvmsg_args), 0,
390 linux_sys_recvmsg }, /* 177 = recvmsg */
391 { 4, s(struct linux_sys_send_args), 0,
392 linux_sys_send }, /* 178 = send */
393 { 3, s(struct linux_sys_sendmsg_args), 0,
394 linux_sys_sendmsg }, /* 179 = sendmsg */
395 { 6, s(struct linux_sys_sendto_args), 0,
396 linux_sys_sendto }, /* 180 = sendto */
397 { 5, s(struct linux_sys_setsockopt_args), 0,
398 linux_sys_setsockopt }, /* 181 = setsockopt */
399 { 0, 0, 0,
400 linux_sys_nosys }, /* 182 = unimplemented shutdown */
401 { 3, s(struct linux_sys_socket_args), 0,
402 linux_sys_socket }, /* 183 = socket */
403 { 4, s(struct linux_sys_socketpair_args), 0,
404 linux_sys_socketpair }, /* 184 = socketpair */
405 { 3, s(struct linux_sys_setresuid_args), 0,
406 linux_sys_setresuid }, /* 185 = setresuid */
407 { 3, s(struct linux_sys_getresuid_args), 0,
408 linux_sys_getresuid }, /* 186 = getresuid */
409 { 0, 0, 0,
410 linux_sys_nosys }, /* 187 = unimplemented query_module */
411 { 3, s(struct sys_poll_args), 0,
412 sys_poll }, /* 188 = poll */
413 { 0, 0, 0,
414 linux_sys_nosys }, /* 189 = unimplemented nfsservctl */
415 { 3, s(struct linux_sys_setresgid_args), 0,
416 linux_sys_setresgid }, /* 190 = setresgid */
417 { 3, s(struct linux_sys_getresgid_args), 0,
418 linux_sys_getresgid }, /* 191 = getresgid */
419 { 0, 0, 0,
420 linux_sys_nosys }, /* 192 = unimplemented prctl */
421 { 1, s(struct linux_sys_rt_sigreturn_args), 0,
422 linux_sys_rt_sigreturn }, /* 193 = rt_sigreturn */
423 { 4, s(struct linux_sys_rt_sigaction_args), 0,
424 linux_sys_rt_sigaction }, /* 194 = rt_sigaction */
425 { 4, s(struct linux_sys_rt_sigprocmask_args), 0,
426 linux_sys_rt_sigprocmask }, /* 195 = rt_sigprocmask */
427 { 2, s(struct linux_sys_rt_sigpending_args), 0,
428 linux_sys_rt_sigpending }, /* 196 = rt_sigpending */
429 { 0, 0, 0,
430 linux_sys_nosys }, /* 197 = unimplemented rt_sigtimedwait */
431 { 3, s(struct linux_sys_rt_queueinfo_args), 0,
432 linux_sys_rt_queueinfo }, /* 198 = rt_queueinfo */
433 { 2, s(struct linux_sys_rt_sigsuspend_args), 0,
434 linux_sys_rt_sigsuspend }, /* 199 = rt_sigsuspend */
435 { 4, s(struct linux_sys_pread_args), 0,
436 linux_sys_pread }, /* 200 = pread */
437 { 4, s(struct linux_sys_pwrite_args), 0,
438 linux_sys_pwrite }, /* 201 = pwrite */
439 { 3, s(struct linux_sys_chown_args), 0,
440 linux_sys_chown }, /* 202 = chown */
441 { 2, s(struct sys___getcwd_args), 0,
442 sys___getcwd }, /* 203 = __getcwd */
443 { 0, 0, 0,
444 linux_sys_nosys }, /* 204 = unimplemented capget */
445 { 0, 0, 0,
446 linux_sys_nosys }, /* 205 = unimplemented capset */
447 { 2, s(struct linux_sys_sigaltstack_args), 0,
448 linux_sys_sigaltstack }, /* 206 = sigaltstack */
449 { 0, 0, 0,
450 linux_sys_nosys }, /* 207 = unimplemented sendfile */
451 { 0, 0, 0,
452 linux_sys_nosys }, /* 208 = unimplemented */
453 { 0, 0, 0,
454 linux_sys_nosys }, /* 209 = unimplemented */
455 { 6, s(struct linux_sys_mmap2_args), 0,
456 linux_sys_mmap2 }, /* 210 = mmap2 */
457 { 2, s(struct linux_sys_truncate64_args), 0,
458 linux_sys_truncate64 }, /* 211 = truncate64 */
459 { 0, 0, 0,
460 linux_sys_nosys }, /* 212 = unimplemented ftruncate64 */
461 { 2, s(struct linux_sys_stat64_args), 0,
462 linux_sys_stat64 }, /* 213 = stat64 */
463 { 2, s(struct linux_sys_lstat64_args), 0,
464 linux_sys_lstat64 }, /* 214 = lstat64 */
465 { 2, s(struct linux_sys_fstat64_args), 0,
466 linux_sys_fstat64 }, /* 215 = fstat64 */
467 { 0, 0, 0,
468 linux_sys_nosys }, /* 216 = unimplemented pivot_root */
469 { 0, 0, 0,
470 linux_sys_nosys }, /* 217 = unimplemented mincore */
471 { 0, 0, 0,
472 linux_sys_nosys }, /* 218 = unimplemented modvise */
473 { 3, s(struct linux_sys_getdents64_args), 0,
474 linux_sys_getdents64 }, /* 219 = getdents64 */
475 { 3, s(struct linux_sys_fcntl64_args), 0,
476 linux_sys_fcntl64 }, /* 220 = fcntl64 */
477 { 0, 0, 0,
478 linux_sys_nosys }, /* 221 = filler */
479 { 0, 0, 0,
480 linux_sys_nosys }, /* 222 = filler */
481 { 0, 0, 0,
482 linux_sys_nosys }, /* 223 = filler */
483 { 0, 0, 0,
484 linux_sys_nosys }, /* 224 = filler */
485 { 0, 0, 0,
486 linux_sys_nosys }, /* 225 = filler */
487 { 0, 0, 0,
488 linux_sys_nosys }, /* 226 = filler */
489 { 0, 0, 0,
490 linux_sys_nosys }, /* 227 = filler */
491 { 0, 0, 0,
492 linux_sys_nosys }, /* 228 = filler */
493 { 0, 0, 0,
494 linux_sys_nosys }, /* 229 = filler */
495 { 0, 0, 0,
496 linux_sys_nosys }, /* 230 = filler */
497 { 0, 0, 0,
498 linux_sys_nosys }, /* 231 = filler */
499 { 0, 0, 0,
500 linux_sys_nosys }, /* 232 = filler */
501 { 0, 0, 0,
502 linux_sys_nosys }, /* 233 = filler */
503 { 0, 0, 0,
504 linux_sys_nosys }, /* 234 = filler */
505 { 0, 0, 0,
506 linux_sys_nosys }, /* 235 = filler */
507 { 0, 0, 0,
508 linux_sys_nosys }, /* 236 = filler */
509 { 0, 0, 0,
510 linux_sys_nosys }, /* 237 = filler */
511 { 0, 0, 0,
512 linux_sys_nosys }, /* 238 = filler */
513 { 0, 0, 0,
514 linux_sys_nosys }, /* 239 = filler */
515 { 0, 0, 0,
516 linux_sys_nosys }, /* 240 = filler */
517 { 0, 0, 0,
518 linux_sys_nosys }, /* 241 = filler */
519 { 0, 0, 0,
520 linux_sys_nosys }, /* 242 = filler */
521 { 0, 0, 0,
522 linux_sys_nosys }, /* 243 = filler */
523 { 0, 0, 0,
524 linux_sys_nosys }, /* 244 = filler */
525 { 0, 0, 0,
526 linux_sys_nosys }, /* 245 = filler */
527 { 0, 0, 0,
528 linux_sys_nosys }, /* 246 = filler */
529 { 0, 0, 0,
530 linux_sys_nosys }, /* 247 = filler */
531 { 0, 0, 0,
532 linux_sys_nosys }, /* 248 = filler */
533 { 0, 0, 0,
534 linux_sys_nosys }, /* 249 = filler */
535 { 0, 0, 0,
536 linux_sys_nosys }, /* 250 = filler */
537 { 0, 0, 0,
538 linux_sys_nosys }, /* 251 = filler */
539 { 0, 0, 0,
540 linux_sys_nosys }, /* 252 = filler */
541 { 0, 0, 0,
542 linux_sys_nosys }, /* 253 = filler */
543 { 0, 0, 0,
544 linux_sys_nosys }, /* 254 = filler */
545 { 0, 0, 0,
546 linux_sys_nosys }, /* 255 = filler */
547 };
548
549