xref: /netbsd-src/sys/compat/sunos/sunos_sysent.c (revision c76c80443438c67854ae3b65e7bd79b3391cffab)
1*c76c8044Sdholland /* $NetBSD: sunos_sysent.c,v 1.94 2020/06/11 03:47:05 dholland Exp $ */
280fff795Sthorpej 
34588caefSderaadt /*
44588caefSderaadt  * System call switch table.
54588caefSderaadt  *
64588caefSderaadt  * DO NOT EDIT-- this file is automatically generated.
7*c76c8044Sdholland  * created from	NetBSD: syscalls.master,v 1.82 2019/09/23 20:42:29 christos Exp
84588caefSderaadt  */
94588caefSderaadt 
10dab6ef8bSlukem #include <sys/cdefs.h>
11*c76c8044Sdholland __KERNEL_RCSID(0, "$NetBSD: sunos_sysent.c,v 1.94 2020/06/11 03:47:05 dholland Exp $");
12dab6ef8bSlukem 
136a89288aSmrg #if defined(_KERNEL_OPT)
1479239684Stron #include "opt_sysv.h"
156626f506Sjdolecek #endif
164588caefSderaadt #include <sys/param.h>
174588caefSderaadt #include <sys/systm.h>
18b9771ef7Schristos #include <sys/signal.h>
19b9771ef7Schristos #include <sys/mount.h>
20264dd475Smycroft #include <sys/poll.h>
21d7d2a525Stsutsui #include <sys/sched.h>
22b9771ef7Schristos #include <sys/syscallargs.h>
23b9771ef7Schristos #include <compat/sunos/sunos.h>
24b9771ef7Schristos #include <compat/sunos/sunos_syscallargs.h>
2555c46e95Smycroft 
26b9771ef7Schristos #define	s(type)	sizeof(type)
276fb2884cSdsl #define	n(type)	(sizeof(type)/sizeof (register_t))
289451a2b9Schristos #define	ns(type)	.sy_narg = n(type), .sy_argsize = s(type)
29b9771ef7Schristos 
30b9771ef7Schristos struct sysent sunos_sysent[] = {
319451a2b9Schristos 	{
329451a2b9Schristos 		.sy_call = (sy_call_t *)sys_nosys
339451a2b9Schristos 	},		/* 0 = syscall */
349451a2b9Schristos 	{
359451a2b9Schristos 		ns(struct sys_exit_args),
369451a2b9Schristos 		.sy_call = (sy_call_t *)sys_exit
379451a2b9Schristos 	},		/* 1 = exit */
389451a2b9Schristos 	{
399451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fork
409451a2b9Schristos 	},		/* 2 = fork */
419451a2b9Schristos 	{
429451a2b9Schristos 		ns(struct sys_read_args),
439451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
449451a2b9Schristos 		.sy_call = (sy_call_t *)sys_read
459451a2b9Schristos 	},		/* 3 = read */
469451a2b9Schristos 	{
479451a2b9Schristos 		ns(struct sys_write_args),
489451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
499451a2b9Schristos 		.sy_call = (sy_call_t *)sys_write
509451a2b9Schristos 	},		/* 4 = write */
519451a2b9Schristos 	{
529451a2b9Schristos 		ns(struct sunos_sys_open_args),
539451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
549451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_open
559451a2b9Schristos 	},		/* 5 = open */
569451a2b9Schristos 	{
579451a2b9Schristos 		ns(struct sys_close_args),
589451a2b9Schristos 		.sy_call = (sy_call_t *)sys_close
599451a2b9Schristos 	},		/* 6 = close */
609451a2b9Schristos 	{
619451a2b9Schristos 		ns(struct sunos_sys_wait4_args),
629451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
639451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_wait4
649451a2b9Schristos 	},		/* 7 = wait4 */
659451a2b9Schristos 	{
669451a2b9Schristos 		ns(struct sunos_sys_creat_args),
679451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
689451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_creat
699451a2b9Schristos 	},		/* 8 = creat */
709451a2b9Schristos 	{
719451a2b9Schristos 		ns(struct sys_link_args),
729451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
739451a2b9Schristos 		.sy_call = (sy_call_t *)sys_link
749451a2b9Schristos 	},		/* 9 = link */
759451a2b9Schristos 	{
769451a2b9Schristos 		ns(struct sys_unlink_args),
779451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
789451a2b9Schristos 		.sy_call = (sy_call_t *)sys_unlink
799451a2b9Schristos 	},		/* 10 = unlink */
809451a2b9Schristos 	{
819451a2b9Schristos 		ns(struct sunos_sys_execv_args),
829451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
839451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_execv
849451a2b9Schristos 	},		/* 11 = execv */
859451a2b9Schristos 	{
869451a2b9Schristos 		ns(struct sys_chdir_args),
879451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
889451a2b9Schristos 		.sy_call = (sy_call_t *)sys_chdir
899451a2b9Schristos 	},		/* 12 = chdir */
909451a2b9Schristos 	{
919451a2b9Schristos 		.sy_call = sys_nosys,
929451a2b9Schristos 	},		/* 13 = filler */
939451a2b9Schristos 	{
949451a2b9Schristos 		ns(struct sunos_sys_mknod_args),
959451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
969451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_mknod
979451a2b9Schristos 	},		/* 14 = mknod */
989451a2b9Schristos 	{
999451a2b9Schristos 		ns(struct sys_chmod_args),
1009451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1019451a2b9Schristos 		.sy_call = (sy_call_t *)sys_chmod
1029451a2b9Schristos 	},		/* 15 = chmod */
1039451a2b9Schristos 	{
1049451a2b9Schristos 		ns(struct sys_chown_args),
1059451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1069451a2b9Schristos 		.sy_call = (sy_call_t *)sys_chown
1079451a2b9Schristos 	},		/* 16 = chown */
1089451a2b9Schristos 	{
1099451a2b9Schristos 		ns(struct sys_obreak_args),
1109451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1119451a2b9Schristos 		.sy_call = (sy_call_t *)sys_obreak
1129451a2b9Schristos 	},		/* 17 = break */
1139451a2b9Schristos 	{
1149451a2b9Schristos 		.sy_call = sys_nosys,
1159451a2b9Schristos 	},		/* 18 = filler */
1169451a2b9Schristos 	{
1179451a2b9Schristos 		ns(struct compat_43_sys_lseek_args),
1189451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_lseek
1199451a2b9Schristos 	},		/* 19 = lseek */
1209451a2b9Schristos 	{
1219451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getpid_with_ppid
1229451a2b9Schristos 	},		/* 20 = getpid_with_ppid */
1239451a2b9Schristos 	{
1249451a2b9Schristos 		.sy_call = sys_nosys,
1259451a2b9Schristos 	},		/* 21 = filler */
1269451a2b9Schristos 	{
1279451a2b9Schristos 		.sy_call = sys_nosys,
1289451a2b9Schristos 	},		/* 22 = filler */
1299451a2b9Schristos 	{
1309451a2b9Schristos 		ns(struct sys_setuid_args),
1319451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setuid
1329451a2b9Schristos 	},		/* 23 = setuid */
1339451a2b9Schristos 	{
1349451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getuid_with_euid
1359451a2b9Schristos 	},		/* 24 = getuid_with_euid */
1369451a2b9Schristos 	{
1379451a2b9Schristos 		ns(struct sunos_sys_stime_args),
1389451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1399451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_stime
1409451a2b9Schristos 	},		/* 25 = stime */
1419451a2b9Schristos 	{
1429451a2b9Schristos 		ns(struct sunos_sys_ptrace_args),
1439451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1449451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_ptrace
1459451a2b9Schristos 	},		/* 26 = ptrace */
1469451a2b9Schristos 	{
1479451a2b9Schristos 		.sy_call = sys_nosys,
1489451a2b9Schristos 	},		/* 27 = filler */
1499451a2b9Schristos 	{
1509451a2b9Schristos 		.sy_call = sys_nosys,
1519451a2b9Schristos 	},		/* 28 = filler */
1529451a2b9Schristos 	{
1539451a2b9Schristos 		.sy_call = sys_nosys,
1549451a2b9Schristos 	},		/* 29 = filler */
1559451a2b9Schristos 	{
1569451a2b9Schristos 		.sy_call = sys_nosys,
1579451a2b9Schristos 	},		/* 30 = filler */
1589451a2b9Schristos 	{
1599451a2b9Schristos 		.sy_call = sys_nosys,
1609451a2b9Schristos 	},		/* 31 = filler */
1619451a2b9Schristos 	{
1629451a2b9Schristos 		.sy_call = sys_nosys,
1639451a2b9Schristos 	},		/* 32 = filler */
1649451a2b9Schristos 	{
1659451a2b9Schristos 		ns(struct sys_access_args),
1669451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1679451a2b9Schristos 		.sy_call = (sy_call_t *)sys_access
1689451a2b9Schristos 	},		/* 33 = access */
1699451a2b9Schristos 	{
1709451a2b9Schristos 		.sy_call = sys_nosys,
1719451a2b9Schristos 	},		/* 34 = filler */
1729451a2b9Schristos 	{
1739451a2b9Schristos 		.sy_call = sys_nosys,
1749451a2b9Schristos 	},		/* 35 = filler */
1759451a2b9Schristos 	{
1769451a2b9Schristos 		.sy_call = (sy_call_t *)sys_sync
1779451a2b9Schristos 	},		/* 36 = sync */
1789451a2b9Schristos 	{
1799451a2b9Schristos 		ns(struct sys_kill_args),
1809451a2b9Schristos 		.sy_call = (sy_call_t *)sys_kill
1819451a2b9Schristos 	},		/* 37 = kill */
1829451a2b9Schristos 	{
1839451a2b9Schristos 		ns(struct compat_43_sys_stat_args),
1849451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1859451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_stat
1869451a2b9Schristos 	},		/* 38 = stat */
1879451a2b9Schristos 	{
1889451a2b9Schristos 		.sy_call = sys_nosys,
1899451a2b9Schristos 	},		/* 39 = filler */
1909451a2b9Schristos 	{
1919451a2b9Schristos 		ns(struct compat_43_sys_lstat_args),
1929451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
1939451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_lstat
1949451a2b9Schristos 	},		/* 40 = lstat */
1959451a2b9Schristos 	{
1969451a2b9Schristos 		ns(struct sys_dup_args),
1979451a2b9Schristos 		.sy_call = (sy_call_t *)sys_dup
1989451a2b9Schristos 	},		/* 41 = dup */
1999451a2b9Schristos 	{
2009451a2b9Schristos 		.sy_call = (sy_call_t *)sys_pipe
2019451a2b9Schristos 	},		/* 42 = pipe */
2029451a2b9Schristos 	{
2039451a2b9Schristos 		.sy_call = sys_nosys,
2049451a2b9Schristos 	},		/* 43 = filler */
2059451a2b9Schristos 	{
2069451a2b9Schristos 		ns(struct sys_profil_args),
2079451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2089451a2b9Schristos 		.sy_call = (sy_call_t *)sys_profil
2099451a2b9Schristos 	},		/* 44 = profil */
2109451a2b9Schristos 	{
2119451a2b9Schristos 		.sy_call = sys_nosys,
2129451a2b9Schristos 	},		/* 45 = filler */
2139451a2b9Schristos 	{
2149451a2b9Schristos 		ns(struct sys_setgid_args),
2159451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setgid
2169451a2b9Schristos 	},		/* 46 = setgid */
2179451a2b9Schristos 	{
2189451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getgid_with_egid
2199451a2b9Schristos 	},		/* 47 = getgid_with_egid */
2209451a2b9Schristos 	{
2219451a2b9Schristos 		.sy_call = sys_nosys,
2229451a2b9Schristos 	},		/* 48 = filler */
2239451a2b9Schristos 	{
2249451a2b9Schristos 		.sy_call = sys_nosys,
2259451a2b9Schristos 	},		/* 49 = filler */
2269451a2b9Schristos 	{
2279451a2b9Schristos 		.sy_call = sys_nosys,
2289451a2b9Schristos 	},		/* 50 = filler */
2299451a2b9Schristos 	{
2309451a2b9Schristos 		ns(struct sys_acct_args),
2319451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2329451a2b9Schristos 		.sy_call = (sy_call_t *)sys_acct
2339451a2b9Schristos 	},		/* 51 = acct */
2349451a2b9Schristos 	{
2359451a2b9Schristos 		.sy_call = sys_nosys,
2369451a2b9Schristos 	},		/* 52 = filler */
2379451a2b9Schristos 	{
2389451a2b9Schristos 		ns(struct sunos_sys_mctl_args),
2399451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2409451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_mctl
2419451a2b9Schristos 	},		/* 53 = mctl */
2429451a2b9Schristos 	{
2439451a2b9Schristos 		ns(struct sunos_sys_ioctl_args),
2449451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2459451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_ioctl
2469451a2b9Schristos 	},		/* 54 = ioctl */
2479451a2b9Schristos 	{
2489451a2b9Schristos 		ns(struct sunos_sys_reboot_args),
2499451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2509451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_reboot
2519451a2b9Schristos 	},		/* 55 = reboot */
2529451a2b9Schristos 	{
2539451a2b9Schristos 		.sy_call = sys_nosys,
2549451a2b9Schristos 	},		/* 56 = filler */
2559451a2b9Schristos 	{
2569451a2b9Schristos 		ns(struct sys_symlink_args),
2579451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2589451a2b9Schristos 		.sy_call = (sy_call_t *)sys_symlink
2599451a2b9Schristos 	},		/* 57 = symlink */
2609451a2b9Schristos 	{
2619451a2b9Schristos 		ns(struct sys_readlink_args),
2629451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2639451a2b9Schristos 		.sy_call = (sy_call_t *)sys_readlink
2649451a2b9Schristos 	},		/* 58 = readlink */
2659451a2b9Schristos 	{
2669451a2b9Schristos 		ns(struct sunos_sys_execve_args),
2679451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2689451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_execve
2699451a2b9Schristos 	},		/* 59 = execve */
2709451a2b9Schristos 	{
2719451a2b9Schristos 		ns(struct sys_umask_args),
2729451a2b9Schristos 		.sy_call = (sy_call_t *)sys_umask
2739451a2b9Schristos 	},		/* 60 = umask */
2749451a2b9Schristos 	{
2759451a2b9Schristos 		ns(struct sys_chroot_args),
2769451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2779451a2b9Schristos 		.sy_call = (sy_call_t *)sys_chroot
2789451a2b9Schristos 	},		/* 61 = chroot */
2799451a2b9Schristos 	{
2809451a2b9Schristos 		ns(struct compat_43_sys_fstat_args),
2819451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2829451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_fstat
2839451a2b9Schristos 	},		/* 62 = fstat */
2849451a2b9Schristos 	{
2859451a2b9Schristos 		.sy_call = sys_nosys,
2869451a2b9Schristos 	},		/* 63 = filler */
2879451a2b9Schristos 	{
2889451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_getpagesize
2899451a2b9Schristos 	},		/* 64 = getpagesize */
2909451a2b9Schristos 	{
2919451a2b9Schristos 		ns(struct sunos_sys_omsync_args),
2929451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
2939451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_omsync
2949451a2b9Schristos 	},		/* 65 = omsync */
2959451a2b9Schristos 	{
2969451a2b9Schristos 		.sy_call = (sy_call_t *)sys_vfork
2979451a2b9Schristos 	},		/* 66 = vfork */
2989451a2b9Schristos 	{
2999451a2b9Schristos 		.sy_call = sys_nosys,
3009451a2b9Schristos 	},		/* 67 = filler */
3019451a2b9Schristos 	{
3029451a2b9Schristos 		.sy_call = sys_nosys,
3039451a2b9Schristos 	},		/* 68 = filler */
3049451a2b9Schristos 	{
30593b13730Skamil 		.sy_call = sys_nosys,
30693b13730Skamil 	},		/* 69 = filler */
3079451a2b9Schristos 	{
308688d12a3Skamil 		.sy_call = sys_nosys,
309688d12a3Skamil 	},		/* 70 = filler */
3109451a2b9Schristos 	{
3119451a2b9Schristos 		ns(struct sunos_sys_mmap_args),
3129451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3139451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_mmap
3149451a2b9Schristos 	},		/* 71 = mmap */
3159451a2b9Schristos 	{
316f98f70a7Skamil 		ns(struct sys_ovadvise_args),
317f98f70a7Skamil 		.sy_call = (sy_call_t *)sys_ovadvise
318f98f70a7Skamil 	},		/* 72 = vadvise */
3199451a2b9Schristos 	{
3209451a2b9Schristos 		ns(struct sys_munmap_args),
3219451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3229451a2b9Schristos 		.sy_call = (sy_call_t *)sys_munmap
3239451a2b9Schristos 	},		/* 73 = munmap */
3249451a2b9Schristos 	{
3259451a2b9Schristos 		ns(struct sys_mprotect_args),
3269451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3279451a2b9Schristos 		.sy_call = (sy_call_t *)sys_mprotect
3289451a2b9Schristos 	},		/* 74 = mprotect */
3299451a2b9Schristos 	{
3309451a2b9Schristos 		ns(struct sys_madvise_args),
3319451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3329451a2b9Schristos 		.sy_call = (sy_call_t *)sys_madvise
3339451a2b9Schristos 	},		/* 75 = madvise */
3349451a2b9Schristos 	{
3359451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_vhangup
3369451a2b9Schristos 	},		/* 76 = vhangup */
3379451a2b9Schristos 	{
3389451a2b9Schristos 		.sy_call = sys_nosys,
3399451a2b9Schristos 	},		/* 77 = filler */
3409451a2b9Schristos 	{
3419451a2b9Schristos 		ns(struct sys_mincore_args),
3429451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3439451a2b9Schristos 		.sy_call = (sy_call_t *)sys_mincore
3449451a2b9Schristos 	},		/* 78 = mincore */
3459451a2b9Schristos 	{
3469451a2b9Schristos 		ns(struct sys_getgroups_args),
3479451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3489451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getgroups
3499451a2b9Schristos 	},		/* 79 = getgroups */
3509451a2b9Schristos 	{
3519451a2b9Schristos 		ns(struct sys_setgroups_args),
3529451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3539451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setgroups
3549451a2b9Schristos 	},		/* 80 = setgroups */
3559451a2b9Schristos 	{
3569451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getpgrp
3579451a2b9Schristos 	},		/* 81 = getpgrp */
3589451a2b9Schristos 	{
3599451a2b9Schristos 		ns(struct sunos_sys_setpgrp_args),
3609451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_setpgrp
3619451a2b9Schristos 	},		/* 82 = setpgrp */
3629451a2b9Schristos 	{
3639451a2b9Schristos 		ns(struct compat_50_sys_setitimer_args),
3649451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3659451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_setitimer
3669451a2b9Schristos 	},		/* 83 = setitimer */
3679451a2b9Schristos 	{
3689451a2b9Schristos 		.sy_call = sys_nosys,
3699451a2b9Schristos 	},		/* 84 = filler */
3709451a2b9Schristos 	{
3719451a2b9Schristos 		ns(struct compat_12_sys_swapon_args),
3729451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3739451a2b9Schristos 		.sy_call = (sy_call_t *)compat_12_sys_swapon
3749451a2b9Schristos 	},		/* 85 = swapon */
3759451a2b9Schristos 	{
3769451a2b9Schristos 		ns(struct compat_50_sys_getitimer_args),
3779451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3789451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_getitimer
3799451a2b9Schristos 	},		/* 86 = getitimer */
3809451a2b9Schristos 	{
3819451a2b9Schristos 		ns(struct compat_43_sys_gethostname_args),
3829451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3839451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_gethostname
3849451a2b9Schristos 	},		/* 87 = gethostname */
3859451a2b9Schristos 	{
3869451a2b9Schristos 		ns(struct compat_43_sys_sethostname_args),
3879451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
3889451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_sethostname
3899451a2b9Schristos 	},		/* 88 = sethostname */
3909451a2b9Schristos 	{
3919451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_getdtablesize
3929451a2b9Schristos 	},		/* 89 = getdtablesize */
3939451a2b9Schristos 	{
3949451a2b9Schristos 		ns(struct sys_dup2_args),
3959451a2b9Schristos 		.sy_call = (sy_call_t *)sys_dup2
3969451a2b9Schristos 	},		/* 90 = dup2 */
3979451a2b9Schristos 	{
3989451a2b9Schristos 		.sy_call = sys_nosys,
3999451a2b9Schristos 	},		/* 91 = filler */
4009451a2b9Schristos 	{
4019451a2b9Schristos 		ns(struct sunos_sys_fcntl_args),
4029451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4039451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_fcntl
4049451a2b9Schristos 	},		/* 92 = fcntl */
4059451a2b9Schristos 	{
4069451a2b9Schristos 		ns(struct compat_50_sys_select_args),
4079451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4089451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_select
4099451a2b9Schristos 	},		/* 93 = select */
4109451a2b9Schristos 	{
4119451a2b9Schristos 		.sy_call = sys_nosys,
4129451a2b9Schristos 	},		/* 94 = filler */
4139451a2b9Schristos 	{
4149451a2b9Schristos 		ns(struct sys_fsync_args),
4159451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fsync
4169451a2b9Schristos 	},		/* 95 = fsync */
4179451a2b9Schristos 	{
4189451a2b9Schristos 		ns(struct sys_setpriority_args),
4199451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setpriority
4209451a2b9Schristos 	},		/* 96 = setpriority */
4219451a2b9Schristos 	{
4229451a2b9Schristos 		ns(struct sunos_sys_socket_args),
4239451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_socket
4249451a2b9Schristos 	},		/* 97 = socket */
4259451a2b9Schristos 	{
4269451a2b9Schristos 		ns(struct sys_connect_args),
4279451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4289451a2b9Schristos 		.sy_call = (sy_call_t *)sys_connect
4299451a2b9Schristos 	},		/* 98 = connect */
4309451a2b9Schristos 	{
4319451a2b9Schristos 		ns(struct compat_43_sys_accept_args),
4329451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4339451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_accept
4349451a2b9Schristos 	},		/* 99 = accept */
4359451a2b9Schristos 	{
4369451a2b9Schristos 		ns(struct sys_getpriority_args),
4379451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getpriority
4389451a2b9Schristos 	},		/* 100 = getpriority */
4399451a2b9Schristos 	{
4409451a2b9Schristos 		ns(struct compat_43_sys_send_args),
4419451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4429451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_send
4439451a2b9Schristos 	},		/* 101 = send */
4449451a2b9Schristos 	{
4459451a2b9Schristos 		ns(struct compat_43_sys_recv_args),
4469451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4479451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_recv
4489451a2b9Schristos 	},		/* 102 = recv */
4499451a2b9Schristos 	{
4509451a2b9Schristos 		.sy_call = sys_nosys,
4519451a2b9Schristos 	},		/* 103 = filler */
4529451a2b9Schristos 	{
4539451a2b9Schristos 		ns(struct sys_bind_args),
4549451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4559451a2b9Schristos 		.sy_call = (sy_call_t *)sys_bind
4569451a2b9Schristos 	},		/* 104 = bind */
4579451a2b9Schristos 	{
4589451a2b9Schristos 		ns(struct sunos_sys_setsockopt_args),
4599451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4609451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_setsockopt
4619451a2b9Schristos 	},		/* 105 = setsockopt */
4629451a2b9Schristos 	{
4639451a2b9Schristos 		ns(struct sys_listen_args),
4649451a2b9Schristos 		.sy_call = (sy_call_t *)sys_listen
4659451a2b9Schristos 	},		/* 106 = listen */
4669451a2b9Schristos 	{
4679451a2b9Schristos 		.sy_call = sys_nosys,
4689451a2b9Schristos 	},		/* 107 = filler */
4699451a2b9Schristos 	{
4709451a2b9Schristos 		ns(struct sunos_sys_sigvec_args),
4719451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4729451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_sigvec
4739451a2b9Schristos 	},		/* 108 = sigvec */
4749451a2b9Schristos 	{
4759451a2b9Schristos 		ns(struct compat_43_sys_sigblock_args),
4769451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_sigblock
4779451a2b9Schristos 	},		/* 109 = sigblock */
4789451a2b9Schristos 	{
4799451a2b9Schristos 		ns(struct compat_43_sys_sigsetmask_args),
4809451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_sigsetmask
4819451a2b9Schristos 	},		/* 110 = sigsetmask */
4829451a2b9Schristos 	{
4839451a2b9Schristos 		ns(struct sunos_sys_sigsuspend_args),
4849451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_sigsuspend
4859451a2b9Schristos 	},		/* 111 = sigsuspend */
4869451a2b9Schristos 	{
4879451a2b9Schristos 		ns(struct compat_43_sys_sigstack_args),
4889451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4899451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_sigstack
4909451a2b9Schristos 	},		/* 112 = sigstack */
4919451a2b9Schristos 	{
4929451a2b9Schristos 		ns(struct compat_43_sys_recvmsg_args),
4939451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4949451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_recvmsg
4959451a2b9Schristos 	},		/* 113 = recvmsg */
4969451a2b9Schristos 	{
4979451a2b9Schristos 		ns(struct compat_43_sys_sendmsg_args),
4989451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
4999451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_sendmsg
5009451a2b9Schristos 	},		/* 114 = sendmsg */
5019451a2b9Schristos 	{
5029451a2b9Schristos 		.sy_call = sys_nosys,
5039451a2b9Schristos 	},		/* 115 = filler */
5049451a2b9Schristos 	{
5059451a2b9Schristos 		ns(struct compat_50_sys_gettimeofday_args),
5069451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5079451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_gettimeofday
5089451a2b9Schristos 	},		/* 116 = gettimeofday */
5099451a2b9Schristos 	{
5109451a2b9Schristos 		ns(struct compat_50_sys_getrusage_args),
5119451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5129451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_getrusage
5139451a2b9Schristos 	},		/* 117 = getrusage */
5149451a2b9Schristos 	{
5159451a2b9Schristos 		ns(struct sys_getsockopt_args),
5169451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5179451a2b9Schristos 		.sy_call = (sy_call_t *)sys_getsockopt
5189451a2b9Schristos 	},		/* 118 = getsockopt */
5199451a2b9Schristos 	{
5209451a2b9Schristos 		.sy_call = sys_nosys,
5219451a2b9Schristos 	},		/* 119 = filler */
5229451a2b9Schristos 	{
5239451a2b9Schristos 		ns(struct sys_readv_args),
5249451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5259451a2b9Schristos 		.sy_call = (sy_call_t *)sys_readv
5269451a2b9Schristos 	},		/* 120 = readv */
5279451a2b9Schristos 	{
5289451a2b9Schristos 		ns(struct sys_writev_args),
5299451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5309451a2b9Schristos 		.sy_call = (sy_call_t *)sys_writev
5319451a2b9Schristos 	},		/* 121 = writev */
5329451a2b9Schristos 	{
5339451a2b9Schristos 		ns(struct compat_50_sys_settimeofday_args),
5349451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5359451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_settimeofday
5369451a2b9Schristos 	},		/* 122 = settimeofday */
5379451a2b9Schristos 	{
5389451a2b9Schristos 		ns(struct sys_fchown_args),
5399451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fchown
5409451a2b9Schristos 	},		/* 123 = fchown */
5419451a2b9Schristos 	{
5429451a2b9Schristos 		ns(struct sys_fchmod_args),
5439451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fchmod
5449451a2b9Schristos 	},		/* 124 = fchmod */
5459451a2b9Schristos 	{
5469451a2b9Schristos 		ns(struct compat_43_sys_recvfrom_args),
5479451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5489451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_recvfrom
5499451a2b9Schristos 	},		/* 125 = recvfrom */
5509451a2b9Schristos 	{
5519451a2b9Schristos 		ns(struct sys_setreuid_args),
5529451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setreuid
5539451a2b9Schristos 	},		/* 126 = setreuid */
5549451a2b9Schristos 	{
5559451a2b9Schristos 		ns(struct sys_setregid_args),
5569451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setregid
5579451a2b9Schristos 	},		/* 127 = setregid */
5589451a2b9Schristos 	{
5599451a2b9Schristos 		ns(struct sys_rename_args),
5609451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5619451a2b9Schristos 		.sy_call = (sy_call_t *)sys_rename
5629451a2b9Schristos 	},		/* 128 = rename */
5639451a2b9Schristos 	{
5649451a2b9Schristos 		ns(struct compat_43_sys_truncate_args),
5659451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5669451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_truncate
5679451a2b9Schristos 	},		/* 129 = truncate */
5689451a2b9Schristos 	{
5699451a2b9Schristos 		ns(struct compat_43_sys_ftruncate_args),
5709451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_ftruncate
5719451a2b9Schristos 	},		/* 130 = ftruncate */
5729451a2b9Schristos 	{
5739451a2b9Schristos 		ns(struct sys_flock_args),
5749451a2b9Schristos 		.sy_call = (sy_call_t *)sys_flock
5759451a2b9Schristos 	},		/* 131 = flock */
5769451a2b9Schristos 	{
5779451a2b9Schristos 		.sy_call = sys_nosys,
5789451a2b9Schristos 	},		/* 132 = filler */
5799451a2b9Schristos 	{
5809451a2b9Schristos 		ns(struct sys_sendto_args),
5819451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5829451a2b9Schristos 		.sy_call = (sy_call_t *)sys_sendto
5839451a2b9Schristos 	},		/* 133 = sendto */
5849451a2b9Schristos 	{
5859451a2b9Schristos 		ns(struct sys_shutdown_args),
5869451a2b9Schristos 		.sy_call = (sy_call_t *)sys_shutdown
5879451a2b9Schristos 	},		/* 134 = shutdown */
5889451a2b9Schristos 	{
5899451a2b9Schristos 		ns(struct sunos_sys_socketpair_args),
5909451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5919451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_socketpair
5929451a2b9Schristos 	},		/* 135 = socketpair */
5939451a2b9Schristos 	{
5949451a2b9Schristos 		ns(struct sys_mkdir_args),
5959451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
5969451a2b9Schristos 		.sy_call = (sy_call_t *)sys_mkdir
5979451a2b9Schristos 	},		/* 136 = mkdir */
5989451a2b9Schristos 	{
5999451a2b9Schristos 		ns(struct sys_rmdir_args),
6009451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6019451a2b9Schristos 		.sy_call = (sy_call_t *)sys_rmdir
6029451a2b9Schristos 	},		/* 137 = rmdir */
6039451a2b9Schristos 	{
6049451a2b9Schristos 		ns(struct compat_50_sys_utimes_args),
6059451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6069451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_utimes
6079451a2b9Schristos 	},		/* 138 = utimes */
6089451a2b9Schristos 	{
6099451a2b9Schristos 		ns(struct sunos_sys_sigreturn_args),
6109451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6119451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_sigreturn
6129451a2b9Schristos 	},		/* 139 = sigreturn */
6139451a2b9Schristos 	{
6149451a2b9Schristos 		ns(struct compat_50_sys_adjtime_args),
6159451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6169451a2b9Schristos 		.sy_call = (sy_call_t *)compat_50_sys_adjtime
6179451a2b9Schristos 	},		/* 140 = adjtime */
6189451a2b9Schristos 	{
6199451a2b9Schristos 		ns(struct compat_43_sys_getpeername_args),
6209451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6219451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_getpeername
6229451a2b9Schristos 	},		/* 141 = getpeername */
6239451a2b9Schristos 	{
6249451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_gethostid
6259451a2b9Schristos 	},		/* 142 = gethostid */
6269451a2b9Schristos 	{
6279451a2b9Schristos 		.sy_call = sys_nosys,
6289451a2b9Schristos 	},		/* 143 = filler */
6299451a2b9Schristos 	{
6309451a2b9Schristos 		ns(struct sunos_sys_getrlimit_args),
6319451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6329451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_getrlimit
6339451a2b9Schristos 	},		/* 144 = getrlimit */
6349451a2b9Schristos 	{
6359451a2b9Schristos 		ns(struct sunos_sys_setrlimit_args),
6369451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6379451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_setrlimit
6389451a2b9Schristos 	},		/* 145 = setrlimit */
6399451a2b9Schristos 	{
6409451a2b9Schristos 		ns(struct compat_43_sys_killpg_args),
6419451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_killpg
6429451a2b9Schristos 	},		/* 146 = killpg */
6439451a2b9Schristos 	{
6449451a2b9Schristos 		.sy_call = sys_nosys,
6459451a2b9Schristos 	},		/* 147 = filler */
6469451a2b9Schristos 	{
6479451a2b9Schristos 		.sy_call = sys_nosys,
6489451a2b9Schristos 	},		/* 148 = filler */
6499451a2b9Schristos 	{
6509451a2b9Schristos 		.sy_call = sys_nosys,
6519451a2b9Schristos 	},		/* 149 = filler */
6529451a2b9Schristos 	{
6539451a2b9Schristos 		ns(struct compat_43_sys_getsockname_args),
6549451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6559451a2b9Schristos 		.sy_call = (sy_call_t *)compat_43_sys_getsockname
6569451a2b9Schristos 	},		/* 150 = getsockname */
6579451a2b9Schristos 	{
6589451a2b9Schristos 		.sy_call = sys_nosys,
6599451a2b9Schristos 	},		/* 151 = filler */
6609451a2b9Schristos 	{
6619451a2b9Schristos 		.sy_call = sys_nosys,
6629451a2b9Schristos 	},		/* 152 = filler */
6639451a2b9Schristos 	{
6649451a2b9Schristos 		ns(struct sys_poll_args),
6659451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6669451a2b9Schristos 		.sy_call = (sy_call_t *)sys_poll
6679451a2b9Schristos 	},		/* 153 = poll */
6689451a2b9Schristos 	{
6699451a2b9Schristos 		.sy_call = sys_nosys,
6709451a2b9Schristos 	},		/* 154 = filler */
6719451a2b9Schristos 	{
6729451a2b9Schristos 		.sy_call = sys_nosys,
6739451a2b9Schristos 	},		/* 155 = filler */
6749451a2b9Schristos 	{
6759451a2b9Schristos 		ns(struct compat_12_sys_getdirentries_args),
6769451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6779451a2b9Schristos 		.sy_call = (sy_call_t *)compat_12_sys_getdirentries
6789451a2b9Schristos 	},		/* 156 = getdirentries */
6799451a2b9Schristos 	{
6809451a2b9Schristos 		ns(struct sunos_sys_statfs_args),
6819451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6829451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_statfs
6839451a2b9Schristos 	},		/* 157 = statfs */
6849451a2b9Schristos 	{
6859451a2b9Schristos 		ns(struct sunos_sys_fstatfs_args),
6869451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6879451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_fstatfs
6889451a2b9Schristos 	},		/* 158 = fstatfs */
6899451a2b9Schristos 	{
6909451a2b9Schristos 		ns(struct sunos_sys_unmount_args),
6919451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
6929451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_unmount
6939451a2b9Schristos 	},		/* 159 = unmount */
6949451a2b9Schristos 	{
6959451a2b9Schristos 		.sy_call = (sy_call_t *)async_daemon
6969451a2b9Schristos 	},		/* 160 = async_daemon */
6979451a2b9Schristos 	{
6989451a2b9Schristos 		ns(struct compat_30_sys_getfh_args),
6999451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7009451a2b9Schristos 		.sy_call = (sy_call_t *)compat_30_sys_getfh
7019451a2b9Schristos 	},		/* 161 = getfh */
702d91f98a8Spgoyette #ifdef COMPAT_09
7039451a2b9Schristos 	{
7049451a2b9Schristos 		ns(struct compat_09_sys_getdomainname_args),
7059451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7069451a2b9Schristos 		.sy_call = (sy_call_t *)compat_09_sys_getdomainname
7079451a2b9Schristos 	},		/* 162 = getdomainname */
7089451a2b9Schristos 	{
7099451a2b9Schristos 		ns(struct compat_09_sys_setdomainname_args),
7109451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7119451a2b9Schristos 		.sy_call = (sy_call_t *)compat_09_sys_setdomainname
7129451a2b9Schristos 	},		/* 163 = setdomainname */
713d91f98a8Spgoyette #else
714d91f98a8Spgoyette 	{
715d91f98a8Spgoyette 		.sy_call = sys_nosys,
716d91f98a8Spgoyette 	},		/* 162 = filler */
717d91f98a8Spgoyette 	{
718d91f98a8Spgoyette 		.sy_call = sys_nosys,
719d91f98a8Spgoyette 	},		/* 163 = filler */
720d91f98a8Spgoyette #endif
7219451a2b9Schristos 	{
7229451a2b9Schristos 		.sy_call = sys_nosys,
7239451a2b9Schristos 	},		/* 164 = filler */
7249451a2b9Schristos 	{
7259451a2b9Schristos 		ns(struct sunos_sys_quotactl_args),
7269451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7279451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_quotactl
7289451a2b9Schristos 	},		/* 165 = quotactl */
7299451a2b9Schristos 	{
7309451a2b9Schristos 		ns(struct sunos_sys_exportfs_args),
7319451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7329451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_exportfs
7339451a2b9Schristos 	},		/* 166 = exportfs */
7349451a2b9Schristos 	{
7359451a2b9Schristos 		ns(struct sunos_sys_mount_args),
7369451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7379451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_mount
7389451a2b9Schristos 	},		/* 167 = mount */
7399451a2b9Schristos 	{
7409451a2b9Schristos 		ns(struct sunos_sys_ustat_args),
7419451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7429451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_ustat
7439451a2b9Schristos 	},		/* 168 = ustat */
744d91f98a8Spgoyette #if defined(SYSVSEM) && defined(COMPAT_10)
7459451a2b9Schristos 	{
7469451a2b9Schristos 		ns(struct compat_10_sys_semsys_args),
7479451a2b9Schristos 		.sy_call = (sy_call_t *)compat_10_sys_semsys
7489451a2b9Schristos 	},		/* 169 = semsys */
749b9771ef7Schristos #else
7509451a2b9Schristos 	{
7519451a2b9Schristos 		.sy_call = sys_nosys,
7529451a2b9Schristos 	},		/* 169 = filler */
753b9771ef7Schristos #endif
754d91f98a8Spgoyette #if defined(SYSVMSG) && defined(COMPAT_10)
7559451a2b9Schristos 	{
7569451a2b9Schristos 		ns(struct compat_10_sys_msgsys_args),
7579451a2b9Schristos 		.sy_call = (sy_call_t *)compat_10_sys_msgsys
7589451a2b9Schristos 	},		/* 170 = msgsys */
759b9771ef7Schristos #else
7609451a2b9Schristos 	{
7619451a2b9Schristos 		.sy_call = sys_nosys,
7629451a2b9Schristos 	},		/* 170 = filler */
763b9771ef7Schristos #endif
764d91f98a8Spgoyette #if defined(SYSVSHM) && defined(COMPAT_10)
7659451a2b9Schristos 	{
7669451a2b9Schristos 		ns(struct compat_10_sys_shmsys_args),
7679451a2b9Schristos 		.sy_call = (sy_call_t *)compat_10_sys_shmsys
7689451a2b9Schristos 	},		/* 171 = shmsys */
769b9771ef7Schristos #else
7709451a2b9Schristos 	{
7719451a2b9Schristos 		.sy_call = sys_nosys,
7729451a2b9Schristos 	},		/* 171 = filler */
773b9771ef7Schristos #endif
7749451a2b9Schristos 	{
7759451a2b9Schristos 		ns(struct sunos_sys_auditsys_args),
7769451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7779451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_auditsys
7789451a2b9Schristos 	},		/* 172 = auditsys */
7799451a2b9Schristos 	{
7809451a2b9Schristos 		.sy_call = sys_nosys,
7819451a2b9Schristos 	},		/* 173 = filler */
7829451a2b9Schristos 	{
7839451a2b9Schristos 		ns(struct sunos_sys_getdents_args),
7849451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
7859451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_getdents
7869451a2b9Schristos 	},		/* 174 = getdents */
7879451a2b9Schristos 	{
7889451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setsid
7899451a2b9Schristos 	},		/* 175 = setsid */
7909451a2b9Schristos 	{
7919451a2b9Schristos 		ns(struct sys_fchdir_args),
7929451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fchdir
7939451a2b9Schristos 	},		/* 176 = fchdir */
7949451a2b9Schristos 	{
7959451a2b9Schristos 		ns(struct sys_fchroot_args),
7969451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fchroot
7979451a2b9Schristos 	},		/* 177 = fchroot */
7989451a2b9Schristos 	{
7999451a2b9Schristos 		.sy_call = sys_nosys,
8009451a2b9Schristos 	},		/* 178 = filler */
8019451a2b9Schristos 	{
8029451a2b9Schristos 		.sy_call = sys_nosys,
8039451a2b9Schristos 	},		/* 179 = filler */
8049451a2b9Schristos 	{
8059451a2b9Schristos 		.sy_call = sys_nosys,
8069451a2b9Schristos 	},		/* 180 = filler */
8079451a2b9Schristos 	{
8089451a2b9Schristos 		.sy_call = sys_nosys,
8099451a2b9Schristos 	},		/* 181 = filler */
8109451a2b9Schristos 	{
8119451a2b9Schristos 		.sy_call = sys_nosys,
8129451a2b9Schristos 	},		/* 182 = filler */
8139451a2b9Schristos 	{
8149451a2b9Schristos 		ns(struct sunos_sys_sigpending_args),
8159451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
8169451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_sigpending
8179451a2b9Schristos 	},		/* 183 = sigpending */
8189451a2b9Schristos 	{
8199451a2b9Schristos 		.sy_call = sys_nosys,
8209451a2b9Schristos 	},		/* 184 = filler */
8219451a2b9Schristos 	{
8229451a2b9Schristos 		ns(struct sys_setpgid_args),
8239451a2b9Schristos 		.sy_call = (sy_call_t *)sys_setpgid
8249451a2b9Schristos 	},		/* 185 = setpgid */
8259451a2b9Schristos 	{
8269451a2b9Schristos 		ns(struct sys_pathconf_args),
8279451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
8289451a2b9Schristos 		.sy_call = (sy_call_t *)sys_pathconf
8299451a2b9Schristos 	},		/* 186 = pathconf */
8309451a2b9Schristos 	{
8319451a2b9Schristos 		ns(struct sys_fpathconf_args),
8329451a2b9Schristos 		.sy_call = (sy_call_t *)sys_fpathconf
8339451a2b9Schristos 	},		/* 187 = fpathconf */
8349451a2b9Schristos 	{
8359451a2b9Schristos 		ns(struct sunos_sys_sysconf_args),
8369451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_sysconf
8379451a2b9Schristos 	},		/* 188 = sysconf */
8389451a2b9Schristos 	{
8399451a2b9Schristos 		ns(struct sunos_sys_uname_args),
8409451a2b9Schristos 		.sy_flags = SYCALL_ARG_PTR,
8419451a2b9Schristos 		.sy_call = (sy_call_t *)sunos_sys_uname
8429451a2b9Schristos 	},		/* 189 = uname */
8439451a2b9Schristos 	{
8449451a2b9Schristos 		.sy_call = sys_nosys,
8459451a2b9Schristos 	},		/* 190 = filler */
8469451a2b9Schristos 	{
8479451a2b9Schristos 		.sy_call = sys_nosys,
8489451a2b9Schristos 	},		/* 191 = filler */
8499451a2b9Schristos 	{
8509451a2b9Schristos 		.sy_call = sys_nosys,
8519451a2b9Schristos 	},		/* 192 = filler */
8529451a2b9Schristos 	{
8539451a2b9Schristos 		.sy_call = sys_nosys,
8549451a2b9Schristos 	},		/* 193 = filler */
8559451a2b9Schristos 	{
8569451a2b9Schristos 		.sy_call = sys_nosys,
8579451a2b9Schristos 	},		/* 194 = filler */
8589451a2b9Schristos 	{
8599451a2b9Schristos 		.sy_call = sys_nosys,
8609451a2b9Schristos 	},		/* 195 = filler */
8619451a2b9Schristos 	{
8629451a2b9Schristos 		.sy_call = sys_nosys,
8639451a2b9Schristos 	},		/* 196 = filler */
8649451a2b9Schristos 	{
8659451a2b9Schristos 		.sy_call = sys_nosys,
8669451a2b9Schristos 	},		/* 197 = filler */
8679451a2b9Schristos 	{
8689451a2b9Schristos 		.sy_call = sys_nosys,
8699451a2b9Schristos 	},		/* 198 = filler */
8709451a2b9Schristos 	{
8719451a2b9Schristos 		.sy_call = sys_nosys,
8729451a2b9Schristos 	},		/* 199 = filler */
8739451a2b9Schristos 	{
8749451a2b9Schristos 		.sy_call = sys_nosys,
8759451a2b9Schristos 	},		/* 200 = filler */
8769451a2b9Schristos 	{
8779451a2b9Schristos 		.sy_call = sys_nosys,
8789451a2b9Schristos 	},		/* 201 = filler */
8799451a2b9Schristos 	{
8809451a2b9Schristos 		.sy_call = sys_nosys,
8819451a2b9Schristos 	},		/* 202 = filler */
8829451a2b9Schristos 	{
8839451a2b9Schristos 		.sy_call = sys_nosys,
8849451a2b9Schristos 	},		/* 203 = filler */
8859451a2b9Schristos 	{
8869451a2b9Schristos 		.sy_call = sys_nosys,
8879451a2b9Schristos 	},		/* 204 = filler */
8889451a2b9Schristos 	{
8899451a2b9Schristos 		.sy_call = sys_nosys,
8909451a2b9Schristos 	},		/* 205 = filler */
8919451a2b9Schristos 	{
8929451a2b9Schristos 		.sy_call = sys_nosys,
8939451a2b9Schristos 	},		/* 206 = filler */
8949451a2b9Schristos 	{
8959451a2b9Schristos 		.sy_call = sys_nosys,
8969451a2b9Schristos 	},		/* 207 = filler */
8979451a2b9Schristos 	{
8989451a2b9Schristos 		.sy_call = sys_nosys,
8999451a2b9Schristos 	},		/* 208 = filler */
9009451a2b9Schristos 	{
9019451a2b9Schristos 		.sy_call = sys_nosys,
9029451a2b9Schristos 	},		/* 209 = filler */
9039451a2b9Schristos 	{
9049451a2b9Schristos 		.sy_call = sys_nosys,
9059451a2b9Schristos 	},		/* 210 = filler */
9069451a2b9Schristos 	{
9079451a2b9Schristos 		.sy_call = sys_nosys,
9089451a2b9Schristos 	},		/* 211 = filler */
9099451a2b9Schristos 	{
9109451a2b9Schristos 		.sy_call = sys_nosys,
9119451a2b9Schristos 	},		/* 212 = filler */
9129451a2b9Schristos 	{
9139451a2b9Schristos 		.sy_call = sys_nosys,
9149451a2b9Schristos 	},		/* 213 = filler */
9159451a2b9Schristos 	{
9169451a2b9Schristos 		.sy_call = sys_nosys,
9179451a2b9Schristos 	},		/* 214 = filler */
9189451a2b9Schristos 	{
9199451a2b9Schristos 		.sy_call = sys_nosys,
9209451a2b9Schristos 	},		/* 215 = filler */
9219451a2b9Schristos 	{
9229451a2b9Schristos 		.sy_call = sys_nosys,
9239451a2b9Schristos 	},		/* 216 = filler */
9249451a2b9Schristos 	{
9259451a2b9Schristos 		.sy_call = sys_nosys,
9269451a2b9Schristos 	},		/* 217 = filler */
9279451a2b9Schristos 	{
9289451a2b9Schristos 		.sy_call = sys_nosys,
9299451a2b9Schristos 	},		/* 218 = filler */
9309451a2b9Schristos 	{
9319451a2b9Schristos 		.sy_call = sys_nosys,
9329451a2b9Schristos 	},		/* 219 = filler */
9339451a2b9Schristos 	{
9349451a2b9Schristos 		.sy_call = sys_nosys,
9359451a2b9Schristos 	},		/* 220 = filler */
9369451a2b9Schristos 	{
9379451a2b9Schristos 		.sy_call = sys_nosys,
9389451a2b9Schristos 	},		/* 221 = filler */
9399451a2b9Schristos 	{
9409451a2b9Schristos 		.sy_call = sys_nosys,
9419451a2b9Schristos 	},		/* 222 = filler */
9429451a2b9Schristos 	{
9439451a2b9Schristos 		.sy_call = sys_nosys,
9449451a2b9Schristos 	},		/* 223 = filler */
9459451a2b9Schristos 	{
9469451a2b9Schristos 		.sy_call = sys_nosys,
9479451a2b9Schristos 	},		/* 224 = filler */
9489451a2b9Schristos 	{
9499451a2b9Schristos 		.sy_call = sys_nosys,
9509451a2b9Schristos 	},		/* 225 = filler */
9519451a2b9Schristos 	{
9529451a2b9Schristos 		.sy_call = sys_nosys,
9539451a2b9Schristos 	},		/* 226 = filler */
9549451a2b9Schristos 	{
9559451a2b9Schristos 		.sy_call = sys_nosys,
9569451a2b9Schristos 	},		/* 227 = filler */
9579451a2b9Schristos 	{
9589451a2b9Schristos 		.sy_call = sys_nosys,
9599451a2b9Schristos 	},		/* 228 = filler */
9609451a2b9Schristos 	{
9619451a2b9Schristos 		.sy_call = sys_nosys,
9629451a2b9Schristos 	},		/* 229 = filler */
9639451a2b9Schristos 	{
9649451a2b9Schristos 		.sy_call = sys_nosys,
9659451a2b9Schristos 	},		/* 230 = filler */
9669451a2b9Schristos 	{
9679451a2b9Schristos 		.sy_call = sys_nosys,
9689451a2b9Schristos 	},		/* 231 = filler */
9699451a2b9Schristos 	{
9709451a2b9Schristos 		.sy_call = sys_nosys,
9719451a2b9Schristos 	},		/* 232 = filler */
9729451a2b9Schristos 	{
9739451a2b9Schristos 		.sy_call = sys_nosys,
9749451a2b9Schristos 	},		/* 233 = filler */
9759451a2b9Schristos 	{
9769451a2b9Schristos 		.sy_call = sys_nosys,
9779451a2b9Schristos 	},		/* 234 = filler */
9789451a2b9Schristos 	{
9799451a2b9Schristos 		.sy_call = sys_nosys,
9809451a2b9Schristos 	},		/* 235 = filler */
9819451a2b9Schristos 	{
9829451a2b9Schristos 		.sy_call = sys_nosys,
9839451a2b9Schristos 	},		/* 236 = filler */
9849451a2b9Schristos 	{
9859451a2b9Schristos 		.sy_call = sys_nosys,
9869451a2b9Schristos 	},		/* 237 = filler */
9879451a2b9Schristos 	{
9889451a2b9Schristos 		.sy_call = sys_nosys,
9899451a2b9Schristos 	},		/* 238 = filler */
9909451a2b9Schristos 	{
9919451a2b9Schristos 		.sy_call = sys_nosys,
9929451a2b9Schristos 	},		/* 239 = filler */
9939451a2b9Schristos 	{
9949451a2b9Schristos 		.sy_call = sys_nosys,
9959451a2b9Schristos 	},		/* 240 = filler */
9969451a2b9Schristos 	{
9979451a2b9Schristos 		.sy_call = sys_nosys,
9989451a2b9Schristos 	},		/* 241 = filler */
9999451a2b9Schristos 	{
10009451a2b9Schristos 		.sy_call = sys_nosys,
10019451a2b9Schristos 	},		/* 242 = filler */
10029451a2b9Schristos 	{
10039451a2b9Schristos 		.sy_call = sys_nosys,
10049451a2b9Schristos 	},		/* 243 = filler */
10059451a2b9Schristos 	{
10069451a2b9Schristos 		.sy_call = sys_nosys,
10079451a2b9Schristos 	},		/* 244 = filler */
10089451a2b9Schristos 	{
10099451a2b9Schristos 		.sy_call = sys_nosys,
10109451a2b9Schristos 	},		/* 245 = filler */
10119451a2b9Schristos 	{
10129451a2b9Schristos 		.sy_call = sys_nosys,
10139451a2b9Schristos 	},		/* 246 = filler */
10149451a2b9Schristos 	{
10159451a2b9Schristos 		.sy_call = sys_nosys,
10169451a2b9Schristos 	},		/* 247 = filler */
10179451a2b9Schristos 	{
10189451a2b9Schristos 		.sy_call = sys_nosys,
10199451a2b9Schristos 	},		/* 248 = filler */
10209451a2b9Schristos 	{
10219451a2b9Schristos 		.sy_call = sys_nosys,
10229451a2b9Schristos 	},		/* 249 = filler */
10239451a2b9Schristos 	{
10249451a2b9Schristos 		.sy_call = sys_nosys,
10259451a2b9Schristos 	},		/* 250 = filler */
10269451a2b9Schristos 	{
10279451a2b9Schristos 		.sy_call = sys_nosys,
10289451a2b9Schristos 	},		/* 251 = filler */
10299451a2b9Schristos 	{
10309451a2b9Schristos 		.sy_call = sys_nosys,
10319451a2b9Schristos 	},		/* 252 = filler */
10329451a2b9Schristos 	{
10339451a2b9Schristos 		.sy_call = sys_nosys,
10349451a2b9Schristos 	},		/* 253 = filler */
10359451a2b9Schristos 	{
10369451a2b9Schristos 		.sy_call = sys_nosys,
10379451a2b9Schristos 	},		/* 254 = filler */
10389451a2b9Schristos 	{
10399451a2b9Schristos 		.sy_call = sys_nosys,
10409451a2b9Schristos 	},		/* 255 = filler */
10414588caefSderaadt };
1042fb243de8Spgoyette 
1043fb243de8Spgoyette const uint32_t sunos_sysent_nomodbits[] = {
1044fb243de8Spgoyette 	0x00000000,	/* syscalls   0- 31 */
1045fb243de8Spgoyette 	0x00000000,	/* syscalls  32- 63 */
1046fb243de8Spgoyette 	0x00000000,	/* syscalls  64- 95 */
1047fb243de8Spgoyette 	0x00000000,	/* syscalls  96-127 */
1048fb243de8Spgoyette 	0x00000000,	/* syscalls 128-159 */
1049fb243de8Spgoyette 	0x00000000,	/* syscalls 160-191 */
1050fb243de8Spgoyette 	0x00000000,	/* syscalls 192-223 */
1051fb243de8Spgoyette 	0x00000000,	/* syscalls 224-255 */
1052fb243de8Spgoyette };
1053