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