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