Sync usage with man page.
[netbsd-mini2440.git] / sys / compat / sunos32 / sunos32_sysent.c
blobe03cddd504ec700844de7a1de4e68b1b2418a572
1 /* $NetBSD$ */
3 /*
4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from; NetBSD: syscalls.master,v 1.20 2009/01/13 22:27:44 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_sysv.h"
15 #include "opt_compat_sunos.h"
16 #include "fs_nfs.h"
17 #endif
18 #include <sys/param.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/mount.h>
22 #include <sys/poll.h>
23 #include <sys/syscallargs.h>
24 #include <compat/sunos/sunos.h>
25 #include <compat/sunos/sunos_syscallargs.h>
26 #include <compat/netbsd32/netbsd32.h>
27 #include <compat/netbsd32/netbsd32_syscallargs.h>
28 #include <compat/sunos32/sunos32.h>
29 #include <compat/sunos32/sunos32_syscallargs.h>
31 #define s(type) sizeof(type)
32 #define n(type) (sizeof(type)/sizeof (register32_t))
33 #define ns(type) n(type), s(type)
35 struct sysent sunos32_sysent[] = {
36 { 0, 0, 0,
37 (sy_call_t *)sys_nosys }, /* 0 = syscall */
38 { ns(struct netbsd32_exit_args), 0,
39 (sy_call_t *)netbsd32_exit }, /* 1 = netbsd32_exit */
40 { 0, 0, 0,
41 (sy_call_t *)sys_fork }, /* 2 = fork */
42 { ns(struct netbsd32_read_args), 0,
43 (sy_call_t *)netbsd32_read }, /* 3 = netbsd32_read */
44 { ns(struct netbsd32_write_args), 0,
45 (sy_call_t *)netbsd32_write }, /* 4 = netbsd32_write */
46 { ns(struct sunos32_sys_open_args), 0,
47 (sy_call_t *)sunos32_sys_open }, /* 5 = open */
48 { ns(struct netbsd32_close_args), 0,
49 (sy_call_t *)netbsd32_close }, /* 6 = netbsd32_close */
50 { ns(struct sunos32_sys_wait4_args), 0,
51 (sy_call_t *)sunos32_sys_wait4 }, /* 7 = wait4 */
52 { ns(struct sunos32_sys_creat_args), 0,
53 (sy_call_t *)sunos32_sys_creat }, /* 8 = creat */
54 { ns(struct netbsd32_link_args), 0,
55 (sy_call_t *)netbsd32_link }, /* 9 = netbsd32_link */
56 { ns(struct netbsd32_unlink_args), 0,
57 (sy_call_t *)netbsd32_unlink }, /* 10 = netbsd32_unlink */
58 { ns(struct sunos32_sys_execv_args), 0,
59 (sy_call_t *)sunos32_sys_execv }, /* 11 = execv */
60 { ns(struct netbsd32_chdir_args), 0,
61 (sy_call_t *)netbsd32_chdir }, /* 12 = netbsd32_chdir */
62 { 0, 0, 0,
63 sys_nosys }, /* 13 = obsolete old_time */
64 { ns(struct sunos32_sys_mknod_args), 0,
65 (sy_call_t *)sunos32_sys_mknod }, /* 14 = mknod */
66 { ns(struct netbsd32_chmod_args), 0,
67 (sy_call_t *)netbsd32_chmod }, /* 15 = netbsd32_chmod */
68 { ns(struct netbsd32_chown_args), 0,
69 (sy_call_t *)netbsd32_chown }, /* 16 = netbsd32_chown */
70 { ns(struct netbsd32_break_args), 0,
71 (sy_call_t *)netbsd32_break }, /* 17 = netbsd32_break */
72 { 0, 0, 0,
73 sys_nosys }, /* 18 = obsolete old_stat */
74 { ns(struct compat_43_netbsd32_olseek_args), 0,
75 (sy_call_t *)compat_43_netbsd32_olseek },/* 19 = compat_43_netbsd32_olseek */
76 { 0, 0, 0,
77 (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid_with_ppid */
78 { 0, 0, 0,
79 sys_nosys }, /* 21 = obsolete sunos_old_mount */
80 { 0, 0, 0,
81 sys_nosys }, /* 22 = unimplemented System V umount */
82 { ns(struct netbsd32_setuid_args), 0,
83 (sy_call_t *)netbsd32_setuid }, /* 23 = netbsd32_setuid */
84 { 0, 0, 0,
85 (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */
86 { ns(struct sunos32_sys_stime_args), 0,
87 (sy_call_t *)sunos32_sys_stime }, /* 25 = stime */
88 { ns(struct sunos32_sys_ptrace_args), 0,
89 (sy_call_t *)sunos32_sys_ptrace }, /* 26 = ptrace */
90 { 0, 0, 0,
91 sys_nosys }, /* 27 = unimplemented old_sunos_alarm */
92 { 0, 0, 0,
93 sys_nosys }, /* 28 = unimplemented old_sunos_fstat */
94 { 0, 0, 0,
95 sys_nosys }, /* 29 = unimplemented old_sunos_pause */
96 { 0, 0, 0,
97 sys_nosys }, /* 30 = unimplemented old_sunos_utime */
98 { 0, 0, 0,
99 sys_nosys }, /* 31 = unimplemented old_sunos_stty */
100 { 0, 0, 0,
101 sys_nosys }, /* 32 = unimplemented old_sunos_gtty */
102 { ns(struct sunos32_sys_access_args), 0,
103 (sy_call_t *)sunos32_sys_access }, /* 33 = access */
104 { 0, 0, 0,
105 sys_nosys }, /* 34 = unimplemented old_sunos_nice */
106 { 0, 0, 0,
107 sys_nosys }, /* 35 = unimplemented old_sunos_ftime */
108 { 0, 0, 0,
109 (sy_call_t *)sys_sync }, /* 36 = sync */
110 { ns(struct netbsd32_kill_args), 0,
111 (sy_call_t *)netbsd32_kill }, /* 37 = netbsd32_kill */
112 { ns(struct sunos32_sys_stat_args), 0,
113 (sy_call_t *)sunos32_sys_stat }, /* 38 = stat */
114 { 0, 0, 0,
115 sys_nosys }, /* 39 = unimplemented sunos_setpgrp */
116 { ns(struct sunos32_sys_lstat_args), 0,
117 (sy_call_t *)sunos32_sys_lstat }, /* 40 = lstat */
118 { ns(struct netbsd32_dup_args), 0,
119 (sy_call_t *)netbsd32_dup }, /* 41 = netbsd32_dup */
120 { 0, 0, 0,
121 (sy_call_t *)sys_pipe }, /* 42 = pipe */
122 { 0, 0, 0,
123 sys_nosys }, /* 43 = unimplemented sunos_times */
124 { ns(struct netbsd32_profil_args), 0,
125 (sy_call_t *)netbsd32_profil }, /* 44 = netbsd32_profil */
126 { 0, 0, 0,
127 sys_nosys }, /* 45 = unimplemented */
128 { ns(struct netbsd32_setgid_args), 0,
129 (sy_call_t *)netbsd32_setgid }, /* 46 = netbsd32_setgid */
130 { 0, 0, 0,
131 (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid_with_egid */
132 { 0, 0, 0,
133 sys_nosys }, /* 48 = unimplemented sunos_ssig */
134 { 0, 0, 0,
135 sys_nosys }, /* 49 = unimplemented reserved for USG */
136 { 0, 0, 0,
137 sys_nosys }, /* 50 = unimplemented reserved for USG */
138 { ns(struct netbsd32_acct_args), 0,
139 (sy_call_t *)netbsd32_acct }, /* 51 = netbsd32_acct */
140 { 0, 0, 0,
141 sys_nosys }, /* 52 = unimplemented */
142 { ns(struct sunos32_sys_mctl_args), 0,
143 (sy_call_t *)sunos32_sys_mctl }, /* 53 = mctl */
144 { ns(struct sunos32_sys_ioctl_args), 0,
145 (sy_call_t *)sunos32_sys_ioctl }, /* 54 = ioctl */
146 { ns(struct sunos32_sys_reboot_args), 0,
147 (sy_call_t *)sunos32_sys_reboot }, /* 55 = reboot */
148 { 0, 0, 0,
149 sys_nosys }, /* 56 = obsolete sunos_owait3 */
150 { ns(struct netbsd32_symlink_args), 0,
151 (sy_call_t *)netbsd32_symlink }, /* 57 = netbsd32_symlink */
152 { ns(struct netbsd32_readlink_args), 0,
153 (sy_call_t *)netbsd32_readlink }, /* 58 = netbsd32_readlink */
154 { ns(struct sunos32_sys_execve_args), 0,
155 (sy_call_t *)sunos32_sys_execve }, /* 59 = execve */
156 { ns(struct netbsd32_umask_args), 0,
157 (sy_call_t *)netbsd32_umask }, /* 60 = netbsd32_umask */
158 { ns(struct netbsd32_chroot_args), 0,
159 (sy_call_t *)netbsd32_chroot }, /* 61 = netbsd32_chroot */
160 { ns(struct compat_43_netbsd32_fstat43_args), 0,
161 (sy_call_t *)compat_43_netbsd32_fstat43 },/* 62 = compat_43_netbsd32_fstat43 */
162 { 0, 0, 0,
163 sys_nosys }, /* 63 = unimplemented */
164 { 0, 0, 0,
165 (sy_call_t *)compat_43_sys_getpagesize },/* 64 = ogetpagesize */
166 { ns(struct sunos32_sys_omsync_args), 0,
167 (sy_call_t *)sunos32_sys_omsync }, /* 65 = omsync */
168 { 0, 0, 0,
169 (sy_call_t *)sys_vfork }, /* 66 = vfork */
170 { 0, 0, 0,
171 sys_nosys }, /* 67 = obsolete vread */
172 { 0, 0, 0,
173 sys_nosys }, /* 68 = obsolete vwrite */
174 { ns(struct netbsd32_sbrk_args), 0,
175 (sy_call_t *)netbsd32_sbrk }, /* 69 = netbsd32_sbrk */
176 { ns(struct netbsd32_sstk_args), 0,
177 (sy_call_t *)netbsd32_sstk }, /* 70 = netbsd32_sstk */
178 { ns(struct sunos32_sys_mmap_args), 0,
179 (sy_call_t *)sunos32_sys_mmap }, /* 71 = mmap */
180 { ns(struct netbsd32_ovadvise_args), 0,
181 (sy_call_t *)netbsd32_ovadvise }, /* 72 = vadvise */
182 { ns(struct netbsd32_munmap_args), 0,
183 (sy_call_t *)netbsd32_munmap }, /* 73 = netbsd32_munmap */
184 { ns(struct netbsd32_mprotect_args), 0,
185 (sy_call_t *)netbsd32_mprotect }, /* 74 = netbsd32_mprotect */
186 { ns(struct netbsd32_madvise_args), 0,
187 (sy_call_t *)netbsd32_madvise }, /* 75 = netbsd32_madvise */
188 { 0, 0, 0,
189 (sy_call_t *)sunos32_sys_vhangup }, /* 76 = vhangup */
190 { 0, 0, 0,
191 sys_nosys }, /* 77 = unimplemented vlimit */
192 { ns(struct netbsd32_mincore_args), 0,
193 (sy_call_t *)netbsd32_mincore }, /* 78 = netbsd32_mincore */
194 { ns(struct netbsd32_getgroups_args), 0,
195 (sy_call_t *)netbsd32_getgroups }, /* 79 = netbsd32_getgroups */
196 { ns(struct netbsd32_setgroups_args), 0,
197 (sy_call_t *)netbsd32_setgroups }, /* 80 = netbsd32_setgroups */
198 { 0, 0, 0,
199 (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
200 { ns(struct sunos32_sys_setpgrp_args), 0,
201 (sy_call_t *)sunos32_sys_setpgrp }, /* 82 = setpgrp */
202 { ns(struct compat_50_netbsd32_setitimer_args), 0,
203 (sy_call_t *)compat_50_netbsd32_setitimer },/* 83 = compat_50_netbsd32_setitimer */
204 { 0, 0, 0,
205 sys_nosys }, /* 84 = unimplemented sunos32_sys_wait */
206 { ns(struct compat_12_netbsd32_oswapon_args), 0,
207 (sy_call_t *)compat_12_netbsd32_oswapon },/* 85 = compat_12_netbsd32_oswapon */
208 { ns(struct compat_50_netbsd32_getitimer_args), 0,
209 (sy_call_t *)compat_50_netbsd32_getitimer },/* 86 = compat_50_netbsd32_getitimer */
210 { ns(struct compat_43_netbsd32_ogethostname_args), 0,
211 (sy_call_t *)compat_43_netbsd32_ogethostname },/* 87 = compat_43_netbsd32_ogethostname */
212 { ns(struct compat_43_netbsd32_osethostname_args), 0,
213 (sy_call_t *)compat_43_netbsd32_osethostname },/* 88 = compat_43_netbsd32_osethostname */
214 { 0, 0, 0,
215 (sy_call_t *)compat_43_sys_getdtablesize },/* 89 = ogetdtablesize */
216 { ns(struct netbsd32_dup2_args), 0,
217 (sy_call_t *)netbsd32_dup2 }, /* 90 = netbsd32_dup2 */
218 { 0, 0, 0,
219 sys_nosys }, /* 91 = unimplemented getdopt */
220 { ns(struct sunos32_sys_fcntl_args), 0,
221 (sy_call_t *)sunos32_sys_fcntl }, /* 92 = fcntl */
222 { ns(struct compat_50_netbsd32_select_args), 0,
223 (sy_call_t *)compat_50_netbsd32_select },/* 93 = compat_50_netbsd32_select */
224 { 0, 0, 0,
225 sys_nosys }, /* 94 = unimplemented setdopt */
226 { ns(struct netbsd32_fsync_args), 0,
227 (sy_call_t *)netbsd32_fsync }, /* 95 = netbsd32_fsync */
228 { ns(struct netbsd32_setpriority_args), 0,
229 (sy_call_t *)netbsd32_setpriority },/* 96 = netbsd32_setpriority */
230 { ns(struct sunos32_sys_socket_args), 0,
231 (sy_call_t *)sunos32_sys_socket }, /* 97 = socket */
232 { ns(struct netbsd32_connect_args), 0,
233 (sy_call_t *)netbsd32_connect }, /* 98 = netbsd32_connect */
234 { ns(struct compat_43_netbsd32_oaccept_args), 0,
235 (sy_call_t *)compat_43_netbsd32_oaccept },/* 99 = compat_43_netbsd32_oaccept */
236 { ns(struct netbsd32_getpriority_args), 0,
237 (sy_call_t *)netbsd32_getpriority },/* 100 = netbsd32_getpriority */
238 { ns(struct compat_43_netbsd32_osend_args), 0,
239 (sy_call_t *)compat_43_netbsd32_osend },/* 101 = compat_43_netbsd32_osend */
240 { ns(struct compat_43_netbsd32_orecv_args), 0,
241 (sy_call_t *)compat_43_netbsd32_orecv },/* 102 = compat_43_netbsd32_orecv */
242 { 0, 0, 0,
243 sys_nosys }, /* 103 = unimplemented old socketaddr */
244 { ns(struct netbsd32_bind_args), 0,
245 (sy_call_t *)netbsd32_bind }, /* 104 = netbsd32_bind */
246 { ns(struct sunos32_sys_setsockopt_args), 0,
247 (sy_call_t *)sunos32_sys_setsockopt },/* 105 = setsockopt */
248 { ns(struct netbsd32_listen_args), 0,
249 (sy_call_t *)netbsd32_listen }, /* 106 = netbsd32_listen */
250 { 0, 0, 0,
251 sys_nosys }, /* 107 = unimplemented vtimes */
252 { ns(struct sunos32_sys_sigvec_args), 0,
253 (sy_call_t *)sunos32_sys_sigvec }, /* 108 = sigvec */
254 { ns(struct compat_43_netbsd32_sigblock_args), 0,
255 (sy_call_t *)compat_43_netbsd32_sigblock },/* 109 = compat_43_netbsd32_sigblock */
256 { ns(struct compat_43_netbsd32_sigsetmask_args), 0,
257 (sy_call_t *)compat_43_netbsd32_sigsetmask },/* 110 = compat_43_netbsd32_sigsetmask */
258 { ns(struct sunos32_sys_sigsuspend_args), 0,
259 (sy_call_t *)sunos32_sys_sigsuspend },/* 111 = sigsuspend */
260 { ns(struct compat_43_netbsd32_osigstack_args), 0,
261 (sy_call_t *)compat_43_netbsd32_osigstack },/* 112 = compat_43_netbsd32_osigstack */
262 { ns(struct compat_43_netbsd32_orecvmsg_args), 0,
263 (sy_call_t *)compat_43_netbsd32_orecvmsg },/* 113 = compat_43_netbsd32_orecvmsg */
264 { ns(struct compat_43_netbsd32_osendmsg_args), 0,
265 (sy_call_t *)compat_43_netbsd32_osendmsg },/* 114 = compat_43_netbsd32_osendmsg */
266 { 0, 0, 0,
267 sys_nosys }, /* 115 = obsolete vtrace */
268 { ns(struct compat_50_netbsd32_gettimeofday_args), 0,
269 (sy_call_t *)compat_50_netbsd32_gettimeofday },/* 116 = compat_50_netbsd32_gettimeofday */
270 { ns(struct compat_50_netbsd32_getrusage_args), 0,
271 (sy_call_t *)compat_50_netbsd32_getrusage },/* 117 = compat_50_netbsd32_getrusage */
272 { ns(struct netbsd32_getsockopt_args), 0,
273 (sy_call_t *)netbsd32_getsockopt }, /* 118 = netbsd32_getsockopt */
274 { 0, 0, 0,
275 sys_nosys }, /* 119 = unimplemented */
276 { ns(struct netbsd32_readv_args), 0,
277 (sy_call_t *)netbsd32_readv }, /* 120 = netbsd32_readv */
278 { ns(struct netbsd32_writev_args), 0,
279 (sy_call_t *)netbsd32_writev }, /* 121 = netbsd32_writev */
280 { ns(struct compat_50_netbsd32_settimeofday_args), 0,
281 (sy_call_t *)compat_50_netbsd32_settimeofday },/* 122 = compat_50_netbsd32_settimeofday */
282 { ns(struct netbsd32_fchown_args), 0,
283 (sy_call_t *)netbsd32_fchown }, /* 123 = netbsd32_fchown */
284 { ns(struct netbsd32_fchmod_args), 0,
285 (sy_call_t *)netbsd32_fchmod }, /* 124 = netbsd32_fchmod */
286 { ns(struct compat_43_netbsd32_orecvfrom_args), 0,
287 (sy_call_t *)compat_43_netbsd32_orecvfrom },/* 125 = compat_43_netbsd32_orecvfrom */
288 { ns(struct netbsd32_setreuid_args), 0,
289 (sy_call_t *)netbsd32_setreuid }, /* 126 = netbsd32_setreuid */
290 { ns(struct netbsd32_setregid_args), 0,
291 (sy_call_t *)netbsd32_setregid }, /* 127 = netbsd32_setregid */
292 { ns(struct netbsd32_rename_args), 0,
293 (sy_call_t *)netbsd32_rename }, /* 128 = netbsd32_rename */
294 { ns(struct compat_43_netbsd32_otruncate_args), 0,
295 (sy_call_t *)compat_43_netbsd32_otruncate },/* 129 = compat_43_netbsd32_otruncate */
296 { ns(struct compat_43_netbsd32_oftruncate_args), 0,
297 (sy_call_t *)compat_43_netbsd32_oftruncate },/* 130 = compat_43_netbsd32_oftruncate */
298 { ns(struct netbsd32_flock_args), 0,
299 (sy_call_t *)netbsd32_flock }, /* 131 = netbsd32_flock */
300 { 0, 0, 0,
301 sys_nosys }, /* 132 = unimplemented */
302 { ns(struct netbsd32_sendto_args), 0,
303 (sy_call_t *)netbsd32_sendto }, /* 133 = netbsd32_sendto */
304 { ns(struct netbsd32_shutdown_args), 0,
305 (sy_call_t *)netbsd32_shutdown }, /* 134 = netbsd32_shutdown */
306 { ns(struct sunos32_sys_socketpair_args), 0,
307 (sy_call_t *)sunos32_sys_socketpair },/* 135 = socketpair */
308 { ns(struct netbsd32_mkdir_args), 0,
309 (sy_call_t *)netbsd32_mkdir }, /* 136 = netbsd32_mkdir */
310 { ns(struct netbsd32_rmdir_args), 0,
311 (sy_call_t *)netbsd32_rmdir }, /* 137 = netbsd32_rmdir */
312 { ns(struct compat_50_netbsd32_utimes_args), 0,
313 (sy_call_t *)compat_50_netbsd32_utimes },/* 138 = compat_50_netbsd32_utimes */
314 { ns(struct sunos32_sys_sigreturn_args), 0,
315 (sy_call_t *)sunos32_sys_sigreturn },/* 139 = sigreturn */
316 { ns(struct compat_50_netbsd32_adjtime_args), 0,
317 (sy_call_t *)compat_50_netbsd32_adjtime },/* 140 = compat_50_netbsd32_adjtime */
318 { ns(struct compat_43_netbsd32_ogetpeername_args), 0,
319 (sy_call_t *)compat_43_netbsd32_ogetpeername },/* 141 = compat_43_netbsd32_ogetpeername */
320 { 0, 0, 0,
321 (sy_call_t *)compat_43_sys_gethostid },/* 142 = gethostid */
322 { 0, 0, 0,
323 sys_nosys }, /* 143 = unimplemented old sethostid */
324 { ns(struct sunos32_sys_getrlimit_args), 0,
325 (sy_call_t *)sunos32_sys_getrlimit },/* 144 = getrlimit */
326 { ns(struct sunos32_sys_setrlimit_args), 0,
327 (sy_call_t *)sunos32_sys_setrlimit },/* 145 = setrlimit */
328 { ns(struct compat_43_netbsd32_killpg_args), 0,
329 (sy_call_t *)compat_43_netbsd32_killpg },/* 146 = compat_43_netbsd32_killpg */
330 { 0, 0, 0,
331 sys_nosys }, /* 147 = unimplemented */
332 { 0, 0, 0,
333 sys_nosys }, /* 148 = unimplemented */
334 { 0, 0, 0,
335 sys_nosys }, /* 149 = unimplemented */
336 { ns(struct compat_43_netbsd32_ogetsockname_args), 0,
337 (sy_call_t *)compat_43_netbsd32_ogetsockname },/* 150 = compat_43_netbsd32_ogetsockname */
338 { 0, 0, 0,
339 sys_nosys }, /* 151 = unimplemented getmsg */
340 { 0, 0, 0,
341 sys_nosys }, /* 152 = unimplemented putmsg */
342 { ns(struct netbsd32_poll_args), 0,
343 (sy_call_t *)netbsd32_poll }, /* 153 = netbsd32_poll */
344 { 0, 0, 0,
345 sys_nosys }, /* 154 = unimplemented */
346 { ns(struct sunos32_sys_nfssvc_args), 0,
347 (sy_call_t *)sunos32_sys_nfssvc }, /* 155 = nfssvc */
348 { ns(struct compat_43_netbsd32_ogetdirentries_args), 0,
349 (sy_call_t *)compat_43_netbsd32_ogetdirentries },/* 156 = compat_43_netbsd32_ogetdirentries */
350 { ns(struct sunos32_sys_statfs_args), 0,
351 (sy_call_t *)sunos32_sys_statfs }, /* 157 = statfs */
352 { ns(struct sunos32_sys_fstatfs_args), 0,
353 (sy_call_t *)sunos32_sys_fstatfs }, /* 158 = fstatfs */
354 { ns(struct sunos32_sys_unmount_args), 0,
355 (sy_call_t *)sunos32_sys_unmount }, /* 159 = unmount */
356 #ifdef NFS
357 { 0, 0, 0,
358 (sy_call_t *)async_daemon }, /* 160 = async_daemon */
359 { ns(struct compat_30_sys_getfh_args), 0,
360 (sy_call_t *)compat_30_sys_getfh }, /* 161 = getfh */
361 #else
362 { 0, 0, 0,
363 sys_nosys }, /* 160 = unimplemented */
364 { 0, 0, 0,
365 sys_nosys }, /* 161 = unimplemented */
366 #endif
367 { ns(struct compat_09_netbsd32_ogetdomainname_args), 0,
368 (sy_call_t *)compat_09_netbsd32_ogetdomainname },/* 162 = compat_09_netbsd32_ogetdomainname */
369 { ns(struct compat_09_netbsd32_osetdomainname_args), 0,
370 (sy_call_t *)compat_09_netbsd32_osetdomainname },/* 163 = compat_09_netbsd32_osetdomainname */
371 { 0, 0, 0,
372 sys_nosys }, /* 164 = unimplemented rtschedule */
373 { ns(struct sunos32_sys_quotactl_args), 0,
374 (sy_call_t *)sunos32_sys_quotactl },/* 165 = quotactl */
375 { ns(struct sunos32_sys_exportfs_args), 0,
376 (sy_call_t *)sunos32_sys_exportfs },/* 166 = exportfs */
377 { ns(struct sunos32_sys_mount_args), 0,
378 (sy_call_t *)sunos32_sys_mount }, /* 167 = mount */
379 { ns(struct sunos32_sys_ustat_args), 0,
380 (sy_call_t *)sunos32_sys_ustat }, /* 168 = ustat */
381 #ifdef SYSVSEM
382 { ns(struct compat_10_netbsd32_semsys_args), 0,
383 (sy_call_t *)compat_10_netbsd32_semsys },/* 169 = osemsys */
384 #else
385 { 0, 0, 0,
386 sys_nosys }, /* 169 = unimplemented semsys */
387 #endif
388 #ifdef SYSVMSG
389 { ns(struct compat_10_netbsd32_msgsys_args), 0,
390 (sy_call_t *)compat_10_netbsd32_msgsys },/* 170 = omsgsys */
391 #else
392 { 0, 0, 0,
393 sys_nosys }, /* 170 = unimplemented msgsys */
394 #endif
395 #ifdef SYSVSHM
396 { ns(struct compat_10_netbsd32_shmsys_args), 0,
397 (sy_call_t *)compat_10_netbsd32_shmsys },/* 171 = oshmsys */
398 #else
399 { 0, 0, 0,
400 sys_nosys }, /* 171 = unimplemented shmsys */
401 #endif
402 { ns(struct sunos32_sys_auditsys_args), 0,
403 (sy_call_t *)sunos32_sys_auditsys },/* 172 = auditsys */
404 { 0, 0, 0,
405 sys_nosys }, /* 173 = unimplemented rfssys */
406 { ns(struct sunos32_sys_getdents_args), 0,
407 (sy_call_t *)sunos32_sys_getdents },/* 174 = getdents */
408 { 0, 0, 0,
409 (sy_call_t *)sys_setsid }, /* 175 = setsid */
410 { ns(struct netbsd32_fchdir_args), 0,
411 (sy_call_t *)netbsd32_fchdir }, /* 176 = netbsd32_fchdir */
412 { ns(struct netbsd32_fchroot_args), 0,
413 (sy_call_t *)netbsd32_fchroot }, /* 177 = netbsd32_fchroot */
414 { 0, 0, 0,
415 sys_nosys }, /* 178 = unimplemented vpixsys */
416 { 0, 0, 0,
417 sys_nosys }, /* 179 = unimplemented aioread */
418 { 0, 0, 0,
419 sys_nosys }, /* 180 = unimplemented aiowrite */
420 { 0, 0, 0,
421 sys_nosys }, /* 181 = unimplemented aiowait */
422 { 0, 0, 0,
423 sys_nosys }, /* 182 = unimplemented aiocancel */
424 { ns(struct sunos32_sys_sigpending_args), 0,
425 (sy_call_t *)sunos32_sys_sigpending },/* 183 = sigpending */
426 { 0, 0, 0,
427 sys_nosys }, /* 184 = unimplemented */
428 { ns(struct netbsd32_setpgid_args), 0,
429 (sy_call_t *)netbsd32_setpgid }, /* 185 = netbsd32_setpgid */
430 { ns(struct netbsd32_pathconf_args), 0,
431 (sy_call_t *)netbsd32_pathconf }, /* 186 = netbsd32_pathconf */
432 { ns(struct netbsd32_fpathconf_args), 0,
433 (sy_call_t *)netbsd32_fpathconf }, /* 187 = netbsd32_fpathconf */
434 { ns(struct sunos32_sys_sysconf_args), 0,
435 (sy_call_t *)sunos32_sys_sysconf }, /* 188 = sysconf */
436 { ns(struct sunos32_sys_uname_args), 0,
437 (sy_call_t *)sunos32_sys_uname }, /* 189 = uname */
438 { 0, 0, 0,
439 sys_nosys }, /* 190 = filler */
440 { 0, 0, 0,
441 sys_nosys }, /* 191 = filler */
442 { 0, 0, 0,
443 sys_nosys }, /* 192 = filler */
444 { 0, 0, 0,
445 sys_nosys }, /* 193 = filler */
446 { 0, 0, 0,
447 sys_nosys }, /* 194 = filler */
448 { 0, 0, 0,
449 sys_nosys }, /* 195 = filler */
450 { 0, 0, 0,
451 sys_nosys }, /* 196 = filler */
452 { 0, 0, 0,
453 sys_nosys }, /* 197 = filler */
454 { 0, 0, 0,
455 sys_nosys }, /* 198 = filler */
456 { 0, 0, 0,
457 sys_nosys }, /* 199 = filler */
458 { 0, 0, 0,
459 sys_nosys }, /* 200 = filler */
460 { 0, 0, 0,
461 sys_nosys }, /* 201 = filler */
462 { 0, 0, 0,
463 sys_nosys }, /* 202 = filler */
464 { 0, 0, 0,
465 sys_nosys }, /* 203 = filler */
466 { 0, 0, 0,
467 sys_nosys }, /* 204 = filler */
468 { 0, 0, 0,
469 sys_nosys }, /* 205 = filler */
470 { 0, 0, 0,
471 sys_nosys }, /* 206 = filler */
472 { 0, 0, 0,
473 sys_nosys }, /* 207 = filler */
474 { 0, 0, 0,
475 sys_nosys }, /* 208 = filler */
476 { 0, 0, 0,
477 sys_nosys }, /* 209 = filler */
478 { 0, 0, 0,
479 sys_nosys }, /* 210 = filler */
480 { 0, 0, 0,
481 sys_nosys }, /* 211 = filler */
482 { 0, 0, 0,
483 sys_nosys }, /* 212 = filler */
484 { 0, 0, 0,
485 sys_nosys }, /* 213 = filler */
486 { 0, 0, 0,
487 sys_nosys }, /* 214 = filler */
488 { 0, 0, 0,
489 sys_nosys }, /* 215 = filler */
490 { 0, 0, 0,
491 sys_nosys }, /* 216 = filler */
492 { 0, 0, 0,
493 sys_nosys }, /* 217 = filler */
494 { 0, 0, 0,
495 sys_nosys }, /* 218 = filler */
496 { 0, 0, 0,
497 sys_nosys }, /* 219 = filler */
498 { 0, 0, 0,
499 sys_nosys }, /* 220 = filler */
500 { 0, 0, 0,
501 sys_nosys }, /* 221 = filler */
502 { 0, 0, 0,
503 sys_nosys }, /* 222 = filler */
504 { 0, 0, 0,
505 sys_nosys }, /* 223 = filler */
506 { 0, 0, 0,
507 sys_nosys }, /* 224 = filler */
508 { 0, 0, 0,
509 sys_nosys }, /* 225 = filler */
510 { 0, 0, 0,
511 sys_nosys }, /* 226 = filler */
512 { 0, 0, 0,
513 sys_nosys }, /* 227 = filler */
514 { 0, 0, 0,
515 sys_nosys }, /* 228 = filler */
516 { 0, 0, 0,
517 sys_nosys }, /* 229 = filler */
518 { 0, 0, 0,
519 sys_nosys }, /* 230 = filler */
520 { 0, 0, 0,
521 sys_nosys }, /* 231 = filler */
522 { 0, 0, 0,
523 sys_nosys }, /* 232 = filler */
524 { 0, 0, 0,
525 sys_nosys }, /* 233 = filler */
526 { 0, 0, 0,
527 sys_nosys }, /* 234 = filler */
528 { 0, 0, 0,
529 sys_nosys }, /* 235 = filler */
530 { 0, 0, 0,
531 sys_nosys }, /* 236 = filler */
532 { 0, 0, 0,
533 sys_nosys }, /* 237 = filler */
534 { 0, 0, 0,
535 sys_nosys }, /* 238 = filler */
536 { 0, 0, 0,
537 sys_nosys }, /* 239 = filler */
538 { 0, 0, 0,
539 sys_nosys }, /* 240 = filler */
540 { 0, 0, 0,
541 sys_nosys }, /* 241 = filler */
542 { 0, 0, 0,
543 sys_nosys }, /* 242 = filler */
544 { 0, 0, 0,
545 sys_nosys }, /* 243 = filler */
546 { 0, 0, 0,
547 sys_nosys }, /* 244 = filler */
548 { 0, 0, 0,
549 sys_nosys }, /* 245 = filler */
550 { 0, 0, 0,
551 sys_nosys }, /* 246 = filler */
552 { 0, 0, 0,
553 sys_nosys }, /* 247 = filler */
554 { 0, 0, 0,
555 sys_nosys }, /* 248 = filler */
556 { 0, 0, 0,
557 sys_nosys }, /* 249 = filler */
558 { 0, 0, 0,
559 sys_nosys }, /* 250 = filler */
560 { 0, 0, 0,
561 sys_nosys }, /* 251 = filler */
562 { 0, 0, 0,
563 sys_nosys }, /* 252 = filler */
564 { 0, 0, 0,
565 sys_nosys }, /* 253 = filler */
566 { 0, 0, 0,
567 sys_nosys }, /* 254 = filler */
568 { 0, 0, 0,
569 sys_nosys }, /* 255 = filler */