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