init_sysent.c revision 1.346 1 /* $NetBSD: init_sysent.c,v 1.346 2024/10/09 16:29:10 christos Exp $ */
2
3 /*
4 * System call switch table.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.316 2024/10/09 16:27:28 christos Exp
8 */
9
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.346 2024/10/09 16:29:10 christos Exp $");
12
13 #ifdef _KERNEL_OPT
14 #include "opt_modular.h"
15 #include "opt_ntp.h"
16 #include "opt_sysv.h"
17 #endif
18 #include <sys/param.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/socket.h>
22 #include <sys/mount.h>
23 #include <sys/sched.h>
24 #include <sys/idtype.h>
25 #include <sys/syscallargs.h>
26 #include <sys/acl.h>
27
28 #ifdef COMPAT_43
29 #define compat_43(func) __CONCAT(compat_43_,func)
30 #else
31 #define compat_43(func) sys_nosys
32 #endif
33
34 #ifdef COMPAT_09
35 #define compat_09(func) __CONCAT(compat_09_,func)
36 #else
37 #define compat_09(func) sys_nosys
38 #endif
39
40 #ifdef COMPAT_10
41 #define compat_10(func) __CONCAT(compat_10_,func)
42 #else
43 #define compat_10(func) sys_nosys
44 #endif
45
46 #ifdef COMPAT_11
47 #define compat_11(func) __CONCAT(compat_11_,func)
48 #else
49 #define compat_11(func) sys_nosys
50 #endif
51
52 #ifdef COMPAT_12
53 #define compat_12(func) __CONCAT(compat_12_,func)
54 #else
55 #define compat_12(func) sys_nosys
56 #endif
57
58 #ifdef COMPAT_13
59 #define compat_13(func) __CONCAT(compat_13_,func)
60 #else
61 #define compat_13(func) sys_nosys
62 #endif
63
64 #ifdef COMPAT_14
65 #define compat_14(func) __CONCAT(compat_14_,func)
66 #else
67 #define compat_14(func) sys_nosys
68 #endif
69
70 #ifdef COMPAT_15
71 #define compat_15(func) __CONCAT(compat_15_,func)
72 #else
73 #define compat_15(func) sys_nosys
74 #endif
75
76 #ifdef COMPAT_16
77 #define compat_16(func) __CONCAT(compat_16_,func)
78 #else
79 #define compat_16(func) sys_nosys
80 #endif
81
82 #ifdef COMPAT_20
83 #define compat_20(func) __CONCAT(compat_20_,func)
84 #else
85 #define compat_20(func) sys_nosys
86 #endif
87
88 #ifdef COMPAT_30
89 #define compat_30(func) __CONCAT(compat_30_,func)
90 #else
91 #define compat_30(func) sys_nosys
92 #endif
93
94 #ifdef COMPAT_40
95 #define compat_40(func) __CONCAT(compat_40_,func)
96 #else
97 #define compat_40(func) sys_nosys
98 #endif
99
100 #ifdef COMPAT_50
101 #define compat_50(func) __CONCAT(compat_50_,func)
102 #else
103 #define compat_50(func) sys_nosys
104 #endif
105
106 #ifdef COMPAT_60
107 #define compat_60(func) __CONCAT(compat_60_,func)
108 #else
109 #define compat_60(func) sys_nosys
110 #endif
111
112 #ifdef COMPAT_70
113 #define compat_70(func) __CONCAT(compat_70_,func)
114 #else
115 #define compat_70(func) sys_nosys
116 #endif
117
118 #ifdef COMPAT_80
119 #define compat_80(func) __CONCAT(compat_80_,func)
120 #else
121 #define compat_80(func) sys_nosys
122 #endif
123
124 #ifdef COMPAT_90
125 #define compat_90(func) __CONCAT(compat_90_,func)
126 #else
127 #define compat_90(func) sys_nosys
128 #endif
129
130 #ifdef COMPAT_100
131 #define compat_100(func) __CONCAT(compat_100_,func)
132 #else
133 #define compat_100(func) sys_nosys
134 #endif
135
136 #ifdef COMPAT_110
137 #define compat_110(func) __CONCAT(compat_110_,func)
138 #else
139 #define compat_110(func) sys_nosys
140 #endif
141
142 #define s(type) sizeof(type)
143 #define n(type) (sizeof(type)/sizeof (register_t))
144 #define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
145
146 struct sysent sysent[] = {
147 {
148 ns(struct sys_syscall_args),
149 .sy_flags = SYCALL_INDIRECT,
150 .sy_call = (sy_call_t *)sys_syscall
151 }, /* 0 = syscall */
152 {
153 ns(struct sys_exit_args),
154 .sy_call = (sy_call_t *)sys_exit
155 }, /* 1 = exit */
156 {
157 .sy_call = (sy_call_t *)sys_fork
158 }, /* 2 = fork */
159 {
160 ns(struct sys_read_args),
161 .sy_flags = SYCALL_ARG_PTR,
162 .sy_call = (sy_call_t *)sys_read
163 }, /* 3 = read */
164 {
165 ns(struct sys_write_args),
166 .sy_flags = SYCALL_ARG_PTR,
167 .sy_call = (sy_call_t *)sys_write
168 }, /* 4 = write */
169 {
170 ns(struct sys_open_args),
171 .sy_flags = SYCALL_ARG_PTR,
172 .sy_call = (sy_call_t *)sys_open
173 }, /* 5 = open */
174 {
175 ns(struct sys_close_args),
176 .sy_call = (sy_call_t *)sys_close
177 }, /* 6 = close */
178 {
179 ns(struct compat_50_sys_wait4_args),
180 .sy_flags = SYCALL_ARG_PTR,
181 .sy_call = (sy_call_t *)sys_nomodule
182 }, /* 7 = compat_50_wait4 */
183 {
184 ns(struct compat_43_sys_creat_args),
185 .sy_flags = SYCALL_ARG_PTR,
186 .sy_call = (sy_call_t *)sys_nomodule
187 }, /* 8 = compat_43_ocreat */
188 {
189 ns(struct sys_link_args),
190 .sy_flags = SYCALL_ARG_PTR,
191 .sy_call = (sy_call_t *)sys_link
192 }, /* 9 = link */
193 {
194 ns(struct sys_unlink_args),
195 .sy_flags = SYCALL_ARG_PTR,
196 .sy_call = (sy_call_t *)sys_unlink
197 }, /* 10 = unlink */
198 {
199 .sy_call = sys_nosys,
200 }, /* 11 = filler */
201 {
202 ns(struct sys_chdir_args),
203 .sy_flags = SYCALL_ARG_PTR,
204 .sy_call = (sy_call_t *)sys_chdir
205 }, /* 12 = chdir */
206 {
207 ns(struct sys_fchdir_args),
208 .sy_call = (sy_call_t *)sys_fchdir
209 }, /* 13 = fchdir */
210 {
211 ns(struct compat_50_sys_mknod_args),
212 .sy_flags = SYCALL_ARG_PTR,
213 .sy_call = (sy_call_t *)sys_nomodule
214 }, /* 14 = compat_50_mknod */
215 {
216 ns(struct sys_chmod_args),
217 .sy_flags = SYCALL_ARG_PTR,
218 .sy_call = (sy_call_t *)sys_chmod
219 }, /* 15 = chmod */
220 {
221 ns(struct sys_chown_args),
222 .sy_flags = SYCALL_ARG_PTR,
223 .sy_call = (sy_call_t *)sys_chown
224 }, /* 16 = chown */
225 {
226 ns(struct sys_obreak_args),
227 .sy_flags = SYCALL_ARG_PTR,
228 .sy_call = (sy_call_t *)sys_obreak
229 }, /* 17 = break */
230 {
231 ns(struct compat_20_sys_getfsstat_args),
232 .sy_flags = SYCALL_ARG_PTR,
233 .sy_call = (sy_call_t *)sys_nomodule
234 }, /* 18 = compat_20_getfsstat */
235 {
236 ns(struct compat_43_sys_lseek_args),
237 .sy_call = (sy_call_t *)sys_nomodule
238 }, /* 19 = compat_43_olseek */
239 {
240 .sy_call = (sy_call_t *)sys_getpid_with_ppid
241 }, /* 20 = getpid */
242 {
243 ns(struct compat_40_sys_mount_args),
244 .sy_flags = SYCALL_ARG_PTR,
245 .sy_call = (sy_call_t *)sys_nomodule
246 }, /* 21 = compat_40_mount */
247 {
248 ns(struct sys_unmount_args),
249 .sy_flags = SYCALL_ARG_PTR,
250 .sy_call = (sy_call_t *)sys_unmount
251 }, /* 22 = unmount */
252 {
253 ns(struct sys_setuid_args),
254 .sy_call = (sy_call_t *)sys_setuid
255 }, /* 23 = setuid */
256 {
257 .sy_call = (sy_call_t *)sys_getuid_with_euid
258 }, /* 24 = getuid */
259 {
260 .sy_call = (sy_call_t *)sys_geteuid
261 }, /* 25 = geteuid */
262 {
263 ns(struct sys_ptrace_args),
264 .sy_flags = SYCALL_ARG_PTR,
265 .sy_call = (sy_call_t *)sys_nomodule
266 }, /* 26 = ptrace */
267 {
268 ns(struct sys_recvmsg_args),
269 .sy_flags = SYCALL_ARG_PTR,
270 .sy_call = (sy_call_t *)sys_recvmsg
271 }, /* 27 = recvmsg */
272 {
273 ns(struct sys_sendmsg_args),
274 .sy_flags = SYCALL_ARG_PTR,
275 .sy_call = (sy_call_t *)sys_sendmsg
276 }, /* 28 = sendmsg */
277 {
278 ns(struct sys_recvfrom_args),
279 .sy_flags = SYCALL_ARG_PTR,
280 .sy_call = (sy_call_t *)sys_recvfrom
281 }, /* 29 = recvfrom */
282 {
283 ns(struct sys_accept_args),
284 .sy_flags = SYCALL_ARG_PTR,
285 .sy_call = (sy_call_t *)sys_accept
286 }, /* 30 = accept */
287 {
288 ns(struct sys_getpeername_args),
289 .sy_flags = SYCALL_ARG_PTR,
290 .sy_call = (sy_call_t *)sys_getpeername
291 }, /* 31 = getpeername */
292 {
293 ns(struct sys_getsockname_args),
294 .sy_flags = SYCALL_ARG_PTR,
295 .sy_call = (sy_call_t *)sys_getsockname
296 }, /* 32 = getsockname */
297 {
298 ns(struct sys_access_args),
299 .sy_flags = SYCALL_ARG_PTR,
300 .sy_call = (sy_call_t *)sys_access
301 }, /* 33 = access */
302 {
303 ns(struct sys_chflags_args),
304 .sy_flags = SYCALL_ARG_PTR,
305 .sy_call = (sy_call_t *)sys_chflags
306 }, /* 34 = chflags */
307 {
308 ns(struct sys_fchflags_args),
309 .sy_call = (sy_call_t *)sys_fchflags
310 }, /* 35 = fchflags */
311 {
312 .sy_call = (sy_call_t *)sys_sync
313 }, /* 36 = sync */
314 {
315 ns(struct sys_kill_args),
316 .sy_call = (sy_call_t *)sys_kill
317 }, /* 37 = kill */
318 {
319 ns(struct compat_43_sys_stat_args),
320 .sy_flags = SYCALL_ARG_PTR,
321 .sy_call = (sy_call_t *)sys_nomodule
322 }, /* 38 = compat_43_stat43 */
323 {
324 .sy_call = (sy_call_t *)sys_getppid
325 }, /* 39 = getppid */
326 {
327 ns(struct compat_43_sys_lstat_args),
328 .sy_flags = SYCALL_ARG_PTR,
329 .sy_call = (sy_call_t *)sys_nomodule
330 }, /* 40 = compat_43_lstat43 */
331 {
332 ns(struct sys_dup_args),
333 .sy_call = (sy_call_t *)sys_dup
334 }, /* 41 = dup */
335 {
336 .sy_call = (sy_call_t *)sys_pipe
337 }, /* 42 = pipe */
338 {
339 .sy_call = (sy_call_t *)sys_getegid
340 }, /* 43 = getegid */
341 {
342 ns(struct sys_profil_args),
343 .sy_flags = SYCALL_ARG_PTR,
344 .sy_call = (sy_call_t *)sys_profil
345 }, /* 44 = profil */
346 {
347 ns(struct sys_ktrace_args),
348 .sy_flags = SYCALL_ARG_PTR,
349 .sy_call = (sy_call_t *)sys_ktrace
350 }, /* 45 = ktrace */
351 {
352 ns(struct compat_13_sys_sigaction_args),
353 .sy_flags = SYCALL_ARG_PTR,
354 .sy_call = (sy_call_t *)sys_nomodule
355 }, /* 46 = compat_13_sigaction13 */
356 {
357 .sy_call = (sy_call_t *)sys_getgid_with_egid
358 }, /* 47 = getgid */
359 {
360 ns(struct compat_13_sys_sigprocmask_args),
361 .sy_call = (sy_call_t *)sys_nomodule
362 }, /* 48 = compat_13_sigprocmask13 */
363 {
364 ns(struct sys___getlogin_args),
365 .sy_flags = SYCALL_ARG_PTR,
366 .sy_call = (sy_call_t *)sys___getlogin
367 }, /* 49 = __getlogin */
368 {
369 ns(struct sys___setlogin_args),
370 .sy_flags = SYCALL_ARG_PTR,
371 .sy_call = (sy_call_t *)sys___setlogin
372 }, /* 50 = __setlogin */
373 {
374 ns(struct sys_acct_args),
375 .sy_flags = SYCALL_ARG_PTR,
376 .sy_call = (sy_call_t *)sys_acct
377 }, /* 51 = acct */
378 {
379 .sy_call = (sy_call_t *)sys_nomodule
380 }, /* 52 = compat_13_sigpending13 */
381 {
382 ns(struct compat_13_sys_sigaltstack_args),
383 .sy_flags = SYCALL_ARG_PTR,
384 .sy_call = (sy_call_t *)sys_nomodule
385 }, /* 53 = compat_13_sigaltstack13 */
386 {
387 ns(struct sys_ioctl_args),
388 .sy_flags = SYCALL_ARG_PTR,
389 .sy_call = (sy_call_t *)sys_ioctl
390 }, /* 54 = ioctl */
391 {
392 ns(struct compat_12_sys_reboot_args),
393 .sy_call = (sy_call_t *)sys_nomodule
394 }, /* 55 = compat_12_oreboot */
395 {
396 ns(struct sys_revoke_args),
397 .sy_flags = SYCALL_ARG_PTR,
398 .sy_call = (sy_call_t *)sys_revoke
399 }, /* 56 = revoke */
400 {
401 ns(struct sys_symlink_args),
402 .sy_flags = SYCALL_ARG_PTR,
403 .sy_call = (sy_call_t *)sys_symlink
404 }, /* 57 = symlink */
405 {
406 ns(struct sys_readlink_args),
407 .sy_flags = SYCALL_ARG_PTR,
408 .sy_call = (sy_call_t *)sys_readlink
409 }, /* 58 = readlink */
410 {
411 ns(struct sys_execve_args),
412 .sy_flags = SYCALL_ARG_PTR,
413 .sy_call = (sy_call_t *)sys_execve
414 }, /* 59 = execve */
415 {
416 ns(struct sys_umask_args),
417 .sy_call = (sy_call_t *)sys_umask
418 }, /* 60 = umask */
419 {
420 ns(struct sys_chroot_args),
421 .sy_flags = SYCALL_ARG_PTR,
422 .sy_call = (sy_call_t *)sys_chroot
423 }, /* 61 = chroot */
424 {
425 ns(struct compat_43_sys_fstat_args),
426 .sy_flags = SYCALL_ARG_PTR,
427 .sy_call = (sy_call_t *)sys_nomodule
428 }, /* 62 = compat_43_fstat43 */
429 {
430 ns(struct compat_43_sys_getkerninfo_args),
431 .sy_flags = SYCALL_ARG_PTR,
432 .sy_call = (sy_call_t *)sys_nomodule
433 }, /* 63 = compat_43_ogetkerninfo */
434 {
435 .sy_call = (sy_call_t *)sys_nomodule
436 }, /* 64 = compat_43_ogetpagesize */
437 {
438 ns(struct compat_12_sys_msync_args),
439 .sy_flags = SYCALL_ARG_PTR,
440 .sy_call = (sy_call_t *)sys_nomodule
441 }, /* 65 = compat_12_msync */
442 {
443 .sy_call = (sy_call_t *)sys_vfork
444 }, /* 66 = vfork */
445 {
446 .sy_call = sys_nosys,
447 }, /* 67 = filler */
448 {
449 .sy_call = sys_nosys,
450 }, /* 68 = filler */
451 {
452 .sy_call = sys_nosys,
453 }, /* 69 = filler */
454 {
455 .sy_call = sys_nosys,
456 }, /* 70 = filler */
457 {
458 ns(struct compat_43_sys_mmap_args),
459 .sy_flags = SYCALL_ARG_PTR,
460 .sy_call = (sy_call_t *)sys_nomodule
461 }, /* 71 = compat_43_ommap */
462 {
463 ns(struct sys_ovadvise_args),
464 .sy_call = (sy_call_t *)sys_ovadvise
465 }, /* 72 = vadvise */
466 {
467 ns(struct sys_munmap_args),
468 .sy_flags = SYCALL_ARG_PTR,
469 .sy_call = (sy_call_t *)sys_munmap
470 }, /* 73 = munmap */
471 {
472 ns(struct sys_mprotect_args),
473 .sy_flags = SYCALL_ARG_PTR,
474 .sy_call = (sy_call_t *)sys_mprotect
475 }, /* 74 = mprotect */
476 {
477 ns(struct sys_madvise_args),
478 .sy_flags = SYCALL_ARG_PTR,
479 .sy_call = (sy_call_t *)sys_madvise
480 }, /* 75 = madvise */
481 {
482 .sy_call = sys_nosys,
483 }, /* 76 = filler */
484 {
485 .sy_call = sys_nosys,
486 }, /* 77 = filler */
487 {
488 ns(struct sys_mincore_args),
489 .sy_flags = SYCALL_ARG_PTR,
490 .sy_call = (sy_call_t *)sys_mincore
491 }, /* 78 = mincore */
492 {
493 ns(struct sys_getgroups_args),
494 .sy_flags = SYCALL_ARG_PTR,
495 .sy_call = (sy_call_t *)sys_getgroups
496 }, /* 79 = getgroups */
497 {
498 ns(struct sys_setgroups_args),
499 .sy_flags = SYCALL_ARG_PTR,
500 .sy_call = (sy_call_t *)sys_setgroups
501 }, /* 80 = setgroups */
502 {
503 .sy_call = (sy_call_t *)sys_getpgrp
504 }, /* 81 = getpgrp */
505 {
506 ns(struct sys_setpgid_args),
507 .sy_call = (sy_call_t *)sys_setpgid
508 }, /* 82 = setpgid */
509 {
510 ns(struct compat_50_sys_setitimer_args),
511 .sy_flags = SYCALL_ARG_PTR,
512 .sy_call = (sy_call_t *)sys_nomodule
513 }, /* 83 = compat_50_setitimer */
514 {
515 .sy_call = (sy_call_t *)sys_nomodule
516 }, /* 84 = compat_43_owait */
517 {
518 ns(struct compat_12_sys_swapon_args),
519 .sy_flags = SYCALL_ARG_PTR,
520 .sy_call = (sy_call_t *)sys_nomodule
521 }, /* 85 = compat_12_oswapon */
522 {
523 ns(struct compat_50_sys_getitimer_args),
524 .sy_flags = SYCALL_ARG_PTR,
525 .sy_call = (sy_call_t *)sys_nomodule
526 }, /* 86 = compat_50_getitimer */
527 {
528 ns(struct compat_43_sys_gethostname_args),
529 .sy_flags = SYCALL_ARG_PTR,
530 .sy_call = (sy_call_t *)sys_nomodule
531 }, /* 87 = compat_43_ogethostname */
532 {
533 ns(struct compat_43_sys_sethostname_args),
534 .sy_flags = SYCALL_ARG_PTR,
535 .sy_call = (sy_call_t *)sys_nomodule
536 }, /* 88 = compat_43_osethostname */
537 {
538 .sy_call = (sy_call_t *)sys_nomodule
539 }, /* 89 = compat_43_ogetdtablesize */
540 {
541 ns(struct sys_dup2_args),
542 .sy_call = (sy_call_t *)sys_dup2
543 }, /* 90 = dup2 */
544 {
545 ns(struct sys_getrandom_args),
546 .sy_flags = SYCALL_ARG_PTR,
547 .sy_call = (sy_call_t *)sys_getrandom
548 }, /* 91 = getrandom */
549 {
550 ns(struct sys_fcntl_args),
551 .sy_flags = SYCALL_ARG_PTR,
552 .sy_call = (sy_call_t *)sys_fcntl
553 }, /* 92 = fcntl */
554 {
555 ns(struct compat_50_sys_select_args),
556 .sy_flags = SYCALL_ARG_PTR,
557 .sy_call = (sy_call_t *)sys_nomodule
558 }, /* 93 = compat_50_select */
559 {
560 .sy_call = sys_nosys,
561 }, /* 94 = filler */
562 {
563 ns(struct sys_fsync_args),
564 .sy_call = (sy_call_t *)sys_fsync
565 }, /* 95 = fsync */
566 {
567 ns(struct sys_setpriority_args),
568 .sy_call = (sy_call_t *)sys_setpriority
569 }, /* 96 = setpriority */
570 {
571 ns(struct compat_30_sys_socket_args),
572 .sy_call = (sy_call_t *)sys_nomodule
573 }, /* 97 = compat_30_socket */
574 {
575 ns(struct sys_connect_args),
576 .sy_flags = SYCALL_ARG_PTR,
577 .sy_call = (sy_call_t *)sys_connect
578 }, /* 98 = connect */
579 {
580 ns(struct compat_43_sys_accept_args),
581 .sy_flags = SYCALL_ARG_PTR,
582 .sy_call = (sy_call_t *)sys_nomodule
583 }, /* 99 = compat_43_oaccept */
584 {
585 ns(struct sys_getpriority_args),
586 .sy_call = (sy_call_t *)sys_getpriority
587 }, /* 100 = getpriority */
588 {
589 ns(struct compat_43_sys_send_args),
590 .sy_flags = SYCALL_ARG_PTR,
591 .sy_call = (sy_call_t *)sys_nomodule
592 }, /* 101 = compat_43_osend */
593 {
594 ns(struct compat_43_sys_recv_args),
595 .sy_flags = SYCALL_ARG_PTR,
596 .sy_call = (sy_call_t *)sys_nomodule
597 }, /* 102 = compat_43_orecv */
598 {
599 ns(struct compat_13_sys_sigreturn_args),
600 .sy_flags = SYCALL_ARG_PTR,
601 .sy_call = (sy_call_t *)sys_nomodule
602 }, /* 103 = compat_13_sigreturn13 */
603 {
604 ns(struct sys_bind_args),
605 .sy_flags = SYCALL_ARG_PTR,
606 .sy_call = (sy_call_t *)sys_bind
607 }, /* 104 = bind */
608 {
609 ns(struct sys_setsockopt_args),
610 .sy_flags = SYCALL_ARG_PTR,
611 .sy_call = (sy_call_t *)sys_setsockopt
612 }, /* 105 = setsockopt */
613 {
614 ns(struct sys_listen_args),
615 .sy_call = (sy_call_t *)sys_listen
616 }, /* 106 = listen */
617 {
618 .sy_call = sys_nosys,
619 }, /* 107 = filler */
620 {
621 ns(struct compat_43_sys_sigvec_args),
622 .sy_flags = SYCALL_ARG_PTR,
623 .sy_call = (sy_call_t *)sys_nomodule
624 }, /* 108 = compat_43_osigvec */
625 {
626 ns(struct compat_43_sys_sigblock_args),
627 .sy_call = (sy_call_t *)sys_nomodule
628 }, /* 109 = compat_43_osigblock */
629 {
630 ns(struct compat_43_sys_sigsetmask_args),
631 .sy_call = (sy_call_t *)sys_nomodule
632 }, /* 110 = compat_43_osigsetmask */
633 {
634 ns(struct compat_13_sys_sigsuspend_args),
635 .sy_call = (sy_call_t *)sys_nomodule
636 }, /* 111 = compat_13_sigsuspend13 */
637 {
638 ns(struct compat_43_sys_sigstack_args),
639 .sy_flags = SYCALL_ARG_PTR,
640 .sy_call = (sy_call_t *)sys_nomodule
641 }, /* 112 = compat_43_osigstack */
642 {
643 ns(struct compat_43_sys_recvmsg_args),
644 .sy_flags = SYCALL_ARG_PTR,
645 .sy_call = (sy_call_t *)sys_nomodule
646 }, /* 113 = compat_43_orecvmsg */
647 {
648 ns(struct compat_43_sys_sendmsg_args),
649 .sy_flags = SYCALL_ARG_PTR,
650 .sy_call = (sy_call_t *)sys_nomodule
651 }, /* 114 = compat_43_osendmsg */
652 {
653 .sy_call = sys_nosys,
654 }, /* 115 = filler */
655 {
656 ns(struct compat_50_sys_gettimeofday_args),
657 .sy_flags = SYCALL_ARG_PTR,
658 .sy_call = (sy_call_t *)sys_nomodule
659 }, /* 116 = compat_50_gettimeofday */
660 {
661 ns(struct compat_50_sys_getrusage_args),
662 .sy_flags = SYCALL_ARG_PTR,
663 .sy_call = (sy_call_t *)sys_nomodule
664 }, /* 117 = compat_50_getrusage */
665 {
666 ns(struct sys_getsockopt_args),
667 .sy_flags = SYCALL_ARG_PTR,
668 .sy_call = (sy_call_t *)sys_getsockopt
669 }, /* 118 = getsockopt */
670 {
671 .sy_call = sys_nosys,
672 }, /* 119 = filler */
673 {
674 ns(struct sys_readv_args),
675 .sy_flags = SYCALL_ARG_PTR,
676 .sy_call = (sy_call_t *)sys_readv
677 }, /* 120 = readv */
678 {
679 ns(struct sys_writev_args),
680 .sy_flags = SYCALL_ARG_PTR,
681 .sy_call = (sy_call_t *)sys_writev
682 }, /* 121 = writev */
683 {
684 ns(struct compat_50_sys_settimeofday_args),
685 .sy_flags = SYCALL_ARG_PTR,
686 .sy_call = (sy_call_t *)sys_nomodule
687 }, /* 122 = compat_50_settimeofday */
688 {
689 ns(struct sys_fchown_args),
690 .sy_call = (sy_call_t *)sys_fchown
691 }, /* 123 = fchown */
692 {
693 ns(struct sys_fchmod_args),
694 .sy_call = (sy_call_t *)sys_fchmod
695 }, /* 124 = fchmod */
696 {
697 ns(struct compat_43_sys_recvfrom_args),
698 .sy_flags = SYCALL_ARG_PTR,
699 .sy_call = (sy_call_t *)sys_nomodule
700 }, /* 125 = compat_43_orecvfrom */
701 {
702 ns(struct sys_setreuid_args),
703 .sy_call = (sy_call_t *)sys_setreuid
704 }, /* 126 = setreuid */
705 {
706 ns(struct sys_setregid_args),
707 .sy_call = (sy_call_t *)sys_setregid
708 }, /* 127 = setregid */
709 {
710 ns(struct sys_rename_args),
711 .sy_flags = SYCALL_ARG_PTR,
712 .sy_call = (sy_call_t *)sys_rename
713 }, /* 128 = rename */
714 {
715 ns(struct compat_43_sys_truncate_args),
716 .sy_flags = SYCALL_ARG_PTR,
717 .sy_call = (sy_call_t *)sys_nomodule
718 }, /* 129 = compat_43_otruncate */
719 {
720 ns(struct compat_43_sys_ftruncate_args),
721 .sy_call = (sy_call_t *)sys_nomodule
722 }, /* 130 = compat_43_oftruncate */
723 {
724 ns(struct sys_flock_args),
725 .sy_call = (sy_call_t *)sys_flock
726 }, /* 131 = flock */
727 {
728 ns(struct sys_mkfifo_args),
729 .sy_flags = SYCALL_ARG_PTR,
730 .sy_call = (sy_call_t *)sys_mkfifo
731 }, /* 132 = mkfifo */
732 {
733 ns(struct sys_sendto_args),
734 .sy_flags = SYCALL_ARG_PTR,
735 .sy_call = (sy_call_t *)sys_sendto
736 }, /* 133 = sendto */
737 {
738 ns(struct sys_shutdown_args),
739 .sy_call = (sy_call_t *)sys_shutdown
740 }, /* 134 = shutdown */
741 {
742 ns(struct sys_socketpair_args),
743 .sy_flags = SYCALL_ARG_PTR,
744 .sy_call = (sy_call_t *)sys_socketpair
745 }, /* 135 = socketpair */
746 {
747 ns(struct sys_mkdir_args),
748 .sy_flags = SYCALL_ARG_PTR,
749 .sy_call = (sy_call_t *)sys_mkdir
750 }, /* 136 = mkdir */
751 {
752 ns(struct sys_rmdir_args),
753 .sy_flags = SYCALL_ARG_PTR,
754 .sy_call = (sy_call_t *)sys_rmdir
755 }, /* 137 = rmdir */
756 {
757 ns(struct compat_50_sys_utimes_args),
758 .sy_flags = SYCALL_ARG_PTR,
759 .sy_call = (sy_call_t *)sys_nomodule
760 }, /* 138 = compat_50_utimes */
761 {
762 .sy_call = sys_nosys,
763 }, /* 139 = filler */
764 {
765 ns(struct compat_50_sys_adjtime_args),
766 .sy_flags = SYCALL_ARG_PTR,
767 .sy_call = (sy_call_t *)sys_nomodule
768 }, /* 140 = compat_50_adjtime */
769 {
770 ns(struct compat_43_sys_getpeername_args),
771 .sy_flags = SYCALL_ARG_PTR,
772 .sy_call = (sy_call_t *)sys_nomodule
773 }, /* 141 = compat_43_ogetpeername */
774 {
775 .sy_call = (sy_call_t *)sys_nomodule
776 }, /* 142 = compat_43_ogethostid */
777 {
778 ns(struct compat_43_sys_sethostid_args),
779 .sy_call = (sy_call_t *)sys_nomodule
780 }, /* 143 = compat_43_osethostid */
781 {
782 ns(struct compat_43_sys_getrlimit_args),
783 .sy_flags = SYCALL_ARG_PTR,
784 .sy_call = (sy_call_t *)sys_nomodule
785 }, /* 144 = compat_43_ogetrlimit */
786 {
787 ns(struct compat_43_sys_setrlimit_args),
788 .sy_flags = SYCALL_ARG_PTR,
789 .sy_call = (sy_call_t *)sys_nomodule
790 }, /* 145 = compat_43_osetrlimit */
791 {
792 ns(struct compat_43_sys_killpg_args),
793 .sy_call = (sy_call_t *)sys_nomodule
794 }, /* 146 = compat_43_okillpg */
795 {
796 .sy_call = (sy_call_t *)sys_setsid
797 }, /* 147 = setsid */
798 {
799 ns(struct compat_50_sys_quotactl_args),
800 .sy_flags = SYCALL_ARG_PTR,
801 .sy_call = (sy_call_t *)sys_nomodule
802 }, /* 148 = compat_50_quotactl */
803 {
804 .sy_call = (sy_call_t *)sys_nomodule
805 }, /* 149 = compat_43_oquota */
806 {
807 ns(struct compat_43_sys_getsockname_args),
808 .sy_flags = SYCALL_ARG_PTR,
809 .sy_call = (sy_call_t *)sys_nomodule
810 }, /* 150 = compat_43_ogetsockname */
811 {
812 .sy_call = sys_nosys,
813 }, /* 151 = filler */
814 {
815 .sy_call = sys_nosys,
816 }, /* 152 = filler */
817 {
818 .sy_call = sys_nosys,
819 }, /* 153 = filler */
820 {
821 .sy_call = sys_nosys,
822 }, /* 154 = filler */
823 {
824 ns(struct sys_nfssvc_args),
825 .sy_flags = SYCALL_ARG_PTR,
826 .sy_call = (sy_call_t *)sys_nomodule
827 }, /* 155 = nfssvc */
828 {
829 ns(struct compat_43_sys_getdirentries_args),
830 .sy_flags = SYCALL_ARG_PTR,
831 .sy_call = (sy_call_t *)sys_nomodule
832 }, /* 156 = compat_43_ogetdirentries */
833 {
834 ns(struct compat_20_sys_statfs_args),
835 .sy_flags = SYCALL_ARG_PTR,
836 .sy_call = (sy_call_t *)sys_nomodule
837 }, /* 157 = compat_20_statfs */
838 {
839 ns(struct compat_20_sys_fstatfs_args),
840 .sy_flags = SYCALL_ARG_PTR,
841 .sy_call = (sy_call_t *)sys_nomodule
842 }, /* 158 = compat_20_fstatfs */
843 {
844 .sy_call = sys_nosys,
845 }, /* 159 = filler */
846 {
847 .sy_call = sys_nosys,
848 }, /* 160 = filler */
849 {
850 ns(struct compat_30_sys_getfh_args),
851 .sy_flags = SYCALL_ARG_PTR,
852 .sy_call = (sy_call_t *)sys_nomodule
853 }, /* 161 = compat_30_getfh */
854 {
855 ns(struct compat_09_sys_getdomainname_args),
856 .sy_flags = SYCALL_ARG_PTR,
857 .sy_call = (sy_call_t *)sys_nomodule
858 }, /* 162 = compat_09_ogetdomainname */
859 {
860 ns(struct compat_09_sys_setdomainname_args),
861 .sy_flags = SYCALL_ARG_PTR,
862 .sy_call = (sy_call_t *)sys_nomodule
863 }, /* 163 = compat_09_osetdomainname */
864 {
865 ns(struct compat_09_sys_uname_args),
866 .sy_flags = SYCALL_ARG_PTR,
867 .sy_call = (sy_call_t *)sys_nomodule
868 }, /* 164 = compat_09_ouname */
869 {
870 ns(struct sys_sysarch_args),
871 .sy_flags = SYCALL_ARG_PTR,
872 .sy_call = (sy_call_t *)sys_sysarch
873 }, /* 165 = sysarch */
874 {
875 ns(struct sys___futex_args),
876 .sy_flags = SYCALL_ARG_PTR,
877 .sy_call = (sy_call_t *)sys___futex
878 }, /* 166 = __futex */
879 {
880 ns(struct sys___futex_set_robust_list_args),
881 .sy_flags = SYCALL_ARG_PTR,
882 .sy_call = (sy_call_t *)sys___futex_set_robust_list
883 }, /* 167 = __futex_set_robust_list */
884 {
885 ns(struct sys___futex_get_robust_list_args),
886 .sy_flags = SYCALL_ARG_PTR,
887 .sy_call = (sy_call_t *)sys___futex_get_robust_list
888 }, /* 168 = __futex_get_robust_list */
889 #if !defined(_LP64)
890 {
891 ns(struct compat_10_sys_semsys_args),
892 .sy_call = (sy_call_t *)sys_nomodule
893 }, /* 169 = compat_10_osemsys */
894 #else
895 {
896 .sy_call = sys_nosys,
897 }, /* 169 = filler */
898 #endif
899 #if !defined(_LP64)
900 {
901 ns(struct compat_10_sys_msgsys_args),
902 .sy_call = (sy_call_t *)sys_nomodule
903 }, /* 170 = compat_10_omsgsys */
904 #else
905 {
906 .sy_call = sys_nosys,
907 }, /* 170 = filler */
908 #endif
909 #if !defined(_LP64)
910 {
911 ns(struct compat_10_sys_shmsys_args),
912 .sy_call = (sy_call_t *)sys_nomodule
913 }, /* 171 = compat_10_oshmsys */
914 #else
915 {
916 .sy_call = sys_nosys,
917 }, /* 171 = filler */
918 #endif
919 {
920 .sy_call = sys_nosys,
921 }, /* 172 = filler */
922 {
923 ns(struct sys_pread_args),
924 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
925 .sy_call = (sy_call_t *)sys_pread
926 }, /* 173 = pread */
927 {
928 ns(struct sys_pwrite_args),
929 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
930 .sy_call = (sy_call_t *)sys_pwrite
931 }, /* 174 = pwrite */
932 {
933 ns(struct compat_30_sys_ntp_gettime_args),
934 .sy_flags = SYCALL_ARG_PTR,
935 .sy_call = (sy_call_t *)sys_nomodule
936 }, /* 175 = compat_30_ntp_gettime */
937 #if defined(NTP) || !defined(_KERNEL_OPT)
938 {
939 ns(struct sys_ntp_adjtime_args),
940 .sy_flags = SYCALL_ARG_PTR,
941 .sy_call = (sy_call_t *)sys_ntp_adjtime
942 }, /* 176 = ntp_adjtime */
943 #else
944 {
945 .sy_call = sys_nosys,
946 }, /* 176 = filler */
947 #endif
948 {
949 ns(struct sys_timerfd_create_args),
950 .sy_call = (sy_call_t *)sys_timerfd_create
951 }, /* 177 = timerfd_create */
952 {
953 ns(struct sys_timerfd_settime_args),
954 .sy_flags = SYCALL_ARG_PTR,
955 .sy_call = (sy_call_t *)sys_timerfd_settime
956 }, /* 178 = timerfd_settime */
957 {
958 ns(struct sys_timerfd_gettime_args),
959 .sy_flags = SYCALL_ARG_PTR,
960 .sy_call = (sy_call_t *)sys_timerfd_gettime
961 }, /* 179 = timerfd_gettime */
962 {
963 .sy_call = sys_nosys,
964 }, /* 180 = filler */
965 {
966 ns(struct sys_setgid_args),
967 .sy_call = (sy_call_t *)sys_setgid
968 }, /* 181 = setgid */
969 {
970 ns(struct sys_setegid_args),
971 .sy_call = (sy_call_t *)sys_setegid
972 }, /* 182 = setegid */
973 {
974 ns(struct sys_seteuid_args),
975 .sy_call = (sy_call_t *)sys_seteuid
976 }, /* 183 = seteuid */
977 {
978 ns(struct sys_lfs_bmapv_args),
979 .sy_flags = SYCALL_ARG_PTR,
980 .sy_call = (sy_call_t *)sys_nomodule
981 }, /* 184 = lfs_bmapv */
982 {
983 ns(struct sys_lfs_markv_args),
984 .sy_flags = SYCALL_ARG_PTR,
985 .sy_call = (sy_call_t *)sys_nomodule
986 }, /* 185 = lfs_markv */
987 {
988 ns(struct sys_lfs_segclean_args),
989 .sy_flags = SYCALL_ARG_PTR,
990 .sy_call = (sy_call_t *)sys_nomodule
991 }, /* 186 = lfs_segclean */
992 {
993 ns(struct compat_50_sys_lfs_segwait_args),
994 .sy_flags = SYCALL_ARG_PTR,
995 .sy_call = (sy_call_t *)sys_nomodule
996 }, /* 187 = compat_50_lfs_segwait */
997 {
998 ns(struct compat_12_sys_stat_args),
999 .sy_flags = SYCALL_ARG_PTR,
1000 .sy_call = (sy_call_t *)sys_nomodule
1001 }, /* 188 = compat_12_stat12 */
1002 {
1003 ns(struct compat_12_sys_fstat_args),
1004 .sy_flags = SYCALL_ARG_PTR,
1005 .sy_call = (sy_call_t *)sys_nomodule
1006 }, /* 189 = compat_12_fstat12 */
1007 {
1008 ns(struct compat_12_sys_lstat_args),
1009 .sy_flags = SYCALL_ARG_PTR,
1010 .sy_call = (sy_call_t *)sys_nomodule
1011 }, /* 190 = compat_12_lstat12 */
1012 {
1013 ns(struct sys_pathconf_args),
1014 .sy_flags = SYCALL_ARG_PTR,
1015 .sy_call = (sy_call_t *)sys_pathconf
1016 }, /* 191 = pathconf */
1017 {
1018 ns(struct sys_fpathconf_args),
1019 .sy_call = (sy_call_t *)sys_fpathconf
1020 }, /* 192 = fpathconf */
1021 {
1022 ns(struct sys_getsockopt2_args),
1023 .sy_flags = SYCALL_ARG_PTR,
1024 .sy_call = (sy_call_t *)sys_getsockopt2
1025 }, /* 193 = getsockopt2 */
1026 {
1027 ns(struct sys_getrlimit_args),
1028 .sy_flags = SYCALL_ARG_PTR,
1029 .sy_call = (sy_call_t *)sys_getrlimit
1030 }, /* 194 = getrlimit */
1031 {
1032 ns(struct sys_setrlimit_args),
1033 .sy_flags = SYCALL_ARG_PTR,
1034 .sy_call = (sy_call_t *)sys_setrlimit
1035 }, /* 195 = setrlimit */
1036 {
1037 ns(struct compat_12_sys_getdirentries_args),
1038 .sy_flags = SYCALL_ARG_PTR,
1039 .sy_call = (sy_call_t *)sys_nomodule
1040 }, /* 196 = compat_12_getdirentries */
1041 {
1042 ns(struct sys_mmap_args),
1043 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64 | SYCALL_ARG_PTR,
1044 .sy_call = (sy_call_t *)sys_mmap
1045 }, /* 197 = mmap */
1046 {
1047 ns(struct sys___syscall_args),
1048 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT,
1049 .sy_call = (sy_call_t *)sys___syscall
1050 }, /* 198 = __syscall */
1051 {
1052 ns(struct sys_lseek_args),
1053 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
1054 .sy_call = (sy_call_t *)sys_lseek
1055 }, /* 199 = lseek */
1056 {
1057 ns(struct sys_truncate_args),
1058 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_ARG_PTR,
1059 .sy_call = (sy_call_t *)sys_truncate
1060 }, /* 200 = truncate */
1061 {
1062 ns(struct sys_ftruncate_args),
1063 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
1064 .sy_call = (sy_call_t *)sys_ftruncate
1065 }, /* 201 = ftruncate */
1066 {
1067 ns(struct sys___sysctl_args),
1068 .sy_flags = SYCALL_ARG_PTR,
1069 .sy_call = (sy_call_t *)sys___sysctl
1070 }, /* 202 = __sysctl */
1071 {
1072 ns(struct sys_mlock_args),
1073 .sy_flags = SYCALL_ARG_PTR,
1074 .sy_call = (sy_call_t *)sys_mlock
1075 }, /* 203 = mlock */
1076 {
1077 ns(struct sys_munlock_args),
1078 .sy_flags = SYCALL_ARG_PTR,
1079 .sy_call = (sy_call_t *)sys_munlock
1080 }, /* 204 = munlock */
1081 {
1082 ns(struct sys_undelete_args),
1083 .sy_flags = SYCALL_ARG_PTR,
1084 .sy_call = (sy_call_t *)sys_undelete
1085 }, /* 205 = undelete */
1086 {
1087 ns(struct compat_50_sys_futimes_args),
1088 .sy_flags = SYCALL_ARG_PTR,
1089 .sy_call = (sy_call_t *)sys_nomodule
1090 }, /* 206 = compat_50_futimes */
1091 {
1092 ns(struct sys_getpgid_args),
1093 .sy_call = (sy_call_t *)sys_getpgid
1094 }, /* 207 = getpgid */
1095 {
1096 ns(struct sys_reboot_args),
1097 .sy_flags = SYCALL_ARG_PTR,
1098 .sy_call = (sy_call_t *)sys_reboot
1099 }, /* 208 = reboot */
1100 {
1101 ns(struct sys_poll_args),
1102 .sy_flags = SYCALL_ARG_PTR,
1103 .sy_call = (sy_call_t *)sys_poll
1104 }, /* 209 = poll */
1105 {
1106 ns(struct sys_afssys_args),
1107 .sy_call = (sy_call_t *)sys_nomodule
1108 }, /* 210 = afssys */
1109 {
1110 .sy_call = sys_nosys,
1111 }, /* 211 = filler */
1112 {
1113 .sy_call = sys_nosys,
1114 }, /* 212 = filler */
1115 {
1116 .sy_call = sys_nosys,
1117 }, /* 213 = filler */
1118 {
1119 .sy_call = sys_nosys,
1120 }, /* 214 = filler */
1121 {
1122 .sy_call = sys_nosys,
1123 }, /* 215 = filler */
1124 {
1125 .sy_call = sys_nosys,
1126 }, /* 216 = filler */
1127 {
1128 .sy_call = sys_nosys,
1129 }, /* 217 = filler */
1130 {
1131 .sy_call = sys_nosys,
1132 }, /* 218 = filler */
1133 {
1134 .sy_call = sys_nosys,
1135 }, /* 219 = filler */
1136 {
1137 ns(struct compat_14_sys___semctl_args),
1138 .sy_flags = SYCALL_ARG_PTR,
1139 .sy_call = (sy_call_t *)sys_nomodule
1140 }, /* 220 = compat_14___semctl */
1141 {
1142 ns(struct sys_semget_args),
1143 .sy_call = (sy_call_t *)sys_nomodule
1144 }, /* 221 = semget */
1145 {
1146 ns(struct sys_semop_args),
1147 .sy_flags = SYCALL_ARG_PTR,
1148 .sy_call = (sy_call_t *)sys_nomodule
1149 }, /* 222 = semop */
1150 {
1151 ns(struct sys_semconfig_args),
1152 .sy_call = (sy_call_t *)sys_nomodule
1153 }, /* 223 = semconfig */
1154 {
1155 ns(struct compat_14_sys_msgctl_args),
1156 .sy_flags = SYCALL_ARG_PTR,
1157 .sy_call = (sy_call_t *)sys_nomodule
1158 }, /* 224 = compat_14_msgctl */
1159 {
1160 ns(struct sys_msgget_args),
1161 .sy_call = (sy_call_t *)sys_nomodule
1162 }, /* 225 = msgget */
1163 {
1164 ns(struct sys_msgsnd_args),
1165 .sy_flags = SYCALL_ARG_PTR,
1166 .sy_call = (sy_call_t *)sys_nomodule
1167 }, /* 226 = msgsnd */
1168 {
1169 ns(struct sys_msgrcv_args),
1170 .sy_flags = SYCALL_ARG_PTR,
1171 .sy_call = (sy_call_t *)sys_nomodule
1172 }, /* 227 = msgrcv */
1173 {
1174 ns(struct sys_shmat_args),
1175 .sy_flags = SYCALL_ARG_PTR,
1176 .sy_call = (sy_call_t *)sys_nomodule
1177 }, /* 228 = shmat */
1178 {
1179 ns(struct compat_14_sys_shmctl_args),
1180 .sy_flags = SYCALL_ARG_PTR,
1181 .sy_call = (sy_call_t *)sys_nomodule
1182 }, /* 229 = compat_14_shmctl */
1183 {
1184 ns(struct sys_shmdt_args),
1185 .sy_flags = SYCALL_ARG_PTR,
1186 .sy_call = (sy_call_t *)sys_nomodule
1187 }, /* 230 = shmdt */
1188 {
1189 ns(struct sys_shmget_args),
1190 .sy_call = (sy_call_t *)sys_nomodule
1191 }, /* 231 = shmget */
1192 {
1193 ns(struct compat_50_sys_clock_gettime_args),
1194 .sy_flags = SYCALL_ARG_PTR,
1195 .sy_call = (sy_call_t *)sys_nomodule
1196 }, /* 232 = compat_50_clock_gettime */
1197 {
1198 ns(struct compat_50_sys_clock_settime_args),
1199 .sy_flags = SYCALL_ARG_PTR,
1200 .sy_call = (sy_call_t *)sys_nomodule
1201 }, /* 233 = compat_50_clock_settime */
1202 {
1203 ns(struct compat_50_sys_clock_getres_args),
1204 .sy_flags = SYCALL_ARG_PTR,
1205 .sy_call = (sy_call_t *)sys_nomodule
1206 }, /* 234 = compat_50_clock_getres */
1207 {
1208 ns(struct sys_timer_create_args),
1209 .sy_flags = SYCALL_ARG_PTR,
1210 .sy_call = (sy_call_t *)sys_timer_create
1211 }, /* 235 = timer_create */
1212 {
1213 ns(struct sys_timer_delete_args),
1214 .sy_call = (sy_call_t *)sys_timer_delete
1215 }, /* 236 = timer_delete */
1216 {
1217 ns(struct compat_50_sys_timer_settime_args),
1218 .sy_flags = SYCALL_ARG_PTR,
1219 .sy_call = (sy_call_t *)sys_nomodule
1220 }, /* 237 = compat_50_timer_settime */
1221 {
1222 ns(struct compat_50_sys_timer_gettime_args),
1223 .sy_flags = SYCALL_ARG_PTR,
1224 .sy_call = (sy_call_t *)sys_nomodule
1225 }, /* 238 = compat_50_timer_gettime */
1226 {
1227 ns(struct sys_timer_getoverrun_args),
1228 .sy_call = (sy_call_t *)sys_timer_getoverrun
1229 }, /* 239 = timer_getoverrun */
1230 {
1231 ns(struct compat_50_sys_nanosleep_args),
1232 .sy_flags = SYCALL_ARG_PTR,
1233 .sy_call = (sy_call_t *)sys_nomodule
1234 }, /* 240 = compat_50_nanosleep */
1235 {
1236 ns(struct sys_fdatasync_args),
1237 .sy_call = (sy_call_t *)sys_fdatasync
1238 }, /* 241 = fdatasync */
1239 {
1240 ns(struct sys_mlockall_args),
1241 .sy_call = (sy_call_t *)sys_mlockall
1242 }, /* 242 = mlockall */
1243 {
1244 .sy_call = (sy_call_t *)sys_munlockall
1245 }, /* 243 = munlockall */
1246 {
1247 ns(struct compat_50_sys___sigtimedwait_args),
1248 .sy_flags = SYCALL_ARG_PTR,
1249 .sy_call = (sy_call_t *)sys_nomodule
1250 }, /* 244 = compat_50___sigtimedwait */
1251 {
1252 ns(struct sys_sigqueueinfo_args),
1253 .sy_flags = SYCALL_ARG_PTR,
1254 .sy_call = (sy_call_t *)sys_sigqueueinfo
1255 }, /* 245 = sigqueueinfo */
1256 {
1257 ns(struct sys_modctl_args),
1258 .sy_flags = SYCALL_ARG_PTR,
1259 .sy_call = (sy_call_t *)sys_modctl
1260 }, /* 246 = modctl */
1261 {
1262 ns(struct sys__ksem_init_args),
1263 .sy_flags = SYCALL_ARG_PTR,
1264 .sy_call = (sy_call_t *)sys_nomodule
1265 }, /* 247 = _ksem_init */
1266 {
1267 ns(struct sys__ksem_open_args),
1268 .sy_flags = SYCALL_ARG_PTR,
1269 .sy_call = (sy_call_t *)sys_nomodule
1270 }, /* 248 = _ksem_open */
1271 {
1272 ns(struct sys__ksem_unlink_args),
1273 .sy_flags = SYCALL_ARG_PTR,
1274 .sy_call = (sy_call_t *)sys_nomodule
1275 }, /* 249 = _ksem_unlink */
1276 {
1277 ns(struct sys__ksem_close_args),
1278 .sy_call = (sy_call_t *)sys_nomodule
1279 }, /* 250 = _ksem_close */
1280 {
1281 ns(struct sys__ksem_post_args),
1282 .sy_call = (sy_call_t *)sys_nomodule
1283 }, /* 251 = _ksem_post */
1284 {
1285 ns(struct sys__ksem_wait_args),
1286 .sy_call = (sy_call_t *)sys_nomodule
1287 }, /* 252 = _ksem_wait */
1288 {
1289 ns(struct sys__ksem_trywait_args),
1290 .sy_call = (sy_call_t *)sys_nomodule
1291 }, /* 253 = _ksem_trywait */
1292 {
1293 ns(struct sys__ksem_getvalue_args),
1294 .sy_flags = SYCALL_ARG_PTR,
1295 .sy_call = (sy_call_t *)sys_nomodule
1296 }, /* 254 = _ksem_getvalue */
1297 {
1298 ns(struct sys__ksem_destroy_args),
1299 .sy_call = (sy_call_t *)sys_nomodule
1300 }, /* 255 = _ksem_destroy */
1301 {
1302 ns(struct sys__ksem_timedwait_args),
1303 .sy_flags = SYCALL_ARG_PTR,
1304 .sy_call = (sy_call_t *)sys_nomodule
1305 }, /* 256 = _ksem_timedwait */
1306 {
1307 ns(struct sys_mq_open_args),
1308 .sy_flags = SYCALL_ARG_PTR,
1309 .sy_call = (sy_call_t *)sys_nomodule
1310 }, /* 257 = mq_open */
1311 {
1312 ns(struct sys_mq_close_args),
1313 .sy_call = (sy_call_t *)sys_nomodule
1314 }, /* 258 = mq_close */
1315 {
1316 ns(struct sys_mq_unlink_args),
1317 .sy_flags = SYCALL_ARG_PTR,
1318 .sy_call = (sy_call_t *)sys_nomodule
1319 }, /* 259 = mq_unlink */
1320 {
1321 ns(struct sys_mq_getattr_args),
1322 .sy_flags = SYCALL_ARG_PTR,
1323 .sy_call = (sy_call_t *)sys_nomodule
1324 }, /* 260 = mq_getattr */
1325 {
1326 ns(struct sys_mq_setattr_args),
1327 .sy_flags = SYCALL_ARG_PTR,
1328 .sy_call = (sy_call_t *)sys_nomodule
1329 }, /* 261 = mq_setattr */
1330 {
1331 ns(struct sys_mq_notify_args),
1332 .sy_flags = SYCALL_ARG_PTR,
1333 .sy_call = (sy_call_t *)sys_nomodule
1334 }, /* 262 = mq_notify */
1335 {
1336 ns(struct sys_mq_send_args),
1337 .sy_flags = SYCALL_ARG_PTR,
1338 .sy_call = (sy_call_t *)sys_nomodule
1339 }, /* 263 = mq_send */
1340 {
1341 ns(struct sys_mq_receive_args),
1342 .sy_flags = SYCALL_ARG_PTR,
1343 .sy_call = (sy_call_t *)sys_nomodule
1344 }, /* 264 = mq_receive */
1345 {
1346 ns(struct compat_50_sys_mq_timedsend_args),
1347 .sy_flags = SYCALL_ARG_PTR,
1348 .sy_call = (sy_call_t *)sys_nomodule
1349 }, /* 265 = compat_50_mq_timedsend */
1350 {
1351 ns(struct compat_50_sys_mq_timedreceive_args),
1352 .sy_flags = SYCALL_ARG_PTR,
1353 .sy_call = (sy_call_t *)sys_nomodule
1354 }, /* 266 = compat_50_mq_timedreceive */
1355 {
1356 ns(struct sys_eventfd_args),
1357 .sy_call = (sy_call_t *)sys_eventfd
1358 }, /* 267 = eventfd */
1359 {
1360 .sy_call = sys_nosys,
1361 }, /* 268 = filler */
1362 {
1363 .sy_call = sys_nosys,
1364 }, /* 269 = filler */
1365 {
1366 ns(struct sys___posix_rename_args),
1367 .sy_flags = SYCALL_ARG_PTR,
1368 .sy_call = (sy_call_t *)sys___posix_rename
1369 }, /* 270 = __posix_rename */
1370 {
1371 ns(struct sys_swapctl_args),
1372 .sy_flags = SYCALL_ARG_PTR,
1373 .sy_call = (sy_call_t *)sys_swapctl
1374 }, /* 271 = swapctl */
1375 {
1376 ns(struct compat_30_sys_getdents_args),
1377 .sy_flags = SYCALL_ARG_PTR,
1378 .sy_call = (sy_call_t *)sys_nomodule
1379 }, /* 272 = compat_30_getdents */
1380 {
1381 ns(struct sys_minherit_args),
1382 .sy_flags = SYCALL_ARG_PTR,
1383 .sy_call = (sy_call_t *)sys_minherit
1384 }, /* 273 = minherit */
1385 {
1386 ns(struct sys_lchmod_args),
1387 .sy_flags = SYCALL_ARG_PTR,
1388 .sy_call = (sy_call_t *)sys_lchmod
1389 }, /* 274 = lchmod */
1390 {
1391 ns(struct sys_lchown_args),
1392 .sy_flags = SYCALL_ARG_PTR,
1393 .sy_call = (sy_call_t *)sys_lchown
1394 }, /* 275 = lchown */
1395 {
1396 ns(struct compat_50_sys_lutimes_args),
1397 .sy_flags = SYCALL_ARG_PTR,
1398 .sy_call = (sy_call_t *)sys_nomodule
1399 }, /* 276 = compat_50_lutimes */
1400 {
1401 ns(struct sys___msync13_args),
1402 .sy_flags = SYCALL_ARG_PTR,
1403 .sy_call = (sy_call_t *)sys___msync13
1404 }, /* 277 = __msync13 */
1405 {
1406 ns(struct compat_30_sys___stat13_args),
1407 .sy_flags = SYCALL_ARG_PTR,
1408 .sy_call = (sy_call_t *)sys_nomodule
1409 }, /* 278 = compat_30___stat13 */
1410 {
1411 ns(struct compat_30_sys___fstat13_args),
1412 .sy_flags = SYCALL_ARG_PTR,
1413 .sy_call = (sy_call_t *)sys_nomodule
1414 }, /* 279 = compat_30___fstat13 */
1415 {
1416 ns(struct compat_30_sys___lstat13_args),
1417 .sy_flags = SYCALL_ARG_PTR,
1418 .sy_call = (sy_call_t *)sys_nomodule
1419 }, /* 280 = compat_30___lstat13 */
1420 {
1421 ns(struct sys___sigaltstack14_args),
1422 .sy_flags = SYCALL_ARG_PTR,
1423 .sy_call = (sy_call_t *)sys___sigaltstack14
1424 }, /* 281 = __sigaltstack14 */
1425 {
1426 .sy_call = (sy_call_t *)sys___vfork14
1427 }, /* 282 = __vfork14 */
1428 {
1429 ns(struct sys___posix_chown_args),
1430 .sy_flags = SYCALL_ARG_PTR,
1431 .sy_call = (sy_call_t *)sys___posix_chown
1432 }, /* 283 = __posix_chown */
1433 {
1434 ns(struct sys___posix_fchown_args),
1435 .sy_call = (sy_call_t *)sys___posix_fchown
1436 }, /* 284 = __posix_fchown */
1437 {
1438 ns(struct sys___posix_lchown_args),
1439 .sy_flags = SYCALL_ARG_PTR,
1440 .sy_call = (sy_call_t *)sys___posix_lchown
1441 }, /* 285 = __posix_lchown */
1442 {
1443 ns(struct sys_getsid_args),
1444 .sy_call = (sy_call_t *)sys_getsid
1445 }, /* 286 = getsid */
1446 {
1447 ns(struct sys___clone_args),
1448 .sy_flags = SYCALL_ARG_PTR,
1449 .sy_call = (sy_call_t *)sys___clone
1450 }, /* 287 = __clone */
1451 {
1452 ns(struct sys_fktrace_args),
1453 .sy_call = (sy_call_t *)sys_fktrace
1454 }, /* 288 = fktrace */
1455 {
1456 ns(struct sys_preadv_args),
1457 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
1458 .sy_call = (sy_call_t *)sys_preadv
1459 }, /* 289 = preadv */
1460 {
1461 ns(struct sys_pwritev_args),
1462 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
1463 .sy_call = (sy_call_t *)sys_pwritev
1464 }, /* 290 = pwritev */
1465 {
1466 ns(struct compat_16_sys___sigaction14_args),
1467 .sy_flags = SYCALL_ARG_PTR,
1468 .sy_call = (sy_call_t *)sys_nomodule
1469 }, /* 291 = compat_16___sigaction14 */
1470 {
1471 ns(struct sys___sigpending14_args),
1472 .sy_flags = SYCALL_ARG_PTR,
1473 .sy_call = (sy_call_t *)sys___sigpending14
1474 }, /* 292 = __sigpending14 */
1475 {
1476 ns(struct sys___sigprocmask14_args),
1477 .sy_flags = SYCALL_ARG_PTR,
1478 .sy_call = (sy_call_t *)sys___sigprocmask14
1479 }, /* 293 = __sigprocmask14 */
1480 {
1481 ns(struct sys___sigsuspend14_args),
1482 .sy_flags = SYCALL_ARG_PTR,
1483 .sy_call = (sy_call_t *)sys___sigsuspend14
1484 }, /* 294 = __sigsuspend14 */
1485 {
1486 ns(struct compat_16_sys___sigreturn14_args),
1487 .sy_flags = SYCALL_ARG_PTR,
1488 .sy_call = (sy_call_t *)sys_nomodule
1489 }, /* 295 = compat_16___sigreturn14 */
1490 {
1491 ns(struct sys___getcwd_args),
1492 .sy_flags = SYCALL_ARG_PTR,
1493 .sy_call = (sy_call_t *)sys___getcwd
1494 }, /* 296 = __getcwd */
1495 {
1496 ns(struct sys_fchroot_args),
1497 .sy_call = (sy_call_t *)sys_fchroot
1498 }, /* 297 = fchroot */
1499 {
1500 ns(struct compat_30_sys_fhopen_args),
1501 .sy_flags = SYCALL_ARG_PTR,
1502 .sy_call = (sy_call_t *)sys_nomodule
1503 }, /* 298 = compat_30_fhopen */
1504 {
1505 ns(struct compat_30_sys_fhstat_args),
1506 .sy_flags = SYCALL_ARG_PTR,
1507 .sy_call = (sy_call_t *)sys_nomodule
1508 }, /* 299 = compat_30_fhstat */
1509 {
1510 ns(struct compat_20_sys_fhstatfs_args),
1511 .sy_flags = SYCALL_ARG_PTR,
1512 .sy_call = (sy_call_t *)sys_nomodule
1513 }, /* 300 = compat_20_fhstatfs */
1514 {
1515 ns(struct compat_50_sys_____semctl13_args),
1516 .sy_flags = SYCALL_ARG_PTR,
1517 .sy_call = (sy_call_t *)sys_nomodule
1518 }, /* 301 = compat_50_____semctl13 */
1519 {
1520 ns(struct compat_50_sys___msgctl13_args),
1521 .sy_flags = SYCALL_ARG_PTR,
1522 .sy_call = (sy_call_t *)sys_nomodule
1523 }, /* 302 = compat_50___msgctl13 */
1524 {
1525 ns(struct compat_50_sys___shmctl13_args),
1526 .sy_flags = SYCALL_ARG_PTR,
1527 .sy_call = (sy_call_t *)sys_nomodule
1528 }, /* 303 = compat_50___shmctl13 */
1529 {
1530 ns(struct sys_lchflags_args),
1531 .sy_flags = SYCALL_ARG_PTR,
1532 .sy_call = (sy_call_t *)sys_lchflags
1533 }, /* 304 = lchflags */
1534 {
1535 .sy_call = (sy_call_t *)sys_issetugid
1536 }, /* 305 = issetugid */
1537 {
1538 ns(struct sys_utrace_args),
1539 .sy_flags = SYCALL_ARG_PTR,
1540 .sy_call = (sy_call_t *)sys_utrace
1541 }, /* 306 = utrace */
1542 {
1543 ns(struct sys_getcontext_args),
1544 .sy_flags = SYCALL_ARG_PTR,
1545 .sy_call = (sy_call_t *)sys_getcontext
1546 }, /* 307 = getcontext */
1547 {
1548 ns(struct sys_setcontext_args),
1549 .sy_flags = SYCALL_ARG_PTR,
1550 .sy_call = (sy_call_t *)sys_setcontext
1551 }, /* 308 = setcontext */
1552 {
1553 ns(struct sys__lwp_create_args),
1554 .sy_flags = SYCALL_ARG_PTR,
1555 .sy_call = (sy_call_t *)sys__lwp_create
1556 }, /* 309 = _lwp_create */
1557 {
1558 .sy_call = (sy_call_t *)sys__lwp_exit
1559 }, /* 310 = _lwp_exit */
1560 {
1561 .sy_call = (sy_call_t *)sys__lwp_self
1562 }, /* 311 = _lwp_self */
1563 {
1564 ns(struct sys__lwp_wait_args),
1565 .sy_flags = SYCALL_ARG_PTR,
1566 .sy_call = (sy_call_t *)sys__lwp_wait
1567 }, /* 312 = _lwp_wait */
1568 {
1569 ns(struct sys__lwp_suspend_args),
1570 .sy_call = (sy_call_t *)sys__lwp_suspend
1571 }, /* 313 = _lwp_suspend */
1572 {
1573 ns(struct sys__lwp_continue_args),
1574 .sy_call = (sy_call_t *)sys__lwp_continue
1575 }, /* 314 = _lwp_continue */
1576 {
1577 ns(struct sys__lwp_wakeup_args),
1578 .sy_call = (sy_call_t *)sys__lwp_wakeup
1579 }, /* 315 = _lwp_wakeup */
1580 {
1581 .sy_call = (sy_call_t *)sys__lwp_getprivate
1582 }, /* 316 = _lwp_getprivate */
1583 {
1584 ns(struct sys__lwp_setprivate_args),
1585 .sy_flags = SYCALL_ARG_PTR,
1586 .sy_call = (sy_call_t *)sys__lwp_setprivate
1587 }, /* 317 = _lwp_setprivate */
1588 {
1589 ns(struct sys__lwp_kill_args),
1590 .sy_call = (sy_call_t *)sys__lwp_kill
1591 }, /* 318 = _lwp_kill */
1592 {
1593 ns(struct sys__lwp_detach_args),
1594 .sy_call = (sy_call_t *)sys__lwp_detach
1595 }, /* 319 = _lwp_detach */
1596 {
1597 ns(struct compat_50_sys__lwp_park_args),
1598 .sy_flags = SYCALL_ARG_PTR,
1599 .sy_call = (sy_call_t *)sys_nomodule
1600 }, /* 320 = compat_50__lwp_park */
1601 {
1602 ns(struct sys__lwp_unpark_args),
1603 .sy_flags = SYCALL_ARG_PTR,
1604 .sy_call = (sy_call_t *)sys__lwp_unpark
1605 }, /* 321 = _lwp_unpark */
1606 {
1607 ns(struct sys__lwp_unpark_all_args),
1608 .sy_flags = SYCALL_ARG_PTR,
1609 .sy_call = (sy_call_t *)sys__lwp_unpark_all
1610 }, /* 322 = _lwp_unpark_all */
1611 {
1612 ns(struct sys__lwp_setname_args),
1613 .sy_flags = SYCALL_ARG_PTR,
1614 .sy_call = (sy_call_t *)sys__lwp_setname
1615 }, /* 323 = _lwp_setname */
1616 {
1617 ns(struct sys__lwp_getname_args),
1618 .sy_flags = SYCALL_ARG_PTR,
1619 .sy_call = (sy_call_t *)sys__lwp_getname
1620 }, /* 324 = _lwp_getname */
1621 {
1622 ns(struct sys__lwp_ctl_args),
1623 .sy_flags = SYCALL_ARG_PTR,
1624 .sy_call = (sy_call_t *)sys__lwp_ctl
1625 }, /* 325 = _lwp_ctl */
1626 {
1627 .sy_call = sys_nosys,
1628 }, /* 326 = filler */
1629 {
1630 .sy_call = sys_nosys,
1631 }, /* 327 = filler */
1632 {
1633 .sy_call = sys_nosys,
1634 }, /* 328 = filler */
1635 {
1636 .sy_call = sys_nosys,
1637 }, /* 329 = filler */
1638 {
1639 ns(struct compat_60_sys_sa_register_args),
1640 .sy_flags = SYCALL_ARG_PTR,
1641 .sy_call = (sy_call_t *)sys_nomodule
1642 }, /* 330 = compat_60_sa_register */
1643 {
1644 ns(struct compat_60_sys_sa_stacks_args),
1645 .sy_flags = SYCALL_ARG_PTR,
1646 .sy_call = (sy_call_t *)sys_nomodule
1647 }, /* 331 = compat_60_sa_stacks */
1648 {
1649 .sy_call = (sy_call_t *)sys_nomodule
1650 }, /* 332 = compat_60_sa_enable */
1651 {
1652 ns(struct compat_60_sys_sa_setconcurrency_args),
1653 .sy_call = (sy_call_t *)sys_nomodule
1654 }, /* 333 = compat_60_sa_setconcurrency */
1655 {
1656 .sy_call = (sy_call_t *)sys_nomodule
1657 }, /* 334 = compat_60_sa_yield */
1658 {
1659 ns(struct compat_60_sys_sa_preempt_args),
1660 .sy_call = (sy_call_t *)sys_nomodule
1661 }, /* 335 = compat_60_sa_preempt */
1662 {
1663 .sy_call = sys_nosys,
1664 }, /* 336 = filler */
1665 {
1666 .sy_call = sys_nosys,
1667 }, /* 337 = filler */
1668 {
1669 .sy_call = sys_nosys,
1670 }, /* 338 = filler */
1671 {
1672 .sy_call = sys_nosys,
1673 }, /* 339 = filler */
1674 {
1675 ns(struct sys___sigaction_sigtramp_args),
1676 .sy_flags = SYCALL_ARG_PTR,
1677 .sy_call = (sy_call_t *)sys___sigaction_sigtramp
1678 }, /* 340 = __sigaction_sigtramp */
1679 {
1680 .sy_call = sys_nosys,
1681 }, /* 341 = filler */
1682 {
1683 .sy_call = sys_nosys,
1684 }, /* 342 = filler */
1685 {
1686 ns(struct sys_rasctl_args),
1687 .sy_flags = SYCALL_ARG_PTR,
1688 .sy_call = (sy_call_t *)sys_rasctl
1689 }, /* 343 = rasctl */
1690 {
1691 .sy_call = (sy_call_t *)sys_kqueue
1692 }, /* 344 = kqueue */
1693 {
1694 ns(struct compat_50_sys_kevent_args),
1695 .sy_flags = SYCALL_ARG_PTR,
1696 .sy_call = (sy_call_t *)sys_nomodule
1697 }, /* 345 = compat_50_kevent */
1698 {
1699 ns(struct sys__sched_setparam_args),
1700 .sy_flags = SYCALL_ARG_PTR,
1701 .sy_call = (sy_call_t *)sys__sched_setparam
1702 }, /* 346 = _sched_setparam */
1703 {
1704 ns(struct sys__sched_getparam_args),
1705 .sy_flags = SYCALL_ARG_PTR,
1706 .sy_call = (sy_call_t *)sys__sched_getparam
1707 }, /* 347 = _sched_getparam */
1708 {
1709 ns(struct sys__sched_setaffinity_args),
1710 .sy_flags = SYCALL_ARG_PTR,
1711 .sy_call = (sy_call_t *)sys__sched_setaffinity
1712 }, /* 348 = _sched_setaffinity */
1713 {
1714 ns(struct sys__sched_getaffinity_args),
1715 .sy_flags = SYCALL_ARG_PTR,
1716 .sy_call = (sy_call_t *)sys__sched_getaffinity
1717 }, /* 349 = _sched_getaffinity */
1718 {
1719 .sy_call = (sy_call_t *)sys_sched_yield
1720 }, /* 350 = sched_yield */
1721 {
1722 ns(struct sys__sched_protect_args),
1723 .sy_call = (sy_call_t *)sys__sched_protect
1724 }, /* 351 = _sched_protect */
1725 {
1726 .sy_call = sys_nosys,
1727 }, /* 352 = filler */
1728 {
1729 .sy_call = sys_nosys,
1730 }, /* 353 = filler */
1731 {
1732 ns(struct sys_fsync_range_args),
1733 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
1734 .sy_call = (sy_call_t *)sys_fsync_range
1735 }, /* 354 = fsync_range */
1736 {
1737 ns(struct sys_uuidgen_args),
1738 .sy_flags = SYCALL_ARG_PTR,
1739 .sy_call = (sy_call_t *)sys_uuidgen
1740 }, /* 355 = uuidgen */
1741 {
1742 ns(struct compat_90_sys_getvfsstat_args),
1743 .sy_flags = SYCALL_ARG_PTR,
1744 .sy_call = (sy_call_t *)sys_nomodule
1745 }, /* 356 = compat_90_getvfsstat */
1746 {
1747 ns(struct compat_90_sys_statvfs1_args),
1748 .sy_flags = SYCALL_ARG_PTR,
1749 .sy_call = (sy_call_t *)sys_nomodule
1750 }, /* 357 = compat_90_statvfs1 */
1751 {
1752 ns(struct compat_90_sys_fstatvfs1_args),
1753 .sy_flags = SYCALL_ARG_PTR,
1754 .sy_call = (sy_call_t *)sys_nomodule
1755 }, /* 358 = compat_90_fstatvfs1 */
1756 {
1757 ns(struct compat_30_sys_fhstatvfs1_args),
1758 .sy_flags = SYCALL_ARG_PTR,
1759 .sy_call = (sy_call_t *)sys_nomodule
1760 }, /* 359 = compat_30_fhstatvfs1 */
1761 {
1762 ns(struct sys_extattrctl_args),
1763 .sy_flags = SYCALL_ARG_PTR,
1764 .sy_call = (sy_call_t *)sys_extattrctl
1765 }, /* 360 = extattrctl */
1766 {
1767 ns(struct sys_extattr_set_file_args),
1768 .sy_flags = SYCALL_ARG_PTR,
1769 .sy_call = (sy_call_t *)sys_extattr_set_file
1770 }, /* 361 = extattr_set_file */
1771 {
1772 ns(struct sys_extattr_get_file_args),
1773 .sy_flags = SYCALL_ARG_PTR,
1774 .sy_call = (sy_call_t *)sys_extattr_get_file
1775 }, /* 362 = extattr_get_file */
1776 {
1777 ns(struct sys_extattr_delete_file_args),
1778 .sy_flags = SYCALL_ARG_PTR,
1779 .sy_call = (sy_call_t *)sys_extattr_delete_file
1780 }, /* 363 = extattr_delete_file */
1781 {
1782 ns(struct sys_extattr_set_fd_args),
1783 .sy_flags = SYCALL_ARG_PTR,
1784 .sy_call = (sy_call_t *)sys_extattr_set_fd
1785 }, /* 364 = extattr_set_fd */
1786 {
1787 ns(struct sys_extattr_get_fd_args),
1788 .sy_flags = SYCALL_ARG_PTR,
1789 .sy_call = (sy_call_t *)sys_extattr_get_fd
1790 }, /* 365 = extattr_get_fd */
1791 {
1792 ns(struct sys_extattr_delete_fd_args),
1793 .sy_flags = SYCALL_ARG_PTR,
1794 .sy_call = (sy_call_t *)sys_extattr_delete_fd
1795 }, /* 366 = extattr_delete_fd */
1796 {
1797 ns(struct sys_extattr_set_link_args),
1798 .sy_flags = SYCALL_ARG_PTR,
1799 .sy_call = (sy_call_t *)sys_extattr_set_link
1800 }, /* 367 = extattr_set_link */
1801 {
1802 ns(struct sys_extattr_get_link_args),
1803 .sy_flags = SYCALL_ARG_PTR,
1804 .sy_call = (sy_call_t *)sys_extattr_get_link
1805 }, /* 368 = extattr_get_link */
1806 {
1807 ns(struct sys_extattr_delete_link_args),
1808 .sy_flags = SYCALL_ARG_PTR,
1809 .sy_call = (sy_call_t *)sys_extattr_delete_link
1810 }, /* 369 = extattr_delete_link */
1811 {
1812 ns(struct sys_extattr_list_fd_args),
1813 .sy_flags = SYCALL_ARG_PTR,
1814 .sy_call = (sy_call_t *)sys_extattr_list_fd
1815 }, /* 370 = extattr_list_fd */
1816 {
1817 ns(struct sys_extattr_list_file_args),
1818 .sy_flags = SYCALL_ARG_PTR,
1819 .sy_call = (sy_call_t *)sys_extattr_list_file
1820 }, /* 371 = extattr_list_file */
1821 {
1822 ns(struct sys_extattr_list_link_args),
1823 .sy_flags = SYCALL_ARG_PTR,
1824 .sy_call = (sy_call_t *)sys_extattr_list_link
1825 }, /* 372 = extattr_list_link */
1826 {
1827 ns(struct compat_50_sys_pselect_args),
1828 .sy_flags = SYCALL_ARG_PTR,
1829 .sy_call = (sy_call_t *)sys_nomodule
1830 }, /* 373 = compat_50_pselect */
1831 {
1832 ns(struct compat_50_sys_pollts_args),
1833 .sy_flags = SYCALL_ARG_PTR,
1834 .sy_call = (sy_call_t *)sys_nomodule
1835 }, /* 374 = compat_50_pollts */
1836 {
1837 ns(struct sys_setxattr_args),
1838 .sy_flags = SYCALL_ARG_PTR,
1839 .sy_call = (sy_call_t *)sys_setxattr
1840 }, /* 375 = setxattr */
1841 {
1842 ns(struct sys_lsetxattr_args),
1843 .sy_flags = SYCALL_ARG_PTR,
1844 .sy_call = (sy_call_t *)sys_lsetxattr
1845 }, /* 376 = lsetxattr */
1846 {
1847 ns(struct sys_fsetxattr_args),
1848 .sy_flags = SYCALL_ARG_PTR,
1849 .sy_call = (sy_call_t *)sys_fsetxattr
1850 }, /* 377 = fsetxattr */
1851 {
1852 ns(struct sys_getxattr_args),
1853 .sy_flags = SYCALL_ARG_PTR,
1854 .sy_call = (sy_call_t *)sys_getxattr
1855 }, /* 378 = getxattr */
1856 {
1857 ns(struct sys_lgetxattr_args),
1858 .sy_flags = SYCALL_ARG_PTR,
1859 .sy_call = (sy_call_t *)sys_lgetxattr
1860 }, /* 379 = lgetxattr */
1861 {
1862 ns(struct sys_fgetxattr_args),
1863 .sy_flags = SYCALL_ARG_PTR,
1864 .sy_call = (sy_call_t *)sys_fgetxattr
1865 }, /* 380 = fgetxattr */
1866 {
1867 ns(struct sys_listxattr_args),
1868 .sy_flags = SYCALL_ARG_PTR,
1869 .sy_call = (sy_call_t *)sys_listxattr
1870 }, /* 381 = listxattr */
1871 {
1872 ns(struct sys_llistxattr_args),
1873 .sy_flags = SYCALL_ARG_PTR,
1874 .sy_call = (sy_call_t *)sys_llistxattr
1875 }, /* 382 = llistxattr */
1876 {
1877 ns(struct sys_flistxattr_args),
1878 .sy_flags = SYCALL_ARG_PTR,
1879 .sy_call = (sy_call_t *)sys_flistxattr
1880 }, /* 383 = flistxattr */
1881 {
1882 ns(struct sys_removexattr_args),
1883 .sy_flags = SYCALL_ARG_PTR,
1884 .sy_call = (sy_call_t *)sys_removexattr
1885 }, /* 384 = removexattr */
1886 {
1887 ns(struct sys_lremovexattr_args),
1888 .sy_flags = SYCALL_ARG_PTR,
1889 .sy_call = (sy_call_t *)sys_lremovexattr
1890 }, /* 385 = lremovexattr */
1891 {
1892 ns(struct sys_fremovexattr_args),
1893 .sy_flags = SYCALL_ARG_PTR,
1894 .sy_call = (sy_call_t *)sys_fremovexattr
1895 }, /* 386 = fremovexattr */
1896 {
1897 ns(struct compat_50_sys___stat30_args),
1898 .sy_flags = SYCALL_ARG_PTR,
1899 .sy_call = (sy_call_t *)sys_nomodule
1900 }, /* 387 = compat_50___stat30 */
1901 {
1902 ns(struct compat_50_sys___fstat30_args),
1903 .sy_flags = SYCALL_ARG_PTR,
1904 .sy_call = (sy_call_t *)sys_nomodule
1905 }, /* 388 = compat_50___fstat30 */
1906 {
1907 ns(struct compat_50_sys___lstat30_args),
1908 .sy_flags = SYCALL_ARG_PTR,
1909 .sy_call = (sy_call_t *)sys_nomodule
1910 }, /* 389 = compat_50___lstat30 */
1911 {
1912 ns(struct sys___getdents30_args),
1913 .sy_flags = SYCALL_ARG_PTR,
1914 .sy_call = (sy_call_t *)sys___getdents30
1915 }, /* 390 = __getdents30 */
1916 {
1917 .sy_call = (sy_call_t *)(void *)nullop,
1918 }, /* 391 = filler */
1919 {
1920 ns(struct compat_30_sys___fhstat30_args),
1921 .sy_flags = SYCALL_ARG_PTR,
1922 .sy_call = (sy_call_t *)sys_nomodule
1923 }, /* 392 = compat_30___fhstat30 */
1924 {
1925 ns(struct compat_50_sys___ntp_gettime30_args),
1926 .sy_flags = SYCALL_ARG_PTR,
1927 .sy_call = (sy_call_t *)sys_nomodule
1928 }, /* 393 = compat_50___ntp_gettime30 */
1929 {
1930 ns(struct sys___socket30_args),
1931 .sy_call = (sy_call_t *)sys___socket30
1932 }, /* 394 = __socket30 */
1933 {
1934 ns(struct sys___getfh30_args),
1935 .sy_flags = SYCALL_ARG_PTR,
1936 .sy_call = (sy_call_t *)sys___getfh30
1937 }, /* 395 = __getfh30 */
1938 {
1939 ns(struct sys___fhopen40_args),
1940 .sy_flags = SYCALL_ARG_PTR,
1941 .sy_call = (sy_call_t *)sys___fhopen40
1942 }, /* 396 = __fhopen40 */
1943 {
1944 ns(struct compat_90_sys_fhstatvfs1_args),
1945 .sy_flags = SYCALL_ARG_PTR,
1946 .sy_call = (sy_call_t *)sys_nomodule
1947 }, /* 397 = compat_90_fhstatvfs1 */
1948 {
1949 ns(struct compat_50_sys___fhstat40_args),
1950 .sy_flags = SYCALL_ARG_PTR,
1951 .sy_call = (sy_call_t *)sys_nomodule
1952 }, /* 398 = compat_50___fhstat40 */
1953 {
1954 ns(struct sys_aio_cancel_args),
1955 .sy_flags = SYCALL_ARG_PTR,
1956 .sy_call = (sy_call_t *)sys_nomodule
1957 }, /* 399 = aio_cancel */
1958 {
1959 ns(struct sys_aio_error_args),
1960 .sy_flags = SYCALL_ARG_PTR,
1961 .sy_call = (sy_call_t *)sys_nomodule
1962 }, /* 400 = aio_error */
1963 {
1964 ns(struct sys_aio_fsync_args),
1965 .sy_flags = SYCALL_ARG_PTR,
1966 .sy_call = (sy_call_t *)sys_nomodule
1967 }, /* 401 = aio_fsync */
1968 {
1969 ns(struct sys_aio_read_args),
1970 .sy_flags = SYCALL_ARG_PTR,
1971 .sy_call = (sy_call_t *)sys_nomodule
1972 }, /* 402 = aio_read */
1973 {
1974 ns(struct sys_aio_return_args),
1975 .sy_flags = SYCALL_ARG_PTR,
1976 .sy_call = (sy_call_t *)sys_nomodule
1977 }, /* 403 = aio_return */
1978 {
1979 ns(struct compat_50_sys_aio_suspend_args),
1980 .sy_flags = SYCALL_ARG_PTR,
1981 .sy_call = (sy_call_t *)sys_nomodule
1982 }, /* 404 = compat_50_aio_suspend */
1983 {
1984 ns(struct sys_aio_write_args),
1985 .sy_flags = SYCALL_ARG_PTR,
1986 .sy_call = (sy_call_t *)sys_nomodule
1987 }, /* 405 = aio_write */
1988 {
1989 ns(struct sys_lio_listio_args),
1990 .sy_flags = SYCALL_ARG_PTR,
1991 .sy_call = (sy_call_t *)sys_nomodule
1992 }, /* 406 = lio_listio */
1993 {
1994 .sy_call = sys_nosys,
1995 }, /* 407 = filler */
1996 {
1997 .sy_call = sys_nosys,
1998 }, /* 408 = filler */
1999 {
2000 .sy_call = sys_nosys,
2001 }, /* 409 = filler */
2002 {
2003 ns(struct sys___mount50_args),
2004 .sy_flags = SYCALL_ARG_PTR,
2005 .sy_call = (sy_call_t *)sys___mount50
2006 }, /* 410 = __mount50 */
2007 {
2008 ns(struct sys_mremap_args),
2009 .sy_flags = SYCALL_ARG_PTR,
2010 .sy_call = (sy_call_t *)sys_mremap
2011 }, /* 411 = mremap */
2012 {
2013 ns(struct sys_pset_create_args),
2014 .sy_flags = SYCALL_ARG_PTR,
2015 .sy_call = (sy_call_t *)sys_pset_create
2016 }, /* 412 = pset_create */
2017 {
2018 ns(struct sys_pset_destroy_args),
2019 .sy_call = (sy_call_t *)sys_pset_destroy
2020 }, /* 413 = pset_destroy */
2021 {
2022 ns(struct sys_pset_assign_args),
2023 .sy_flags = SYCALL_ARG_PTR,
2024 .sy_call = (sy_call_t *)sys_pset_assign
2025 }, /* 414 = pset_assign */
2026 {
2027 ns(struct sys__pset_bind_args),
2028 .sy_flags = SYCALL_ARG_PTR,
2029 .sy_call = (sy_call_t *)sys__pset_bind
2030 }, /* 415 = _pset_bind */
2031 {
2032 ns(struct sys___posix_fadvise50_args),
2033 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
2034 .sy_call = (sy_call_t *)sys___posix_fadvise50
2035 }, /* 416 = __posix_fadvise50 */
2036 {
2037 ns(struct sys___select50_args),
2038 .sy_flags = SYCALL_ARG_PTR,
2039 .sy_call = (sy_call_t *)sys___select50
2040 }, /* 417 = __select50 */
2041 {
2042 ns(struct sys___gettimeofday50_args),
2043 .sy_flags = SYCALL_ARG_PTR,
2044 .sy_call = (sy_call_t *)sys___gettimeofday50
2045 }, /* 418 = __gettimeofday50 */
2046 {
2047 ns(struct sys___settimeofday50_args),
2048 .sy_flags = SYCALL_ARG_PTR,
2049 .sy_call = (sy_call_t *)sys___settimeofday50
2050 }, /* 419 = __settimeofday50 */
2051 {
2052 ns(struct sys___utimes50_args),
2053 .sy_flags = SYCALL_ARG_PTR,
2054 .sy_call = (sy_call_t *)sys___utimes50
2055 }, /* 420 = __utimes50 */
2056 {
2057 ns(struct sys___adjtime50_args),
2058 .sy_flags = SYCALL_ARG_PTR,
2059 .sy_call = (sy_call_t *)sys___adjtime50
2060 }, /* 421 = __adjtime50 */
2061 {
2062 ns(struct sys___lfs_segwait50_args),
2063 .sy_flags = SYCALL_ARG_PTR,
2064 .sy_call = (sy_call_t *)sys_nomodule
2065 }, /* 422 = __lfs_segwait50 */
2066 {
2067 ns(struct sys___futimes50_args),
2068 .sy_flags = SYCALL_ARG_PTR,
2069 .sy_call = (sy_call_t *)sys___futimes50
2070 }, /* 423 = __futimes50 */
2071 {
2072 ns(struct sys___lutimes50_args),
2073 .sy_flags = SYCALL_ARG_PTR,
2074 .sy_call = (sy_call_t *)sys___lutimes50
2075 }, /* 424 = __lutimes50 */
2076 {
2077 ns(struct sys___setitimer50_args),
2078 .sy_flags = SYCALL_ARG_PTR,
2079 .sy_call = (sy_call_t *)sys___setitimer50
2080 }, /* 425 = __setitimer50 */
2081 {
2082 ns(struct sys___getitimer50_args),
2083 .sy_flags = SYCALL_ARG_PTR,
2084 .sy_call = (sy_call_t *)sys___getitimer50
2085 }, /* 426 = __getitimer50 */
2086 {
2087 ns(struct sys___clock_gettime50_args),
2088 .sy_flags = SYCALL_ARG_PTR,
2089 .sy_call = (sy_call_t *)sys___clock_gettime50
2090 }, /* 427 = __clock_gettime50 */
2091 {
2092 ns(struct sys___clock_settime50_args),
2093 .sy_flags = SYCALL_ARG_PTR,
2094 .sy_call = (sy_call_t *)sys___clock_settime50
2095 }, /* 428 = __clock_settime50 */
2096 {
2097 ns(struct sys___clock_getres50_args),
2098 .sy_flags = SYCALL_ARG_PTR,
2099 .sy_call = (sy_call_t *)sys___clock_getres50
2100 }, /* 429 = __clock_getres50 */
2101 {
2102 ns(struct sys___nanosleep50_args),
2103 .sy_flags = SYCALL_ARG_PTR,
2104 .sy_call = (sy_call_t *)sys___nanosleep50
2105 }, /* 430 = __nanosleep50 */
2106 {
2107 ns(struct sys_____sigtimedwait50_args),
2108 .sy_flags = SYCALL_ARG_PTR,
2109 .sy_call = (sy_call_t *)sys_____sigtimedwait50
2110 }, /* 431 = ____sigtimedwait50 */
2111 {
2112 ns(struct sys___mq_timedsend50_args),
2113 .sy_flags = SYCALL_ARG_PTR,
2114 .sy_call = (sy_call_t *)sys_nomodule
2115 }, /* 432 = __mq_timedsend50 */
2116 {
2117 ns(struct sys___mq_timedreceive50_args),
2118 .sy_flags = SYCALL_ARG_PTR,
2119 .sy_call = (sy_call_t *)sys_nomodule
2120 }, /* 433 = __mq_timedreceive50 */
2121 {
2122 ns(struct compat_60_sys__lwp_park_args),
2123 .sy_flags = SYCALL_ARG_PTR,
2124 .sy_call = (sy_call_t *)sys_nomodule
2125 }, /* 434 = compat_60__lwp_park */
2126 {
2127 ns(struct compat_100_sys___kevent50_args),
2128 .sy_flags = SYCALL_ARG_PTR,
2129 .sy_call = (sy_call_t *)sys_nomodule
2130 }, /* 435 = compat_100___kevent50 */
2131 {
2132 ns(struct sys___pselect50_args),
2133 .sy_flags = SYCALL_ARG_PTR,
2134 .sy_call = (sy_call_t *)sys___pselect50
2135 }, /* 436 = __pselect50 */
2136 {
2137 ns(struct sys___pollts50_args),
2138 .sy_flags = SYCALL_ARG_PTR,
2139 .sy_call = (sy_call_t *)sys___pollts50
2140 }, /* 437 = __pollts50 */
2141 {
2142 ns(struct sys___aio_suspend50_args),
2143 .sy_flags = SYCALL_ARG_PTR,
2144 .sy_call = (sy_call_t *)sys_nomodule
2145 }, /* 438 = __aio_suspend50 */
2146 {
2147 ns(struct sys___stat50_args),
2148 .sy_flags = SYCALL_ARG_PTR,
2149 .sy_call = (sy_call_t *)sys___stat50
2150 }, /* 439 = __stat50 */
2151 {
2152 ns(struct sys___fstat50_args),
2153 .sy_flags = SYCALL_ARG_PTR,
2154 .sy_call = (sy_call_t *)sys___fstat50
2155 }, /* 440 = __fstat50 */
2156 {
2157 ns(struct sys___lstat50_args),
2158 .sy_flags = SYCALL_ARG_PTR,
2159 .sy_call = (sy_call_t *)sys___lstat50
2160 }, /* 441 = __lstat50 */
2161 {
2162 ns(struct sys_____semctl50_args),
2163 .sy_flags = SYCALL_ARG_PTR,
2164 .sy_call = (sy_call_t *)sys_nomodule
2165 }, /* 442 = ____semctl50 */
2166 {
2167 ns(struct sys___shmctl50_args),
2168 .sy_flags = SYCALL_ARG_PTR,
2169 .sy_call = (sy_call_t *)sys_nomodule
2170 }, /* 443 = __shmctl50 */
2171 {
2172 ns(struct sys___msgctl50_args),
2173 .sy_flags = SYCALL_ARG_PTR,
2174 .sy_call = (sy_call_t *)sys_nomodule
2175 }, /* 444 = __msgctl50 */
2176 {
2177 ns(struct sys___getrusage50_args),
2178 .sy_flags = SYCALL_ARG_PTR,
2179 .sy_call = (sy_call_t *)sys___getrusage50
2180 }, /* 445 = __getrusage50 */
2181 {
2182 ns(struct sys___timer_settime50_args),
2183 .sy_flags = SYCALL_ARG_PTR,
2184 .sy_call = (sy_call_t *)sys___timer_settime50
2185 }, /* 446 = __timer_settime50 */
2186 {
2187 ns(struct sys___timer_gettime50_args),
2188 .sy_flags = SYCALL_ARG_PTR,
2189 .sy_call = (sy_call_t *)sys___timer_gettime50
2190 }, /* 447 = __timer_gettime50 */
2191 #if defined(NTP) || !defined(_KERNEL_OPT)
2192 {
2193 ns(struct sys___ntp_gettime50_args),
2194 .sy_flags = SYCALL_ARG_PTR,
2195 .sy_call = (sy_call_t *)sys___ntp_gettime50
2196 }, /* 448 = __ntp_gettime50 */
2197 #else
2198 {
2199 .sy_call = sys_nosys,
2200 }, /* 448 = filler */
2201 #endif
2202 {
2203 ns(struct sys___wait450_args),
2204 .sy_flags = SYCALL_ARG_PTR,
2205 .sy_call = (sy_call_t *)sys___wait450
2206 }, /* 449 = __wait450 */
2207 {
2208 ns(struct sys___mknod50_args),
2209 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_ARG_PTR,
2210 .sy_call = (sy_call_t *)sys___mknod50
2211 }, /* 450 = __mknod50 */
2212 {
2213 ns(struct sys___fhstat50_args),
2214 .sy_flags = SYCALL_ARG_PTR,
2215 .sy_call = (sy_call_t *)sys___fhstat50
2216 }, /* 451 = __fhstat50 */
2217 {
2218 .sy_call = sys_nosys,
2219 }, /* 452 = filler */
2220 {
2221 ns(struct sys_pipe2_args),
2222 .sy_flags = SYCALL_ARG_PTR,
2223 .sy_call = (sy_call_t *)sys_pipe2
2224 }, /* 453 = pipe2 */
2225 {
2226 ns(struct compat_100_sys_dup3_args),
2227 .sy_call = (sy_call_t *)sys_nomodule
2228 }, /* 454 = compat_100_dup3 */
2229 {
2230 ns(struct sys_kqueue1_args),
2231 .sy_call = (sy_call_t *)sys_kqueue1
2232 }, /* 455 = kqueue1 */
2233 {
2234 ns(struct sys_paccept_args),
2235 .sy_flags = SYCALL_ARG_PTR,
2236 .sy_call = (sy_call_t *)sys_paccept
2237 }, /* 456 = paccept */
2238 {
2239 ns(struct sys_linkat_args),
2240 .sy_flags = SYCALL_ARG_PTR,
2241 .sy_call = (sy_call_t *)sys_linkat
2242 }, /* 457 = linkat */
2243 {
2244 ns(struct sys_renameat_args),
2245 .sy_flags = SYCALL_ARG_PTR,
2246 .sy_call = (sy_call_t *)sys_renameat
2247 }, /* 458 = renameat */
2248 {
2249 ns(struct sys_mkfifoat_args),
2250 .sy_flags = SYCALL_ARG_PTR,
2251 .sy_call = (sy_call_t *)sys_mkfifoat
2252 }, /* 459 = mkfifoat */
2253 {
2254 ns(struct sys_mknodat_args),
2255 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR,
2256 .sy_call = (sy_call_t *)sys_mknodat
2257 }, /* 460 = mknodat */
2258 {
2259 ns(struct sys_mkdirat_args),
2260 .sy_flags = SYCALL_ARG_PTR,
2261 .sy_call = (sy_call_t *)sys_mkdirat
2262 }, /* 461 = mkdirat */
2263 {
2264 ns(struct sys_faccessat_args),
2265 .sy_flags = SYCALL_ARG_PTR,
2266 .sy_call = (sy_call_t *)sys_faccessat
2267 }, /* 462 = faccessat */
2268 {
2269 ns(struct sys_fchmodat_args),
2270 .sy_flags = SYCALL_ARG_PTR,
2271 .sy_call = (sy_call_t *)sys_fchmodat
2272 }, /* 463 = fchmodat */
2273 {
2274 ns(struct sys_fchownat_args),
2275 .sy_flags = SYCALL_ARG_PTR,
2276 .sy_call = (sy_call_t *)sys_fchownat
2277 }, /* 464 = fchownat */
2278 {
2279 ns(struct sys_fexecve_args),
2280 .sy_flags = SYCALL_ARG_PTR,
2281 .sy_call = (sy_call_t *)sys_fexecve
2282 }, /* 465 = fexecve */
2283 {
2284 ns(struct sys_fstatat_args),
2285 .sy_flags = SYCALL_ARG_PTR,
2286 .sy_call = (sy_call_t *)sys_fstatat
2287 }, /* 466 = fstatat */
2288 {
2289 ns(struct sys_utimensat_args),
2290 .sy_flags = SYCALL_ARG_PTR,
2291 .sy_call = (sy_call_t *)sys_utimensat
2292 }, /* 467 = utimensat */
2293 {
2294 ns(struct sys_openat_args),
2295 .sy_flags = SYCALL_ARG_PTR,
2296 .sy_call = (sy_call_t *)sys_openat
2297 }, /* 468 = openat */
2298 {
2299 ns(struct sys_readlinkat_args),
2300 .sy_flags = SYCALL_ARG_PTR,
2301 .sy_call = (sy_call_t *)sys_readlinkat
2302 }, /* 469 = readlinkat */
2303 {
2304 ns(struct sys_symlinkat_args),
2305 .sy_flags = SYCALL_ARG_PTR,
2306 .sy_call = (sy_call_t *)sys_symlinkat
2307 }, /* 470 = symlinkat */
2308 {
2309 ns(struct sys_unlinkat_args),
2310 .sy_flags = SYCALL_ARG_PTR,
2311 .sy_call = (sy_call_t *)sys_unlinkat
2312 }, /* 471 = unlinkat */
2313 {
2314 ns(struct sys_futimens_args),
2315 .sy_flags = SYCALL_ARG_PTR,
2316 .sy_call = (sy_call_t *)sys_futimens
2317 }, /* 472 = futimens */
2318 {
2319 ns(struct sys___quotactl_args),
2320 .sy_flags = SYCALL_ARG_PTR,
2321 .sy_call = (sy_call_t *)sys___quotactl
2322 }, /* 473 = __quotactl */
2323 {
2324 ns(struct sys_posix_spawn_args),
2325 .sy_flags = SYCALL_ARG_PTR,
2326 .sy_call = (sy_call_t *)sys_posix_spawn
2327 }, /* 474 = posix_spawn */
2328 {
2329 ns(struct sys_recvmmsg_args),
2330 .sy_flags = SYCALL_ARG_PTR,
2331 .sy_call = (sy_call_t *)sys_recvmmsg
2332 }, /* 475 = recvmmsg */
2333 {
2334 ns(struct sys_sendmmsg_args),
2335 .sy_flags = SYCALL_ARG_PTR,
2336 .sy_call = (sy_call_t *)sys_sendmmsg
2337 }, /* 476 = sendmmsg */
2338 {
2339 ns(struct sys_clock_nanosleep_args),
2340 .sy_flags = SYCALL_ARG_PTR,
2341 .sy_call = (sy_call_t *)sys_clock_nanosleep
2342 }, /* 477 = clock_nanosleep */
2343 {
2344 ns(struct sys____lwp_park60_args),
2345 .sy_flags = SYCALL_ARG_PTR,
2346 .sy_call = (sy_call_t *)sys____lwp_park60
2347 }, /* 478 = ___lwp_park60 */
2348 {
2349 ns(struct sys_posix_fallocate_args),
2350 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
2351 .sy_call = (sy_call_t *)sys_posix_fallocate
2352 }, /* 479 = posix_fallocate */
2353 {
2354 ns(struct sys_fdiscard_args),
2355 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
2356 .sy_call = (sy_call_t *)sys_fdiscard
2357 }, /* 480 = fdiscard */
2358 {
2359 ns(struct sys_wait6_args),
2360 .sy_flags = SYCALL_ARG_PTR,
2361 .sy_call = (sy_call_t *)sys_wait6
2362 }, /* 481 = wait6 */
2363 {
2364 ns(struct sys_clock_getcpuclockid2_args),
2365 .sy_flags = SYCALL_ARG_PTR,
2366 .sy_call = (sy_call_t *)sys_clock_getcpuclockid2
2367 }, /* 482 = clock_getcpuclockid2 */
2368 {
2369 ns(struct sys___getvfsstat90_args),
2370 .sy_flags = SYCALL_ARG_PTR,
2371 .sy_call = (sy_call_t *)sys___getvfsstat90
2372 }, /* 483 = __getvfsstat90 */
2373 {
2374 ns(struct sys___statvfs190_args),
2375 .sy_flags = SYCALL_ARG_PTR,
2376 .sy_call = (sy_call_t *)sys___statvfs190
2377 }, /* 484 = __statvfs190 */
2378 {
2379 ns(struct sys___fstatvfs190_args),
2380 .sy_flags = SYCALL_ARG_PTR,
2381 .sy_call = (sy_call_t *)sys___fstatvfs190
2382 }, /* 485 = __fstatvfs190 */
2383 {
2384 ns(struct sys___fhstatvfs190_args),
2385 .sy_flags = SYCALL_ARG_PTR,
2386 .sy_call = (sy_call_t *)sys___fhstatvfs190
2387 }, /* 486 = __fhstatvfs190 */
2388 {
2389 ns(struct sys___acl_get_link_args),
2390 .sy_flags = SYCALL_ARG_PTR,
2391 .sy_call = (sy_call_t *)sys___acl_get_link
2392 }, /* 487 = __acl_get_link */
2393 {
2394 ns(struct sys___acl_set_link_args),
2395 .sy_flags = SYCALL_ARG_PTR,
2396 .sy_call = (sy_call_t *)sys___acl_set_link
2397 }, /* 488 = __acl_set_link */
2398 {
2399 ns(struct sys___acl_delete_link_args),
2400 .sy_flags = SYCALL_ARG_PTR,
2401 .sy_call = (sy_call_t *)sys___acl_delete_link
2402 }, /* 489 = __acl_delete_link */
2403 {
2404 ns(struct sys___acl_aclcheck_link_args),
2405 .sy_flags = SYCALL_ARG_PTR,
2406 .sy_call = (sy_call_t *)sys___acl_aclcheck_link
2407 }, /* 490 = __acl_aclcheck_link */
2408 {
2409 ns(struct sys___acl_get_file_args),
2410 .sy_flags = SYCALL_ARG_PTR,
2411 .sy_call = (sy_call_t *)sys___acl_get_file
2412 }, /* 491 = __acl_get_file */
2413 {
2414 ns(struct sys___acl_set_file_args),
2415 .sy_flags = SYCALL_ARG_PTR,
2416 .sy_call = (sy_call_t *)sys___acl_set_file
2417 }, /* 492 = __acl_set_file */
2418 {
2419 ns(struct sys___acl_get_fd_args),
2420 .sy_flags = SYCALL_ARG_PTR,
2421 .sy_call = (sy_call_t *)sys___acl_get_fd
2422 }, /* 493 = __acl_get_fd */
2423 {
2424 ns(struct sys___acl_set_fd_args),
2425 .sy_flags = SYCALL_ARG_PTR,
2426 .sy_call = (sy_call_t *)sys___acl_set_fd
2427 }, /* 494 = __acl_set_fd */
2428 {
2429 ns(struct sys___acl_delete_file_args),
2430 .sy_flags = SYCALL_ARG_PTR,
2431 .sy_call = (sy_call_t *)sys___acl_delete_file
2432 }, /* 495 = __acl_delete_file */
2433 {
2434 ns(struct sys___acl_delete_fd_args),
2435 .sy_call = (sy_call_t *)sys___acl_delete_fd
2436 }, /* 496 = __acl_delete_fd */
2437 {
2438 ns(struct sys___acl_aclcheck_file_args),
2439 .sy_flags = SYCALL_ARG_PTR,
2440 .sy_call = (sy_call_t *)sys___acl_aclcheck_file
2441 }, /* 497 = __acl_aclcheck_file */
2442 {
2443 ns(struct sys___acl_aclcheck_fd_args),
2444 .sy_flags = SYCALL_ARG_PTR,
2445 .sy_call = (sy_call_t *)sys___acl_aclcheck_fd
2446 }, /* 498 = __acl_aclcheck_fd */
2447 {
2448 ns(struct sys_lpathconf_args),
2449 .sy_flags = SYCALL_ARG_PTR,
2450 .sy_call = (sy_call_t *)sys_lpathconf
2451 }, /* 499 = lpathconf */
2452 {
2453 ns(struct sys_memfd_create_args),
2454 .sy_flags = SYCALL_ARG_PTR,
2455 .sy_call = (sy_call_t *)sys_memfd_create
2456 }, /* 500 = memfd_create */
2457 {
2458 ns(struct sys___kevent100_args),
2459 .sy_flags = SYCALL_ARG_PTR,
2460 .sy_call = (sy_call_t *)sys___kevent100
2461 }, /* 501 = __kevent100 */
2462 {
2463 ns(struct sys_epoll_create1_args),
2464 .sy_call = (sy_call_t *)sys_epoll_create1
2465 }, /* 502 = epoll_create1 */
2466 {
2467 ns(struct sys_epoll_ctl_args),
2468 .sy_flags = SYCALL_ARG_PTR,
2469 .sy_call = (sy_call_t *)sys_epoll_ctl
2470 }, /* 503 = epoll_ctl */
2471 {
2472 ns(struct sys_epoll_pwait2_args),
2473 .sy_flags = SYCALL_ARG_PTR,
2474 .sy_call = (sy_call_t *)sys_epoll_pwait2
2475 }, /* 504 = epoll_pwait2 */
2476 {
2477 ns(struct sys___dup3100_args),
2478 .sy_call = (sy_call_t *)sys___dup3100
2479 }, /* 505 = __dup3100 */
2480 {
2481 ns(struct sys_semtimedop_args),
2482 .sy_flags = SYCALL_ARG_PTR,
2483 .sy_call = (sy_call_t *)sys_nomodule
2484 }, /* 506 = semtimedop */
2485 {
2486 .sy_call = sys_nosys,
2487 }, /* 507 = filler */
2488 {
2489 .sy_call = sys_nosys,
2490 }, /* 508 = filler */
2491 {
2492 .sy_call = sys_nosys,
2493 }, /* 509 = filler */
2494 {
2495 .sy_call = sys_nosys,
2496 }, /* 510 = filler */
2497 {
2498 .sy_call = sys_nosys,
2499 }, /* 511 = filler */
2500 };
2501
2502 const uint32_t sysent_nomodbits[] = {
2503 0x042c4180, /* syscalls 0- 31 */
2504 0xc0b14140, /* syscalls 32- 63 */
2505 0x23f80083, /* syscalls 64- 95 */
2506 0x2437f0ea, /* syscalls 96-127 */
2507 0x7877f406, /* syscalls 128-159 */
2508 0x7f008e1e, /* syscalls 160-191 */
2509 0xf0044010, /* syscalls 192-223 */
2510 0xff9167ff, /* syscalls 224-255 */
2511 0x01d107ff, /* syscalls 256-287 */
2512 0x0000fc88, /* syscalls 288-319 */
2513 0x0200fc01, /* syscalls 320-351 */
2514 0x006000f0, /* syscalls 352-383 */
2515 0x007fe338, /* syscalls 384-415 */
2516 0x1c4f0040, /* syscalls 416-447 */
2517 0x00000040, /* syscalls 448-479 */
2518 0x04000000, /* syscalls 480-511 */
2519 };
2520