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