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