Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / compat / linux / arch / alpha / linux_sysent.c
blob70194ee1e9462a4d2202177dc57b3be41a79c197
1 /* $NetBSD$ */
3 /*
4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.71 2009/11/24 10:42:43 njoly Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_sysv.h"
15 #endif
16 #include <sys/param.h>
17 #include <sys/poll.h>
18 #include <sys/systm.h>
19 #include <sys/signal.h>
20 #include <sys/mount.h>
21 #include <sys/syscallargs.h>
22 #include <compat/linux/common/linux_types.h>
23 #include <compat/linux/common/linux_signal.h>
24 #include <compat/linux/common/linux_siginfo.h>
25 #include <compat/linux/common/linux_ipc.h>
26 #include <compat/linux/common/linux_msg.h>
27 #include <compat/linux/common/linux_sem.h>
28 #include <compat/linux/common/linux_shm.h>
29 #include <compat/linux/common/linux_mmap.h>
30 #include <compat/linux/linux_syscallargs.h>
32 #define s(type) sizeof(type)
33 #define n(type) (sizeof(type)/sizeof (register_t))
34 #define ns(type) n(type), s(type)
36 struct sysent linux_sysent[] = {
37 { 0, 0, 0,
38 (sy_call_t *)linux_sys_nosys }, /* 0 = syscall */
39 { ns(struct sys_exit_args), 0,
40 (sy_call_t *)sys_exit }, /* 1 = exit */
41 { 0, 0, 0,
42 (sy_call_t *)sys_fork }, /* 2 = fork */
43 { ns(struct sys_read_args), 0,
44 (sy_call_t *)sys_read }, /* 3 = read */
45 { ns(struct sys_write_args), 0,
46 (sy_call_t *)sys_write }, /* 4 = write */
47 { 0, 0, 0,
48 linux_sys_nosys }, /* 5 = unimplemented */
49 { ns(struct sys_close_args), 0,
50 (sy_call_t *)sys_close }, /* 6 = close */
51 { ns(struct osf1_sys_wait4_args), 0,
52 (sy_call_t *)osf1_sys_wait4 }, /* 7 = wait4 */
53 { ns(struct linux_sys_creat_args), 0,
54 (sy_call_t *)linux_sys_creat }, /* 8 = creat */
55 { ns(struct sys_link_args), 0,
56 (sy_call_t *)sys_link }, /* 9 = link */
57 { ns(struct linux_sys_unlink_args), 0,
58 (sy_call_t *)linux_sys_unlink }, /* 10 = unlink */
59 { 0, 0, 0,
60 linux_sys_nosys }, /* 11 = unimplemented */
61 { ns(struct sys_chdir_args), 0,
62 (sy_call_t *)sys_chdir }, /* 12 = chdir */
63 { ns(struct sys_fchdir_args), 0,
64 (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
65 { ns(struct linux_sys_mknod_args), 0,
66 (sy_call_t *)linux_sys_mknod }, /* 14 = mknod */
67 { ns(struct sys_chmod_args), 0,
68 (sy_call_t *)sys_chmod }, /* 15 = chmod */
69 { ns(struct sys___posix_chown_args), 0,
70 (sy_call_t *)sys___posix_chown }, /* 16 = __posix_chown */
71 { ns(struct linux_sys_brk_args), 0,
72 (sy_call_t *)linux_sys_brk }, /* 17 = brk */
73 { 0, 0, 0,
74 linux_sys_nosys }, /* 18 = unimplemented */
75 { ns(struct compat_43_sys_lseek_args), 0,
76 (sy_call_t *)compat_43_sys_lseek }, /* 19 = lseek */
77 { 0, 0, 0,
78 (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid_with_ppid */
79 { ns(struct osf1_sys_mount_args), 0,
80 (sy_call_t *)osf1_sys_mount }, /* 21 = mount */
81 { 0, 0, 0,
82 linux_sys_nosys }, /* 22 = unimplemented umount */
83 { ns(struct sys_setuid_args), 0,
84 (sy_call_t *)sys_setuid }, /* 23 = setuid */
85 { 0, 0, 0,
86 (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */
87 { 0, 0, 0,
88 linux_sys_nosys }, /* 25 = unimplemented */
89 { ns(struct linux_sys_ptrace_args), 0,
90 (sy_call_t *)linux_sys_ptrace }, /* 26 = ptrace */
91 { 0, 0, 0,
92 linux_sys_nosys }, /* 27 = unimplemented */
93 { 0, 0, 0,
94 linux_sys_nosys }, /* 28 = unimplemented */
95 { 0, 0, 0,
96 linux_sys_nosys }, /* 29 = unimplemented */
97 { 0, 0, 0,
98 linux_sys_nosys }, /* 30 = unimplemented */
99 { 0, 0, 0,
100 linux_sys_nosys }, /* 31 = unimplemented */
101 { 0, 0, 0,
102 linux_sys_nosys }, /* 32 = unimplemented */
103 { ns(struct sys_access_args), 0,
104 (sy_call_t *)sys_access }, /* 33 = access */
105 { 0, 0, 0,
106 linux_sys_nosys }, /* 34 = unimplemented */
107 { 0, 0, 0,
108 linux_sys_nosys }, /* 35 = unimplemented */
109 { 0, 0, 0,
110 (sy_call_t *)sys_sync }, /* 36 = sync */
111 { ns(struct linux_sys_kill_args), 0,
112 (sy_call_t *)linux_sys_kill }, /* 37 = kill */
113 { 0, 0, 0,
114 linux_sys_nosys }, /* 38 = unimplemented */
115 { ns(struct sys_setpgid_args), 0,
116 (sy_call_t *)sys_setpgid }, /* 39 = setpgid */
117 { 0, 0, 0,
118 linux_sys_nosys }, /* 40 = unimplemented */
119 { ns(struct sys_dup_args), 0,
120 (sy_call_t *)sys_dup }, /* 41 = dup */
121 { 0, 0, 0,
122 (sy_call_t *)linux_sys_pipe }, /* 42 = pipe */
123 { ns(struct osf1_sys_set_program_attributes_args), 0,
124 (sy_call_t *)osf1_sys_set_program_attributes },/* 43 = set_program_attributes */
125 { 0, 0, 0,
126 linux_sys_nosys }, /* 44 = unimplemented */
127 { ns(struct linux_sys_open_args), 0,
128 (sy_call_t *)linux_sys_open }, /* 45 = open */
129 { 0, 0, 0,
130 linux_sys_nosys }, /* 46 = unimplemented */
131 { 0, 0, 0,
132 (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid_with_egid */
133 { ns(struct compat_13_sys_sigprocmask_args), 0,
134 (sy_call_t *)compat_13_sys_sigprocmask },/* 48 = sigprocmask */
135 { 0, 0, 0,
136 linux_sys_nosys }, /* 49 = unimplemented */
137 { 0, 0, 0,
138 linux_sys_nosys }, /* 50 = unimplemented */
139 { ns(struct sys_acct_args), 0,
140 (sy_call_t *)sys_acct }, /* 51 = acct */
141 { ns(struct linux_sys_sigpending_args), 0,
142 (sy_call_t *)linux_sys_sigpending },/* 52 = sigpending */
143 { 0, 0, 0,
144 linux_sys_nosys }, /* 53 = unimplemented */
145 { ns(struct linux_sys_ioctl_args), 0,
146 (sy_call_t *)linux_sys_ioctl }, /* 54 = ioctl */
147 { 0, 0, 0,
148 linux_sys_nosys }, /* 55 = unimplemented */
149 { 0, 0, 0,
150 linux_sys_nosys }, /* 56 = unimplemented */
151 { ns(struct sys_symlink_args), 0,
152 (sy_call_t *)sys_symlink }, /* 57 = symlink */
153 { ns(struct sys_readlink_args), 0,
154 (sy_call_t *)sys_readlink }, /* 58 = readlink */
155 { ns(struct sys_execve_args), 0,
156 (sy_call_t *)sys_execve }, /* 59 = execve */
157 { ns(struct sys_umask_args), 0,
158 (sy_call_t *)sys_umask }, /* 60 = umask */
159 { ns(struct sys_chroot_args), 0,
160 (sy_call_t *)sys_chroot }, /* 61 = chroot */
161 { 0, 0, 0,
162 linux_sys_nosys }, /* 62 = unimplemented */
163 { 0, 0, 0,
164 (sy_call_t *)sys_getpgrp }, /* 63 = getpgrp */
165 { 0, 0, 0,
166 (sy_call_t *)compat_43_sys_getpagesize },/* 64 = getpagesize */
167 { 0, 0, 0,
168 linux_sys_nosys }, /* 65 = unimplemented */
169 { 0, 0, 0,
170 (sy_call_t *)sys___vfork14 }, /* 66 = __vfork14 */
171 { ns(struct linux_sys_stat_args), 0,
172 (sy_call_t *)linux_sys_stat }, /* 67 = stat */
173 { ns(struct linux_sys_lstat_args), 0,
174 (sy_call_t *)linux_sys_lstat }, /* 68 = lstat */
175 { 0, 0, 0,
176 linux_sys_nosys }, /* 69 = unimplemented */
177 { 0, 0, 0,
178 linux_sys_nosys }, /* 70 = unimplemented */
179 { ns(struct linux_sys_mmap_args), 0,
180 (sy_call_t *)linux_sys_mmap }, /* 71 = mmap */
181 { 0, 0, 0,
182 linux_sys_nosys }, /* 72 = unimplemented */
183 { ns(struct sys_munmap_args), 0,
184 (sy_call_t *)sys_munmap }, /* 73 = munmap */
185 { ns(struct linux_sys_mprotect_args), 0,
186 (sy_call_t *)linux_sys_mprotect }, /* 74 = mprotect */
187 { ns(struct sys_madvise_args), 0,
188 (sy_call_t *)sys_madvise }, /* 75 = madvise */
189 { 0, 0, 0,
190 linux_sys_nosys }, /* 76 = unimplemented vhangup */
191 { 0, 0, 0,
192 linux_sys_nosys }, /* 77 = unimplemented */
193 { 0, 0, 0,
194 linux_sys_nosys }, /* 78 = unimplemented */
195 { ns(struct sys_getgroups_args), 0,
196 (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
197 { ns(struct sys_setgroups_args), 0,
198 (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
199 { 0, 0, 0,
200 linux_sys_nosys }, /* 81 = unimplemented */
201 { 0, 0, 0,
202 linux_sys_nosys }, /* 82 = unimplemented setpgrp */
203 { ns(struct osf1_sys_setitimer_args), 0,
204 (sy_call_t *)osf1_sys_setitimer }, /* 83 = setitimer */
205 { 0, 0, 0,
206 linux_sys_nosys }, /* 84 = unimplemented */
207 { 0, 0, 0,
208 linux_sys_nosys }, /* 85 = unimplemented */
209 { 0, 0, 0,
210 linux_sys_nosys }, /* 86 = unimplemented osf1_sys_getitimer */
211 { ns(struct compat_43_sys_gethostname_args), 0,
212 (sy_call_t *)compat_43_sys_gethostname },/* 87 = gethostname */
213 { ns(struct compat_43_sys_sethostname_args), 0,
214 (sy_call_t *)compat_43_sys_sethostname },/* 88 = sethostname */
215 { 0, 0, 0,
216 linux_sys_nosys }, /* 89 = unimplemented getdtablesize */
217 { ns(struct sys_dup2_args), 0,
218 (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
219 { ns(struct linux_sys_fstat_args), 0,
220 (sy_call_t *)linux_sys_fstat }, /* 91 = fstat */
221 { ns(struct linux_sys_fcntl_args), 0,
222 (sy_call_t *)linux_sys_fcntl }, /* 92 = fcntl */
223 { ns(struct osf1_sys_select_args), 0,
224 (sy_call_t *)osf1_sys_select }, /* 93 = select */
225 { ns(struct sys_poll_args), 0,
226 (sy_call_t *)sys_poll }, /* 94 = poll */
227 { ns(struct sys_fsync_args), 0,
228 (sy_call_t *)sys_fsync }, /* 95 = fsync */
229 { ns(struct sys_setpriority_args), 0,
230 (sy_call_t *)sys_setpriority }, /* 96 = setpriority */
231 { ns(struct linux_sys_socket_args), 0,
232 (sy_call_t *)linux_sys_socket }, /* 97 = socket */
233 { ns(struct linux_sys_connect_args), 0,
234 (sy_call_t *)linux_sys_connect }, /* 98 = connect */
235 { ns(struct linux_sys_accept_args), 0,
236 (sy_call_t *)linux_sys_accept }, /* 99 = accept */
237 { ns(struct linux_sys_getpriority_args), 0,
238 (sy_call_t *)linux_sys_getpriority },/* 100 = getpriority */
239 { ns(struct linux_sys_send_args), 0,
240 (sy_call_t *)linux_sys_send }, /* 101 = send */
241 { ns(struct linux_sys_recv_args), 0,
242 (sy_call_t *)linux_sys_recv }, /* 102 = recv */
243 { ns(struct linux_sys_sigreturn_args), 0,
244 (sy_call_t *)linux_sys_sigreturn }, /* 103 = sigreturn */
245 { ns(struct linux_sys_bind_args), 0,
246 (sy_call_t *)linux_sys_bind }, /* 104 = bind */
247 { ns(struct linux_sys_setsockopt_args), 0,
248 (sy_call_t *)linux_sys_setsockopt },/* 105 = setsockopt */
249 { ns(struct sys_listen_args), 0,
250 (sy_call_t *)sys_listen }, /* 106 = listen */
251 { 0, 0, 0,
252 linux_sys_nosys }, /* 107 = unimplemented */
253 { 0, 0, 0,
254 linux_sys_nosys }, /* 108 = unimplemented */
255 { 0, 0, 0,
256 linux_sys_nosys }, /* 109 = unimplemented */
257 { 0, 0, 0,
258 linux_sys_nosys }, /* 110 = unimplemented */
259 { ns(struct linux_sys_sigsuspend_args), 0,
260 (sy_call_t *)linux_sys_sigsuspend },/* 111 = sigsuspend */
261 { ns(struct compat_43_sys_sigstack_args), 0,
262 (sy_call_t *)compat_43_sys_sigstack },/* 112 = sigstack */
263 { ns(struct linux_sys_recvmsg_args), 0,
264 (sy_call_t *)linux_sys_recvmsg }, /* 113 = recvmsg */
265 { ns(struct linux_sys_sendmsg_args), 0,
266 (sy_call_t *)linux_sys_sendmsg }, /* 114 = sendmsg */
267 { 0, 0, 0,
268 linux_sys_nosys }, /* 115 = unimplemented */
269 { ns(struct osf1_sys_gettimeofday_args), 0,
270 (sy_call_t *)osf1_sys_gettimeofday },/* 116 = gettimeofday */
271 { ns(struct osf1_sys_getrusage_args), 0,
272 (sy_call_t *)osf1_sys_getrusage }, /* 117 = getrusage */
273 { ns(struct linux_sys_getsockopt_args), 0,
274 (sy_call_t *)linux_sys_getsockopt },/* 118 = getsockopt */
275 { 0, 0, 0,
276 linux_sys_nosys }, /* 119 = unimplemented */
277 { ns(struct sys_readv_args), 0,
278 (sy_call_t *)sys_readv }, /* 120 = readv */
279 { ns(struct sys_writev_args), 0,
280 (sy_call_t *)sys_writev }, /* 121 = writev */
281 { ns(struct osf1_sys_settimeofday_args), 0,
282 (sy_call_t *)osf1_sys_settimeofday },/* 122 = settimeofday */
283 { ns(struct sys___posix_fchown_args), 0,
284 (sy_call_t *)sys___posix_fchown }, /* 123 = __posix_fchown */
285 { ns(struct sys_fchmod_args), 0,
286 (sy_call_t *)sys_fchmod }, /* 124 = fchmod */
287 { ns(struct linux_sys_recvfrom_args), 0,
288 (sy_call_t *)linux_sys_recvfrom }, /* 125 = recvfrom */
289 { ns(struct sys_setreuid_args), 0,
290 (sy_call_t *)sys_setreuid }, /* 126 = setreuid */
291 { ns(struct sys_setregid_args), 0,
292 (sy_call_t *)sys_setregid }, /* 127 = setregid */
293 { ns(struct sys___posix_rename_args), 0,
294 (sy_call_t *)sys___posix_rename }, /* 128 = __posix_rename */
295 { ns(struct compat_43_sys_truncate_args), 0,
296 (sy_call_t *)compat_43_sys_truncate },/* 129 = truncate */
297 { ns(struct compat_43_sys_ftruncate_args), 0,
298 (sy_call_t *)compat_43_sys_ftruncate },/* 130 = ftruncate */
299 { ns(struct sys_flock_args), 0,
300 (sy_call_t *)sys_flock }, /* 131 = flock */
301 { ns(struct sys_setgid_args), 0,
302 (sy_call_t *)sys_setgid }, /* 132 = setgid */
303 { ns(struct linux_sys_sendto_args), 0,
304 (sy_call_t *)linux_sys_sendto }, /* 133 = sendto */
305 { ns(struct sys_shutdown_args), 0,
306 (sy_call_t *)sys_shutdown }, /* 134 = shutdown */
307 { ns(struct linux_sys_socketpair_args), 0,
308 (sy_call_t *)linux_sys_socketpair },/* 135 = socketpair */
309 { ns(struct sys_mkdir_args), 0,
310 (sy_call_t *)sys_mkdir }, /* 136 = mkdir */
311 { ns(struct sys_rmdir_args), 0,
312 (sy_call_t *)sys_rmdir }, /* 137 = rmdir */
313 { ns(struct osf1_sys_utimes_args), 0,
314 (sy_call_t *)osf1_sys_utimes }, /* 138 = utimes */
315 { 0, 0, 0,
316 linux_sys_nosys }, /* 139 = unimplemented */
317 { 0, 0, 0,
318 linux_sys_nosys }, /* 140 = unimplemented */
319 { ns(struct linux_sys_getpeername_args), 0,
320 (sy_call_t *)linux_sys_getpeername },/* 141 = getpeername */
321 { 0, 0, 0,
322 linux_sys_nosys }, /* 142 = unimplemented */
323 { 0, 0, 0,
324 linux_sys_nosys }, /* 143 = unimplemented */
325 { ns(struct linux_sys_getrlimit_args), 0,
326 (sy_call_t *)linux_sys_getrlimit }, /* 144 = getrlimit */
327 { ns(struct linux_sys_setrlimit_args), 0,
328 (sy_call_t *)linux_sys_setrlimit }, /* 145 = setrlimit */
329 { 0, 0, 0,
330 linux_sys_nosys }, /* 146 = unimplemented */
331 { 0, 0, 0,
332 (sy_call_t *)sys_setsid }, /* 147 = setsid */
333 { 0, 0, 0,
334 linux_sys_nosys }, /* 148 = unimplemented quotactl */
335 { 0, 0, 0,
336 linux_sys_nosys }, /* 149 = unimplemented */
337 { ns(struct linux_sys_getsockname_args), 0,
338 (sy_call_t *)linux_sys_getsockname },/* 150 = getsockname */
339 { 0, 0, 0,
340 linux_sys_nosys }, /* 151 = unimplemented */
341 { 0, 0, 0,
342 linux_sys_nosys }, /* 152 = unimplemented */
343 { 0, 0, 0,
344 linux_sys_nosys }, /* 153 = unimplemented */
345 { 0, 0, 0,
346 linux_sys_nosys }, /* 154 = unimplemented */
347 { 0, 0, 0,
348 linux_sys_nosys }, /* 155 = unimplemented */
349 { ns(struct linux_sys_sigaction_args), 0,
350 (sy_call_t *)linux_sys_sigaction }, /* 156 = sigaction */
351 { 0, 0, 0,
352 linux_sys_nosys }, /* 157 = unimplemented */
353 { 0, 0, 0,
354 linux_sys_nosys }, /* 158 = unimplemented */
355 { ns(struct compat_43_sys_getdirentries_args), 0,
356 (sy_call_t *)compat_43_sys_getdirentries },/* 159 = getdirentries */
357 { ns(struct osf1_sys_statfs_args), 0,
358 (sy_call_t *)osf1_sys_statfs }, /* 160 = statfs */
359 { ns(struct osf1_sys_fstatfs_args), 0,
360 (sy_call_t *)osf1_sys_fstatfs }, /* 161 = fstatfs */
361 { 0, 0, 0,
362 linux_sys_nosys }, /* 162 = unimplemented */
363 { 0, 0, 0,
364 linux_sys_nosys }, /* 163 = unimplemented */
365 { 0, 0, 0,
366 linux_sys_nosys }, /* 164 = unimplemented */
367 { ns(struct compat_09_sys_getdomainname_args), 0,
368 (sy_call_t *)compat_09_sys_getdomainname },/* 165 = getdomainname */
369 { ns(struct linux_sys_setdomainname_args), 0,
370 (sy_call_t *)linux_sys_setdomainname },/* 166 = setdomainname */
371 { 0, 0, 0,
372 linux_sys_nosys }, /* 167 = unimplemented */
373 { 0, 0, 0,
374 linux_sys_nosys }, /* 168 = unimplemented */
375 { 0, 0, 0,
376 linux_sys_nosys }, /* 169 = unimplemented */
377 { 0, 0, 0,
378 linux_sys_nosys }, /* 170 = unimplemented */
379 { 0, 0, 0,
380 linux_sys_nosys }, /* 171 = unimplemented */
381 { 0, 0, 0,
382 linux_sys_nosys }, /* 172 = unimplemented */
383 { 0, 0, 0,
384 linux_sys_nosys }, /* 173 = unimplemented */
385 { 0, 0, 0,
386 linux_sys_nosys }, /* 174 = unimplemented */
387 { 0, 0, 0,
388 linux_sys_nosys }, /* 175 = unimplemented */
389 { 0, 0, 0,
390 linux_sys_nosys }, /* 176 = unimplemented */
391 { 0, 0, 0,
392 linux_sys_nosys }, /* 177 = unimplemented */
393 { 0, 0, 0,
394 linux_sys_nosys }, /* 178 = unimplemented */
395 { 0, 0, 0,
396 linux_sys_nosys }, /* 179 = unimplemented */
397 { 0, 0, 0,
398 linux_sys_nosys }, /* 180 = unimplemented */
399 { 0, 0, 0,
400 linux_sys_nosys }, /* 181 = unimplemented */
401 { 0, 0, 0,
402 linux_sys_nosys }, /* 182 = unimplemented */
403 { 0, 0, 0,
404 linux_sys_nosys }, /* 183 = unimplemented */
405 { 0, 0, 0,
406 linux_sys_nosys }, /* 184 = unimplemented */
407 { 0, 0, 0,
408 linux_sys_nosys }, /* 185 = unimplemented */
409 { 0, 0, 0,
410 linux_sys_nosys }, /* 186 = unimplemented */
411 { 0, 0, 0,
412 linux_sys_nosys }, /* 187 = unimplemented */
413 { 0, 0, 0,
414 linux_sys_nosys }, /* 188 = unimplemented */
415 { 0, 0, 0,
416 linux_sys_nosys }, /* 189 = unimplemented */
417 { 0, 0, 0,
418 linux_sys_nosys }, /* 190 = unimplemented */
419 { ns(struct linux_sys_ugetrlimit_args), 0,
420 (sy_call_t *)linux_sys_ugetrlimit },/* 191 = ugetrlimit */
421 { 0, 0, 0,
422 linux_sys_nosys }, /* 192 = unimplemented mmap2 */
423 { 0, 0, 0,
424 linux_sys_nosys }, /* 193 = unimplemented */
425 { 0, 0, 0,
426 linux_sys_nosys }, /* 194 = unimplemented */
427 { 0, 0, 0,
428 linux_sys_nosys }, /* 195 = unimplemented */
429 { 0, 0, 0,
430 linux_sys_nosys }, /* 196 = unimplemented */
431 { 0, 0, 0,
432 linux_sys_nosys }, /* 197 = unimplemented */
433 { 0, 0, 0,
434 linux_sys_nosys }, /* 198 = unimplemented */
435 { 0, 0, 0,
436 linux_sys_nosys }, /* 199 = unimplemented osf1_sys_swapon */
437 #ifdef SYSVMSG
438 { ns(struct linux_sys_msgctl_args), 0,
439 (sy_call_t *)linux_sys_msgctl }, /* 200 = msgctl */
440 { ns(struct sys_msgget_args), 0,
441 (sy_call_t *)sys_msgget }, /* 201 = msgget */
442 { ns(struct sys_msgrcv_args), 0,
443 (sy_call_t *)sys_msgrcv }, /* 202 = msgrcv */
444 { ns(struct sys_msgsnd_args), 0,
445 (sy_call_t *)sys_msgsnd }, /* 203 = msgsnd */
446 #else
447 { 0, 0, 0,
448 linux_sys_nosys }, /* 200 = unimplemented msgctl */
449 { 0, 0, 0,
450 linux_sys_nosys }, /* 201 = unimplemented msgget */
451 { 0, 0, 0,
452 linux_sys_nosys }, /* 202 = unimplemented msgrcv */
453 { 0, 0, 0,
454 linux_sys_nosys }, /* 203 = unimplemented msgsnd */
455 #endif
456 #ifdef SYSVSEM
457 { ns(struct linux_sys_semctl_args), 0,
458 (sy_call_t *)linux_sys_semctl }, /* 204 = semctl */
459 { ns(struct sys_semget_args), 0,
460 (sy_call_t *)sys_semget }, /* 205 = semget */
461 { ns(struct sys_semop_args), 0,
462 (sy_call_t *)sys_semop }, /* 206 = semop */
463 #else
464 { 0, 0, 0,
465 linux_sys_nosys }, /* 204 = unimplemented semctl */
466 { 0, 0, 0,
467 linux_sys_nosys }, /* 205 = unimplemented semget */
468 { 0, 0, 0,
469 linux_sys_nosys }, /* 206 = unimplemented semop */
470 #endif
471 { ns(struct linux_sys_olduname_args), 0,
472 (sy_call_t *)linux_sys_olduname }, /* 207 = olduname */
473 { ns(struct sys___posix_lchown_args), 0,
474 (sy_call_t *)sys___posix_lchown }, /* 208 = __posix_lchown */
475 #ifdef SYSVSHM
476 { ns(struct linux_sys_shmat_args), 0,
477 (sy_call_t *)linux_sys_shmat }, /* 209 = shmat */
478 { ns(struct linux_sys_shmctl_args), 0,
479 (sy_call_t *)linux_sys_shmctl }, /* 210 = shmctl */
480 { ns(struct sys_shmdt_args), 0,
481 (sy_call_t *)sys_shmdt }, /* 211 = shmdt */
482 { ns(struct linux_sys_shmget_args), 0,
483 (sy_call_t *)linux_sys_shmget }, /* 212 = shmget */
484 #else
485 { 0, 0, 0,
486 linux_sys_nosys }, /* 209 = unimplemented shmat */
487 { 0, 0, 0,
488 linux_sys_nosys }, /* 210 = unimplemented shmctl */
489 { 0, 0, 0,
490 linux_sys_nosys }, /* 211 = unimplemented shmdt */
491 { 0, 0, 0,
492 linux_sys_nosys }, /* 212 = unimplemented shmget */
493 #endif
494 { 0, 0, 0,
495 linux_sys_nosys }, /* 213 = unimplemented */
496 { 0, 0, 0,
497 linux_sys_nosys }, /* 214 = unimplemented */
498 { 0, 0, 0,
499 linux_sys_nosys }, /* 215 = unimplemented */
500 { 0, 0, 0,
501 linux_sys_nosys }, /* 216 = unimplemented */
502 { ns(struct sys___msync13_args), 0,
503 (sy_call_t *)sys___msync13 }, /* 217 = __msync13 */
504 { 0, 0, 0,
505 linux_sys_nosys }, /* 218 = unimplemented */
506 { 0, 0, 0,
507 linux_sys_nosys }, /* 219 = unimplemented */
508 { 0, 0, 0,
509 linux_sys_nosys }, /* 220 = unimplemented */
510 { 0, 0, 0,
511 linux_sys_nosys }, /* 221 = unimplemented */
512 { 0, 0, 0,
513 linux_sys_nosys }, /* 222 = unimplemented */
514 { 0, 0, 0,
515 linux_sys_nosys }, /* 223 = unimplemented */
516 { 0, 0, 0,
517 linux_sys_nosys }, /* 224 = unimplemented */
518 { 0, 0, 0,
519 linux_sys_nosys }, /* 225 = unimplemented */
520 { 0, 0, 0,
521 linux_sys_nosys }, /* 226 = unimplemented */
522 { 0, 0, 0,
523 linux_sys_nosys }, /* 227 = unimplemented */
524 { 0, 0, 0,
525 linux_sys_nosys }, /* 228 = unimplemented */
526 { 0, 0, 0,
527 linux_sys_nosys }, /* 229 = unimplemented */
528 { 0, 0, 0,
529 linux_sys_nosys }, /* 230 = unimplemented */
530 { 0, 0, 0,
531 linux_sys_nosys }, /* 231 = unimplemented */
532 { 0, 0, 0,
533 linux_sys_nosys }, /* 232 = unimplemented */
534 { ns(struct sys_getpgid_args), 0,
535 (sy_call_t *)sys_getpgid }, /* 233 = getpgid */
536 { ns(struct sys_getsid_args), 0,
537 (sy_call_t *)sys_getsid }, /* 234 = getsid */
538 { 0, 0, 0,
539 linux_sys_nosys }, /* 235 = unimplemented sigaltstack */
540 { 0, 0, 0,
541 linux_sys_nosys }, /* 236 = unimplemented */
542 { 0, 0, 0,
543 linux_sys_nosys }, /* 237 = unimplemented */
544 { 0, 0, 0,
545 linux_sys_nosys }, /* 238 = unimplemented */
546 { 0, 0, 0,
547 linux_sys_nosys }, /* 239 = unimplemented */
548 { 0, 0, 0,
549 linux_sys_nosys }, /* 240 = unimplemented */
550 { ns(struct osf1_sys_sysinfo_args), 0,
551 (sy_call_t *)osf1_sys_sysinfo }, /* 241 = sysinfo */
552 { 0, 0, 0,
553 linux_sys_nosys }, /* 242 = unimplemented */
554 { 0, 0, 0,
555 linux_sys_nosys }, /* 243 = unimplemented */
556 { 0, 0, 0,
557 linux_sys_nosys }, /* 244 = unimplemented osf1_sys_proplist_syscall */
558 { 0, 0, 0,
559 linux_sys_nosys }, /* 245 = unimplemented */
560 { 0, 0, 0,
561 linux_sys_nosys }, /* 246 = unimplemented */
562 { 0, 0, 0,
563 linux_sys_nosys }, /* 247 = unimplemented */
564 { 0, 0, 0,
565 linux_sys_nosys }, /* 248 = unimplemented */
566 { 0, 0, 0,
567 linux_sys_nosys }, /* 249 = unimplemented */
568 { 0, 0, 0,
569 linux_sys_nosys }, /* 250 = unimplemented */
570 { ns(struct osf1_sys_usleep_thread_args), 0,
571 (sy_call_t *)osf1_sys_usleep_thread },/* 251 = usleep_thread */
572 { 0, 0, 0,
573 linux_sys_nosys }, /* 252 = unimplemented */
574 { 0, 0, 0,
575 linux_sys_nosys }, /* 253 = unimplemented */
576 { 0, 0, 0,
577 linux_sys_nosys }, /* 254 = unimplemented */
578 { 0, 0, 0,
579 linux_sys_nosys }, /* 255 = unimplemented sysfs */
580 { ns(struct osf1_sys_getsysinfo_args), 0,
581 (sy_call_t *)osf1_sys_getsysinfo }, /* 256 = getsysinfo */
582 { ns(struct osf1_sys_setsysinfo_args), 0,
583 (sy_call_t *)osf1_sys_setsysinfo }, /* 257 = setsysinfo */
584 { 0, 0, 0,
585 linux_sys_nosys }, /* 258 = unimplemented */
586 { 0, 0, 0,
587 linux_sys_nosys }, /* 259 = unimplemented */
588 { 0, 0, 0,
589 linux_sys_nosys }, /* 260 = unimplemented */
590 { ns(struct linux_sys_fdatasync_args), 0,
591 (sy_call_t *)linux_sys_fdatasync }, /* 261 = fdatasync */
592 { 0, 0, 0,
593 linux_sys_nosys }, /* 262 = unimplemented */
594 { 0, 0, 0,
595 linux_sys_nosys }, /* 263 = unimplemented */
596 { 0, 0, 0,
597 linux_sys_nosys }, /* 264 = unimplemented */
598 { 0, 0, 0,
599 linux_sys_nosys }, /* 265 = unimplemented */
600 { 0, 0, 0,
601 linux_sys_nosys }, /* 266 = unimplemented */
602 { 0, 0, 0,
603 linux_sys_nosys }, /* 267 = unimplemented */
604 { 0, 0, 0,
605 linux_sys_nosys }, /* 268 = unimplemented */
606 { 0, 0, 0,
607 linux_sys_nosys }, /* 269 = unimplemented */
608 { 0, 0, 0,
609 linux_sys_nosys }, /* 270 = unimplemented */
610 { 0, 0, 0,
611 linux_sys_nosys }, /* 271 = unimplemented */
612 { 0, 0, 0,
613 linux_sys_nosys }, /* 272 = unimplemented */
614 { 0, 0, 0,
615 linux_sys_nosys }, /* 273 = unimplemented */
616 { 0, 0, 0,
617 linux_sys_nosys }, /* 274 = unimplemented */
618 { 0, 0, 0,
619 linux_sys_nosys }, /* 275 = unimplemented */
620 { 0, 0, 0,
621 linux_sys_nosys }, /* 276 = unimplemented */
622 { 0, 0, 0,
623 linux_sys_nosys }, /* 277 = unimplemented */
624 { 0, 0, 0,
625 linux_sys_nosys }, /* 278 = unimplemented */
626 { 0, 0, 0,
627 linux_sys_nosys }, /* 279 = unimplemented */
628 { 0, 0, 0,
629 linux_sys_nosys }, /* 280 = unimplemented */
630 { 0, 0, 0,
631 linux_sys_nosys }, /* 281 = unimplemented */
632 { 0, 0, 0,
633 linux_sys_nosys }, /* 282 = unimplemented */
634 { 0, 0, 0,
635 linux_sys_nosys }, /* 283 = unimplemented */
636 { 0, 0, 0,
637 linux_sys_nosys }, /* 284 = unimplemented */
638 { 0, 0, 0,
639 linux_sys_nosys }, /* 285 = unimplemented */
640 { 0, 0, 0,
641 linux_sys_nosys }, /* 286 = unimplemented */
642 { 0, 0, 0,
643 linux_sys_nosys }, /* 287 = unimplemented */
644 { 0, 0, 0,
645 linux_sys_nosys }, /* 288 = unimplemented */
646 { 0, 0, 0,
647 linux_sys_nosys }, /* 289 = unimplemented */
648 { 0, 0, 0,
649 linux_sys_nosys }, /* 290 = unimplemented */
650 { 0, 0, 0,
651 linux_sys_nosys }, /* 291 = unimplemented */
652 { 0, 0, 0,
653 linux_sys_nosys }, /* 292 = unimplemented */
654 { 0, 0, 0,
655 linux_sys_nosys }, /* 293 = unimplemented */
656 { 0, 0, 0,
657 linux_sys_nosys }, /* 294 = unimplemented */
658 { 0, 0, 0,
659 linux_sys_nosys }, /* 295 = unimplemented */
660 { 0, 0, 0,
661 linux_sys_nosys }, /* 296 = unimplemented */
662 { 0, 0, 0,
663 linux_sys_nosys }, /* 297 = unimplemented */
664 { 0, 0, 0,
665 linux_sys_nosys }, /* 298 = unimplemented */
666 { 0, 0, 0,
667 linux_sys_nosys }, /* 299 = unimplemented */
668 { 0, 0, 0,
669 linux_sys_nosys }, /* 300 = unimplemented bdflush */
670 { 0, 0, 0,
671 linux_sys_nosys }, /* 301 = unimplemented sethae */
672 { 0, 0, 0,
673 linux_sys_nosys }, /* 302 = unimplemented mount */
674 { 0, 0, 0,
675 linux_sys_nosys }, /* 303 = unimplemented old_adjtimex */
676 { ns(struct linux_sys_swapoff_args), 0,
677 (sy_call_t *)linux_sys_swapoff }, /* 304 = swapoff */
678 { ns(struct linux_sys_getdents_args), 0,
679 (sy_call_t *)linux_sys_getdents }, /* 305 = getdents */
680 { 0, 0, 0,
681 linux_sys_nosys }, /* 306 = unimplemented alpha_create_module */
682 { 0, 0, 0,
683 linux_sys_nosys }, /* 307 = unimplemented init_module */
684 { 0, 0, 0,
685 linux_sys_nosys }, /* 308 = unimplemented delete_module */
686 { 0, 0, 0,
687 linux_sys_nosys }, /* 309 = unimplemented get_kernel_syms */
688 { 0, 0, 0,
689 linux_sys_nosys }, /* 310 = unimplemented syslog */
690 { ns(struct linux_sys_reboot_args), 0,
691 (sy_call_t *)linux_sys_reboot }, /* 311 = reboot */
692 { ns(struct linux_sys_clone_args), 0,
693 (sy_call_t *)linux_sys_clone }, /* 312 = clone */
694 #ifdef EXEC_AOUT
695 { ns(struct linux_sys_uselib_args), 0,
696 (sy_call_t *)linux_sys_uselib }, /* 313 = uselib */
697 #else
698 { 0, 0, 0,
699 linux_sys_nosys }, /* 313 = unimplemented sys_uselib */
700 #endif
701 { ns(struct sys_mlock_args), 0,
702 (sy_call_t *)sys_mlock }, /* 314 = mlock */
703 { ns(struct sys_munlock_args), 0,
704 (sy_call_t *)sys_munlock }, /* 315 = munlock */
705 { ns(struct sys_mlockall_args), 0,
706 (sy_call_t *)sys_mlockall }, /* 316 = mlockall */
707 { 0, 0, 0,
708 (sy_call_t *)sys_munlockall }, /* 317 = munlockall */
709 { ns(struct linux_sys_sysinfo_args), 0,
710 (sy_call_t *)linux_sys_sysinfo }, /* 318 = sysinfo */
711 { ns(struct linux_sys___sysctl_args), 0,
712 (sy_call_t *)linux_sys___sysctl }, /* 319 = __sysctl */
713 { 0, 0, 0,
714 linux_sys_nosys }, /* 320 = unimplemented idle */
715 { 0, 0, 0,
716 linux_sys_nosys }, /* 321 = unimplemented oldumount */
717 { ns(struct linux_sys_swapon_args), 0,
718 (sy_call_t *)linux_sys_swapon }, /* 322 = swapon */
719 { ns(struct linux_sys_times_args), 0,
720 (sy_call_t *)linux_sys_times }, /* 323 = times */
721 { ns(struct linux_sys_personality_args), 0,
722 (sy_call_t *)linux_sys_personality },/* 324 = personality */
723 { ns(struct linux_sys_setfsuid_args), 0,
724 (sy_call_t *)linux_sys_setfsuid }, /* 325 = setfsuid */
725 { ns(struct linux_sys_setfsgid_args), 0,
726 (sy_call_t *)linux_sys_setfsgid }, /* 326 = setfsgid */
727 { 0, 0, 0,
728 linux_sys_nosys }, /* 327 = unimplemented ustat */
729 { ns(struct linux_sys_statfs_args), 0,
730 (sy_call_t *)linux_sys_statfs }, /* 328 = statfs */
731 { ns(struct linux_sys_fstatfs_args), 0,
732 (sy_call_t *)linux_sys_fstatfs }, /* 329 = fstatfs */
733 { ns(struct linux_sys_sched_setparam_args), 0,
734 (sy_call_t *)linux_sys_sched_setparam },/* 330 = sched_setparam */
735 { ns(struct linux_sys_sched_getparam_args), 0,
736 (sy_call_t *)linux_sys_sched_getparam },/* 331 = sched_getparam */
737 { ns(struct linux_sys_sched_setscheduler_args), 0,
738 (sy_call_t *)linux_sys_sched_setscheduler },/* 332 = sched_setscheduler */
739 { ns(struct linux_sys_sched_getscheduler_args), 0,
740 (sy_call_t *)linux_sys_sched_getscheduler },/* 333 = sched_getscheduler */
741 { 0, 0, 0,
742 (sy_call_t *)linux_sys_sched_yield },/* 334 = sched_yield */
743 { ns(struct linux_sys_sched_get_priority_max_args), 0,
744 (sy_call_t *)linux_sys_sched_get_priority_max },/* 335 = sched_get_priority_max */
745 { ns(struct linux_sys_sched_get_priority_min_args), 0,
746 (sy_call_t *)linux_sys_sched_get_priority_min },/* 336 = sched_get_priority_min */
747 { 0, 0, 0,
748 linux_sys_nosys }, /* 337 = unimplemented sched_rr_get_interval */
749 { 0, 0, 0,
750 linux_sys_nosys }, /* 338 = unimplemented afs_syscall */
751 { ns(struct linux_sys_uname_args), 0,
752 (sy_call_t *)linux_sys_uname }, /* 339 = uname */
753 { ns(struct linux_sys_nanosleep_args), 0,
754 (sy_call_t *)linux_sys_nanosleep }, /* 340 = nanosleep */
755 { ns(struct linux_sys_mremap_args), 0,
756 (sy_call_t *)linux_sys_mremap }, /* 341 = mremap */
757 { 0, 0, 0,
758 linux_sys_nosys }, /* 342 = unimplemented nfsservctl */
759 { ns(struct linux_sys_setresuid_args), 0,
760 (sy_call_t *)linux_sys_setresuid }, /* 343 = setresuid */
761 { ns(struct linux_sys_getresuid_args), 0,
762 (sy_call_t *)linux_sys_getresuid }, /* 344 = getresuid */
763 { 0, 0, 0,
764 linux_sys_nosys }, /* 345 = unimplemented pciconfig_read */
765 { 0, 0, 0,
766 linux_sys_nosys }, /* 346 = unimplemented pciconfig_write */
767 { 0, 0, 0,
768 linux_sys_nosys }, /* 347 = unimplemented query_module */
769 { 0, 0, 0,
770 linux_sys_nosys }, /* 348 = unimplemented prctl */
771 { ns(struct linux_sys_pread_args), 0,
772 (sy_call_t *)linux_sys_pread }, /* 349 = pread */
773 { ns(struct linux_sys_pwrite_args), 0,
774 (sy_call_t *)linux_sys_pwrite }, /* 350 = pwrite */
775 { ns(struct linux_sys_rt_sigreturn_args), 0,
776 (sy_call_t *)linux_sys_rt_sigreturn },/* 351 = rt_sigreturn */
777 { ns(struct linux_sys_rt_sigaction_args), 0,
778 (sy_call_t *)linux_sys_rt_sigaction },/* 352 = rt_sigaction */
779 { ns(struct linux_sys_rt_sigprocmask_args), 0,
780 (sy_call_t *)linux_sys_rt_sigprocmask },/* 353 = rt_sigprocmask */
781 { ns(struct linux_sys_rt_sigpending_args), 0,
782 (sy_call_t *)linux_sys_rt_sigpending },/* 354 = rt_sigpending */
783 { 0, 0, 0,
784 linux_sys_nosys }, /* 355 = unimplemented rt_sigtimedwait */
785 { ns(struct linux_sys_rt_queueinfo_args), 0,
786 (sy_call_t *)linux_sys_rt_queueinfo },/* 356 = rt_queueinfo */
787 { ns(struct linux_sys_rt_sigsuspend_args), 0,
788 (sy_call_t *)linux_sys_rt_sigsuspend },/* 357 = rt_sigsuspend */
789 { ns(struct linux_sys_select_args), 0,
790 (sy_call_t *)linux_sys_select }, /* 358 = select */
791 { ns(struct compat_50_sys_gettimeofday_args), 0,
792 (sy_call_t *)compat_50_sys_gettimeofday },/* 359 = gettimeofday */
793 { ns(struct compat_50_sys_settimeofday_args), 0,
794 (sy_call_t *)compat_50_sys_settimeofday },/* 360 = settimeofday */
795 { ns(struct compat_50_sys_getitimer_args), 0,
796 (sy_call_t *)compat_50_sys_getitimer },/* 361 = getitimer */
797 { ns(struct compat_50_sys_setitimer_args), 0,
798 (sy_call_t *)compat_50_sys_setitimer },/* 362 = setitimer */
799 { ns(struct compat_50_sys_utimes_args), 0,
800 (sy_call_t *)compat_50_sys_utimes },/* 363 = utimes */
801 { ns(struct compat_50_sys_getrusage_args), 0,
802 (sy_call_t *)compat_50_sys_getrusage },/* 364 = getrusage */
803 { ns(struct linux_sys_wait4_args), 0,
804 (sy_call_t *)linux_sys_wait4 }, /* 365 = wait4 */
805 { 0, 0, 0,
806 linux_sys_nosys }, /* 366 = unimplemented adjtimex */
807 { ns(struct sys___getcwd_args), 0,
808 (sy_call_t *)sys___getcwd }, /* 367 = __getcwd */
809 { 0, 0, 0,
810 linux_sys_nosys }, /* 368 = unimplemented capget */
811 { 0, 0, 0,
812 linux_sys_nosys }, /* 369 = unimplemented capset */
813 { 0, 0, 0,
814 linux_sys_nosys }, /* 370 = unimplemented sendfile */
815 { 0, 0, 0,
816 linux_sys_nosys }, /* 371 = unimplemented setresgid */
817 { 0, 0, 0,
818 linux_sys_nosys }, /* 372 = unimplemented getresgid */
819 { 0, 0, 0,
820 linux_sys_nosys }, /* 373 = unimplemented sys_dipc */
821 { 0, 0, 0,
822 linux_sys_nosys }, /* 374 = unimplemented pivot_root */
823 { ns(struct sys_mincore_args), 0,
824 (sy_call_t *)sys_mincore }, /* 375 = mincore */
825 { 0, 0, 0,
826 linux_sys_nosys }, /* 376 = unimplemented pciconfig_iobase */
827 { ns(struct linux_sys_getdents64_args), 0,
828 (sy_call_t *)linux_sys_getdents64 },/* 377 = getdents64 */
829 { 0, 0, 0,
830 linux_sys_nosys }, /* 378 = unimplemented gettid */
831 { 0, 0, 0,
832 linux_sys_nosys }, /* 379 = unimplemented readahead */
833 { 0, 0, 0,
834 linux_sys_nosys }, /* 380 = unimplemented / * unused * / */
835 { 0, 0, 0,
836 linux_sys_nosys }, /* 381 = unimplemented tkill */
837 { ns(struct linux_sys_setxattr_args), 0,
838 (sy_call_t *)linux_sys_setxattr }, /* 382 = setxattr */
839 { ns(struct linux_sys_lsetxattr_args), 0,
840 (sy_call_t *)linux_sys_lsetxattr }, /* 383 = lsetxattr */
841 { ns(struct linux_sys_fsetxattr_args), 0,
842 (sy_call_t *)linux_sys_fsetxattr }, /* 384 = fsetxattr */
843 { ns(struct linux_sys_getxattr_args), 0,
844 (sy_call_t *)linux_sys_getxattr }, /* 385 = getxattr */
845 { ns(struct linux_sys_lgetxattr_args), 0,
846 (sy_call_t *)linux_sys_lgetxattr }, /* 386 = lgetxattr */
847 { ns(struct linux_sys_fgetxattr_args), 0,
848 (sy_call_t *)linux_sys_fgetxattr }, /* 387 = fgetxattr */
849 { ns(struct linux_sys_listxattr_args), 0,
850 (sy_call_t *)linux_sys_listxattr }, /* 388 = listxattr */
851 { ns(struct linux_sys_llistxattr_args), 0,
852 (sy_call_t *)linux_sys_llistxattr },/* 389 = llistxattr */
853 { ns(struct linux_sys_flistxattr_args), 0,
854 (sy_call_t *)linux_sys_flistxattr },/* 390 = flistxattr */
855 { ns(struct linux_sys_removexattr_args), 0,
856 (sy_call_t *)linux_sys_removexattr },/* 391 = removexattr */
857 { ns(struct linux_sys_lremovexattr_args), 0,
858 (sy_call_t *)linux_sys_lremovexattr },/* 392 = lremovexattr */
859 { ns(struct linux_sys_fremovexattr_args), 0,
860 (sy_call_t *)linux_sys_fremovexattr },/* 393 = fremovexattr */
861 { 0, 0, 0,
862 linux_sys_nosys }, /* 394 = unimplemented futex */
863 { 0, 0, 0,
864 linux_sys_nosys }, /* 395 = unimplemented sched_setaffinity */
865 { 0, 0, 0,
866 linux_sys_nosys }, /* 396 = unimplemented sched_getaffinity */
867 { 0, 0, 0,
868 linux_sys_nosys }, /* 397 = unimplemented tuxcall */
869 { 0, 0, 0,
870 linux_sys_nosys }, /* 398 = unimplemented io_setup */
871 { 0, 0, 0,
872 linux_sys_nosys }, /* 399 = unimplemented io_destroy */
873 { 0, 0, 0,
874 linux_sys_nosys }, /* 400 = unimplemented io_getevents */
875 { 0, 0, 0,
876 linux_sys_nosys }, /* 401 = unimplemented io_submit */
877 { 0, 0, 0,
878 linux_sys_nosys }, /* 402 = unimplemented io_cancel */
879 { 0, 0, 0,
880 linux_sys_nosys }, /* 403 = unimplemented / * unused * / */
881 { 0, 0, 0,
882 linux_sys_nosys }, /* 404 = unimplemented / * unused * / */
883 { ns(struct linux_sys_exit_group_args), 0,
884 (sy_call_t *)linux_sys_exit_group },/* 405 = exit_group */
885 { 0, 0, 0,
886 linux_sys_nosys }, /* 406 = unimplemented lookup_dcookie */
887 { 0, 0, 0,
888 linux_sys_nosys }, /* 407 = unimplemented sys_epoll_create */
889 { 0, 0, 0,
890 linux_sys_nosys }, /* 408 = unimplemented sys_epoll_ctl */
891 { 0, 0, 0,
892 linux_sys_nosys }, /* 409 = unimplemented sys_epoll_wait */
893 { 0, 0, 0,
894 linux_sys_nosys }, /* 410 = unimplemented remap_file_pages */
895 { 0, 0, 0,
896 linux_sys_nosys }, /* 411 = unimplemented set_tid_address */
897 { 0, 0, 0,
898 linux_sys_nosys }, /* 412 = unimplemented restart_syscall */
899 { 0, 0, 0,
900 linux_sys_nosys }, /* 413 = unimplemented fadvise64 */
901 { 0, 0, 0,
902 linux_sys_nosys }, /* 414 = unimplemented timer_create */
903 { 0, 0, 0,
904 linux_sys_nosys }, /* 415 = unimplemented timer_settime */
905 { 0, 0, 0,
906 linux_sys_nosys }, /* 416 = unimplemented timer_gettime */
907 { 0, 0, 0,
908 linux_sys_nosys }, /* 417 = unimplemented timer_getoverrun */
909 { 0, 0, 0,
910 linux_sys_nosys }, /* 418 = unimplemented timer_delete */
911 { ns(struct linux_sys_clock_settime_args), 0,
912 (sy_call_t *)linux_sys_clock_settime },/* 419 = clock_settime */
913 { ns(struct linux_sys_clock_gettime_args), 0,
914 (sy_call_t *)linux_sys_clock_gettime },/* 420 = clock_gettime */
915 { ns(struct linux_sys_clock_getres_args), 0,
916 (sy_call_t *)linux_sys_clock_getres },/* 421 = clock_getres */
917 { ns(struct linux_sys_clock_nanosleep_args), 0,
918 (sy_call_t *)linux_sys_clock_nanosleep },/* 422 = clock_nanosleep */
919 { 0, 0, 0,
920 linux_sys_nosys }, /* 423 = unimplemented semtimedop */
921 { 0, 0, 0,
922 linux_sys_nosys }, /* 424 = unimplemented tgkill */
923 { 0, 0, 0,
924 linux_sys_nosys }, /* 425 = unimplemented stat64 */
925 { 0, 0, 0,
926 linux_sys_nosys }, /* 426 = unimplemented lstat64 */
927 { 0, 0, 0,
928 linux_sys_nosys }, /* 427 = unimplemented fstat64 */
929 { 0, 0, 0,
930 linux_sys_nosys }, /* 428 = unimplemented vserver */
931 { 0, 0, 0,
932 linux_sys_nosys }, /* 429 = unimplemented mbind */
933 { 0, 0, 0,
934 linux_sys_nosys }, /* 430 = unimplemented get_mempolicy */
935 { 0, 0, 0,
936 linux_sys_nosys }, /* 431 = unimplemented set_mempolicy */
937 { 0, 0, 0,
938 linux_sys_nosys }, /* 432 = unimplemented mq_open */
939 { 0, 0, 0,
940 linux_sys_nosys }, /* 433 = unimplemented mq_unlink */
941 { 0, 0, 0,
942 linux_sys_nosys }, /* 434 = unimplemented mq_timedsend */
943 { 0, 0, 0,
944 linux_sys_nosys }, /* 435 = unimplemented mq_timedreceive */
945 { 0, 0, 0,
946 linux_sys_nosys }, /* 436 = unimplemented mq_notify */
947 { 0, 0, 0,
948 linux_sys_nosys }, /* 437 = unimplemented mq_getsetattr */
949 { 0, 0, 0,
950 linux_sys_nosys }, /* 438 = filler */
951 { 0, 0, 0,
952 linux_sys_nosys }, /* 439 = filler */
953 { 0, 0, 0,
954 linux_sys_nosys }, /* 440 = filler */
955 { 0, 0, 0,
956 linux_sys_nosys }, /* 441 = filler */
957 { 0, 0, 0,
958 linux_sys_nosys }, /* 442 = filler */
959 { 0, 0, 0,
960 linux_sys_nosys }, /* 443 = filler */
961 { 0, 0, 0,
962 linux_sys_nosys }, /* 444 = filler */
963 { 0, 0, 0,
964 linux_sys_nosys }, /* 445 = filler */
965 { 0, 0, 0,
966 linux_sys_nosys }, /* 446 = filler */
967 { 0, 0, 0,
968 linux_sys_nosys }, /* 447 = filler */
969 { 0, 0, 0,
970 linux_sys_nosys }, /* 448 = filler */
971 { 0, 0, 0,
972 linux_sys_nosys }, /* 449 = filler */
973 { 0, 0, 0,
974 linux_sys_nosys }, /* 450 = filler */
975 { 0, 0, 0,
976 linux_sys_nosys }, /* 451 = filler */
977 { 0, 0, 0,
978 linux_sys_nosys }, /* 452 = filler */
979 { 0, 0, 0,
980 linux_sys_nosys }, /* 453 = filler */
981 { 0, 0, 0,
982 linux_sys_nosys }, /* 454 = filler */
983 { 0, 0, 0,
984 linux_sys_nosys }, /* 455 = filler */
985 { 0, 0, 0,
986 linux_sys_nosys }, /* 456 = filler */
987 { 0, 0, 0,
988 linux_sys_nosys }, /* 457 = filler */
989 { 0, 0, 0,
990 linux_sys_nosys }, /* 458 = filler */
991 { 0, 0, 0,
992 linux_sys_nosys }, /* 459 = filler */
993 { 0, 0, 0,
994 linux_sys_nosys }, /* 460 = filler */
995 { 0, 0, 0,
996 linux_sys_nosys }, /* 461 = filler */
997 { 0, 0, 0,
998 linux_sys_nosys }, /* 462 = filler */
999 { 0, 0, 0,
1000 linux_sys_nosys }, /* 463 = filler */
1001 { 0, 0, 0,
1002 linux_sys_nosys }, /* 464 = filler */
1003 { 0, 0, 0,
1004 linux_sys_nosys }, /* 465 = filler */
1005 { 0, 0, 0,
1006 linux_sys_nosys }, /* 466 = filler */
1007 { 0, 0, 0,
1008 linux_sys_nosys }, /* 467 = filler */
1009 { 0, 0, 0,
1010 linux_sys_nosys }, /* 468 = filler */
1011 { 0, 0, 0,
1012 linux_sys_nosys }, /* 469 = filler */
1013 { 0, 0, 0,
1014 linux_sys_nosys }, /* 470 = filler */
1015 { 0, 0, 0,
1016 linux_sys_nosys }, /* 471 = filler */
1017 { 0, 0, 0,
1018 linux_sys_nosys }, /* 472 = filler */
1019 { 0, 0, 0,
1020 linux_sys_nosys }, /* 473 = filler */
1021 { 0, 0, 0,
1022 linux_sys_nosys }, /* 474 = filler */
1023 { 0, 0, 0,
1024 linux_sys_nosys }, /* 475 = filler */
1025 { 0, 0, 0,
1026 linux_sys_nosys }, /* 476 = filler */
1027 { 0, 0, 0,
1028 linux_sys_nosys }, /* 477 = filler */
1029 { 0, 0, 0,
1030 linux_sys_nosys }, /* 478 = filler */
1031 { 0, 0, 0,
1032 linux_sys_nosys }, /* 479 = filler */
1033 { 0, 0, 0,
1034 linux_sys_nosys }, /* 480 = filler */
1035 { 0, 0, 0,
1036 linux_sys_nosys }, /* 481 = filler */
1037 { 0, 0, 0,
1038 linux_sys_nosys }, /* 482 = filler */
1039 { 0, 0, 0,
1040 linux_sys_nosys }, /* 483 = filler */
1041 { 0, 0, 0,
1042 linux_sys_nosys }, /* 484 = filler */
1043 { 0, 0, 0,
1044 linux_sys_nosys }, /* 485 = filler */
1045 { 0, 0, 0,
1046 linux_sys_nosys }, /* 486 = filler */
1047 { 0, 0, 0,
1048 linux_sys_nosys }, /* 487 = filler */
1049 { 0, 0, 0,
1050 linux_sys_nosys }, /* 488 = filler */
1051 { 0, 0, 0,
1052 linux_sys_nosys }, /* 489 = filler */
1053 { 0, 0, 0,
1054 linux_sys_nosys }, /* 490 = filler */
1055 { 0, 0, 0,
1056 linux_sys_nosys }, /* 491 = filler */
1057 { 0, 0, 0,
1058 linux_sys_nosys }, /* 492 = filler */
1059 { 0, 0, 0,
1060 linux_sys_nosys }, /* 493 = filler */
1061 { 0, 0, 0,
1062 linux_sys_nosys }, /* 494 = filler */
1063 { 0, 0, 0,
1064 linux_sys_nosys }, /* 495 = filler */
1065 { 0, 0, 0,
1066 linux_sys_nosys }, /* 496 = filler */
1067 { 0, 0, 0,
1068 linux_sys_nosys }, /* 497 = filler */
1069 { 0, 0, 0,
1070 linux_sys_nosys }, /* 498 = filler */
1071 { 0, 0, 0,
1072 linux_sys_nosys }, /* 499 = filler */
1073 { 0, 0, 0,
1074 linux_sys_nosys }, /* 500 = filler */
1075 { 0, 0, 0,
1076 linux_sys_nosys }, /* 501 = filler */
1077 { 0, 0, 0,
1078 linux_sys_nosys }, /* 502 = filler */
1079 { 0, 0, 0,
1080 linux_sys_nosys }, /* 503 = filler */
1081 { 0, 0, 0,
1082 linux_sys_nosys }, /* 504 = filler */
1083 { 0, 0, 0,
1084 linux_sys_nosys }, /* 505 = filler */
1085 { 0, 0, 0,
1086 linux_sys_nosys }, /* 506 = filler */
1087 { 0, 0, 0,
1088 linux_sys_nosys }, /* 507 = filler */
1089 { 0, 0, 0,
1090 linux_sys_nosys }, /* 508 = filler */
1091 { 0, 0, 0,
1092 linux_sys_nosys }, /* 509 = filler */
1093 { 0, 0, 0,
1094 linux_sys_nosys }, /* 510 = filler */
1095 { 0, 0, 0,
1096 linux_sys_nosys }, /* 511 = filler */