linux_sysent.c revision 1.4 1 1.1 manu /* $NetBSD: linux_sysent.c,v 1.4 2001/01/27 07:56:55 thorpej Exp $ */
2 1.1 manu
3 1.1 manu /*
4 1.1 manu * System call switch table.
5 1.1 manu *
6 1.1 manu * DO NOT EDIT-- this file is automatically generated.
7 1.4 thorpej * created from NetBSD: syscalls.master,v 1.2 2001/01/27 07:56:30 thorpej Exp
8 1.1 manu */
9 1.1 manu
10 1.1 manu #if defined(_KERNEL) && !defined(_LKM)
11 1.1 manu #include "opt_compat_netbsd.h"
12 1.1 manu #include "opt_compat_43.h"
13 1.1 manu #endif
14 1.1 manu #include <sys/param.h>
15 1.1 manu #include <sys/poll.h>
16 1.1 manu #include <sys/systm.h>
17 1.1 manu #include <sys/signal.h>
18 1.1 manu #include <sys/mount.h>
19 1.1 manu #include <sys/syscallargs.h>
20 1.1 manu #include <compat/linux/common/linux_types.h>
21 1.1 manu #include <compat/linux/common/linux_signal.h>
22 1.1 manu #include <compat/linux/common/linux_siginfo.h>
23 1.1 manu #include <compat/linux/common/linux_machdep.h>
24 1.1 manu #include <compat/linux/common/linux_mmap.h>
25 1.1 manu #include <compat/linux/linux_syscallargs.h>
26 1.1 manu
27 1.1 manu #define s(type) sizeof(type)
28 1.1 manu
29 1.1 manu struct sysent linux_sysent[] = {
30 1.3 thorpej { 0, 0, 0,
31 1.1 manu sys_nosys }, /* 0 = syscall */
32 1.3 thorpej { 1, s(struct sys_exit_args), 0,
33 1.1 manu sys_exit }, /* 1 = exit */
34 1.3 thorpej { 0, 0, 0,
35 1.1 manu sys_fork }, /* 2 = fork */
36 1.3 thorpej { 3, s(struct sys_read_args), 0,
37 1.1 manu sys_read }, /* 3 = read */
38 1.3 thorpej { 3, s(struct sys_write_args), 0,
39 1.1 manu sys_write }, /* 4 = write */
40 1.3 thorpej { 3, s(struct linux_sys_open_args), 0,
41 1.1 manu linux_sys_open }, /* 5 = open */
42 1.3 thorpej { 1, s(struct sys_close_args), 0,
43 1.1 manu sys_close }, /* 6 = close */
44 1.3 thorpej { 3, s(struct linux_sys_waitpid_args), 0,
45 1.1 manu linux_sys_waitpid }, /* 7 = waitpid */
46 1.3 thorpej { 2, s(struct linux_sys_creat_args), 0,
47 1.1 manu linux_sys_creat }, /* 8 = creat */
48 1.3 thorpej { 2, s(struct linux_sys_link_args), 0,
49 1.1 manu linux_sys_link }, /* 9 = link */
50 1.3 thorpej { 1, s(struct linux_sys_unlink_args), 0,
51 1.1 manu linux_sys_unlink }, /* 10 = unlink */
52 1.3 thorpej { 3, s(struct linux_sys_execve_args), 0,
53 1.1 manu linux_sys_execve }, /* 11 = execve */
54 1.3 thorpej { 1, s(struct linux_sys_chdir_args), 0,
55 1.1 manu linux_sys_chdir }, /* 12 = chdir */
56 1.3 thorpej { 1, s(struct linux_sys_time_args), 0,
57 1.1 manu linux_sys_time }, /* 13 = time */
58 1.3 thorpej { 3, s(struct linux_sys_mknod_args), 0,
59 1.1 manu linux_sys_mknod }, /* 14 = mknod */
60 1.3 thorpej { 2, s(struct linux_sys_chmod_args), 0,
61 1.1 manu linux_sys_chmod }, /* 15 = chmod */
62 1.3 thorpej { 3, s(struct linux_sys_lchown_args), 0,
63 1.1 manu linux_sys_lchown }, /* 16 = lchown */
64 1.3 thorpej { 0, 0, 0,
65 1.1 manu sys_nosys }, /* 17 = obsolete break */
66 1.3 thorpej { 0, 0, 0,
67 1.1 manu sys_nosys }, /* 18 = obsolete ostat */
68 1.3 thorpej { 3, s(struct compat_43_sys_lseek_args), 0,
69 1.1 manu compat_43_sys_lseek }, /* 19 = lseek */
70 1.4 thorpej { 0, 0, SYCALL_MPSAFE | 0,
71 1.1 manu sys_getpid }, /* 20 = getpid */
72 1.3 thorpej { 0, 0, 0,
73 1.1 manu sys_nosys }, /* 21 = unimplemented mount */
74 1.3 thorpej { 0, 0, 0,
75 1.1 manu sys_nosys }, /* 22 = obsolete umount */
76 1.3 thorpej { 1, s(struct sys_setuid_args), 0,
77 1.1 manu sys_setuid }, /* 23 = setuid */
78 1.3 thorpej { 0, 0, 0,
79 1.1 manu sys_getuid }, /* 24 = getuid */
80 1.3 thorpej { 1, s(struct linux_sys_stime_args), 0,
81 1.1 manu linux_sys_stime }, /* 25 = stime */
82 1.3 thorpej { 4, s(struct linux_sys_ptrace_args), 0,
83 1.1 manu linux_sys_ptrace }, /* 26 = ptrace */
84 1.3 thorpej { 1, s(struct linux_sys_alarm_args), 0,
85 1.1 manu linux_sys_alarm }, /* 27 = alarm */
86 1.3 thorpej { 0, 0, 0,
87 1.1 manu sys_nosys }, /* 28 = obsolete ofstat */
88 1.3 thorpej { 0, 0, 0,
89 1.1 manu linux_sys_pause }, /* 29 = pause */
90 1.3 thorpej { 2, s(struct linux_sys_utime_args), 0,
91 1.1 manu linux_sys_utime }, /* 30 = utime */
92 1.3 thorpej { 0, 0, 0,
93 1.1 manu sys_nosys }, /* 31 = obsolete stty */
94 1.3 thorpej { 0, 0, 0,
95 1.1 manu sys_nosys }, /* 32 = obsolete gtty */
96 1.3 thorpej { 2, s(struct linux_sys_access_args), 0,
97 1.1 manu linux_sys_access }, /* 33 = access */
98 1.3 thorpej { 1, s(struct linux_sys_nice_args), 0,
99 1.1 manu linux_sys_nice }, /* 34 = nice */
100 1.3 thorpej { 0, 0, 0,
101 1.1 manu sys_nosys }, /* 35 = obsolete ftime */
102 1.3 thorpej { 0, 0, 0,
103 1.1 manu sys_sync }, /* 36 = sync */
104 1.3 thorpej { 2, s(struct linux_sys_kill_args), 0,
105 1.1 manu linux_sys_kill }, /* 37 = kill */
106 1.3 thorpej { 2, s(struct linux_sys_rename_args), 0,
107 1.1 manu linux_sys_rename }, /* 38 = rename */
108 1.3 thorpej { 2, s(struct linux_sys_mkdir_args), 0,
109 1.1 manu linux_sys_mkdir }, /* 39 = mkdir */
110 1.3 thorpej { 1, s(struct linux_sys_rmdir_args), 0,
111 1.1 manu linux_sys_rmdir }, /* 40 = rmdir */
112 1.3 thorpej { 1, s(struct sys_dup_args), 0,
113 1.1 manu sys_dup }, /* 41 = dup */
114 1.3 thorpej { 1, s(struct linux_sys_pipe_args), 0,
115 1.1 manu linux_sys_pipe }, /* 42 = pipe */
116 1.3 thorpej { 1, s(struct linux_sys_times_args), 0,
117 1.1 manu linux_sys_times }, /* 43 = times */
118 1.3 thorpej { 0, 0, 0,
119 1.1 manu sys_nosys }, /* 44 = obsolete prof */
120 1.3 thorpej { 1, s(struct linux_sys_brk_args), 0,
121 1.1 manu linux_sys_brk }, /* 45 = brk */
122 1.3 thorpej { 1, s(struct sys_setgid_args), 0,
123 1.1 manu sys_setgid }, /* 46 = setgid */
124 1.3 thorpej { 0, 0, 0,
125 1.1 manu sys_getgid }, /* 47 = getgid */
126 1.3 thorpej { 2, s(struct linux_sys_signal_args), 0,
127 1.1 manu linux_sys_signal }, /* 48 = signal */
128 1.3 thorpej { 0, 0, 0,
129 1.1 manu sys_geteuid }, /* 49 = geteuid */
130 1.3 thorpej { 0, 0, 0,
131 1.1 manu sys_getegid }, /* 50 = getegid */
132 1.3 thorpej { 1, s(struct sys_acct_args), 0,
133 1.1 manu sys_acct }, /* 51 = acct */
134 1.3 thorpej { 0, 0, 0,
135 1.1 manu sys_nosys }, /* 52 = unimplemented umount */
136 1.3 thorpej { 0, 0, 0,
137 1.1 manu sys_nosys }, /* 53 = obsolete lock */
138 1.3 thorpej { 3, s(struct linux_sys_ioctl_args), 0,
139 1.1 manu linux_sys_ioctl }, /* 54 = ioctl */
140 1.3 thorpej { 3, s(struct linux_sys_fcntl_args), 0,
141 1.1 manu linux_sys_fcntl }, /* 55 = fcntl */
142 1.3 thorpej { 0, 0, 0,
143 1.1 manu sys_nosys }, /* 56 = obsolete mpx */
144 1.3 thorpej { 2, s(struct sys_setpgid_args), 0,
145 1.1 manu sys_setpgid }, /* 57 = setpgid */
146 1.3 thorpej { 0, 0, 0,
147 1.1 manu sys_nosys }, /* 58 = obsolete ulimit */
148 1.3 thorpej { 1, s(struct linux_sys_olduname_args), 0,
149 1.1 manu linux_sys_olduname }, /* 59 = olduname */
150 1.3 thorpej { 1, s(struct sys_umask_args), 0,
151 1.1 manu sys_umask }, /* 60 = umask */
152 1.3 thorpej { 1, s(struct sys_chroot_args), 0,
153 1.1 manu sys_chroot }, /* 61 = chroot */
154 1.3 thorpej { 0, 0, 0,
155 1.1 manu sys_nosys }, /* 62 = unimplemented ustat */
156 1.3 thorpej { 2, s(struct sys_dup2_args), 0,
157 1.1 manu sys_dup2 }, /* 63 = dup2 */
158 1.3 thorpej { 0, 0, 0,
159 1.1 manu sys_getppid }, /* 64 = getppid */
160 1.3 thorpej { 0, 0, 0,
161 1.1 manu sys_getpgrp }, /* 65 = getpgrp */
162 1.3 thorpej { 0, 0, 0,
163 1.1 manu sys_setsid }, /* 66 = setsid */
164 1.3 thorpej { 3, s(struct linux_sys_sigaction_args), 0,
165 1.1 manu linux_sys_sigaction }, /* 67 = sigaction */
166 1.3 thorpej { 0, 0, 0,
167 1.1 manu linux_sys_siggetmask }, /* 68 = siggetmask */
168 1.3 thorpej { 1, s(struct linux_sys_sigsetmask_args), 0,
169 1.1 manu linux_sys_sigsetmask }, /* 69 = sigsetmask */
170 1.3 thorpej { 2, s(struct sys_setreuid_args), 0,
171 1.1 manu sys_setreuid }, /* 70 = setreuid */
172 1.3 thorpej { 2, s(struct sys_setregid_args), 0,
173 1.1 manu sys_setregid }, /* 71 = setregid */
174 1.3 thorpej { 3, s(struct linux_sys_sigsuspend_args), 0,
175 1.1 manu linux_sys_sigsuspend }, /* 72 = sigsuspend */
176 1.3 thorpej { 1, s(struct linux_sys_sigpending_args), 0,
177 1.1 manu linux_sys_sigpending }, /* 73 = sigpending */
178 1.3 thorpej { 2, s(struct compat_43_sys_sethostname_args), 0,
179 1.1 manu compat_43_sys_sethostname }, /* 74 = sethostname */
180 1.3 thorpej { 2, s(struct compat_43_sys_setrlimit_args), 0,
181 1.1 manu compat_43_sys_setrlimit }, /* 75 = setrlimit */
182 1.3 thorpej { 2, s(struct compat_43_sys_getrlimit_args), 0,
183 1.1 manu compat_43_sys_getrlimit }, /* 76 = getrlimit */
184 1.3 thorpej { 2, s(struct sys_getrusage_args), 0,
185 1.1 manu sys_getrusage }, /* 77 = getrusage */
186 1.3 thorpej { 2, s(struct sys_gettimeofday_args), 0,
187 1.1 manu sys_gettimeofday }, /* 78 = gettimeofday */
188 1.3 thorpej { 2, s(struct sys_settimeofday_args), 0,
189 1.1 manu sys_settimeofday }, /* 79 = settimeofday */
190 1.3 thorpej { 2, s(struct sys_getgroups_args), 0,
191 1.1 manu sys_getgroups }, /* 80 = getgroups */
192 1.3 thorpej { 2, s(struct sys_setgroups_args), 0,
193 1.1 manu sys_setgroups }, /* 81 = setgroups */
194 1.3 thorpej { 5, s(struct linux_sys_select_args), 0,
195 1.1 manu linux_sys_select }, /* 82 = select */
196 1.3 thorpej { 2, s(struct linux_sys_symlink_args), 0,
197 1.1 manu linux_sys_symlink }, /* 83 = symlink */
198 1.3 thorpej { 2, s(struct compat_43_sys_lstat_args), 0,
199 1.1 manu compat_43_sys_lstat }, /* 84 = oolstat */
200 1.3 thorpej { 3, s(struct linux_sys_readlink_args), 0,
201 1.1 manu linux_sys_readlink }, /* 85 = readlink */
202 1.3 thorpej { 1, s(struct linux_sys_uselib_args), 0,
203 1.1 manu linux_sys_uselib }, /* 86 = uselib */
204 1.3 thorpej { 1, s(struct linux_sys_swapon_args), 0,
205 1.1 manu linux_sys_swapon }, /* 87 = swapon */
206 1.3 thorpej { 4, s(struct linux_sys_reboot_args), 0,
207 1.1 manu linux_sys_reboot }, /* 88 = reboot */
208 1.3 thorpej { 3, s(struct linux_sys_readdir_args), 0,
209 1.1 manu linux_sys_readdir }, /* 89 = readdir */
210 1.3 thorpej { 6, s(struct linux_sys_powerpc_mmap_args), 0,
211 1.1 manu linux_sys_powerpc_mmap }, /* 90 = powerpc_mmap */
212 1.3 thorpej { 2, s(struct sys_munmap_args), 0,
213 1.1 manu sys_munmap }, /* 91 = munmap */
214 1.3 thorpej { 2, s(struct linux_sys_truncate_args), 0,
215 1.1 manu linux_sys_truncate }, /* 92 = truncate */
216 1.3 thorpej { 2, s(struct compat_43_sys_ftruncate_args), 0,
217 1.1 manu compat_43_sys_ftruncate }, /* 93 = ftruncate */
218 1.3 thorpej { 2, s(struct sys_fchmod_args), 0,
219 1.1 manu sys_fchmod }, /* 94 = fchmod */
220 1.3 thorpej { 3, s(struct sys___posix_fchown_args), 0,
221 1.1 manu sys___posix_fchown }, /* 95 = __posix_fchown */
222 1.3 thorpej { 2, s(struct sys_getpriority_args), 0,
223 1.1 manu sys_getpriority }, /* 96 = getpriority */
224 1.3 thorpej { 3, s(struct sys_setpriority_args), 0,
225 1.1 manu sys_setpriority }, /* 97 = setpriority */
226 1.3 thorpej { 4, s(struct sys_profil_args), 0,
227 1.1 manu sys_profil }, /* 98 = profil */
228 1.3 thorpej { 2, s(struct linux_sys_statfs_args), 0,
229 1.1 manu linux_sys_statfs }, /* 99 = statfs */
230 1.3 thorpej { 2, s(struct linux_sys_fstatfs_args), 0,
231 1.1 manu linux_sys_fstatfs }, /* 100 = fstatfs */
232 1.3 thorpej { 3, s(struct linux_sys_ioperm_args), 0,
233 1.1 manu linux_sys_ioperm }, /* 101 = ioperm */
234 1.3 thorpej { 2, s(struct linux_sys_socketcall_args), 0,
235 1.1 manu linux_sys_socketcall }, /* 102 = socketcall */
236 1.3 thorpej { 0, 0, 0,
237 1.1 manu sys_nosys }, /* 103 = unimplemented syslog */
238 1.3 thorpej { 3, s(struct sys_setitimer_args), 0,
239 1.1 manu sys_setitimer }, /* 104 = setitimer */
240 1.3 thorpej { 2, s(struct sys_getitimer_args), 0,
241 1.1 manu sys_getitimer }, /* 105 = getitimer */
242 1.3 thorpej { 2, s(struct linux_sys_stat_args), 0,
243 1.1 manu linux_sys_stat }, /* 106 = stat */
244 1.3 thorpej { 2, s(struct linux_sys_lstat_args), 0,
245 1.1 manu linux_sys_lstat }, /* 107 = lstat */
246 1.3 thorpej { 2, s(struct linux_sys_fstat_args), 0,
247 1.1 manu linux_sys_fstat }, /* 108 = fstat */
248 1.3 thorpej { 1, s(struct linux_sys_uname_args), 0,
249 1.1 manu linux_sys_uname }, /* 109 = uname */
250 1.3 thorpej { 0, 0, 0,
251 1.1 manu sys_nosys }, /* 110 = unimplemented iopl */
252 1.3 thorpej { 0, 0, 0,
253 1.1 manu sys_nosys }, /* 111 = unimplemented vhangup */
254 1.3 thorpej { 0, 0, 0,
255 1.1 manu sys_nosys }, /* 112 = unimplemented idle */
256 1.3 thorpej { 0, 0, 0,
257 1.1 manu sys_nosys }, /* 113 = unimplemented vm86old */
258 1.3 thorpej { 4, s(struct linux_sys_wait4_args), 0,
259 1.1 manu linux_sys_wait4 }, /* 114 = wait4 */
260 1.3 thorpej { 1, s(struct linux_sys_swapoff_args), 0,
261 1.1 manu linux_sys_swapoff }, /* 115 = swapoff */
262 1.3 thorpej { 1, s(struct linux_sys_sysinfo_args), 0,
263 1.1 manu linux_sys_sysinfo }, /* 116 = sysinfo */
264 1.3 thorpej { 5, s(struct linux_sys_ipc_args), 0,
265 1.1 manu linux_sys_ipc }, /* 117 = ipc */
266 1.3 thorpej { 1, s(struct sys_fsync_args), 0,
267 1.1 manu sys_fsync }, /* 118 = fsync */
268 1.3 thorpej { 1, s(struct linux_sys_sigreturn_args), 0,
269 1.1 manu linux_sys_sigreturn }, /* 119 = sigreturn */
270 1.3 thorpej { 2, s(struct linux_sys_clone_args), 0,
271 1.1 manu linux_sys_clone }, /* 120 = clone */
272 1.3 thorpej { 2, s(struct linux_sys_setdomainname_args), 0,
273 1.1 manu linux_sys_setdomainname }, /* 121 = setdomainname */
274 1.3 thorpej { 1, s(struct linux_sys_new_uname_args), 0,
275 1.1 manu linux_sys_new_uname }, /* 122 = new_uname */
276 1.3 thorpej { 0, 0, 0,
277 1.1 manu sys_nosys }, /* 123 = unimplemented modify_ldt */
278 1.3 thorpej { 0, 0, 0,
279 1.1 manu sys_nosys }, /* 124 = unimplemented adjtimex */
280 1.3 thorpej { 3, s(struct sys_mprotect_args), 0,
281 1.1 manu sys_mprotect }, /* 125 = mprotect */
282 1.3 thorpej { 3, s(struct linux_sys_sigprocmask_args), 0,
283 1.1 manu linux_sys_sigprocmask }, /* 126 = sigprocmask */
284 1.3 thorpej { 0, 0, 0,
285 1.1 manu sys_nosys }, /* 127 = unimplemented create_module */
286 1.3 thorpej { 0, 0, 0,
287 1.1 manu sys_nosys }, /* 128 = unimplemented init_module */
288 1.3 thorpej { 0, 0, 0,
289 1.1 manu sys_nosys }, /* 129 = unimplemented delete_module */
290 1.3 thorpej { 0, 0, 0,
291 1.1 manu sys_nosys }, /* 130 = unimplemented get_kernel_syms */
292 1.3 thorpej { 0, 0, 0,
293 1.1 manu sys_nosys }, /* 131 = unimplemented quotactl */
294 1.3 thorpej { 1, s(struct linux_sys_getpgid_args), 0,
295 1.1 manu linux_sys_getpgid }, /* 132 = getpgid */
296 1.3 thorpej { 1, s(struct sys_fchdir_args), 0,
297 1.1 manu sys_fchdir }, /* 133 = fchdir */
298 1.3 thorpej { 0, 0, 0,
299 1.1 manu sys_nosys }, /* 134 = unimplemented bdflush */
300 1.3 thorpej { 0, 0, 0,
301 1.1 manu sys_nosys }, /* 135 = unimplemented sysfs */
302 1.3 thorpej { 1, s(struct linux_sys_personality_args), 0,
303 1.1 manu linux_sys_personality }, /* 136 = personality */
304 1.3 thorpej { 0, 0, 0,
305 1.1 manu sys_nosys }, /* 137 = unimplemented afs_syscall */
306 1.3 thorpej { 1, s(struct linux_sys_setfsuid_args), 0,
307 1.1 manu linux_sys_setfsuid }, /* 138 = setfsuid */
308 1.3 thorpej { 0, 0, 0,
309 1.1 manu linux_sys_getfsuid }, /* 139 = getfsuid */
310 1.3 thorpej { 5, s(struct linux_sys_llseek_args), 0,
311 1.1 manu linux_sys_llseek }, /* 140 = llseek */
312 1.3 thorpej { 3, s(struct linux_sys_getdents_args), 0,
313 1.1 manu linux_sys_getdents }, /* 141 = getdents */
314 1.3 thorpej { 5, s(struct linux_sys_new_select_args), 0,
315 1.1 manu linux_sys_new_select }, /* 142 = new_select */
316 1.3 thorpej { 2, s(struct sys_flock_args), 0,
317 1.1 manu sys_flock }, /* 143 = flock */
318 1.3 thorpej { 3, s(struct linux_sys_msync_args), 0,
319 1.1 manu linux_sys_msync }, /* 144 = msync */
320 1.3 thorpej { 3, s(struct sys_readv_args), 0,
321 1.1 manu sys_readv }, /* 145 = readv */
322 1.3 thorpej { 3, s(struct sys_writev_args), 0,
323 1.1 manu sys_writev }, /* 146 = writev */
324 1.3 thorpej { 1, s(struct sys_getsid_args), 0,
325 1.1 manu sys_getsid }, /* 147 = getsid */
326 1.3 thorpej { 1, s(struct linux_sys_fdatasync_args), 0,
327 1.1 manu linux_sys_fdatasync }, /* 148 = fdatasync */
328 1.3 thorpej { 1, s(struct linux_sys___sysctl_args), 0,
329 1.1 manu linux_sys___sysctl }, /* 149 = __sysctl */
330 1.3 thorpej { 2, s(struct sys_mlock_args), 0,
331 1.1 manu sys_mlock }, /* 150 = mlock */
332 1.3 thorpej { 2, s(struct sys_munlock_args), 0,
333 1.1 manu sys_munlock }, /* 151 = munlock */
334 1.3 thorpej { 1, s(struct sys_mlockall_args), 0,
335 1.1 manu sys_mlockall }, /* 152 = mlockall */
336 1.3 thorpej { 0, 0, 0,
337 1.1 manu sys_munlockall }, /* 153 = munlockall */
338 1.3 thorpej { 2, s(struct linux_sys_sched_setparam_args), 0,
339 1.1 manu linux_sys_sched_setparam }, /* 154 = sched_setparam */
340 1.3 thorpej { 2, s(struct linux_sys_sched_getparam_args), 0,
341 1.1 manu linux_sys_sched_getparam }, /* 155 = sched_getparam */
342 1.3 thorpej { 3, s(struct linux_sys_sched_setscheduler_args), 0,
343 1.1 manu linux_sys_sched_setscheduler }, /* 156 = sched_setscheduler */
344 1.3 thorpej { 1, s(struct linux_sys_sched_getscheduler_args), 0,
345 1.1 manu linux_sys_sched_getscheduler }, /* 157 = sched_getscheduler */
346 1.3 thorpej { 0, 0, 0,
347 1.1 manu linux_sys_sched_yield }, /* 158 = sched_yield */
348 1.3 thorpej { 1, s(struct linux_sys_sched_get_priority_max_args), 0,
349 1.1 manu linux_sys_sched_get_priority_max }, /* 159 = sched_get_priority_max */
350 1.3 thorpej { 1, s(struct linux_sys_sched_get_priority_min_args), 0,
351 1.1 manu linux_sys_sched_get_priority_min }, /* 160 = sched_get_priority_min */
352 1.3 thorpej { 0, 0, 0,
353 1.1 manu sys_nosys }, /* 161 = unimplemented sched_rr_get_interval */
354 1.3 thorpej { 2, s(struct sys_nanosleep_args), 0,
355 1.1 manu sys_nanosleep }, /* 162 = nanosleep */
356 1.3 thorpej { 4, s(struct linux_sys_mremap_args), 0,
357 1.1 manu linux_sys_mremap }, /* 163 = mremap */
358 1.3 thorpej { 3, s(struct linux_sys_setresuid_args), 0,
359 1.1 manu linux_sys_setresuid }, /* 164 = setresuid */
360 1.3 thorpej { 3, s(struct linux_sys_getresuid_args), 0,
361 1.1 manu linux_sys_getresuid }, /* 165 = getresuid */
362 1.3 thorpej { 0, 0, 0,
363 1.1 manu sys_nosys }, /* 166 = unimplemented query_module */
364 1.3 thorpej { 3, s(struct sys_poll_args), 0,
365 1.1 manu sys_poll }, /* 167 = poll */
366 1.3 thorpej { 0, 0, 0,
367 1.1 manu sys_nosys }, /* 168 = unimplemented nfsservctl */
368 1.3 thorpej { 3, s(struct linux_sys_setresgid_args), 0,
369 1.1 manu linux_sys_setresgid }, /* 169 = setresgid */
370 1.3 thorpej { 3, s(struct linux_sys_getresgid_args), 0,
371 1.1 manu linux_sys_getresgid }, /* 170 = getresgid */
372 1.3 thorpej { 0, 0, 0,
373 1.1 manu sys_nosys }, /* 171 = unimplemented prctl */
374 1.3 thorpej { 1, s(struct linux_sys_rt_sigreturn_args), 0,
375 1.1 manu linux_sys_rt_sigreturn }, /* 172 = rt_sigreturn */
376 1.3 thorpej { 4, s(struct linux_sys_rt_sigaction_args), 0,
377 1.1 manu linux_sys_rt_sigaction }, /* 173 = rt_sigaction */
378 1.3 thorpej { 4, s(struct linux_sys_rt_sigprocmask_args), 0,
379 1.1 manu linux_sys_rt_sigprocmask }, /* 174 = rt_sigprocmask */
380 1.3 thorpej { 2, s(struct linux_sys_rt_sigpending_args), 0,
381 1.1 manu linux_sys_rt_sigpending }, /* 175 = rt_sigpending */
382 1.3 thorpej { 0, 0, 0,
383 1.1 manu sys_nosys }, /* 176 = unimplemented rt_sigtimedwait */
384 1.3 thorpej { 3, s(struct linux_sys_rt_queueinfo_args), 0,
385 1.1 manu linux_sys_rt_queueinfo }, /* 177 = rt_queueinfo */
386 1.3 thorpej { 2, s(struct linux_sys_rt_sigsuspend_args), 0,
387 1.1 manu linux_sys_rt_sigsuspend }, /* 178 = rt_sigsuspend */
388 1.3 thorpej { 4, s(struct linux_sys_pread_args), 0,
389 1.1 manu linux_sys_pread }, /* 179 = pread */
390 1.3 thorpej { 4, s(struct linux_sys_pwrite_args), 0,
391 1.1 manu linux_sys_pwrite }, /* 180 = pwrite */
392 1.3 thorpej { 3, s(struct linux_sys_chown_args), 0,
393 1.1 manu linux_sys_chown }, /* 181 = chown */
394 1.3 thorpej { 2, s(struct sys___getcwd_args), 0,
395 1.1 manu sys___getcwd }, /* 182 = __getcwd */
396 1.3 thorpej { 0, 0, 0,
397 1.1 manu sys_nosys }, /* 183 = unimplemented capget */
398 1.3 thorpej { 0, 0, 0,
399 1.1 manu sys_nosys }, /* 184 = unimplemented capset */
400 1.3 thorpej { 2, s(struct linux_sys_sigaltstack_args), 0,
401 1.1 manu linux_sys_sigaltstack }, /* 185 = sigaltstack */
402 1.3 thorpej { 0, 0, 0,
403 1.1 manu sys_nosys }, /* 186 = unimplemented sendfile */
404 1.3 thorpej { 0, 0, 0,
405 1.1 manu sys_nosys }, /* 187 = unimplemented getpmsg */
406 1.3 thorpej { 0, 0, 0,
407 1.1 manu sys_nosys }, /* 188 = unimplemented putpmsg */
408 1.3 thorpej { 0, 0, 0,
409 1.1 manu sys___vfork14 }, /* 189 = __vfork14 */
410 1.3 thorpej { 0, 0, 0,
411 1.1 manu sys_nosys }, /* 190 = unimplemented sys_getrlimit */
412 1.3 thorpej { 0, 0, 0,
413 1.1 manu sys_nosys }, /* 191 = unimplemented / * unused * / */
414 1.3 thorpej { 0, 0, 0,
415 1.1 manu sys_nosys }, /* 192 = unimplemented mmap2 */
416 1.3 thorpej { 0, 0, 0,
417 1.1 manu sys_nosys }, /* 193 = unimplemented truncate64 */
418 1.3 thorpej { 0, 0, 0,
419 1.1 manu sys_nosys }, /* 194 = unimplemented ftruncate64 */
420 1.3 thorpej { 0, 0, 0,
421 1.1 manu sys_nosys }, /* 195 = unimplemented stat64 */
422 1.3 thorpej { 0, 0, 0,
423 1.1 manu sys_nosys }, /* 196 = unimplemented lstat64 */
424 1.3 thorpej { 0, 0, 0,
425 1.1 manu sys_nosys }, /* 197 = unimplemented fstat64 */
426 1.3 thorpej { 0, 0, 0,
427 1.1 manu sys_nosys }, /* 198 = unimplemented sys_pciconfig_read */
428 1.3 thorpej { 0, 0, 0,
429 1.1 manu sys_nosys }, /* 199 = unimplemented sys_pciconfig_write */
430 1.3 thorpej { 0, 0, 0,
431 1.1 manu sys_nosys }, /* 200 = unimplemented sys_pciconfig_iobase */
432 1.3 thorpej { 0, 0, 0,
433 1.1 manu sys_nosys }, /* 201 = unimplemented / * Unused ( MacOnLinux project ) * / */
434 1.3 thorpej { 0, 0, 0,
435 1.1 manu sys_nosys }, /* 202 = unimplemented sys_getdents64 */
436 1.1 manu };
437 1.1 manu
438