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