Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / compat / aoutm68k / aoutm68k_sysent.c
blobe85c46a898ce08cc1838bb9513038358e2699256
1 /* $NetBSD$ */
3 /*
4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.33 2009/01/13 22:27:43 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_ktrace.h"
15 #include "opt_nfsserver.h"
16 #include "opt_ntp.h"
17 #include "opt_compat_netbsd.h"
18 #include "opt_sysv.h"
19 #include "opt_compat_43.h"
20 #include "fs_lfs.h"
21 #include "fs_nfs.h"
22 #endif
23 #include <sys/param.h>
24 #include <sys/systm.h>
25 #include <sys/signal.h>
26 #include <sys/mount.h>
27 #include <sys/sched.h>
28 #include <sys/syscallargs.h>
29 #include <compat/aoutm68k/aoutm68k_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 aoutm68k_sysent[] = {
36 { ns(struct sys_syscall_args), SYCALL_INDIRECT | 0,
37 (sy_call_t *)sys_syscall }, /* 0 = syscall */
38 { ns(struct sys_exit_args), 0,
39 (sy_call_t *)sys_exit }, /* 1 = exit */
40 { 0, 0, 0,
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 sys_open_args), 0,
47 (sy_call_t *)sys_open }, /* 5 = open */
48 { ns(struct sys_close_args), 0,
49 (sy_call_t *)sys_close }, /* 6 = close */
50 { ns(struct compat_50_sys_wait4_args), 0,
51 (sy_call_t *)compat_50_sys_wait4 }, /* 7 = wait4 */
52 #if defined(COMPAT_43) || !defined(_KERNEL)
53 { ns(struct compat_43_sys_creat_args), 0,
54 (sy_call_t *)compat_43_sys_creat }, /* 8 = ocreat */
55 #else
56 { 0, 0, 0,
57 sys_nosys }, /* 8 = excluded compat_43_sys_creat */
58 #endif
59 { ns(struct sys_link_args), 0,
60 (sy_call_t *)sys_link }, /* 9 = link */
61 { ns(struct sys_unlink_args), 0,
62 (sy_call_t *)sys_unlink }, /* 10 = unlink */
63 { 0, 0, 0,
64 sys_nosys }, /* 11 = obsolete execv */
65 { ns(struct sys_chdir_args), 0,
66 (sy_call_t *)sys_chdir }, /* 12 = chdir */
67 { ns(struct sys_fchdir_args), 0,
68 (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
69 { ns(struct compat_50_sys_mknod_args), 0,
70 (sy_call_t *)compat_50_sys_mknod }, /* 14 = mknod */
71 { ns(struct sys_chmod_args), 0,
72 (sy_call_t *)sys_chmod }, /* 15 = chmod */
73 { ns(struct sys_chown_args), 0,
74 (sy_call_t *)sys_chown }, /* 16 = chown */
75 { ns(struct sys_obreak_args), 0,
76 (sy_call_t *)sys_obreak }, /* 17 = break */
77 #if defined(COMPAT_20) || !defined(_KERNEL)
78 { ns(struct compat_20_sys_getfsstat_args), 0,
79 (sy_call_t *)compat_20_sys_getfsstat },/* 18 = getfsstat */
80 #else
81 { 0, 0, 0,
82 sys_nosys }, /* 18 = excluded compat_20_sys_getfsstat */
83 #endif
84 #if defined(COMPAT_43) || !defined(_KERNEL)
85 { ns(struct compat_43_sys_lseek_args), 0,
86 (sy_call_t *)compat_43_sys_lseek }, /* 19 = olseek */
87 #else
88 { 0, 0, 0,
89 sys_nosys }, /* 19 = excluded compat_43_sys_lseek */
90 #endif
91 { 0, 0, 0,
92 (sy_call_t *)sys_getpid }, /* 20 = getpid */
93 { ns(struct compat_40_sys_mount_args), 0,
94 (sy_call_t *)compat_40_sys_mount }, /* 21 = mount */
95 { ns(struct sys_unmount_args), 0,
96 (sy_call_t *)sys_unmount }, /* 22 = unmount */
97 { ns(struct sys_setuid_args), 0,
98 (sy_call_t *)sys_setuid }, /* 23 = setuid */
99 { 0, 0, 0,
100 (sy_call_t *)sys_getuid }, /* 24 = getuid */
101 { 0, 0, 0,
102 (sy_call_t *)sys_geteuid }, /* 25 = geteuid */
103 { ns(struct sys_ptrace_args), 0,
104 (sy_call_t *)sys_ptrace }, /* 26 = ptrace */
105 { ns(struct sys_recvmsg_args), 0,
106 (sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
107 { ns(struct sys_sendmsg_args), 0,
108 (sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
109 { ns(struct sys_recvfrom_args), 0,
110 (sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
111 { ns(struct sys_accept_args), 0,
112 (sy_call_t *)sys_accept }, /* 30 = accept */
113 { ns(struct sys_getpeername_args), 0,
114 (sy_call_t *)sys_getpeername }, /* 31 = getpeername */
115 { ns(struct sys_getsockname_args), 0,
116 (sy_call_t *)sys_getsockname }, /* 32 = getsockname */
117 { ns(struct sys_access_args), 0,
118 (sy_call_t *)sys_access }, /* 33 = access */
119 { ns(struct sys_chflags_args), 0,
120 (sy_call_t *)sys_chflags }, /* 34 = chflags */
121 { ns(struct sys_fchflags_args), 0,
122 (sy_call_t *)sys_fchflags }, /* 35 = fchflags */
123 { 0, 0, 0,
124 (sy_call_t *)sys_sync }, /* 36 = sync */
125 { ns(struct sys_kill_args), 0,
126 (sy_call_t *)sys_kill }, /* 37 = kill */
127 #if defined(COMPAT_43) || !defined(_KERNEL)
128 { ns(struct aoutm68k_compat_43_sys_stat_args), 0,
129 (sy_call_t *)aoutm68k_compat_43_sys_stat },/* 38 = stat43 */
130 #else
131 { 0, 0, 0,
132 sys_nosys }, /* 38 = excluded aoutm68k_compat_43_sys_stat */
133 #endif
134 { 0, 0, 0,
135 (sy_call_t *)sys_getppid }, /* 39 = getppid */
136 #if defined(COMPAT_43) || !defined(_KERNEL)
137 { ns(struct aoutm68k_compat_43_sys_lstat_args), 0,
138 (sy_call_t *)aoutm68k_compat_43_sys_lstat },/* 40 = lstat43 */
139 #else
140 { 0, 0, 0,
141 sys_nosys }, /* 40 = excluded aoutm68k_compat_43_sys_lstat */
142 #endif
143 { ns(struct sys_dup_args), 0,
144 (sy_call_t *)sys_dup }, /* 41 = dup */
145 { 0, 0, 0,
146 (sy_call_t *)sys_pipe }, /* 42 = pipe */
147 { 0, 0, 0,
148 (sy_call_t *)sys_getegid }, /* 43 = getegid */
149 { ns(struct sys_profil_args), 0,
150 (sy_call_t *)sys_profil }, /* 44 = profil */
151 #if defined(KTRACE) || !defined(_KERNEL)
152 { ns(struct sys_ktrace_args), 0,
153 (sy_call_t *)sys_ktrace }, /* 45 = ktrace */
154 #else
155 { 0, 0, 0,
156 sys_nosys }, /* 45 = excluded ktrace */
157 #endif
158 #if defined(COMPAT_13) || !defined(_KERNEL)
159 { ns(struct compat_13_sys_sigaction_args), 0,
160 (sy_call_t *)compat_13_sys_sigaction },/* 46 = sigaction13 */
161 #else
162 { 0, 0, 0,
163 sys_nosys }, /* 46 = excluded compat_13_sys_sigaction */
164 #endif
165 { 0, 0, 0,
166 (sy_call_t *)sys_getgid }, /* 47 = getgid */
167 #if defined(COMPAT_13) || !defined(_KERNEL)
168 { ns(struct compat_13_sys_sigprocmask_args), 0,
169 (sy_call_t *)compat_13_sys_sigprocmask },/* 48 = sigprocmask13 */
170 #else
171 { 0, 0, 0,
172 sys_nosys }, /* 48 = excluded compat_13_sys_sigprocmask */
173 #endif
174 { ns(struct sys___getlogin_args), 0,
175 (sy_call_t *)sys___getlogin }, /* 49 = __getlogin */
176 { ns(struct sys___setlogin_args), 0,
177 (sy_call_t *)sys___setlogin }, /* 50 = __setlogin */
178 { ns(struct sys_acct_args), 0,
179 (sy_call_t *)sys_acct }, /* 51 = acct */
180 #if defined(COMPAT_13) || !defined(_KERNEL)
181 { 0, 0, 0,
182 (sy_call_t *)compat_13_sys_sigpending },/* 52 = sigpending13 */
183 { ns(struct compat_13_sys_sigaltstack_args), 0,
184 (sy_call_t *)compat_13_sys_sigaltstack },/* 53 = sigaltstack13 */
185 #else
186 { 0, 0, 0,
187 sys_nosys }, /* 52 = excluded compat_13_sys_sigpending */
188 { 0, 0, 0,
189 sys_nosys }, /* 53 = excluded compat_13_sys_sigaltstack */
190 #endif
191 { ns(struct sys_ioctl_args), 0,
192 (sy_call_t *)sys_ioctl }, /* 54 = ioctl */
193 #if defined(COMPAT_12) || !defined(_KERNEL)
194 { ns(struct compat_12_sys_reboot_args), 0,
195 (sy_call_t *)compat_12_sys_reboot },/* 55 = oreboot */
196 #else
197 { 0, 0, 0,
198 sys_nosys }, /* 55 = excluded compat_12_sys_reboot */
199 #endif
200 { ns(struct sys_revoke_args), 0,
201 (sy_call_t *)sys_revoke }, /* 56 = revoke */
202 { ns(struct sys_symlink_args), 0,
203 (sy_call_t *)sys_symlink }, /* 57 = symlink */
204 { ns(struct sys_readlink_args), 0,
205 (sy_call_t *)sys_readlink }, /* 58 = readlink */
206 { ns(struct sys_execve_args), 0,
207 (sy_call_t *)sys_execve }, /* 59 = execve */
208 { ns(struct sys_umask_args), 0,
209 (sy_call_t *)sys_umask }, /* 60 = umask */
210 { ns(struct sys_chroot_args), 0,
211 (sy_call_t *)sys_chroot }, /* 61 = chroot */
212 #if defined(COMPAT_43) || !defined(_KERNEL)
213 { ns(struct aoutm68k_compat_43_sys_fstat_args), 0,
214 (sy_call_t *)aoutm68k_compat_43_sys_fstat },/* 62 = fstat43 */
215 { ns(struct compat_43_sys_getkerninfo_args), 0,
216 (sy_call_t *)compat_43_sys_getkerninfo },/* 63 = ogetkerninfo */
217 { 0, 0, 0,
218 (sy_call_t *)compat_43_sys_getpagesize },/* 64 = ogetpagesize */
219 #else
220 { 0, 0, 0,
221 sys_nosys }, /* 62 = excluded aoutm68k_compat_43_sys_fstat */
222 { 0, 0, 0,
223 sys_nosys }, /* 63 = excluded compat_43_sys_getkerninfo */
224 { 0, 0, 0,
225 sys_nosys }, /* 64 = excluded compat_43_sys_getpagesize */
226 #endif
227 #if defined(COMPAT_12) || !defined(_KERNEL)
228 { ns(struct compat_12_sys_msync_args), 0,
229 (sy_call_t *)compat_12_sys_msync }, /* 65 = msync */
230 #else
231 { 0, 0, 0,
232 sys_nosys }, /* 65 = excluded compat_12_sys_msync */
233 #endif
234 { 0, 0, 0,
235 (sy_call_t *)sys_vfork }, /* 66 = vfork */
236 { 0, 0, 0,
237 sys_nosys }, /* 67 = obsolete vread */
238 { 0, 0, 0,
239 sys_nosys }, /* 68 = obsolete vwrite */
240 { ns(struct sys_sbrk_args), 0,
241 (sy_call_t *)sys_sbrk }, /* 69 = sbrk */
242 { ns(struct sys_sstk_args), 0,
243 (sy_call_t *)sys_sstk }, /* 70 = sstk */
244 #if defined(COMPAT_43) || !defined(_KERNEL)
245 { ns(struct compat_43_sys_mmap_args), 0,
246 (sy_call_t *)compat_43_sys_mmap }, /* 71 = ommap */
247 #else
248 { 0, 0, 0,
249 sys_nosys }, /* 71 = excluded compat_43_sys_mmap */
250 #endif
251 { ns(struct sys_ovadvise_args), 0,
252 (sy_call_t *)sys_ovadvise }, /* 72 = vadvise */
253 { ns(struct sys_munmap_args), 0,
254 (sy_call_t *)sys_munmap }, /* 73 = munmap */
255 { ns(struct sys_mprotect_args), 0,
256 (sy_call_t *)sys_mprotect }, /* 74 = mprotect */
257 { ns(struct sys_madvise_args), 0,
258 (sy_call_t *)sys_madvise }, /* 75 = madvise */
259 { 0, 0, 0,
260 sys_nosys }, /* 76 = obsolete vhangup */
261 { 0, 0, 0,
262 sys_nosys }, /* 77 = obsolete vlimit */
263 { ns(struct sys_mincore_args), 0,
264 (sy_call_t *)sys_mincore }, /* 78 = mincore */
265 { ns(struct sys_getgroups_args), 0,
266 (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
267 { ns(struct sys_setgroups_args), 0,
268 (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
269 { 0, 0, 0,
270 (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
271 { ns(struct sys_setpgid_args), 0,
272 (sy_call_t *)sys_setpgid }, /* 82 = setpgid */
273 { ns(struct compat_50_sys_setitimer_args), 0,
274 (sy_call_t *)compat_50_sys_setitimer },/* 83 = setitimer */
275 #if defined(COMPAT_43) || !defined(_KERNEL)
276 { 0, 0, 0,
277 (sy_call_t *)compat_43_sys_wait }, /* 84 = owait */
278 #else
279 { 0, 0, 0,
280 sys_nosys }, /* 84 = excluded compat_43_sys_wait */
281 #endif
282 #if defined(COMPAT_12) || !defined(_KERNEL)
283 { ns(struct compat_12_sys_swapon_args), 0,
284 (sy_call_t *)compat_12_sys_swapon },/* 85 = oswapon */
285 #else
286 { 0, 0, 0,
287 sys_nosys }, /* 85 = excluded compat_12_sys_swapon */
288 #endif
289 { ns(struct compat_50_sys_getitimer_args), 0,
290 (sy_call_t *)compat_50_sys_getitimer },/* 86 = getitimer */
291 #if defined(COMPAT_43) || !defined(_KERNEL)
292 { ns(struct compat_43_sys_gethostname_args), 0,
293 (sy_call_t *)compat_43_sys_gethostname },/* 87 = ogethostname */
294 { ns(struct compat_43_sys_sethostname_args), 0,
295 (sy_call_t *)compat_43_sys_sethostname },/* 88 = osethostname */
296 { 0, 0, 0,
297 (sy_call_t *)compat_43_sys_getdtablesize },/* 89 = ogetdtablesize */
298 #else
299 { 0, 0, 0,
300 sys_nosys }, /* 87 = excluded compat_43_sys_gethostname */
301 { 0, 0, 0,
302 sys_nosys }, /* 88 = excluded compat_43_sys_sethostname */
303 { 0, 0, 0,
304 sys_nosys }, /* 89 = excluded compat_43_sys_getdtablesize */
305 #endif
306 { ns(struct sys_dup2_args), 0,
307 (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
308 { 0, 0, 0,
309 sys_nosys }, /* 91 = unimplemented getdopt */
310 { ns(struct sys_fcntl_args), 0,
311 (sy_call_t *)sys_fcntl }, /* 92 = fcntl */
312 { ns(struct compat_50_sys_select_args), 0,
313 (sy_call_t *)compat_50_sys_select },/* 93 = select */
314 { 0, 0, 0,
315 sys_nosys }, /* 94 = unimplemented setdopt */
316 { ns(struct sys_fsync_args), 0,
317 (sy_call_t *)sys_fsync }, /* 95 = fsync */
318 { ns(struct sys_setpriority_args), 0,
319 (sy_call_t *)sys_setpriority }, /* 96 = setpriority */
320 { ns(struct compat_30_sys_socket_args), 0,
321 (sy_call_t *)compat_30_sys_socket },/* 97 = socket */
322 { ns(struct sys_connect_args), 0,
323 (sy_call_t *)sys_connect }, /* 98 = connect */
324 #if defined(COMPAT_43) || !defined(_KERNEL)
325 { ns(struct compat_43_sys_accept_args), 0,
326 (sy_call_t *)compat_43_sys_accept },/* 99 = oaccept */
327 #else
328 { 0, 0, 0,
329 sys_nosys }, /* 99 = excluded compat_43_sys_accept */
330 #endif
331 { ns(struct sys_getpriority_args), 0,
332 (sy_call_t *)sys_getpriority }, /* 100 = getpriority */
333 #if defined(COMPAT_43) || !defined(_KERNEL)
334 { ns(struct compat_43_sys_send_args), 0,
335 (sy_call_t *)compat_43_sys_send }, /* 101 = osend */
336 { ns(struct compat_43_sys_recv_args), 0,
337 (sy_call_t *)compat_43_sys_recv }, /* 102 = orecv */
338 #else
339 { 0, 0, 0,
340 sys_nosys }, /* 101 = excluded compat_43_sys_send */
341 { 0, 0, 0,
342 sys_nosys }, /* 102 = excluded compat_43_sys_recv */
343 #endif
344 #if defined(COMPAT_13) || !defined(_KERNEL)
345 { ns(struct compat_13_sys_sigreturn_args), 0,
346 (sy_call_t *)compat_13_sys_sigreturn },/* 103 = sigreturn13 */
347 #else
348 { 0, 0, 0,
349 sys_nosys }, /* 103 = excluded compat_13_sys_sigreturn */
350 #endif
351 { ns(struct sys_bind_args), 0,
352 (sy_call_t *)sys_bind }, /* 104 = bind */
353 { ns(struct sys_setsockopt_args), 0,
354 (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */
355 { ns(struct sys_listen_args), 0,
356 (sy_call_t *)sys_listen }, /* 106 = listen */
357 { 0, 0, 0,
358 sys_nosys }, /* 107 = obsolete vtimes */
359 #if defined(COMPAT_43) || !defined(_KERNEL)
360 { ns(struct compat_43_sys_sigvec_args), 0,
361 (sy_call_t *)compat_43_sys_sigvec },/* 108 = osigvec */
362 { ns(struct compat_43_sys_sigblock_args), 0,
363 (sy_call_t *)compat_43_sys_sigblock },/* 109 = osigblock */
364 { ns(struct compat_43_sys_sigsetmask_args), 0,
365 (sy_call_t *)compat_43_sys_sigsetmask },/* 110 = osigsetmask */
366 #else
367 { 0, 0, 0,
368 sys_nosys }, /* 108 = excluded compat_43_sys_sigvec */
369 { 0, 0, 0,
370 sys_nosys }, /* 109 = excluded compat_43_sys_sigblock */
371 { 0, 0, 0,
372 sys_nosys }, /* 110 = excluded compat_43_sys_sigsetmask */
373 #endif
374 #if defined(COMPAT_13) || !defined(_KERNEL)
375 { ns(struct compat_13_sys_sigsuspend_args), 0,
376 (sy_call_t *)compat_13_sys_sigsuspend },/* 111 = sigsuspend13 */
377 #else
378 { 0, 0, 0,
379 sys_nosys }, /* 111 = excluded compat_13_sys_sigsuspend */
380 #endif
381 #if defined(COMPAT_43) || !defined(_KERNEL)
382 { ns(struct compat_43_sys_sigstack_args), 0,
383 (sy_call_t *)compat_43_sys_sigstack },/* 112 = osigstack */
384 { ns(struct compat_43_sys_recvmsg_args), 0,
385 (sy_call_t *)compat_43_sys_recvmsg },/* 113 = orecvmsg */
386 { ns(struct compat_43_sys_sendmsg_args), 0,
387 (sy_call_t *)compat_43_sys_sendmsg },/* 114 = osendmsg */
388 #else
389 { 0, 0, 0,
390 sys_nosys }, /* 112 = excluded compat_43_sys_sigstack */
391 { 0, 0, 0,
392 sys_nosys }, /* 113 = excluded compat_43_sys_recvmesg */
393 { 0, 0, 0,
394 sys_nosys }, /* 114 = excluded compat_43_sys_sendmesg */
395 #endif
396 { 0, 0, 0,
397 sys_nosys }, /* 115 = obsolete vtrace */
398 { ns(struct compat_50_sys_gettimeofday_args), 0,
399 (sy_call_t *)compat_50_sys_gettimeofday },/* 116 = gettimeofday */
400 { ns(struct compat_50_sys_getrusage_args), 0,
401 (sy_call_t *)compat_50_sys_getrusage },/* 117 = getrusage */
402 { ns(struct sys_getsockopt_args), 0,
403 (sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */
404 { 0, 0, 0,
405 sys_nosys }, /* 119 = obsolete resuba */
406 { ns(struct sys_readv_args), 0,
407 (sy_call_t *)sys_readv }, /* 120 = readv */
408 { ns(struct sys_writev_args), 0,
409 (sy_call_t *)sys_writev }, /* 121 = writev */
410 { ns(struct compat_50_sys_settimeofday_args), 0,
411 (sy_call_t *)compat_50_sys_settimeofday },/* 122 = settimeofday */
412 { ns(struct sys_fchown_args), 0,
413 (sy_call_t *)sys_fchown }, /* 123 = fchown */
414 { ns(struct sys_fchmod_args), 0,
415 (sy_call_t *)sys_fchmod }, /* 124 = fchmod */
416 #if defined(COMPAT_43) || !defined(_KERNEL)
417 { ns(struct compat_43_sys_recvfrom_args), 0,
418 (sy_call_t *)compat_43_sys_recvfrom },/* 125 = orecvfrom */
419 #else
420 { 0, 0, 0,
421 sys_nosys }, /* 125 = excluded compat_43_sys_recvfrom */
422 #endif
423 { ns(struct sys_setreuid_args), 0,
424 (sy_call_t *)sys_setreuid }, /* 126 = setreuid */
425 { ns(struct sys_setregid_args), 0,
426 (sy_call_t *)sys_setregid }, /* 127 = setregid */
427 { ns(struct sys_rename_args), 0,
428 (sy_call_t *)sys_rename }, /* 128 = rename */
429 #if defined(COMPAT_43) || !defined(_KERNEL)
430 { ns(struct compat_43_sys_truncate_args), 0,
431 (sy_call_t *)compat_43_sys_truncate },/* 129 = otruncate */
432 { ns(struct compat_43_sys_ftruncate_args), 0,
433 (sy_call_t *)compat_43_sys_ftruncate },/* 130 = oftruncate */
434 #else
435 { 0, 0, 0,
436 sys_nosys }, /* 129 = excluded compat_43_sys_truncate */
437 { 0, 0, 0,
438 sys_nosys }, /* 130 = excluded compat_43_sys_ftruncate */
439 #endif
440 { ns(struct sys_flock_args), 0,
441 (sy_call_t *)sys_flock }, /* 131 = flock */
442 { ns(struct sys_mkfifo_args), 0,
443 (sy_call_t *)sys_mkfifo }, /* 132 = mkfifo */
444 { ns(struct sys_sendto_args), 0,
445 (sy_call_t *)sys_sendto }, /* 133 = sendto */
446 { ns(struct sys_shutdown_args), 0,
447 (sy_call_t *)sys_shutdown }, /* 134 = shutdown */
448 { ns(struct sys_socketpair_args), 0,
449 (sy_call_t *)sys_socketpair }, /* 135 = socketpair */
450 { ns(struct sys_mkdir_args), 0,
451 (sy_call_t *)sys_mkdir }, /* 136 = mkdir */
452 { ns(struct sys_rmdir_args), 0,
453 (sy_call_t *)sys_rmdir }, /* 137 = rmdir */
454 { ns(struct compat_50_sys_utimes_args), 0,
455 (sy_call_t *)compat_50_sys_utimes },/* 138 = utimes */
456 { 0, 0, 0,
457 sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
458 { ns(struct compat_50_sys_adjtime_args), 0,
459 (sy_call_t *)compat_50_sys_adjtime },/* 140 = adjtime */
460 #if defined(COMPAT_43) || !defined(_KERNEL)
461 { ns(struct compat_43_sys_getpeername_args), 0,
462 (sy_call_t *)compat_43_sys_getpeername },/* 141 = ogetpeername */
463 { 0, 0, 0,
464 (sy_call_t *)compat_43_sys_gethostid },/* 142 = ogethostid */
465 { ns(struct compat_43_sys_sethostid_args), 0,
466 (sy_call_t *)compat_43_sys_sethostid },/* 143 = osethostid */
467 { ns(struct compat_43_sys_getrlimit_args), 0,
468 (sy_call_t *)compat_43_sys_getrlimit },/* 144 = ogetrlimit */
469 { ns(struct compat_43_sys_setrlimit_args), 0,
470 (sy_call_t *)compat_43_sys_setrlimit },/* 145 = osetrlimit */
471 { ns(struct compat_43_sys_killpg_args), 0,
472 (sy_call_t *)compat_43_sys_killpg },/* 146 = okillpg */
473 #else
474 { 0, 0, 0,
475 sys_nosys }, /* 141 = excluded compat_43_sys_getpeername */
476 { 0, 0, 0,
477 sys_nosys }, /* 142 = excluded compat_43_sys_gethostid */
478 { 0, 0, 0,
479 sys_nosys }, /* 143 = excluded compat_43_sys_sethostid */
480 { 0, 0, 0,
481 sys_nosys }, /* 144 = excluded compat_43_sys_getrlimit */
482 { 0, 0, 0,
483 sys_nosys }, /* 145 = excluded compat_43_sys_setrlimit */
484 { 0, 0, 0,
485 sys_nosys }, /* 146 = excluded compat_43_sys_killpg */
486 #endif
487 { 0, 0, 0,
488 (sy_call_t *)sys_setsid }, /* 147 = setsid */
489 { ns(struct sys_quotactl_args), 0,
490 (sy_call_t *)sys_quotactl }, /* 148 = quotactl */
491 #if defined(COMPAT_43) || !defined(_KERNEL)
492 { 0, 0, 0,
493 (sy_call_t *)compat_43_sys_quota }, /* 149 = oquota */
494 { ns(struct compat_43_sys_getsockname_args), 0,
495 (sy_call_t *)compat_43_sys_getsockname },/* 150 = ogetsockname */
496 #else
497 { 0, 0, 0,
498 sys_nosys }, /* 149 = excluded compat_43_sys_quota */
499 { 0, 0, 0,
500 sys_nosys }, /* 150 = excluded compat_43_sys_getsockname */
501 #endif
502 { 0, 0, 0,
503 sys_nosys }, /* 151 = unimplemented */
504 { 0, 0, 0,
505 sys_nosys }, /* 152 = unimplemented */
506 { 0, 0, 0,
507 sys_nosys }, /* 153 = unimplemented */
508 { 0, 0, 0,
509 sys_nosys }, /* 154 = unimplemented */
510 #if defined(NFSSERVER) || !defined(_KERNEL)
511 { ns(struct sys_nfssvc_args), 0,
512 (sy_call_t *)sys_nfssvc }, /* 155 = nfssvc */
513 #else
514 { 0, 0, 0,
515 sys_nosys }, /* 155 = excluded nfssvc */
516 #endif
517 #if defined(COMPAT_43) || !defined(_KERNEL)
518 { ns(struct compat_43_sys_getdirentries_args), 0,
519 (sy_call_t *)compat_43_sys_getdirentries },/* 156 = ogetdirentries */
520 #else
521 { 0, 0, 0,
522 sys_nosys }, /* 156 = excluded compat_43_sys_getdirentries */
523 #endif
524 #if defined(COMPAT_20) || !defined(_KERNEL)
525 { ns(struct compat_20_sys_statfs_args), 0,
526 (sy_call_t *)compat_20_sys_statfs },/* 157 = statfs */
527 #else
528 { 0, 0, 0,
529 sys_nosys }, /* 157 = excluded compat_20_sys_statfs */
530 #endif
531 #if defined(COMPAT_20) || !defined(_KERNEL)
532 { ns(struct compat_20_sys_fstatfs_args), 0,
533 (sy_call_t *)compat_20_sys_fstatfs },/* 158 = fstatfs */
534 #else
535 { 0, 0, 0,
536 sys_nosys }, /* 158 = excluded compat_20_sys_statfs */
537 #endif
538 { 0, 0, 0,
539 sys_nosys }, /* 159 = unimplemented */
540 { 0, 0, 0,
541 sys_nosys }, /* 160 = unimplemented */
542 { ns(struct compat_30_sys_getfh_args), 0,
543 (sy_call_t *)compat_30_sys_getfh }, /* 161 = getfh */
544 #if defined(COMPAT_09) || !defined(_KERNEL)
545 { ns(struct compat_09_sys_getdomainname_args), 0,
546 (sy_call_t *)compat_09_sys_getdomainname },/* 162 = ogetdomainname */
547 { ns(struct compat_09_sys_setdomainname_args), 0,
548 (sy_call_t *)compat_09_sys_setdomainname },/* 163 = osetdomainname */
549 { ns(struct compat_09_sys_uname_args), 0,
550 (sy_call_t *)compat_09_sys_uname }, /* 164 = ouname */
551 #else
552 { 0, 0, 0,
553 sys_nosys }, /* 162 = excluded compat_09_sys_getdomainname */
554 { 0, 0, 0,
555 sys_nosys }, /* 163 = excluded compat_09_sys_setdomainname */
556 { 0, 0, 0,
557 sys_nosys }, /* 164 = excluded compat_09_sys_uname */
558 #endif
559 { ns(struct sys_sysarch_args), 0,
560 (sy_call_t *)sys_sysarch }, /* 165 = sysarch */
561 { 0, 0, 0,
562 sys_nosys }, /* 166 = unimplemented */
563 { 0, 0, 0,
564 sys_nosys }, /* 167 = unimplemented */
565 { 0, 0, 0,
566 sys_nosys }, /* 168 = unimplemented */
567 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
568 { ns(struct compat_10_sys_semsys_args), 0,
569 (sy_call_t *)compat_10_sys_semsys },/* 169 = osemsys */
570 #else
571 { 0, 0, 0,
572 sys_nosys }, /* 169 = excluded 1.0 semsys */
573 #endif
574 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
575 { ns(struct compat_10_sys_msgsys_args), 0,
576 (sy_call_t *)compat_10_sys_msgsys },/* 170 = omsgsys */
577 #else
578 { 0, 0, 0,
579 sys_nosys }, /* 170 = excluded 1.0 msgsys */
580 #endif
581 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
582 { ns(struct compat_10_sys_shmsys_args), 0,
583 (sy_call_t *)compat_10_sys_shmsys },/* 171 = oshmsys */
584 #else
585 { 0, 0, 0,
586 sys_nosys }, /* 171 = excluded 1.0 shmsys */
587 #endif
588 { 0, 0, 0,
589 sys_nosys }, /* 172 = unimplemented */
590 { ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
591 (sy_call_t *)sys_pread }, /* 173 = pread */
592 { ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
593 (sy_call_t *)sys_pwrite }, /* 174 = pwrite */
594 { 0, 0, 0,
595 sys_nosys }, /* 175 = unimplemented sys_ntp_gettime */
596 #if defined(NTP) || !defined(_KERNEL)
597 { ns(struct sys_ntp_adjtime_args), 0,
598 (sy_call_t *)sys_ntp_adjtime }, /* 176 = ntp_adjtime */
599 #else
600 { 0, 0, 0,
601 sys_nosys }, /* 176 = excluded ntp_adjtime */
602 #endif
603 { 0, 0, 0,
604 sys_nosys }, /* 177 = unimplemented */
605 { 0, 0, 0,
606 sys_nosys }, /* 178 = unimplemented */
607 { 0, 0, 0,
608 sys_nosys }, /* 179 = unimplemented */
609 { 0, 0, 0,
610 sys_nosys }, /* 180 = unimplemented */
611 { ns(struct sys_setgid_args), 0,
612 (sy_call_t *)sys_setgid }, /* 181 = setgid */
613 { ns(struct sys_setegid_args), 0,
614 (sy_call_t *)sys_setegid }, /* 182 = setegid */
615 { ns(struct sys_seteuid_args), 0,
616 (sy_call_t *)sys_seteuid }, /* 183 = seteuid */
617 #if defined(LFS) || !defined(_KERNEL)
618 { ns(struct sys_lfs_bmapv_args), 0,
619 (sy_call_t *)sys_lfs_bmapv }, /* 184 = lfs_bmapv */
620 { ns(struct sys_lfs_markv_args), 0,
621 (sy_call_t *)sys_lfs_markv }, /* 185 = lfs_markv */
622 { ns(struct sys_lfs_segclean_args), 0,
623 (sy_call_t *)sys_lfs_segclean }, /* 186 = lfs_segclean */
624 { ns(struct compat_50_sys_lfs_segwait_args), 0,
625 (sy_call_t *)compat_50_sys_lfs_segwait },/* 187 = lfs_segwait */
626 #else
627 { 0, 0, 0,
628 sys_nosys }, /* 184 = excluded lfs_bmapv */
629 { 0, 0, 0,
630 sys_nosys }, /* 185 = excluded lfs_markv */
631 { 0, 0, 0,
632 sys_nosys }, /* 186 = excluded lfs_segclean */
633 { 0, 0, 0,
634 sys_nosys }, /* 187 = excluded lfs_segwait */
635 #endif
636 #if defined(COMPAT_12) || !defined(_KERNEL)
637 { ns(struct aoutm68k_compat_12_sys_stat_args), 0,
638 (sy_call_t *)aoutm68k_compat_12_sys_stat },/* 188 = stat12 */
639 { ns(struct aoutm68k_compat_12_sys_fstat_args), 0,
640 (sy_call_t *)aoutm68k_compat_12_sys_fstat },/* 189 = fstat12 */
641 { ns(struct aoutm68k_compat_12_sys_lstat_args), 0,
642 (sy_call_t *)aoutm68k_compat_12_sys_lstat },/* 190 = lstat12 */
643 #else
644 { 0, 0, 0,
645 sys_nosys }, /* 188 = excluded aoutm68k_compat_12_sys_stat */
646 { 0, 0, 0,
647 sys_nosys }, /* 189 = excluded aoutm68k_compat_12_sys_fstat */
648 { 0, 0, 0,
649 sys_nosys }, /* 190 = excluded aoutm68k_compat_12_sys_lstat */
650 #endif
651 { ns(struct sys_pathconf_args), 0,
652 (sy_call_t *)sys_pathconf }, /* 191 = pathconf */
653 { ns(struct sys_fpathconf_args), 0,
654 (sy_call_t *)sys_fpathconf }, /* 192 = fpathconf */
655 { 0, 0, 0,
656 sys_nosys }, /* 193 = unimplemented */
657 { ns(struct sys_getrlimit_args), 0,
658 (sy_call_t *)sys_getrlimit }, /* 194 = getrlimit */
659 { ns(struct sys_setrlimit_args), 0,
660 (sy_call_t *)sys_setrlimit }, /* 195 = setrlimit */
661 #if defined(COMPAT_12) || !defined(_KERNEL)
662 { ns(struct compat_12_sys_getdirentries_args), 0,
663 (sy_call_t *)compat_12_sys_getdirentries },/* 196 = getdirentries */
664 #else
665 { 0, 0, 0,
666 sys_nosys }, /* 196 = excluded compat_12_sys_getdirentries */
667 #endif
668 { ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
669 (sy_call_t *)sys_mmap }, /* 197 = mmap */
670 { ns(struct sys___syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT | 0,
671 (sy_call_t *)sys___syscall }, /* 198 = __syscall */
672 { ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
673 (sy_call_t *)sys_lseek }, /* 199 = lseek */
674 { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
675 (sy_call_t *)sys_truncate }, /* 200 = truncate */
676 { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
677 (sy_call_t *)sys_ftruncate }, /* 201 = ftruncate */
678 { ns(struct sys___sysctl_args), 0,
679 (sy_call_t *)sys___sysctl }, /* 202 = __sysctl */
680 { ns(struct sys_mlock_args), 0,
681 (sy_call_t *)sys_mlock }, /* 203 = mlock */
682 { ns(struct sys_munlock_args), 0,
683 (sy_call_t *)sys_munlock }, /* 204 = munlock */
684 { ns(struct sys_undelete_args), 0,
685 (sy_call_t *)sys_undelete }, /* 205 = undelete */
686 { ns(struct compat_50_sys_futimes_args), 0,
687 (sy_call_t *)compat_50_sys_futimes },/* 206 = futimes */
688 { ns(struct sys_getpgid_args), 0,
689 (sy_call_t *)sys_getpgid }, /* 207 = getpgid */
690 { ns(struct sys_reboot_args), 0,
691 (sy_call_t *)sys_reboot }, /* 208 = reboot */
692 { ns(struct sys_poll_args), 0,
693 (sy_call_t *)sys_poll }, /* 209 = poll */
694 { 0, 0, 0,
695 sys_nosys }, /* 210 = unimplemented */
696 { 0, 0, 0,
697 sys_nosys }, /* 211 = unimplemented */
698 { 0, 0, 0,
699 sys_nosys }, /* 212 = unimplemented */
700 { 0, 0, 0,
701 sys_nosys }, /* 213 = unimplemented */
702 { 0, 0, 0,
703 sys_nosys }, /* 214 = unimplemented */
704 { 0, 0, 0,
705 sys_nosys }, /* 215 = unimplemented */
706 { 0, 0, 0,
707 sys_nosys }, /* 216 = unimplemented */
708 { 0, 0, 0,
709 sys_nosys }, /* 217 = unimplemented */
710 { 0, 0, 0,
711 sys_nosys }, /* 218 = unimplemented */
712 { 0, 0, 0,
713 sys_nosys }, /* 219 = unimplemented */
714 #if defined(SYSVSEM) || !defined(_KERNEL)
715 #if defined(COMPAT_14) || !defined(_KERNEL)
716 { ns(struct compat_14_sys___semctl_args), 0,
717 (sy_call_t *)compat_14_sys___semctl },/* 220 = __semctl */
718 #else
719 { 0, 0, 0,
720 sys_nosys }, /* 220 = excluded compat_14_semctl */
721 #endif
722 { ns(struct sys_semget_args), 0,
723 (sy_call_t *)sys_semget }, /* 221 = semget */
724 { ns(struct sys_semop_args), 0,
725 (sy_call_t *)sys_semop }, /* 222 = semop */
726 { ns(struct sys_semconfig_args), 0,
727 (sy_call_t *)sys_semconfig }, /* 223 = semconfig */
728 #else
729 { 0, 0, 0,
730 sys_nosys }, /* 220 = excluded compat_14_semctl */
731 { 0, 0, 0,
732 sys_nosys }, /* 221 = excluded semget */
733 { 0, 0, 0,
734 sys_nosys }, /* 222 = excluded semop */
735 { 0, 0, 0,
736 sys_nosys }, /* 223 = excluded semconfig */
737 #endif
738 #if defined(SYSVMSG) || !defined(_KERNEL)
739 #if defined(COMPAT_14) || !defined(_KERNEL)
740 { ns(struct compat_14_sys_msgctl_args), 0,
741 (sy_call_t *)compat_14_sys_msgctl },/* 224 = msgctl */
742 #else
743 { 0, 0, 0,
744 sys_nosys }, /* 224 = excluded compat_14_sys_msgctl */
745 #endif
746 { ns(struct sys_msgget_args), 0,
747 (sy_call_t *)sys_msgget }, /* 225 = msgget */
748 { ns(struct sys_msgsnd_args), 0,
749 (sy_call_t *)sys_msgsnd }, /* 226 = msgsnd */
750 { ns(struct sys_msgrcv_args), 0,
751 (sy_call_t *)sys_msgrcv }, /* 227 = msgrcv */
752 #else
753 { 0, 0, 0,
754 sys_nosys }, /* 224 = excluded compat_14_msgctl */
755 { 0, 0, 0,
756 sys_nosys }, /* 225 = excluded msgget */
757 { 0, 0, 0,
758 sys_nosys }, /* 226 = excluded msgsnd */
759 { 0, 0, 0,
760 sys_nosys }, /* 227 = excluded msgrcv */
761 #endif
762 #if defined(SYSVSHM) || !defined(_KERNEL)
763 { ns(struct sys_shmat_args), 0,
764 (sy_call_t *)sys_shmat }, /* 228 = shmat */
765 #if defined(COMPAT_14) || !defined(_KERNEL)
766 { ns(struct compat_14_sys_shmctl_args), 0,
767 (sy_call_t *)compat_14_sys_shmctl },/* 229 = shmctl */
768 #else
769 { 0, 0, 0,
770 sys_nosys }, /* 229 = excluded compat_14_sys_shmctl */
771 #endif
772 { ns(struct sys_shmdt_args), 0,
773 (sy_call_t *)sys_shmdt }, /* 230 = shmdt */
774 { ns(struct sys_shmget_args), 0,
775 (sy_call_t *)sys_shmget }, /* 231 = shmget */
776 #else
777 { 0, 0, 0,
778 sys_nosys }, /* 228 = excluded shmat */
779 { 0, 0, 0,
780 sys_nosys }, /* 229 = excluded compat_14_shmctl */
781 { 0, 0, 0,
782 sys_nosys }, /* 230 = excluded shmdt */
783 { 0, 0, 0,
784 sys_nosys }, /* 231 = excluded shmget */
785 #endif
786 { ns(struct compat_50_sys_clock_gettime_args), 0,
787 (sy_call_t *)compat_50_sys_clock_gettime },/* 232 = clock_gettime */
788 { ns(struct compat_50_sys_clock_settime_args), 0,
789 (sy_call_t *)compat_50_sys_clock_settime },/* 233 = clock_settime */
790 { ns(struct compat_50_sys_clock_getres_args), 0,
791 (sy_call_t *)compat_50_sys_clock_getres },/* 234 = clock_getres */
792 { 0, 0, 0,
793 sys_nosys }, /* 235 = unimplemented timer_create */
794 { 0, 0, 0,
795 sys_nosys }, /* 236 = unimplemented timer_delete */
796 { 0, 0, 0,
797 sys_nosys }, /* 237 = unimplemented timer_settime */
798 { 0, 0, 0,
799 sys_nosys }, /* 238 = unimplemented timer_gettime */
800 { 0, 0, 0,
801 sys_nosys }, /* 239 = unimplemented timer_getoverrun */
802 { ns(struct compat_50_sys_nanosleep_args), 0,
803 (sy_call_t *)compat_50_sys_nanosleep },/* 240 = nanosleep */
804 { ns(struct sys_fdatasync_args), 0,
805 (sy_call_t *)sys_fdatasync }, /* 241 = fdatasync */
806 { ns(struct sys_mlockall_args), 0,
807 (sy_call_t *)sys_mlockall }, /* 242 = mlockall */
808 { 0, 0, 0,
809 (sy_call_t *)sys_munlockall }, /* 243 = munlockall */
810 { 0, 0, 0,
811 sys_nosys }, /* 244 = unimplemented */
812 { 0, 0, 0,
813 sys_nosys }, /* 245 = unimplemented */
814 { 0, 0, 0,
815 sys_nosys }, /* 246 = unimplemented */
816 { 0, 0, 0,
817 sys_nosys }, /* 247 = unimplemented */
818 { 0, 0, 0,
819 sys_nosys }, /* 248 = unimplemented */
820 { 0, 0, 0,
821 sys_nosys }, /* 249 = unimplemented */
822 { 0, 0, 0,
823 sys_nosys }, /* 250 = unimplemented */
824 { 0, 0, 0,
825 sys_nosys }, /* 251 = unimplemented */
826 { 0, 0, 0,
827 sys_nosys }, /* 252 = unimplemented */
828 { 0, 0, 0,
829 sys_nosys }, /* 253 = unimplemented */
830 { 0, 0, 0,
831 sys_nosys }, /* 254 = unimplemented */
832 { 0, 0, 0,
833 sys_nosys }, /* 255 = unimplemented */
834 { 0, 0, 0,
835 sys_nosys }, /* 256 = unimplemented */
836 { 0, 0, 0,
837 sys_nosys }, /* 257 = unimplemented */
838 { 0, 0, 0,
839 sys_nosys }, /* 258 = unimplemented */
840 { 0, 0, 0,
841 sys_nosys }, /* 259 = unimplemented */
842 { 0, 0, 0,
843 sys_nosys }, /* 260 = unimplemented */
844 { 0, 0, 0,
845 sys_nosys }, /* 261 = unimplemented */
846 { 0, 0, 0,
847 sys_nosys }, /* 262 = unimplemented */
848 { 0, 0, 0,
849 sys_nosys }, /* 263 = unimplemented */
850 { 0, 0, 0,
851 sys_nosys }, /* 264 = unimplemented */
852 { 0, 0, 0,
853 sys_nosys }, /* 265 = unimplemented */
854 { 0, 0, 0,
855 sys_nosys }, /* 266 = unimplemented */
856 { 0, 0, 0,
857 sys_nosys }, /* 267 = unimplemented */
858 { 0, 0, 0,
859 sys_nosys }, /* 268 = unimplemented */
860 { 0, 0, 0,
861 sys_nosys }, /* 269 = unimplemented */
862 { ns(struct sys___posix_rename_args), 0,
863 (sy_call_t *)sys___posix_rename }, /* 270 = __posix_rename */
864 { ns(struct sys_swapctl_args), 0,
865 (sy_call_t *)sys_swapctl }, /* 271 = swapctl */
866 #if defined(COMPAT_30) || !defined(_KERNEL)
867 { ns(struct compat_30_sys_getdents_args), 0,
868 (sy_call_t *)compat_30_sys_getdents },/* 272 = getdents */
869 #else
870 { 0, 0, 0,
871 sys_nosys }, /* 272 = excluded compat_30_sys_getdents */
872 #endif
873 { ns(struct sys_minherit_args), 0,
874 (sy_call_t *)sys_minherit }, /* 273 = minherit */
875 { ns(struct sys_lchmod_args), 0,
876 (sy_call_t *)sys_lchmod }, /* 274 = lchmod */
877 { ns(struct sys_lchown_args), 0,
878 (sy_call_t *)sys_lchown }, /* 275 = lchown */
879 { ns(struct compat_50_sys_lutimes_args), 0,
880 (sy_call_t *)compat_50_sys_lutimes },/* 276 = lutimes */
881 { ns(struct sys___msync13_args), 0,
882 (sy_call_t *)sys___msync13 }, /* 277 = __msync13 */
883 { ns(struct aoutm68k_sys___stat13_args), 0,
884 (sy_call_t *)aoutm68k_sys___stat13 },/* 278 = __stat13 */
885 { ns(struct aoutm68k_sys___fstat13_args), 0,
886 (sy_call_t *)aoutm68k_sys___fstat13 },/* 279 = __fstat13 */
887 { ns(struct aoutm68k_sys___lstat13_args), 0,
888 (sy_call_t *)aoutm68k_sys___lstat13 },/* 280 = __lstat13 */
889 { ns(struct sys___sigaltstack14_args), 0,
890 (sy_call_t *)sys___sigaltstack14 }, /* 281 = __sigaltstack14 */
891 { 0, 0, 0,
892 (sy_call_t *)sys___vfork14 }, /* 282 = __vfork14 */
893 { ns(struct sys___posix_chown_args), 0,
894 (sy_call_t *)sys___posix_chown }, /* 283 = __posix_chown */
895 { ns(struct sys___posix_fchown_args), 0,
896 (sy_call_t *)sys___posix_fchown }, /* 284 = __posix_fchown */
897 { ns(struct sys___posix_lchown_args), 0,
898 (sy_call_t *)sys___posix_lchown }, /* 285 = __posix_lchown */
899 { ns(struct sys_getsid_args), 0,
900 (sy_call_t *)sys_getsid }, /* 286 = getsid */
901 { 0, 0, 0,
902 sys_nosys }, /* 287 = unimplemented */
903 #if defined(KTRACE) || !defined(_KERNEL)
904 { ns(struct sys_fktrace_args), 0,
905 (sy_call_t *)sys_fktrace }, /* 288 = fktrace */
906 #else
907 { 0, 0, 0,
908 sys_nosys }, /* 288 = excluded ktrace */
909 #endif
910 { ns(struct sys_preadv_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
911 (sy_call_t *)sys_preadv }, /* 289 = preadv */
912 { ns(struct sys_pwritev_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
913 (sy_call_t *)sys_pwritev }, /* 290 = pwritev */
914 #if defined(COMPAT_16) || !defined(_KERNEL)
915 { ns(struct compat_16_sys___sigaction14_args), 0,
916 (sy_call_t *)compat_16_sys___sigaction14 },/* 291 = __sigaction14 */
917 #else
918 { 0, 0, 0,
919 sys_nosys }, /* 291 = excluded compat_16_sys___sigaction14 */
920 #endif
921 { ns(struct sys___sigpending14_args), 0,
922 (sy_call_t *)sys___sigpending14 }, /* 292 = __sigpending14 */
923 { ns(struct sys___sigprocmask14_args), 0,
924 (sy_call_t *)sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
925 { ns(struct sys___sigsuspend14_args), 0,
926 (sy_call_t *)sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
927 #if defined(COMPAT_16) || !defined(_KERNEL)
928 { ns(struct compat_16_sys___sigreturn14_args), 0,
929 (sy_call_t *)compat_16_sys___sigreturn14 },/* 295 = __sigreturn14 */
930 #else
931 { 0, 0, 0,
932 sys_nosys }, /* 295 = excluded compat_16_sys___sigreturn14 */
933 #endif
934 { ns(struct sys___getcwd_args), 0,
935 (sy_call_t *)sys___getcwd }, /* 296 = __getcwd */
936 { ns(struct sys_fchroot_args), 0,
937 (sy_call_t *)sys_fchroot }, /* 297 = fchroot */
938 { ns(struct compat_30_sys_fhopen_args), 0,
939 (sy_call_t *)compat_30_sys_fhopen },/* 298 = fhopen */
940 { ns(struct aoutm68k_sys_fhstat_args), 0,
941 (sy_call_t *)aoutm68k_sys_fhstat }, /* 299 = fhstat */
942 #if defined(COMPAT_20) || !defined(_KERNEL)
943 { ns(struct compat_20_sys_fhstatfs_args), 0,
944 (sy_call_t *)compat_20_sys_fhstatfs },/* 300 = fhstatfs */
945 #else
946 { 0, 0, 0,
947 sys_nosys }, /* 300 = excluded compat_20_sys_fhstatfs */
948 #endif
949 #if defined(SYSVSEM) || !defined(_KERNEL)
950 { ns(struct compat_50_sys_____semctl13_args), 0,
951 (sy_call_t *)compat_50_sys_____semctl13 },/* 301 = ____semctl13 */
952 #else
953 { 0, 0, 0,
954 sys_nosys }, /* 301 = excluded ____semctl13 */
955 #endif
956 #if defined(SYSVMSG) || !defined(_KERNEL)
957 { ns(struct compat_50_sys___msgctl13_args), 0,
958 (sy_call_t *)compat_50_sys___msgctl13 },/* 302 = __msgctl13 */
959 #else
960 { 0, 0, 0,
961 sys_nosys }, /* 302 = excluded __msgctl13 */
962 #endif
963 #if defined(SYSVSHM) || !defined(_KERNEL)
964 { ns(struct compat_50_sys___shmctl13_args), 0,
965 (sy_call_t *)compat_50_sys___shmctl13 },/* 303 = __shmctl13 */
966 #else
967 { 0, 0, 0,
968 sys_nosys }, /* 303 = excluded __shmctl13 */
969 #endif
970 { ns(struct sys_lchflags_args), 0,
971 (sy_call_t *)sys_lchflags }, /* 304 = lchflags */
972 { 0, 0, 0,
973 (sy_call_t *)sys_issetugid }, /* 305 = issetugid */
974 { ns(struct sys_getcontext_args), 0,
975 (sy_call_t *)sys_getcontext }, /* 306 = getcontext */
976 { ns(struct sys_setcontext_args), 0,
977 (sy_call_t *)sys_setcontext }, /* 307 = setcontext */
978 { 0, 0, 0,
979 sys_nosys }, /* 308 = filler */
980 { 0, 0, 0,
981 sys_nosys }, /* 309 = filler */
982 { 0, 0, 0,
983 sys_nosys }, /* 310 = filler */
984 { 0, 0, 0,
985 sys_nosys }, /* 311 = filler */
986 { 0, 0, 0,
987 sys_nosys }, /* 312 = filler */
988 { 0, 0, 0,
989 sys_nosys }, /* 313 = filler */
990 { 0, 0, 0,
991 sys_nosys }, /* 314 = filler */
992 { 0, 0, 0,
993 sys_nosys }, /* 315 = filler */
994 { 0, 0, 0,
995 sys_nosys }, /* 316 = filler */
996 { 0, 0, 0,
997 sys_nosys }, /* 317 = filler */
998 { 0, 0, 0,
999 sys_nosys }, /* 318 = filler */
1000 { 0, 0, 0,
1001 sys_nosys }, /* 319 = filler */
1002 { 0, 0, 0,
1003 sys_nosys }, /* 320 = filler */
1004 { 0, 0, 0,
1005 sys_nosys }, /* 321 = filler */
1006 { 0, 0, 0,
1007 sys_nosys }, /* 322 = filler */
1008 { 0, 0, 0,
1009 sys_nosys }, /* 323 = filler */
1010 { 0, 0, 0,
1011 sys_nosys }, /* 324 = filler */
1012 { 0, 0, 0,
1013 sys_nosys }, /* 325 = filler */
1014 { 0, 0, 0,
1015 sys_nosys }, /* 326 = filler */
1016 { 0, 0, 0,
1017 sys_nosys }, /* 327 = filler */
1018 { 0, 0, 0,
1019 sys_nosys }, /* 328 = filler */
1020 { 0, 0, 0,
1021 sys_nosys }, /* 329 = filler */
1022 { 0, 0, 0,
1023 sys_nosys }, /* 330 = filler */
1024 { 0, 0, 0,
1025 sys_nosys }, /* 331 = filler */
1026 { 0, 0, 0,
1027 sys_nosys }, /* 332 = filler */
1028 { 0, 0, 0,
1029 sys_nosys }, /* 333 = filler */
1030 { 0, 0, 0,
1031 sys_nosys }, /* 334 = filler */
1032 { 0, 0, 0,
1033 sys_nosys }, /* 335 = filler */
1034 { 0, 0, 0,
1035 sys_nosys }, /* 336 = filler */
1036 { 0, 0, 0,
1037 sys_nosys }, /* 337 = filler */
1038 { 0, 0, 0,
1039 sys_nosys }, /* 338 = filler */
1040 { 0, 0, 0,
1041 sys_nosys }, /* 339 = filler */
1042 { 0, 0, 0,
1043 sys_nosys }, /* 340 = filler */
1044 { 0, 0, 0,
1045 sys_nosys }, /* 341 = filler */
1046 { 0, 0, 0,
1047 sys_nosys }, /* 342 = filler */
1048 { 0, 0, 0,
1049 sys_nosys }, /* 343 = filler */
1050 { 0, 0, 0,
1051 sys_nosys }, /* 344 = filler */
1052 { 0, 0, 0,
1053 sys_nosys }, /* 345 = filler */
1054 { 0, 0, 0,
1055 sys_nosys }, /* 346 = filler */
1056 { 0, 0, 0,
1057 sys_nosys }, /* 347 = filler */
1058 { 0, 0, 0,
1059 sys_nosys }, /* 348 = filler */
1060 { 0, 0, 0,
1061 sys_nosys }, /* 349 = filler */
1062 { 0, 0, 0,
1063 sys_nosys }, /* 350 = filler */
1064 { 0, 0, 0,
1065 sys_nosys }, /* 351 = filler */
1066 { 0, 0, 0,
1067 sys_nosys }, /* 352 = filler */
1068 { 0, 0, 0,
1069 sys_nosys }, /* 353 = filler */
1070 { 0, 0, 0,
1071 sys_nosys }, /* 354 = filler */
1072 { 0, 0, 0,
1073 sys_nosys }, /* 355 = filler */
1074 { 0, 0, 0,
1075 sys_nosys }, /* 356 = filler */
1076 { 0, 0, 0,
1077 sys_nosys }, /* 357 = filler */
1078 { 0, 0, 0,
1079 sys_nosys }, /* 358 = filler */
1080 { 0, 0, 0,
1081 sys_nosys }, /* 359 = filler */
1082 { 0, 0, 0,
1083 sys_nosys }, /* 360 = filler */
1084 { 0, 0, 0,
1085 sys_nosys }, /* 361 = filler */
1086 { 0, 0, 0,
1087 sys_nosys }, /* 362 = filler */
1088 { 0, 0, 0,
1089 sys_nosys }, /* 363 = filler */
1090 { 0, 0, 0,
1091 sys_nosys }, /* 364 = filler */
1092 { 0, 0, 0,
1093 sys_nosys }, /* 365 = filler */
1094 { 0, 0, 0,
1095 sys_nosys }, /* 366 = filler */
1096 { 0, 0, 0,
1097 sys_nosys }, /* 367 = filler */
1098 { 0, 0, 0,
1099 sys_nosys }, /* 368 = filler */
1100 { 0, 0, 0,
1101 sys_nosys }, /* 369 = filler */
1102 { 0, 0, 0,
1103 sys_nosys }, /* 370 = filler */
1104 { 0, 0, 0,
1105 sys_nosys }, /* 371 = filler */
1106 { 0, 0, 0,
1107 sys_nosys }, /* 372 = filler */
1108 { 0, 0, 0,
1109 sys_nosys }, /* 373 = filler */
1110 { 0, 0, 0,
1111 sys_nosys }, /* 374 = filler */
1112 { 0, 0, 0,
1113 sys_nosys }, /* 375 = filler */
1114 { 0, 0, 0,
1115 sys_nosys }, /* 376 = filler */
1116 { 0, 0, 0,
1117 sys_nosys }, /* 377 = filler */
1118 { 0, 0, 0,
1119 sys_nosys }, /* 378 = filler */
1120 { 0, 0, 0,
1121 sys_nosys }, /* 379 = filler */
1122 { 0, 0, 0,
1123 sys_nosys }, /* 380 = filler */
1124 { 0, 0, 0,
1125 sys_nosys }, /* 381 = filler */
1126 { 0, 0, 0,
1127 sys_nosys }, /* 382 = filler */
1128 { 0, 0, 0,
1129 sys_nosys }, /* 383 = filler */
1130 { 0, 0, 0,
1131 sys_nosys }, /* 384 = filler */
1132 { 0, 0, 0,
1133 sys_nosys }, /* 385 = filler */
1134 { 0, 0, 0,
1135 sys_nosys }, /* 386 = filler */
1136 { 0, 0, 0,
1137 sys_nosys }, /* 387 = filler */
1138 { 0, 0, 0,
1139 sys_nosys }, /* 388 = filler */
1140 { 0, 0, 0,
1141 sys_nosys }, /* 389 = filler */
1142 { 0, 0, 0,
1143 sys_nosys }, /* 390 = filler */
1144 { 0, 0, 0,
1145 sys_nosys }, /* 391 = filler */
1146 { 0, 0, 0,
1147 sys_nosys }, /* 392 = filler */
1148 { 0, 0, 0,
1149 sys_nosys }, /* 393 = filler */
1150 { 0, 0, 0,
1151 sys_nosys }, /* 394 = filler */
1152 { 0, 0, 0,
1153 sys_nosys }, /* 395 = filler */
1154 { 0, 0, 0,
1155 sys_nosys }, /* 396 = filler */
1156 { 0, 0, 0,
1157 sys_nosys }, /* 397 = filler */
1158 { 0, 0, 0,
1159 sys_nosys }, /* 398 = filler */
1160 { 0, 0, 0,
1161 sys_nosys }, /* 399 = filler */
1162 { 0, 0, 0,
1163 sys_nosys }, /* 400 = filler */
1164 { 0, 0, 0,
1165 sys_nosys }, /* 401 = filler */
1166 { 0, 0, 0,
1167 sys_nosys }, /* 402 = filler */
1168 { 0, 0, 0,
1169 sys_nosys }, /* 403 = filler */
1170 { 0, 0, 0,
1171 sys_nosys }, /* 404 = filler */
1172 { 0, 0, 0,
1173 sys_nosys }, /* 405 = filler */
1174 { 0, 0, 0,
1175 sys_nosys }, /* 406 = filler */
1176 { 0, 0, 0,
1177 sys_nosys }, /* 407 = filler */
1178 { 0, 0, 0,
1179 sys_nosys }, /* 408 = filler */
1180 { 0, 0, 0,
1181 sys_nosys }, /* 409 = filler */
1182 { 0, 0, 0,
1183 sys_nosys }, /* 410 = filler */
1184 { 0, 0, 0,
1185 sys_nosys }, /* 411 = filler */
1186 { 0, 0, 0,
1187 sys_nosys }, /* 412 = filler */
1188 { 0, 0, 0,
1189 sys_nosys }, /* 413 = filler */
1190 { 0, 0, 0,
1191 sys_nosys }, /* 414 = filler */
1192 { 0, 0, 0,
1193 sys_nosys }, /* 415 = filler */
1194 { 0, 0, 0,
1195 sys_nosys }, /* 416 = filler */
1196 { 0, 0, 0,
1197 sys_nosys }, /* 417 = filler */
1198 { 0, 0, 0,
1199 sys_nosys }, /* 418 = filler */
1200 { 0, 0, 0,
1201 sys_nosys }, /* 419 = filler */
1202 { 0, 0, 0,
1203 sys_nosys }, /* 420 = filler */
1204 { 0, 0, 0,
1205 sys_nosys }, /* 421 = filler */
1206 { 0, 0, 0,
1207 sys_nosys }, /* 422 = filler */
1208 { 0, 0, 0,
1209 sys_nosys }, /* 423 = filler */
1210 { 0, 0, 0,
1211 sys_nosys }, /* 424 = filler */
1212 { 0, 0, 0,
1213 sys_nosys }, /* 425 = filler */
1214 { 0, 0, 0,
1215 sys_nosys }, /* 426 = filler */
1216 { 0, 0, 0,
1217 sys_nosys }, /* 427 = filler */
1218 { 0, 0, 0,
1219 sys_nosys }, /* 428 = filler */
1220 { 0, 0, 0,
1221 sys_nosys }, /* 429 = filler */
1222 { 0, 0, 0,
1223 sys_nosys }, /* 430 = filler */
1224 { 0, 0, 0,
1225 sys_nosys }, /* 431 = filler */
1226 { 0, 0, 0,
1227 sys_nosys }, /* 432 = filler */
1228 { 0, 0, 0,
1229 sys_nosys }, /* 433 = filler */
1230 { 0, 0, 0,
1231 sys_nosys }, /* 434 = filler */
1232 { 0, 0, 0,
1233 sys_nosys }, /* 435 = filler */
1234 { 0, 0, 0,
1235 sys_nosys }, /* 436 = filler */
1236 { 0, 0, 0,
1237 sys_nosys }, /* 437 = filler */
1238 { 0, 0, 0,
1239 sys_nosys }, /* 438 = filler */
1240 { 0, 0, 0,
1241 sys_nosys }, /* 439 = filler */
1242 { 0, 0, 0,
1243 sys_nosys }, /* 440 = filler */
1244 { 0, 0, 0,
1245 sys_nosys }, /* 441 = filler */
1246 { 0, 0, 0,
1247 sys_nosys }, /* 442 = filler */
1248 { 0, 0, 0,
1249 sys_nosys }, /* 443 = filler */
1250 { 0, 0, 0,
1251 sys_nosys }, /* 444 = filler */
1252 { 0, 0, 0,
1253 sys_nosys }, /* 445 = filler */
1254 { 0, 0, 0,
1255 sys_nosys }, /* 446 = filler */
1256 { 0, 0, 0,
1257 sys_nosys }, /* 447 = filler */
1258 { 0, 0, 0,
1259 sys_nosys }, /* 448 = filler */
1260 { 0, 0, 0,
1261 sys_nosys }, /* 449 = filler */
1262 { 0, 0, 0,
1263 sys_nosys }, /* 450 = filler */
1264 { 0, 0, 0,
1265 sys_nosys }, /* 451 = filler */
1266 { 0, 0, 0,
1267 sys_nosys }, /* 452 = filler */
1268 { 0, 0, 0,
1269 sys_nosys }, /* 453 = filler */
1270 { 0, 0, 0,
1271 sys_nosys }, /* 454 = filler */
1272 { 0, 0, 0,
1273 sys_nosys }, /* 455 = filler */
1274 { 0, 0, 0,
1275 sys_nosys }, /* 456 = filler */
1276 { 0, 0, 0,
1277 sys_nosys }, /* 457 = filler */
1278 { 0, 0, 0,
1279 sys_nosys }, /* 458 = filler */
1280 { 0, 0, 0,
1281 sys_nosys }, /* 459 = filler */
1282 { 0, 0, 0,
1283 sys_nosys }, /* 460 = filler */
1284 { 0, 0, 0,
1285 sys_nosys }, /* 461 = filler */
1286 { 0, 0, 0,
1287 sys_nosys }, /* 462 = filler */
1288 { 0, 0, 0,
1289 sys_nosys }, /* 463 = filler */
1290 { 0, 0, 0,
1291 sys_nosys }, /* 464 = filler */
1292 { 0, 0, 0,
1293 sys_nosys }, /* 465 = filler */
1294 { 0, 0, 0,
1295 sys_nosys }, /* 466 = filler */
1296 { 0, 0, 0,
1297 sys_nosys }, /* 467 = filler */
1298 { 0, 0, 0,
1299 sys_nosys }, /* 468 = filler */
1300 { 0, 0, 0,
1301 sys_nosys }, /* 469 = filler */
1302 { 0, 0, 0,
1303 sys_nosys }, /* 470 = filler */
1304 { 0, 0, 0,
1305 sys_nosys }, /* 471 = filler */
1306 { 0, 0, 0,
1307 sys_nosys }, /* 472 = filler */
1308 { 0, 0, 0,
1309 sys_nosys }, /* 473 = filler */
1310 { 0, 0, 0,
1311 sys_nosys }, /* 474 = filler */
1312 { 0, 0, 0,
1313 sys_nosys }, /* 475 = filler */
1314 { 0, 0, 0,
1315 sys_nosys }, /* 476 = filler */
1316 { 0, 0, 0,
1317 sys_nosys }, /* 477 = filler */
1318 { 0, 0, 0,
1319 sys_nosys }, /* 478 = filler */
1320 { 0, 0, 0,
1321 sys_nosys }, /* 479 = filler */
1322 { 0, 0, 0,
1323 sys_nosys }, /* 480 = filler */
1324 { 0, 0, 0,
1325 sys_nosys }, /* 481 = filler */
1326 { 0, 0, 0,
1327 sys_nosys }, /* 482 = filler */
1328 { 0, 0, 0,
1329 sys_nosys }, /* 483 = filler */
1330 { 0, 0, 0,
1331 sys_nosys }, /* 484 = filler */
1332 { 0, 0, 0,
1333 sys_nosys }, /* 485 = filler */
1334 { 0, 0, 0,
1335 sys_nosys }, /* 486 = filler */
1336 { 0, 0, 0,
1337 sys_nosys }, /* 487 = filler */
1338 { 0, 0, 0,
1339 sys_nosys }, /* 488 = filler */
1340 { 0, 0, 0,
1341 sys_nosys }, /* 489 = filler */
1342 { 0, 0, 0,
1343 sys_nosys }, /* 490 = filler */
1344 { 0, 0, 0,
1345 sys_nosys }, /* 491 = filler */
1346 { 0, 0, 0,
1347 sys_nosys }, /* 492 = filler */
1348 { 0, 0, 0,
1349 sys_nosys }, /* 493 = filler */
1350 { 0, 0, 0,
1351 sys_nosys }, /* 494 = filler */
1352 { 0, 0, 0,
1353 sys_nosys }, /* 495 = filler */
1354 { 0, 0, 0,
1355 sys_nosys }, /* 496 = filler */
1356 { 0, 0, 0,
1357 sys_nosys }, /* 497 = filler */
1358 { 0, 0, 0,
1359 sys_nosys }, /* 498 = filler */
1360 { 0, 0, 0,
1361 sys_nosys }, /* 499 = filler */
1362 { 0, 0, 0,
1363 sys_nosys }, /* 500 = filler */
1364 { 0, 0, 0,
1365 sys_nosys }, /* 501 = filler */
1366 { 0, 0, 0,
1367 sys_nosys }, /* 502 = filler */
1368 { 0, 0, 0,
1369 sys_nosys }, /* 503 = filler */
1370 { 0, 0, 0,
1371 sys_nosys }, /* 504 = filler */
1372 { 0, 0, 0,
1373 sys_nosys }, /* 505 = filler */
1374 { 0, 0, 0,
1375 sys_nosys }, /* 506 = filler */
1376 { 0, 0, 0,
1377 sys_nosys }, /* 507 = filler */
1378 { 0, 0, 0,
1379 sys_nosys }, /* 508 = filler */
1380 { 0, 0, 0,
1381 sys_nosys }, /* 509 = filler */
1382 { 0, 0, 0,
1383 sys_nosys }, /* 510 = filler */
1384 { 0, 0, 0,
1385 sys_nosys }, /* 511 = filler */