4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.66 2009/01/17 22:28:52 njoly Exp
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_compat_netbsd.h"
15 #include "opt_compat_43.h"
17 #include <sys/param.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/mount.h>
22 #include <sys/sched.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/linux_syscallargs.h>
31 #define s(type) sizeof(type)
32 #define n(type) (sizeof(type)/sizeof (register_t))
33 #define ns(type) n(type), s(type)
35 struct sysent linux_sysent
[] = {
37 (sy_call_t
*)linux_sys_nosys
}, /* 0 = syscall */
38 { ns(struct sys_exit_args
), 0,
39 (sy_call_t
*)sys_exit
}, /* 1 = exit */
41 (sy_call_t
*)sys_fork
}, /* 2 = fork */
42 { ns(struct sys_read_args
), 0,
43 (sy_call_t
*)sys_read
}, /* 3 = read */
44 { ns(struct sys_write_args
), 0,
45 (sy_call_t
*)sys_write
}, /* 4 = write */
46 { ns(struct linux_sys_open_args
), 0,
47 (sy_call_t
*)linux_sys_open
}, /* 5 = open */
48 { ns(struct sys_close_args
), 0,
49 (sy_call_t
*)sys_close
}, /* 6 = close */
50 { ns(struct linux_sys_waitpid_args
), 0,
51 (sy_call_t
*)linux_sys_waitpid
}, /* 7 = waitpid */
52 { ns(struct linux_sys_creat_args
), 0,
53 (sy_call_t
*)linux_sys_creat
}, /* 8 = creat */
54 { ns(struct sys_link_args
), 0,
55 (sy_call_t
*)sys_link
}, /* 9 = link */
56 { ns(struct linux_sys_unlink_args
), 0,
57 (sy_call_t
*)linux_sys_unlink
}, /* 10 = unlink */
58 { ns(struct sys_execve_args
), 0,
59 (sy_call_t
*)sys_execve
}, /* 11 = execve */
60 { ns(struct sys_chdir_args
), 0,
61 (sy_call_t
*)sys_chdir
}, /* 12 = chdir */
62 { ns(struct linux_sys_time_args
), 0,
63 (sy_call_t
*)linux_sys_time
}, /* 13 = time */
64 { ns(struct linux_sys_mknod_args
), 0,
65 (sy_call_t
*)linux_sys_mknod
}, /* 14 = mknod */
66 { ns(struct sys_chmod_args
), 0,
67 (sy_call_t
*)sys_chmod
}, /* 15 = chmod */
68 { ns(struct linux_sys_chown16_args
), 0,
69 (sy_call_t
*)linux_sys_chown16
}, /* 16 = chown16 */
71 linux_sys_nosys
}, /* 17 = obsolete break */
73 linux_sys_nosys
}, /* 18 = obsolete ostat */
74 #if !defined(_KERNEL) || defined(COMPAT_43)
75 { ns(struct compat_43_sys_lseek_args
), 0,
76 (sy_call_t
*)compat_43_sys_lseek
}, /* 19 = lseek */
79 linux_sys_nosys
}, /* 19 = unimplemented compat_43_sys_lseek */
82 (sy_call_t
*)sys_getpid
}, /* 20 = getpid */
84 linux_sys_nosys
}, /* 21 = unimplemented mount */
86 linux_sys_nosys
}, /* 22 = obsolete umount */
87 { ns(struct sys_setuid_args
), 0,
88 (sy_call_t
*)sys_setuid
}, /* 23 = linux_setuid16 */
90 (sy_call_t
*)sys_getuid
}, /* 24 = linux_getuid16 */
91 { ns(struct linux_sys_stime_args
), 0,
92 (sy_call_t
*)linux_sys_stime
}, /* 25 = stime */
93 { ns(struct linux_sys_ptrace_args
), 0,
94 (sy_call_t
*)linux_sys_ptrace
}, /* 26 = ptrace */
95 { ns(struct linux_sys_alarm_args
), 0,
96 (sy_call_t
*)linux_sys_alarm
}, /* 27 = alarm */
98 linux_sys_nosys
}, /* 28 = obsolete ofstat */
100 (sy_call_t
*)linux_sys_pause
}, /* 29 = pause */
101 { ns(struct linux_sys_utime_args
), 0,
102 (sy_call_t
*)linux_sys_utime
}, /* 30 = utime */
104 linux_sys_nosys
}, /* 31 = obsolete stty */
106 linux_sys_nosys
}, /* 32 = obsolete gtty */
107 { ns(struct sys_access_args
), 0,
108 (sy_call_t
*)sys_access
}, /* 33 = access */
109 { ns(struct linux_sys_nice_args
), 0,
110 (sy_call_t
*)linux_sys_nice
}, /* 34 = nice */
112 linux_sys_nosys
}, /* 35 = obsolete ftime */
114 (sy_call_t
*)sys_sync
}, /* 36 = sync */
115 { ns(struct linux_sys_kill_args
), 0,
116 (sy_call_t
*)linux_sys_kill
}, /* 37 = kill */
117 { ns(struct sys___posix_rename_args
), 0,
118 (sy_call_t
*)sys___posix_rename
}, /* 38 = __posix_rename */
119 { ns(struct sys_mkdir_args
), 0,
120 (sy_call_t
*)sys_mkdir
}, /* 39 = mkdir */
121 { ns(struct sys_rmdir_args
), 0,
122 (sy_call_t
*)sys_rmdir
}, /* 40 = rmdir */
123 { ns(struct sys_dup_args
), 0,
124 (sy_call_t
*)sys_dup
}, /* 41 = dup */
125 { ns(struct linux_sys_pipe_args
), 0,
126 (sy_call_t
*)linux_sys_pipe
}, /* 42 = pipe */
127 { ns(struct linux_sys_times_args
), 0,
128 (sy_call_t
*)linux_sys_times
}, /* 43 = times */
130 linux_sys_nosys
}, /* 44 = obsolete prof */
131 { ns(struct linux_sys_brk_args
), 0,
132 (sy_call_t
*)linux_sys_brk
}, /* 45 = brk */
133 { ns(struct sys_setgid_args
), 0,
134 (sy_call_t
*)sys_setgid
}, /* 46 = linux_setgid16 */
136 (sy_call_t
*)sys_getgid
}, /* 47 = linux_getgid16 */
137 { ns(struct linux_sys_signal_args
), 0,
138 (sy_call_t
*)linux_sys_signal
}, /* 48 = signal */
140 (sy_call_t
*)sys_geteuid
}, /* 49 = linux_geteuid16 */
142 (sy_call_t
*)sys_getegid
}, /* 50 = linux_getegid16 */
143 { ns(struct sys_acct_args
), 0,
144 (sy_call_t
*)sys_acct
}, /* 51 = acct */
146 linux_sys_nosys
}, /* 52 = unimplemented umount */
148 linux_sys_nosys
}, /* 53 = obsolete lock */
149 { ns(struct linux_sys_ioctl_args
), 0,
150 (sy_call_t
*)linux_sys_ioctl
}, /* 54 = ioctl */
151 { ns(struct linux_sys_fcntl_args
), 0,
152 (sy_call_t
*)linux_sys_fcntl
}, /* 55 = fcntl */
154 linux_sys_nosys
}, /* 56 = obsolete mpx */
155 { ns(struct sys_setpgid_args
), 0,
156 (sy_call_t
*)sys_setpgid
}, /* 57 = setpgid */
158 linux_sys_nosys
}, /* 58 = obsolete ulimit */
160 linux_sys_nosys
}, /* 59 = unimplemented oldolduname */
161 { ns(struct sys_umask_args
), 0,
162 (sy_call_t
*)sys_umask
}, /* 60 = umask */
163 { ns(struct sys_chroot_args
), 0,
164 (sy_call_t
*)sys_chroot
}, /* 61 = chroot */
166 linux_sys_nosys
}, /* 62 = unimplemented ustat */
167 { ns(struct sys_dup2_args
), 0,
168 (sy_call_t
*)sys_dup2
}, /* 63 = dup2 */
170 (sy_call_t
*)sys_getppid
}, /* 64 = getppid */
172 (sy_call_t
*)sys_getpgrp
}, /* 65 = getpgrp */
174 (sy_call_t
*)sys_setsid
}, /* 66 = setsid */
175 { ns(struct linux_sys_sigaction_args
), 0,
176 (sy_call_t
*)linux_sys_sigaction
}, /* 67 = sigaction */
178 (sy_call_t
*)linux_sys_siggetmask
},/* 68 = siggetmask */
179 { ns(struct linux_sys_sigsetmask_args
), 0,
180 (sy_call_t
*)linux_sys_sigsetmask
},/* 69 = sigsetmask */
181 { ns(struct linux_sys_setreuid16_args
), 0,
182 (sy_call_t
*)linux_sys_setreuid16
},/* 70 = setreuid16 */
183 { ns(struct linux_sys_setregid16_args
), 0,
184 (sy_call_t
*)linux_sys_setregid16
},/* 71 = setregid16 */
185 { ns(struct linux_sys_sigsuspend_args
), 0,
186 (sy_call_t
*)linux_sys_sigsuspend
},/* 72 = sigsuspend */
187 { ns(struct linux_sys_sigpending_args
), 0,
188 (sy_call_t
*)linux_sys_sigpending
},/* 73 = sigpending */
189 #if !defined(_KERNEL) || defined(COMPAT_43)
190 { ns(struct compat_43_sys_sethostname_args
), 0,
191 (sy_call_t
*)compat_43_sys_sethostname
},/* 74 = sethostname */
194 linux_sys_nosys
}, /* 74 = unimplemented compat_43_sys_sethostname */
196 { ns(struct linux_sys_setrlimit_args
), 0,
197 (sy_call_t
*)linux_sys_setrlimit
}, /* 75 = setrlimit */
198 { ns(struct linux_sys_getrlimit_args
), 0,
199 (sy_call_t
*)linux_sys_getrlimit
}, /* 76 = getrlimit */
200 { ns(struct compat_50_sys_getrusage_args
), 0,
201 (sy_call_t
*)compat_50_sys_getrusage
},/* 77 = getrusage */
202 { ns(struct linux_sys_gettimeofday_args
), 0,
203 (sy_call_t
*)linux_sys_gettimeofday
},/* 78 = gettimeofday */
204 { ns(struct linux_sys_settimeofday_args
), 0,
205 (sy_call_t
*)linux_sys_settimeofday
},/* 79 = settimeofday */
206 { ns(struct linux_sys_getgroups16_args
), 0,
207 (sy_call_t
*)linux_sys_getgroups16
},/* 80 = getgroups16 */
208 { ns(struct linux_sys_setgroups16_args
), 0,
209 (sy_call_t
*)linux_sys_setgroups16
},/* 81 = setgroups16 */
210 { ns(struct linux_sys_oldselect_args
), 0,
211 (sy_call_t
*)linux_sys_oldselect
}, /* 82 = oldselect */
212 { ns(struct sys_symlink_args
), 0,
213 (sy_call_t
*)sys_symlink
}, /* 83 = symlink */
214 #if !defined(_KERNEL) || defined(COMPAT_43)
215 { ns(struct compat_43_sys_lstat_args
), 0,
216 (sy_call_t
*)compat_43_sys_lstat
}, /* 84 = oolstat */
219 linux_sys_nosys
}, /* 84 = unimplemented compat_43_sys_lstat */
221 { ns(struct sys_readlink_args
), 0,
222 (sy_call_t
*)sys_readlink
}, /* 85 = readlink */
224 { ns(struct linux_sys_uselib_args
), 0,
225 (sy_call_t
*)linux_sys_uselib
}, /* 86 = uselib */
228 linux_sys_nosys
}, /* 86 = unimplemented sys_uselib */
230 { ns(struct linux_sys_swapon_args
), 0,
231 (sy_call_t
*)linux_sys_swapon
}, /* 87 = swapon */
232 { ns(struct linux_sys_reboot_args
), 0,
233 (sy_call_t
*)linux_sys_reboot
}, /* 88 = reboot */
234 { ns(struct linux_sys_readdir_args
), 0,
235 (sy_call_t
*)linux_sys_readdir
}, /* 89 = readdir */
236 { ns(struct linux_sys_old_mmap_args
), 0,
237 (sy_call_t
*)linux_sys_old_mmap
}, /* 90 = old_mmap */
238 { ns(struct sys_munmap_args
), 0,
239 (sy_call_t
*)sys_munmap
}, /* 91 = munmap */
240 { ns(struct compat_43_sys_truncate_args
), 0,
241 (sy_call_t
*)compat_43_sys_truncate
},/* 92 = truncate */
242 #if !defined(_KERNEL) || defined(COMPAT_43)
243 { ns(struct compat_43_sys_ftruncate_args
), 0,
244 (sy_call_t
*)compat_43_sys_ftruncate
},/* 93 = ftruncate */
247 linux_sys_nosys
}, /* 93 = unimplemented compat_43_sys_ftruncate */
249 { ns(struct sys_fchmod_args
), 0,
250 (sy_call_t
*)sys_fchmod
}, /* 94 = fchmod */
251 { ns(struct linux_sys_fchown16_args
), 0,
252 (sy_call_t
*)linux_sys_fchown16
}, /* 95 = fchown16 */
253 { ns(struct linux_sys_getpriority_args
), 0,
254 (sy_call_t
*)linux_sys_getpriority
},/* 96 = getpriority */
255 { ns(struct sys_setpriority_args
), 0,
256 (sy_call_t
*)sys_setpriority
}, /* 97 = setpriority */
257 { ns(struct sys_profil_args
), 0,
258 (sy_call_t
*)sys_profil
}, /* 98 = profil */
259 { ns(struct linux_sys_statfs_args
), 0,
260 (sy_call_t
*)linux_sys_statfs
}, /* 99 = statfs */
261 { ns(struct linux_sys_fstatfs_args
), 0,
262 (sy_call_t
*)linux_sys_fstatfs
}, /* 100 = fstatfs */
264 linux_sys_nosys
}, /* 101 = unimplemented ioperm */
265 { ns(struct linux_sys_socketcall_args
), 0,
266 (sy_call_t
*)linux_sys_socketcall
},/* 102 = socketcall */
268 linux_sys_nosys
}, /* 103 = unimplemented syslog */
269 { ns(struct compat_50_sys_setitimer_args
), 0,
270 (sy_call_t
*)compat_50_sys_setitimer
},/* 104 = setitimer */
271 { ns(struct compat_50_sys_getitimer_args
), 0,
272 (sy_call_t
*)compat_50_sys_getitimer
},/* 105 = getitimer */
273 { ns(struct linux_sys_stat_args
), 0,
274 (sy_call_t
*)linux_sys_stat
}, /* 106 = stat */
275 { ns(struct linux_sys_lstat_args
), 0,
276 (sy_call_t
*)linux_sys_lstat
}, /* 107 = lstat */
277 { ns(struct linux_sys_fstat_args
), 0,
278 (sy_call_t
*)linux_sys_fstat
}, /* 108 = fstat */
280 linux_sys_nosys
}, /* 109 = unimplemented olduname */
282 linux_sys_nosys
}, /* 110 = unimplemented iopl */
284 linux_sys_nosys
}, /* 111 = unimplemented vhangup */
286 linux_sys_nosys
}, /* 112 = unimplemented idle */
288 linux_sys_nosys
}, /* 113 = unimplemented vm86old */
289 { ns(struct linux_sys_wait4_args
), 0,
290 (sy_call_t
*)linux_sys_wait4
}, /* 114 = wait4 */
291 { ns(struct linux_sys_swapoff_args
), 0,
292 (sy_call_t
*)linux_sys_swapoff
}, /* 115 = swapoff */
293 { ns(struct linux_sys_sysinfo_args
), 0,
294 (sy_call_t
*)linux_sys_sysinfo
}, /* 116 = sysinfo */
295 { ns(struct linux_sys_ipc_args
), 0,
296 (sy_call_t
*)linux_sys_ipc
}, /* 117 = ipc */
297 { ns(struct sys_fsync_args
), 0,
298 (sy_call_t
*)sys_fsync
}, /* 118 = fsync */
300 (sy_call_t
*)linux_sys_sigreturn
}, /* 119 = sigreturn */
301 { ns(struct linux_sys_clone_args
), 0,
302 (sy_call_t
*)linux_sys_clone
}, /* 120 = clone */
303 { ns(struct linux_sys_setdomainname_args
), 0,
304 (sy_call_t
*)linux_sys_setdomainname
},/* 121 = setdomainname */
305 { ns(struct linux_sys_uname_args
), 0,
306 (sy_call_t
*)linux_sys_uname
}, /* 122 = uname */
307 { ns(struct linux_sys_cacheflush_args
), 0,
308 (sy_call_t
*)linux_sys_cacheflush
},/* 123 = cacheflush */
310 linux_sys_nosys
}, /* 124 = unimplemented adjtimex */
311 { ns(struct linux_sys_mprotect_args
), 0,
312 (sy_call_t
*)linux_sys_mprotect
}, /* 125 = mprotect */
313 { ns(struct linux_sys_sigprocmask_args
), 0,
314 (sy_call_t
*)linux_sys_sigprocmask
},/* 126 = sigprocmask */
316 linux_sys_nosys
}, /* 127 = unimplemented create_module */
318 linux_sys_nosys
}, /* 128 = unimplemented init_module */
320 linux_sys_nosys
}, /* 129 = unimplemented delete_module */
322 linux_sys_nosys
}, /* 130 = unimplemented get_kernel_syms */
324 linux_sys_nosys
}, /* 131 = unimplemented quotactl */
325 { ns(struct sys_getpgid_args
), 0,
326 (sy_call_t
*)sys_getpgid
}, /* 132 = getpgid */
327 { ns(struct sys_fchdir_args
), 0,
328 (sy_call_t
*)sys_fchdir
}, /* 133 = fchdir */
330 linux_sys_nosys
}, /* 134 = unimplemented bdflush */
332 linux_sys_nosys
}, /* 135 = unimplemented sysfs */
333 { ns(struct linux_sys_personality_args
), 0,
334 (sy_call_t
*)linux_sys_personality
},/* 136 = personality */
336 linux_sys_nosys
}, /* 137 = unimplemented afs_syscall */
337 { ns(struct linux_sys_setfsuid_args
), 0,
338 (sy_call_t
*)linux_sys_setfsuid
}, /* 138 = linux_setfsuid16 */
339 { ns(struct linux_sys_setfsgid_args
), 0,
340 (sy_call_t
*)linux_sys_setfsgid
}, /* 139 = linux_setfsgid16 */
341 { ns(struct linux_sys_llseek_args
), 0,
342 (sy_call_t
*)linux_sys_llseek
}, /* 140 = llseek */
343 { ns(struct linux_sys_getdents_args
), 0,
344 (sy_call_t
*)linux_sys_getdents
}, /* 141 = getdents */
345 { ns(struct linux_sys_select_args
), 0,
346 (sy_call_t
*)linux_sys_select
}, /* 142 = select */
347 { ns(struct sys_flock_args
), 0,
348 (sy_call_t
*)sys_flock
}, /* 143 = flock */
349 { ns(struct sys___msync13_args
), 0,
350 (sy_call_t
*)sys___msync13
}, /* 144 = __msync13 */
351 { ns(struct sys_readv_args
), 0,
352 (sy_call_t
*)sys_readv
}, /* 145 = readv */
353 { ns(struct sys_writev_args
), 0,
354 (sy_call_t
*)sys_writev
}, /* 146 = writev */
355 { ns(struct sys_getsid_args
), 0,
356 (sy_call_t
*)sys_getsid
}, /* 147 = getsid */
357 { ns(struct linux_sys_fdatasync_args
), 0,
358 (sy_call_t
*)linux_sys_fdatasync
}, /* 148 = fdatasync */
359 { ns(struct linux_sys___sysctl_args
), 0,
360 (sy_call_t
*)linux_sys___sysctl
}, /* 149 = __sysctl */
361 { ns(struct sys_mlock_args
), 0,
362 (sy_call_t
*)sys_mlock
}, /* 150 = mlock */
363 { ns(struct sys_munlock_args
), 0,
364 (sy_call_t
*)sys_munlock
}, /* 151 = munlock */
365 { ns(struct sys_mlockall_args
), 0,
366 (sy_call_t
*)sys_mlockall
}, /* 152 = mlockall */
368 (sy_call_t
*)sys_munlockall
}, /* 153 = munlockall */
369 { ns(struct linux_sys_sched_setparam_args
), 0,
370 (sy_call_t
*)linux_sys_sched_setparam
},/* 154 = sched_setparam */
371 { ns(struct linux_sys_sched_getparam_args
), 0,
372 (sy_call_t
*)linux_sys_sched_getparam
},/* 155 = sched_getparam */
373 { ns(struct linux_sys_sched_setscheduler_args
), 0,
374 (sy_call_t
*)linux_sys_sched_setscheduler
},/* 156 = sched_setscheduler */
375 { ns(struct linux_sys_sched_getscheduler_args
), 0,
376 (sy_call_t
*)linux_sys_sched_getscheduler
},/* 157 = sched_getscheduler */
378 (sy_call_t
*)linux_sys_sched_yield
},/* 158 = sched_yield */
379 { ns(struct linux_sys_sched_get_priority_max_args
), 0,
380 (sy_call_t
*)linux_sys_sched_get_priority_max
},/* 159 = sched_get_priority_max */
381 { ns(struct linux_sys_sched_get_priority_min_args
), 0,
382 (sy_call_t
*)linux_sys_sched_get_priority_min
},/* 160 = sched_get_priority_min */
384 linux_sys_nosys
}, /* 161 = unimplemented sched_rr_get_interval */
385 { ns(struct linux_sys_nanosleep_args
), 0,
386 (sy_call_t
*)linux_sys_nanosleep
}, /* 162 = nanosleep */
387 { ns(struct linux_sys_mremap_args
), 0,
388 (sy_call_t
*)linux_sys_mremap
}, /* 163 = mremap */
389 { ns(struct linux_sys_setresuid16_args
), 0,
390 (sy_call_t
*)linux_sys_setresuid16
},/* 164 = setresuid16 */
391 { ns(struct linux_sys_getresuid16_args
), 0,
392 (sy_call_t
*)linux_sys_getresuid16
},/* 165 = getresuid16 */
394 linux_sys_nosys
}, /* 166 = unimplemented vm86 */
396 linux_sys_nosys
}, /* 167 = unimplemented query_module */
397 { ns(struct sys_poll_args
), 0,
398 (sy_call_t
*)sys_poll
}, /* 168 = poll */
400 linux_sys_nosys
}, /* 169 = unimplemented nfsservctl */
401 { ns(struct linux_sys_setresgid16_args
), 0,
402 (sy_call_t
*)linux_sys_setresgid16
},/* 170 = setresgid16 */
403 { ns(struct linux_sys_getresgid16_args
), 0,
404 (sy_call_t
*)linux_sys_getresgid16
},/* 171 = getresgid16 */
406 linux_sys_nosys
}, /* 172 = unimplemented prctl */
408 (sy_call_t
*)linux_sys_rt_sigreturn
},/* 173 = rt_sigreturn */
409 { ns(struct linux_sys_rt_sigaction_args
), 0,
410 (sy_call_t
*)linux_sys_rt_sigaction
},/* 174 = rt_sigaction */
411 { ns(struct linux_sys_rt_sigprocmask_args
), 0,
412 (sy_call_t
*)linux_sys_rt_sigprocmask
},/* 175 = rt_sigprocmask */
413 { ns(struct linux_sys_rt_sigpending_args
), 0,
414 (sy_call_t
*)linux_sys_rt_sigpending
},/* 176 = rt_sigpending */
416 linux_sys_nosys
}, /* 177 = unimplemented rt_sigtimedwait */
417 { ns(struct linux_sys_rt_queueinfo_args
), 0,
418 (sy_call_t
*)linux_sys_rt_queueinfo
},/* 178 = rt_queueinfo */
419 { ns(struct linux_sys_rt_sigsuspend_args
), 0,
420 (sy_call_t
*)linux_sys_rt_sigsuspend
},/* 179 = rt_sigsuspend */
421 { ns(struct linux_sys_pread_args
), 0,
422 (sy_call_t
*)linux_sys_pread
}, /* 180 = pread */
423 { ns(struct linux_sys_pwrite_args
), 0,
424 (sy_call_t
*)linux_sys_pwrite
}, /* 181 = pwrite */
425 { ns(struct linux_sys_lchown16_args
), 0,
426 (sy_call_t
*)linux_sys_lchown16
}, /* 182 = lchown16 */
427 { ns(struct sys___getcwd_args
), 0,
428 (sy_call_t
*)sys___getcwd
}, /* 183 = __getcwd */
430 linux_sys_nosys
}, /* 184 = unimplemented capget */
432 linux_sys_nosys
}, /* 185 = unimplemented capset */
433 { ns(struct linux_sys_sigaltstack_args
), 0,
434 (sy_call_t
*)linux_sys_sigaltstack
},/* 186 = sigaltstack */
436 linux_sys_nosys
}, /* 187 = unimplemented sendfile */
438 linux_sys_nosys
}, /* 188 = unimplemented getpmsg */
440 linux_sys_nosys
}, /* 189 = unimplemented putpmsg */
442 (sy_call_t
*)sys___vfork14
}, /* 190 = __vfork14 */
443 { ns(struct linux_sys_ugetrlimit_args
), 0,
444 (sy_call_t
*)linux_sys_ugetrlimit
},/* 191 = ugetrlimit */
445 #define linux_sys_mmap2_args linux_sys_mmap_args
446 { ns(struct linux_sys_mmap2_args
), 0,
447 (sy_call_t
*)linux_sys_mmap2
}, /* 192 = mmap2 */
448 { ns(struct linux_sys_truncate64_args
), 0,
449 (sy_call_t
*)linux_sys_truncate64
},/* 193 = truncate64 */
450 { ns(struct linux_sys_ftruncate64_args
), 0,
451 (sy_call_t
*)linux_sys_ftruncate64
},/* 194 = ftruncate64 */
452 { ns(struct linux_sys_stat64_args
), 0,
453 (sy_call_t
*)linux_sys_stat64
}, /* 195 = stat64 */
454 { ns(struct linux_sys_lstat64_args
), 0,
455 (sy_call_t
*)linux_sys_lstat64
}, /* 196 = lstat64 */
456 { ns(struct linux_sys_fstat64_args
), 0,
457 (sy_call_t
*)linux_sys_fstat64
}, /* 197 = fstat64 */
458 { ns(struct sys___posix_chown_args
), 0,
459 (sy_call_t
*)sys___posix_chown
}, /* 198 = __posix_chown */
461 (sy_call_t
*)sys_getuid
}, /* 199 = getuid */
463 (sy_call_t
*)sys_getgid
}, /* 200 = getgid */
465 (sy_call_t
*)sys_geteuid
}, /* 201 = geteuid */
467 (sy_call_t
*)sys_getegid
}, /* 202 = getegid */
468 { ns(struct sys_setreuid_args
), 0,
469 (sy_call_t
*)sys_setreuid
}, /* 203 = setreuid */
470 { ns(struct sys_setregid_args
), 0,
471 (sy_call_t
*)sys_setregid
}, /* 204 = setregid */
472 { ns(struct sys_getgroups_args
), 0,
473 (sy_call_t
*)sys_getgroups
}, /* 205 = getgroups */
474 { ns(struct sys_setgroups_args
), 0,
475 (sy_call_t
*)sys_setgroups
}, /* 206 = setgroups */
476 { ns(struct sys___posix_fchown_args
), 0,
477 (sy_call_t
*)sys___posix_fchown
}, /* 207 = __posix_fchown */
478 { ns(struct linux_sys_setresuid_args
), 0,
479 (sy_call_t
*)linux_sys_setresuid
}, /* 208 = setresuid */
480 { ns(struct linux_sys_getresuid_args
), 0,
481 (sy_call_t
*)linux_sys_getresuid
}, /* 209 = getresuid */
482 { ns(struct linux_sys_setresgid_args
), 0,
483 (sy_call_t
*)linux_sys_setresgid
}, /* 210 = setresgid */
484 { ns(struct linux_sys_getresgid_args
), 0,
485 (sy_call_t
*)linux_sys_getresgid
}, /* 211 = getresgid */
486 { ns(struct sys___posix_lchown_args
), 0,
487 (sy_call_t
*)sys___posix_lchown
}, /* 212 = __posix_lchown */
488 { ns(struct sys_setuid_args
), 0,
489 (sy_call_t
*)sys_setuid
}, /* 213 = setuid */
490 { ns(struct sys_setgid_args
), 0,
491 (sy_call_t
*)sys_setgid
}, /* 214 = setgid */
492 { ns(struct linux_sys_setfsuid_args
), 0,
493 (sy_call_t
*)linux_sys_setfsuid
}, /* 215 = setfsuid */
494 { ns(struct linux_sys_setfsgid_args
), 0,
495 (sy_call_t
*)linux_sys_setfsgid
}, /* 216 = setfsgid */
497 linux_sys_nosys
}, /* 217 = unimplemented / * unused * / */
499 linux_sys_nosys
}, /* 218 = unimplemented / * unused * / */
501 linux_sys_nosys
}, /* 219 = unimplemented / * unused * / */
502 { ns(struct linux_sys_getdents64_args
), 0,
503 (sy_call_t
*)linux_sys_getdents64
},/* 220 = getdents64 */
505 linux_sys_nosys
}, /* 221 = unimplemented gettid */
507 linux_sys_nosys
}, /* 222 = unimplemented tkill */
508 { ns(struct linux_sys_setxattr_args
), 0,
509 (sy_call_t
*)linux_sys_setxattr
}, /* 223 = setxattr */
510 { ns(struct linux_sys_lsetxattr_args
), 0,
511 (sy_call_t
*)linux_sys_lsetxattr
}, /* 224 = lsetxattr */
512 { ns(struct linux_sys_fsetxattr_args
), 0,
513 (sy_call_t
*)linux_sys_fsetxattr
}, /* 225 = fsetxattr */
514 { ns(struct linux_sys_getxattr_args
), 0,
515 (sy_call_t
*)linux_sys_getxattr
}, /* 226 = getxattr */
516 { ns(struct linux_sys_lgetxattr_args
), 0,
517 (sy_call_t
*)linux_sys_lgetxattr
}, /* 227 = lgetxattr */
518 { ns(struct linux_sys_fgetxattr_args
), 0,
519 (sy_call_t
*)linux_sys_fgetxattr
}, /* 228 = fgetxattr */
520 { ns(struct linux_sys_listxattr_args
), 0,
521 (sy_call_t
*)linux_sys_listxattr
}, /* 229 = listxattr */
522 { ns(struct linux_sys_llistxattr_args
), 0,
523 (sy_call_t
*)linux_sys_llistxattr
},/* 230 = llistxattr */
524 { ns(struct linux_sys_flistxattr_args
), 0,
525 (sy_call_t
*)linux_sys_flistxattr
},/* 231 = flistxattr */
526 { ns(struct linux_sys_removexattr_args
), 0,
527 (sy_call_t
*)linux_sys_removexattr
},/* 232 = removexattr */
528 { ns(struct linux_sys_lremovexattr_args
), 0,
529 (sy_call_t
*)linux_sys_lremovexattr
},/* 233 = lremovexattr */
530 { ns(struct linux_sys_fremovexattr_args
), 0,
531 (sy_call_t
*)linux_sys_fremovexattr
},/* 234 = fremovexattr */
533 linux_sys_nosys
}, /* 235 = unimplemented futex */
535 linux_sys_nosys
}, /* 236 = unimplemented sendfile64 */
537 linux_sys_nosys
}, /* 237 = unimplemented mincore */
539 linux_sys_nosys
}, /* 238 = unimplemented madvise */
541 linux_sys_nosys
}, /* 239 = unimplemented fcntl64 */
543 linux_sys_nosys
}, /* 240 = unimplemented readahead */
545 linux_sys_nosys
}, /* 241 = unimplemented io_setup */
547 linux_sys_nosys
}, /* 242 = unimplemented io_destroy */
549 linux_sys_nosys
}, /* 243 = unimplemented io_getevents */
551 linux_sys_nosys
}, /* 244 = unimplemented io_submit */
553 linux_sys_nosys
}, /* 245 = unimplemented io_cancel */
555 linux_sys_nosys
}, /* 246 = unimplemented fadvise64 */
557 linux_sys_nosys
}, /* 247 = unimplemented exit_group */
559 linux_sys_nosys
}, /* 248 = unimplemented lookup_dcookie */
561 linux_sys_nosys
}, /* 249 = unimplemented epoll_create */
563 linux_sys_nosys
}, /* 250 = unimplemented epoll_ctl */
565 linux_sys_nosys
}, /* 251 = unimplemented epoll_wait */
567 linux_sys_nosys
}, /* 252 = unimplemented remap_file_pages */
569 linux_sys_nosys
}, /* 253 = unimplemented set_tid_address */
571 linux_sys_nosys
}, /* 254 = unimplemented timer_create */
573 linux_sys_nosys
}, /* 255 = unimplemented timer_settime */
575 linux_sys_nosys
}, /* 256 = unimplemented timer_gettime */
577 linux_sys_nosys
}, /* 257 = unimplemented timer_getoverrun */
579 linux_sys_nosys
}, /* 258 = unimplemented timer_delete */
580 { ns(struct linux_sys_clock_settime_args
), 0,
581 (sy_call_t
*)linux_sys_clock_settime
},/* 259 = clock_settime */
582 { ns(struct linux_sys_clock_gettime_args
), 0,
583 (sy_call_t
*)linux_sys_clock_gettime
},/* 260 = clock_gettime */
584 { ns(struct linux_sys_clock_getres_args
), 0,
585 (sy_call_t
*)linux_sys_clock_getres
},/* 261 = clock_getres */
586 { ns(struct linux_sys_clock_nanosleep_args
), 0,
587 (sy_call_t
*)linux_sys_clock_nanosleep
},/* 262 = clock_nanosleep */
589 linux_sys_nosys
}, /* 263 = filler */
591 linux_sys_nosys
}, /* 264 = filler */
593 linux_sys_nosys
}, /* 265 = filler */
595 linux_sys_nosys
}, /* 266 = filler */
597 linux_sys_nosys
}, /* 267 = filler */
599 linux_sys_nosys
}, /* 268 = filler */
601 linux_sys_nosys
}, /* 269 = filler */
603 linux_sys_nosys
}, /* 270 = filler */
605 linux_sys_nosys
}, /* 271 = filler */
607 linux_sys_nosys
}, /* 272 = filler */
609 linux_sys_nosys
}, /* 273 = filler */
611 linux_sys_nosys
}, /* 274 = filler */
613 linux_sys_nosys
}, /* 275 = filler */
615 linux_sys_nosys
}, /* 276 = filler */
617 linux_sys_nosys
}, /* 277 = filler */
619 linux_sys_nosys
}, /* 278 = filler */
621 linux_sys_nosys
}, /* 279 = filler */
623 linux_sys_nosys
}, /* 280 = filler */
625 linux_sys_nosys
}, /* 281 = filler */
627 linux_sys_nosys
}, /* 282 = filler */
629 linux_sys_nosys
}, /* 283 = filler */
631 linux_sys_nosys
}, /* 284 = filler */
633 linux_sys_nosys
}, /* 285 = filler */
635 linux_sys_nosys
}, /* 286 = filler */
637 linux_sys_nosys
}, /* 287 = filler */
639 linux_sys_nosys
}, /* 288 = filler */
641 linux_sys_nosys
}, /* 289 = filler */
643 linux_sys_nosys
}, /* 290 = filler */
645 linux_sys_nosys
}, /* 291 = filler */
647 linux_sys_nosys
}, /* 292 = filler */
649 linux_sys_nosys
}, /* 293 = filler */
651 linux_sys_nosys
}, /* 294 = filler */
653 linux_sys_nosys
}, /* 295 = filler */
655 linux_sys_nosys
}, /* 296 = filler */
657 linux_sys_nosys
}, /* 297 = filler */
659 linux_sys_nosys
}, /* 298 = filler */
661 linux_sys_nosys
}, /* 299 = filler */
663 linux_sys_nosys
}, /* 300 = filler */
665 linux_sys_nosys
}, /* 301 = filler */
667 linux_sys_nosys
}, /* 302 = filler */
669 linux_sys_nosys
}, /* 303 = filler */
671 linux_sys_nosys
}, /* 304 = filler */
673 linux_sys_nosys
}, /* 305 = filler */
675 linux_sys_nosys
}, /* 306 = filler */
677 linux_sys_nosys
}, /* 307 = filler */
679 linux_sys_nosys
}, /* 308 = filler */
681 linux_sys_nosys
}, /* 309 = filler */
683 linux_sys_nosys
}, /* 310 = filler */
685 linux_sys_nosys
}, /* 311 = filler */
687 linux_sys_nosys
}, /* 312 = filler */
689 linux_sys_nosys
}, /* 313 = filler */
691 linux_sys_nosys
}, /* 314 = filler */
693 linux_sys_nosys
}, /* 315 = filler */
695 linux_sys_nosys
}, /* 316 = filler */
697 linux_sys_nosys
}, /* 317 = filler */
699 linux_sys_nosys
}, /* 318 = filler */
701 linux_sys_nosys
}, /* 319 = filler */
703 linux_sys_nosys
}, /* 320 = filler */
705 linux_sys_nosys
}, /* 321 = filler */
707 linux_sys_nosys
}, /* 322 = filler */
709 linux_sys_nosys
}, /* 323 = filler */
711 linux_sys_nosys
}, /* 324 = filler */
713 linux_sys_nosys
}, /* 325 = filler */
715 linux_sys_nosys
}, /* 326 = filler */
717 linux_sys_nosys
}, /* 327 = filler */
719 linux_sys_nosys
}, /* 328 = filler */
721 linux_sys_nosys
}, /* 329 = filler */
723 linux_sys_nosys
}, /* 330 = filler */
725 linux_sys_nosys
}, /* 331 = filler */
727 linux_sys_nosys
}, /* 332 = filler */
729 linux_sys_nosys
}, /* 333 = filler */
731 linux_sys_nosys
}, /* 334 = filler */
733 linux_sys_nosys
}, /* 335 = filler */
735 linux_sys_nosys
}, /* 336 = filler */
737 linux_sys_nosys
}, /* 337 = filler */
739 linux_sys_nosys
}, /* 338 = filler */
741 linux_sys_nosys
}, /* 339 = filler */
743 linux_sys_nosys
}, /* 340 = filler */
745 linux_sys_nosys
}, /* 341 = filler */
747 linux_sys_nosys
}, /* 342 = filler */
749 linux_sys_nosys
}, /* 343 = filler */
751 linux_sys_nosys
}, /* 344 = filler */
753 linux_sys_nosys
}, /* 345 = filler */
755 linux_sys_nosys
}, /* 346 = filler */
757 linux_sys_nosys
}, /* 347 = filler */
759 linux_sys_nosys
}, /* 348 = filler */
761 linux_sys_nosys
}, /* 349 = filler */
763 linux_sys_nosys
}, /* 350 = filler */
765 linux_sys_nosys
}, /* 351 = filler */
767 linux_sys_nosys
}, /* 352 = filler */
769 linux_sys_nosys
}, /* 353 = filler */
771 linux_sys_nosys
}, /* 354 = filler */
773 linux_sys_nosys
}, /* 355 = filler */
775 linux_sys_nosys
}, /* 356 = filler */
777 linux_sys_nosys
}, /* 357 = filler */
779 linux_sys_nosys
}, /* 358 = filler */
781 linux_sys_nosys
}, /* 359 = filler */
783 linux_sys_nosys
}, /* 360 = filler */
785 linux_sys_nosys
}, /* 361 = filler */
787 linux_sys_nosys
}, /* 362 = filler */
789 linux_sys_nosys
}, /* 363 = filler */
791 linux_sys_nosys
}, /* 364 = filler */
793 linux_sys_nosys
}, /* 365 = filler */
795 linux_sys_nosys
}, /* 366 = filler */
797 linux_sys_nosys
}, /* 367 = filler */
799 linux_sys_nosys
}, /* 368 = filler */
801 linux_sys_nosys
}, /* 369 = filler */
803 linux_sys_nosys
}, /* 370 = filler */
805 linux_sys_nosys
}, /* 371 = filler */
807 linux_sys_nosys
}, /* 372 = filler */
809 linux_sys_nosys
}, /* 373 = filler */
811 linux_sys_nosys
}, /* 374 = filler */
813 linux_sys_nosys
}, /* 375 = filler */
815 linux_sys_nosys
}, /* 376 = filler */
817 linux_sys_nosys
}, /* 377 = filler */
819 linux_sys_nosys
}, /* 378 = filler */
821 linux_sys_nosys
}, /* 379 = filler */
823 linux_sys_nosys
}, /* 380 = filler */
825 linux_sys_nosys
}, /* 381 = filler */
827 linux_sys_nosys
}, /* 382 = filler */
829 linux_sys_nosys
}, /* 383 = filler */
831 linux_sys_nosys
}, /* 384 = filler */
833 linux_sys_nosys
}, /* 385 = filler */
835 linux_sys_nosys
}, /* 386 = filler */
837 linux_sys_nosys
}, /* 387 = filler */
839 linux_sys_nosys
}, /* 388 = filler */
841 linux_sys_nosys
}, /* 389 = filler */
843 linux_sys_nosys
}, /* 390 = filler */
845 linux_sys_nosys
}, /* 391 = filler */
847 linux_sys_nosys
}, /* 392 = filler */
849 linux_sys_nosys
}, /* 393 = filler */
851 linux_sys_nosys
}, /* 394 = filler */
853 linux_sys_nosys
}, /* 395 = filler */
855 linux_sys_nosys
}, /* 396 = filler */
857 linux_sys_nosys
}, /* 397 = filler */
859 linux_sys_nosys
}, /* 398 = filler */
861 linux_sys_nosys
}, /* 399 = filler */
863 linux_sys_nosys
}, /* 400 = filler */
865 linux_sys_nosys
}, /* 401 = filler */
867 linux_sys_nosys
}, /* 402 = filler */
869 linux_sys_nosys
}, /* 403 = filler */
871 linux_sys_nosys
}, /* 404 = filler */
873 linux_sys_nosys
}, /* 405 = filler */
875 linux_sys_nosys
}, /* 406 = filler */
877 linux_sys_nosys
}, /* 407 = filler */
879 linux_sys_nosys
}, /* 408 = filler */
881 linux_sys_nosys
}, /* 409 = filler */
883 linux_sys_nosys
}, /* 410 = filler */
885 linux_sys_nosys
}, /* 411 = filler */
887 linux_sys_nosys
}, /* 412 = filler */
889 linux_sys_nosys
}, /* 413 = filler */
891 linux_sys_nosys
}, /* 414 = filler */
893 linux_sys_nosys
}, /* 415 = filler */
895 linux_sys_nosys
}, /* 416 = filler */
897 linux_sys_nosys
}, /* 417 = filler */
899 linux_sys_nosys
}, /* 418 = filler */
901 linux_sys_nosys
}, /* 419 = filler */
903 linux_sys_nosys
}, /* 420 = filler */
905 linux_sys_nosys
}, /* 421 = filler */
907 linux_sys_nosys
}, /* 422 = filler */
909 linux_sys_nosys
}, /* 423 = filler */
911 linux_sys_nosys
}, /* 424 = filler */
913 linux_sys_nosys
}, /* 425 = filler */
915 linux_sys_nosys
}, /* 426 = filler */
917 linux_sys_nosys
}, /* 427 = filler */
919 linux_sys_nosys
}, /* 428 = filler */
921 linux_sys_nosys
}, /* 429 = filler */
923 linux_sys_nosys
}, /* 430 = filler */
925 linux_sys_nosys
}, /* 431 = filler */
927 linux_sys_nosys
}, /* 432 = filler */
929 linux_sys_nosys
}, /* 433 = filler */
931 linux_sys_nosys
}, /* 434 = filler */
933 linux_sys_nosys
}, /* 435 = filler */
935 linux_sys_nosys
}, /* 436 = filler */
937 linux_sys_nosys
}, /* 437 = filler */
939 linux_sys_nosys
}, /* 438 = filler */
941 linux_sys_nosys
}, /* 439 = filler */
943 linux_sys_nosys
}, /* 440 = filler */
945 linux_sys_nosys
}, /* 441 = filler */
947 linux_sys_nosys
}, /* 442 = filler */
949 linux_sys_nosys
}, /* 443 = filler */
951 linux_sys_nosys
}, /* 444 = filler */
953 linux_sys_nosys
}, /* 445 = filler */
955 linux_sys_nosys
}, /* 446 = filler */
957 linux_sys_nosys
}, /* 447 = filler */
959 linux_sys_nosys
}, /* 448 = filler */
961 linux_sys_nosys
}, /* 449 = filler */
963 linux_sys_nosys
}, /* 450 = filler */
965 linux_sys_nosys
}, /* 451 = filler */
967 linux_sys_nosys
}, /* 452 = filler */
969 linux_sys_nosys
}, /* 453 = filler */
971 linux_sys_nosys
}, /* 454 = filler */
973 linux_sys_nosys
}, /* 455 = filler */
975 linux_sys_nosys
}, /* 456 = filler */
977 linux_sys_nosys
}, /* 457 = filler */
979 linux_sys_nosys
}, /* 458 = filler */
981 linux_sys_nosys
}, /* 459 = filler */
983 linux_sys_nosys
}, /* 460 = filler */
985 linux_sys_nosys
}, /* 461 = filler */
987 linux_sys_nosys
}, /* 462 = filler */
989 linux_sys_nosys
}, /* 463 = filler */
991 linux_sys_nosys
}, /* 464 = filler */
993 linux_sys_nosys
}, /* 465 = filler */
995 linux_sys_nosys
}, /* 466 = filler */
997 linux_sys_nosys
}, /* 467 = filler */
999 linux_sys_nosys
}, /* 468 = filler */
1001 linux_sys_nosys
}, /* 469 = filler */
1003 linux_sys_nosys
}, /* 470 = filler */
1005 linux_sys_nosys
}, /* 471 = filler */
1007 linux_sys_nosys
}, /* 472 = filler */
1009 linux_sys_nosys
}, /* 473 = filler */
1011 linux_sys_nosys
}, /* 474 = filler */
1013 linux_sys_nosys
}, /* 475 = filler */
1015 linux_sys_nosys
}, /* 476 = filler */
1017 linux_sys_nosys
}, /* 477 = filler */
1019 linux_sys_nosys
}, /* 478 = filler */
1021 linux_sys_nosys
}, /* 479 = filler */
1023 linux_sys_nosys
}, /* 480 = filler */
1025 linux_sys_nosys
}, /* 481 = filler */
1027 linux_sys_nosys
}, /* 482 = filler */
1029 linux_sys_nosys
}, /* 483 = filler */
1031 linux_sys_nosys
}, /* 484 = filler */
1033 linux_sys_nosys
}, /* 485 = filler */
1035 linux_sys_nosys
}, /* 486 = filler */
1037 linux_sys_nosys
}, /* 487 = filler */
1039 linux_sys_nosys
}, /* 488 = filler */
1041 linux_sys_nosys
}, /* 489 = filler */
1043 linux_sys_nosys
}, /* 490 = filler */
1045 linux_sys_nosys
}, /* 491 = filler */
1047 linux_sys_nosys
}, /* 492 = filler */
1049 linux_sys_nosys
}, /* 493 = filler */
1051 linux_sys_nosys
}, /* 494 = filler */
1053 linux_sys_nosys
}, /* 495 = filler */
1055 linux_sys_nosys
}, /* 496 = filler */
1057 linux_sys_nosys
}, /* 497 = filler */
1059 linux_sys_nosys
}, /* 498 = filler */
1061 linux_sys_nosys
}, /* 499 = filler */
1063 linux_sys_nosys
}, /* 500 = filler */
1065 linux_sys_nosys
}, /* 501 = filler */
1067 linux_sys_nosys
}, /* 502 = filler */
1069 linux_sys_nosys
}, /* 503 = filler */
1071 linux_sys_nosys
}, /* 504 = filler */
1073 linux_sys_nosys
}, /* 505 = filler */
1075 linux_sys_nosys
}, /* 506 = filler */
1077 linux_sys_nosys
}, /* 507 = filler */
1079 linux_sys_nosys
}, /* 508 = filler */
1081 linux_sys_nosys
}, /* 509 = filler */
1083 linux_sys_nosys
}, /* 510 = filler */
1085 linux_sys_nosys
}, /* 511 = filler */