netbsd32_sysent.c revision 1.65.2.1 1 1.65.2.1 ad /* $NetBSD: netbsd32_sysent.c,v 1.65.2.1 2007/08/20 21:26:00 ad Exp $ */
2 1.1 mrg
3 1.1 mrg /*
4 1.1 mrg * System call switch table.
5 1.1 mrg *
6 1.1 mrg * DO NOT EDIT-- this file is automatically generated.
7 1.65 christos * created from NetBSD: syscalls.master,v 1.58 2007/03/04 06:01:27 christos Exp
8 1.1 mrg */
9 1.24 lukem
10 1.24 lukem #include <sys/cdefs.h>
11 1.65.2.1 ad __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.65.2.1 2007/08/20 21:26:00 ad Exp $");
12 1.1 mrg
13 1.23 mrg #if defined(_KERNEL_OPT)
14 1.1 mrg #include "opt_ktrace.h"
15 1.1 mrg #include "opt_nfsserver.h"
16 1.1 mrg #include "opt_compat_netbsd.h"
17 1.4 eeh #include "opt_ntp.h"
18 1.5 tron #include "opt_sysv.h"
19 1.6 christos #include "opt_compat_43.h"
20 1.48 cube #include "opt_posix.h"
21 1.1 mrg #include "fs_lfs.h"
22 1.1 mrg #include "fs_nfs.h"
23 1.17 jdolecek #endif
24 1.1 mrg #include <sys/param.h>
25 1.1 mrg #include <sys/systm.h>
26 1.1 mrg #include <sys/signal.h>
27 1.1 mrg #include <sys/mount.h>
28 1.1 mrg #include <sys/syscallargs.h>
29 1.8 mrg #include <compat/netbsd32/netbsd32.h>
30 1.8 mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
31 1.1 mrg
32 1.1 mrg #ifdef COMPAT_43
33 1.23 mrg #define compat_43(func) __CONCAT(compat_43_,func)
34 1.1 mrg #else
35 1.23 mrg #define compat_43(func) sys_nosys
36 1.1 mrg #endif
37 1.1 mrg
38 1.1 mrg #ifdef COMPAT_09
39 1.23 mrg #define compat_09(func) __CONCAT(compat_09_,func)
40 1.1 mrg #else
41 1.23 mrg #define compat_09(func) sys_nosys
42 1.1 mrg #endif
43 1.1 mrg
44 1.1 mrg #ifdef COMPAT_10
45 1.23 mrg #define compat_10(func) __CONCAT(compat_10_,func)
46 1.1 mrg #else
47 1.23 mrg #define compat_10(func) sys_nosys
48 1.1 mrg #endif
49 1.1 mrg
50 1.1 mrg #ifdef COMPAT_11
51 1.23 mrg #define compat_11(func) __CONCAT(compat_11_,func)
52 1.1 mrg #else
53 1.23 mrg #define compat_11(func) sys_nosys
54 1.1 mrg #endif
55 1.1 mrg
56 1.1 mrg #ifdef COMPAT_12
57 1.23 mrg #define compat_12(func) __CONCAT(compat_12_,func)
58 1.1 mrg #else
59 1.23 mrg #define compat_12(func) sys_nosys
60 1.1 mrg #endif
61 1.1 mrg
62 1.1 mrg #ifdef COMPAT_13
63 1.23 mrg #define compat_13(func) __CONCAT(compat_13_,func)
64 1.1 mrg #else
65 1.23 mrg #define compat_13(func) sys_nosys
66 1.1 mrg #endif
67 1.1 mrg
68 1.11 eeh #ifdef COMPAT_14
69 1.23 mrg #define compat_14(func) __CONCAT(compat_14_,func)
70 1.11 eeh #else
71 1.23 mrg #define compat_14(func) sys_nosys
72 1.11 eeh #endif
73 1.11 eeh
74 1.30 fvdl #ifdef COMPAT_15
75 1.30 fvdl #define compat_15(func) __CONCAT(compat_15_,func)
76 1.30 fvdl #else
77 1.30 fvdl #define compat_15(func) sys_nosys
78 1.30 fvdl #endif
79 1.30 fvdl
80 1.30 fvdl #ifdef COMPAT_16
81 1.30 fvdl #define compat_16(func) __CONCAT(compat_16_,func)
82 1.30 fvdl #else
83 1.30 fvdl #define compat_16(func) sys_nosys
84 1.30 fvdl #endif
85 1.30 fvdl
86 1.32 cube #ifdef COMPAT_20
87 1.32 cube #define compat_20(func) __CONCAT(compat_20_,func)
88 1.32 cube #else
89 1.32 cube #define compat_20(func) sys_nosys
90 1.32 cube #endif
91 1.32 cube
92 1.51 cube #ifdef COMPAT_30
93 1.51 cube #define compat_30(func) __CONCAT(compat_30_,func)
94 1.51 cube #else
95 1.51 cube #define compat_30(func) sys_nosys
96 1.51 cube #endif
97 1.51 cube
98 1.1 mrg #define s(type) sizeof(type)
99 1.1 mrg
100 1.8 mrg struct sysent netbsd32_sysent[] = {
101 1.19 thorpej { 0, 0, 0,
102 1.1 mrg sys_nosys }, /* 0 = syscall (indir) */
103 1.19 thorpej { 1, s(struct netbsd32_exit_args), 0,
104 1.11 eeh netbsd32_exit }, /* 1 = netbsd32_exit */
105 1.19 thorpej { 0, 0, 0,
106 1.1 mrg sys_fork }, /* 2 = fork */
107 1.19 thorpej { 3, s(struct netbsd32_read_args), 0,
108 1.11 eeh netbsd32_read }, /* 3 = netbsd32_read */
109 1.19 thorpej { 3, s(struct netbsd32_write_args), 0,
110 1.11 eeh netbsd32_write }, /* 4 = netbsd32_write */
111 1.19 thorpej { 3, s(struct netbsd32_open_args), 0,
112 1.11 eeh netbsd32_open }, /* 5 = netbsd32_open */
113 1.19 thorpej { 1, s(struct netbsd32_close_args), 0,
114 1.11 eeh netbsd32_close }, /* 6 = netbsd32_close */
115 1.19 thorpej { 4, s(struct netbsd32_wait4_args), 0,
116 1.11 eeh netbsd32_wait4 }, /* 7 = netbsd32_wait4 */
117 1.19 thorpej { 2, s(struct compat_43_netbsd32_ocreat_args), 0,
118 1.11 eeh compat_43(netbsd32_ocreat) }, /* 8 = compat_43 netbsd32_ocreat */
119 1.19 thorpej { 2, s(struct netbsd32_link_args), 0,
120 1.11 eeh netbsd32_link }, /* 9 = netbsd32_link */
121 1.19 thorpej { 1, s(struct netbsd32_unlink_args), 0,
122 1.11 eeh netbsd32_unlink }, /* 10 = netbsd32_unlink */
123 1.19 thorpej { 0, 0, 0,
124 1.1 mrg sys_nosys }, /* 11 = obsolete execv */
125 1.19 thorpej { 1, s(struct netbsd32_chdir_args), 0,
126 1.11 eeh netbsd32_chdir }, /* 12 = netbsd32_chdir */
127 1.19 thorpej { 1, s(struct netbsd32_fchdir_args), 0,
128 1.11 eeh netbsd32_fchdir }, /* 13 = netbsd32_fchdir */
129 1.19 thorpej { 3, s(struct netbsd32_mknod_args), 0,
130 1.11 eeh netbsd32_mknod }, /* 14 = netbsd32_mknod */
131 1.19 thorpej { 2, s(struct netbsd32_chmod_args), 0,
132 1.11 eeh netbsd32_chmod }, /* 15 = netbsd32_chmod */
133 1.19 thorpej { 3, s(struct netbsd32_chown_args), 0,
134 1.11 eeh netbsd32_chown }, /* 16 = netbsd32_chown */
135 1.19 thorpej { 1, s(struct netbsd32_break_args), 0,
136 1.11 eeh netbsd32_break }, /* 17 = netbsd32_break */
137 1.32 cube { 3, s(struct compat_20_netbsd32_getfsstat_args), 0,
138 1.32 cube compat_20(netbsd32_getfsstat) }, /* 18 = compat_20 netbsd32_getfsstat */
139 1.19 thorpej { 3, s(struct compat_43_netbsd32_olseek_args), 0,
140 1.11 eeh compat_43(netbsd32_olseek) }, /* 19 = compat_43 netbsd32_olseek */
141 1.20 thorpej { 0, 0, SYCALL_MPSAFE | 0,
142 1.1 mrg sys_getpid }, /* 20 = getpid */
143 1.19 thorpej { 4, s(struct netbsd32_mount_args), 0,
144 1.11 eeh netbsd32_mount }, /* 21 = netbsd32_mount */
145 1.19 thorpej { 2, s(struct netbsd32_unmount_args), 0,
146 1.11 eeh netbsd32_unmount }, /* 22 = netbsd32_unmount */
147 1.19 thorpej { 1, s(struct netbsd32_setuid_args), 0,
148 1.11 eeh netbsd32_setuid }, /* 23 = netbsd32_setuid */
149 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
150 1.1 mrg sys_getuid }, /* 24 = getuid */
151 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
152 1.1 mrg sys_geteuid }, /* 25 = geteuid */
153 1.19 thorpej { 4, s(struct netbsd32_ptrace_args), 0,
154 1.11 eeh netbsd32_ptrace }, /* 26 = netbsd32_ptrace */
155 1.19 thorpej { 3, s(struct netbsd32_recvmsg_args), 0,
156 1.11 eeh netbsd32_recvmsg }, /* 27 = netbsd32_recvmsg */
157 1.19 thorpej { 3, s(struct netbsd32_sendmsg_args), 0,
158 1.11 eeh netbsd32_sendmsg }, /* 28 = netbsd32_sendmsg */
159 1.19 thorpej { 6, s(struct netbsd32_recvfrom_args), 0,
160 1.11 eeh netbsd32_recvfrom }, /* 29 = netbsd32_recvfrom */
161 1.19 thorpej { 3, s(struct netbsd32_accept_args), 0,
162 1.11 eeh netbsd32_accept }, /* 30 = netbsd32_accept */
163 1.19 thorpej { 3, s(struct netbsd32_getpeername_args), 0,
164 1.11 eeh netbsd32_getpeername }, /* 31 = netbsd32_getpeername */
165 1.19 thorpej { 3, s(struct netbsd32_getsockname_args), 0,
166 1.11 eeh netbsd32_getsockname }, /* 32 = netbsd32_getsockname */
167 1.19 thorpej { 2, s(struct netbsd32_access_args), 0,
168 1.11 eeh netbsd32_access }, /* 33 = netbsd32_access */
169 1.19 thorpej { 2, s(struct netbsd32_chflags_args), 0,
170 1.11 eeh netbsd32_chflags }, /* 34 = netbsd32_chflags */
171 1.19 thorpej { 2, s(struct netbsd32_fchflags_args), 0,
172 1.11 eeh netbsd32_fchflags }, /* 35 = netbsd32_fchflags */
173 1.19 thorpej { 0, 0, 0,
174 1.1 mrg sys_sync }, /* 36 = sync */
175 1.19 thorpej { 2, s(struct netbsd32_kill_args), 0,
176 1.11 eeh netbsd32_kill }, /* 37 = netbsd32_kill */
177 1.19 thorpej { 2, s(struct compat_43_netbsd32_stat43_args), 0,
178 1.11 eeh compat_43(netbsd32_stat43) }, /* 38 = compat_43 netbsd32_stat43 */
179 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
180 1.1 mrg sys_getppid }, /* 39 = getppid */
181 1.19 thorpej { 2, s(struct compat_43_netbsd32_lstat43_args), 0,
182 1.11 eeh compat_43(netbsd32_lstat43) }, /* 40 = compat_43 netbsd32_lstat43 */
183 1.19 thorpej { 1, s(struct netbsd32_dup_args), 0,
184 1.11 eeh netbsd32_dup }, /* 41 = netbsd32_dup */
185 1.19 thorpej { 0, 0, 0,
186 1.1 mrg sys_pipe }, /* 42 = pipe */
187 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
188 1.1 mrg sys_getegid }, /* 43 = getegid */
189 1.19 thorpej { 4, s(struct netbsd32_profil_args), 0,
190 1.11 eeh netbsd32_profil }, /* 44 = netbsd32_profil */
191 1.19 thorpej { 4, s(struct netbsd32_ktrace_args), 0,
192 1.11 eeh netbsd32_ktrace }, /* 45 = netbsd32_ktrace */
193 1.19 thorpej { 3, s(struct netbsd32_sigaction_args), 0,
194 1.11 eeh netbsd32_sigaction }, /* 46 = netbsd32_sigaction */
195 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
196 1.1 mrg sys_getgid }, /* 47 = getgid */
197 1.19 thorpej { 2, s(struct compat_13_netbsd32_sigprocmask_args), 0,
198 1.11 eeh compat_13(netbsd32_sigprocmask) }, /* 48 = compat_13 sigprocmask13 */
199 1.19 thorpej { 2, s(struct netbsd32___getlogin_args), 0,
200 1.11 eeh netbsd32___getlogin }, /* 49 = netbsd32___getlogin */
201 1.19 thorpej { 1, s(struct netbsd32_setlogin_args), 0,
202 1.11 eeh netbsd32_setlogin }, /* 50 = netbsd32_setlogin */
203 1.19 thorpej { 1, s(struct netbsd32_acct_args), 0,
204 1.11 eeh netbsd32_acct }, /* 51 = netbsd32_acct */
205 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
206 1.4 eeh compat_13(sys_sigpending) }, /* 52 = compat_13 sigpending13 */
207 1.19 thorpej { 2, s(struct compat_13_netbsd32_sigaltstack13_args), 0,
208 1.11 eeh compat_13(netbsd32_sigaltstack13) },/* 53 = compat_13 netbsd32_sigaltstack13 */
209 1.19 thorpej { 3, s(struct netbsd32_ioctl_args), 0,
210 1.11 eeh netbsd32_ioctl }, /* 54 = netbsd32_ioctl */
211 1.19 thorpej { 1, s(struct compat_12_netbsd32_reboot_args), 0,
212 1.11 eeh compat_12(netbsd32_reboot) }, /* 55 = compat_12 netbsd32_reboot */
213 1.19 thorpej { 1, s(struct netbsd32_revoke_args), 0,
214 1.11 eeh netbsd32_revoke }, /* 56 = netbsd32_revoke */
215 1.19 thorpej { 2, s(struct netbsd32_symlink_args), 0,
216 1.11 eeh netbsd32_symlink }, /* 57 = netbsd32_symlink */
217 1.19 thorpej { 3, s(struct netbsd32_readlink_args), 0,
218 1.11 eeh netbsd32_readlink }, /* 58 = netbsd32_readlink */
219 1.19 thorpej { 3, s(struct netbsd32_execve_args), 0,
220 1.11 eeh netbsd32_execve }, /* 59 = netbsd32_execve */
221 1.19 thorpej { 1, s(struct netbsd32_umask_args), 0,
222 1.11 eeh netbsd32_umask }, /* 60 = netbsd32_umask */
223 1.19 thorpej { 1, s(struct netbsd32_chroot_args), 0,
224 1.11 eeh netbsd32_chroot }, /* 61 = netbsd32_chroot */
225 1.19 thorpej { 2, s(struct compat_43_netbsd32_fstat43_args), 0,
226 1.11 eeh compat_43(netbsd32_fstat43) }, /* 62 = compat_43 netbsd32_fstat43 */
227 1.19 thorpej { 4, s(struct compat_43_netbsd32_ogetkerninfo_args), 0,
228 1.11 eeh compat_43(netbsd32_ogetkerninfo) }, /* 63 = compat_43 netbsd32_ogetkerninfo */
229 1.19 thorpej { 0, 0, 0,
230 1.1 mrg compat_43(sys_getpagesize) }, /* 64 = compat_43 ogetpagesize */
231 1.19 thorpej { 2, s(struct compat_12_netbsd32_msync_args), 0,
232 1.11 eeh compat_12(netbsd32_msync) }, /* 65 = compat_12 netbsd32_msync */
233 1.19 thorpej { 0, 0, 0,
234 1.1 mrg sys_vfork }, /* 66 = vfork */
235 1.19 thorpej { 0, 0, 0,
236 1.1 mrg sys_nosys }, /* 67 = obsolete vread */
237 1.19 thorpej { 0, 0, 0,
238 1.1 mrg sys_nosys }, /* 68 = obsolete vwrite */
239 1.19 thorpej { 1, s(struct netbsd32_sbrk_args), 0,
240 1.11 eeh netbsd32_sbrk }, /* 69 = netbsd32_sbrk */
241 1.19 thorpej { 1, s(struct netbsd32_sstk_args), 0,
242 1.11 eeh netbsd32_sstk }, /* 70 = netbsd32_sstk */
243 1.19 thorpej { 6, s(struct compat_43_netbsd32_ommap_args), 0,
244 1.11 eeh compat_43(netbsd32_ommap) }, /* 71 = compat_43 netbsd32_ommap */
245 1.19 thorpej { 1, s(struct netbsd32_ovadvise_args), 0,
246 1.11 eeh netbsd32_ovadvise }, /* 72 = vadvise */
247 1.19 thorpej { 2, s(struct netbsd32_munmap_args), 0,
248 1.11 eeh netbsd32_munmap }, /* 73 = netbsd32_munmap */
249 1.19 thorpej { 3, s(struct netbsd32_mprotect_args), 0,
250 1.11 eeh netbsd32_mprotect }, /* 74 = netbsd32_mprotect */
251 1.19 thorpej { 3, s(struct netbsd32_madvise_args), 0,
252 1.11 eeh netbsd32_madvise }, /* 75 = netbsd32_madvise */
253 1.19 thorpej { 0, 0, 0,
254 1.1 mrg sys_nosys }, /* 76 = obsolete vhangup */
255 1.19 thorpej { 0, 0, 0,
256 1.1 mrg sys_nosys }, /* 77 = obsolete vlimit */
257 1.19 thorpej { 3, s(struct netbsd32_mincore_args), 0,
258 1.11 eeh netbsd32_mincore }, /* 78 = netbsd32_mincore */
259 1.19 thorpej { 2, s(struct netbsd32_getgroups_args), 0,
260 1.11 eeh netbsd32_getgroups }, /* 79 = netbsd32_getgroups */
261 1.19 thorpej { 2, s(struct netbsd32_setgroups_args), 0,
262 1.11 eeh netbsd32_setgroups }, /* 80 = netbsd32_setgroups */
263 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
264 1.1 mrg sys_getpgrp }, /* 81 = getpgrp */
265 1.19 thorpej { 2, s(struct netbsd32_setpgid_args), 0,
266 1.11 eeh netbsd32_setpgid }, /* 82 = netbsd32_setpgid */
267 1.19 thorpej { 3, s(struct netbsd32_setitimer_args), 0,
268 1.11 eeh netbsd32_setitimer }, /* 83 = netbsd32_setitimer */
269 1.19 thorpej { 0, 0, 0,
270 1.1 mrg compat_43(sys_wait) }, /* 84 = compat_43 owait */
271 1.19 thorpej { 1, s(struct compat_12_netbsd32_oswapon_args), 0,
272 1.11 eeh compat_12(netbsd32_oswapon) }, /* 85 = compat_12 netbsd32_oswapon */
273 1.19 thorpej { 2, s(struct netbsd32_getitimer_args), 0,
274 1.11 eeh netbsd32_getitimer }, /* 86 = netbsd32_getitimer */
275 1.19 thorpej { 2, s(struct compat_43_netbsd32_ogethostname_args), 0,
276 1.11 eeh compat_43(netbsd32_ogethostname) }, /* 87 = compat_43 netbsd32_ogethostname */
277 1.19 thorpej { 2, s(struct compat_43_netbsd32_osethostname_args), 0,
278 1.11 eeh compat_43(netbsd32_osethostname) }, /* 88 = compat_43 netbsd32_osethostname */
279 1.19 thorpej { 0, 0, 0,
280 1.1 mrg compat_43(sys_getdtablesize) }, /* 89 = compat_43 ogetdtablesize */
281 1.19 thorpej { 2, s(struct netbsd32_dup2_args), 0,
282 1.11 eeh netbsd32_dup2 }, /* 90 = netbsd32_dup2 */
283 1.19 thorpej { 0, 0, 0,
284 1.1 mrg sys_nosys }, /* 91 = unimplemented getdopt */
285 1.19 thorpej { 3, s(struct netbsd32_fcntl_args), 0,
286 1.11 eeh netbsd32_fcntl }, /* 92 = netbsd32_fcntl */
287 1.19 thorpej { 5, s(struct netbsd32_select_args), 0,
288 1.11 eeh netbsd32_select }, /* 93 = netbsd32_select */
289 1.19 thorpej { 0, 0, 0,
290 1.1 mrg sys_nosys }, /* 94 = unimplemented setdopt */
291 1.19 thorpej { 1, s(struct netbsd32_fsync_args), 0,
292 1.11 eeh netbsd32_fsync }, /* 95 = netbsd32_fsync */
293 1.19 thorpej { 3, s(struct netbsd32_setpriority_args), 0,
294 1.11 eeh netbsd32_setpriority }, /* 96 = netbsd32_setpriority */
295 1.54 mrg { 3, s(struct compat_30_netbsd32_socket_args), 0,
296 1.54 mrg compat_30(netbsd32_socket) }, /* 97 = compat_30 netbsd32_socket */
297 1.19 thorpej { 3, s(struct netbsd32_connect_args), 0,
298 1.11 eeh netbsd32_connect }, /* 98 = netbsd32_connect */
299 1.19 thorpej { 3, s(struct compat_43_netbsd32_oaccept_args), 0,
300 1.11 eeh compat_43(netbsd32_oaccept) }, /* 99 = compat_43 netbsd32_oaccept */
301 1.19 thorpej { 2, s(struct netbsd32_getpriority_args), 0,
302 1.11 eeh netbsd32_getpriority }, /* 100 = netbsd32_getpriority */
303 1.19 thorpej { 4, s(struct compat_43_netbsd32_osend_args), 0,
304 1.11 eeh compat_43(netbsd32_osend) }, /* 101 = compat_43 netbsd32_osend */
305 1.19 thorpej { 4, s(struct compat_43_netbsd32_orecv_args), 0,
306 1.11 eeh compat_43(netbsd32_orecv) }, /* 102 = compat_43 netbsd32_orecv */
307 1.19 thorpej { 1, s(struct compat_13_netbsd32_sigreturn_args), 0,
308 1.12 eeh compat_13(netbsd32_sigreturn) }, /* 103 = compat_13 sigreturn13 */
309 1.19 thorpej { 3, s(struct netbsd32_bind_args), 0,
310 1.11 eeh netbsd32_bind }, /* 104 = netbsd32_bind */
311 1.19 thorpej { 5, s(struct netbsd32_setsockopt_args), 0,
312 1.11 eeh netbsd32_setsockopt }, /* 105 = netbsd32_setsockopt */
313 1.19 thorpej { 2, s(struct netbsd32_listen_args), 0,
314 1.11 eeh netbsd32_listen }, /* 106 = netbsd32_listen */
315 1.19 thorpej { 0, 0, 0,
316 1.1 mrg sys_nosys }, /* 107 = obsolete vtimes */
317 1.19 thorpej { 3, s(struct compat_43_netbsd32_osigvec_args), 0,
318 1.11 eeh compat_43(netbsd32_osigvec) }, /* 108 = compat_43 netbsd32_osigvec */
319 1.19 thorpej { 1, s(struct compat_43_netbsd32_sigblock_args), 0,
320 1.11 eeh compat_43(netbsd32_sigblock) }, /* 109 = compat_43 netbsd32_sigblock */
321 1.19 thorpej { 1, s(struct compat_43_netbsd32_sigsetmask_args), 0,
322 1.11 eeh compat_43(netbsd32_sigsetmask) }, /* 110 = compat_43 netbsd32_sigsetmask */
323 1.19 thorpej { 1, s(struct compat_13_netbsd32_sigsuspend_args), 0,
324 1.11 eeh compat_13(netbsd32_sigsuspend) }, /* 111 = compat_13 sigsuspend13 */
325 1.19 thorpej { 2, s(struct compat_43_netbsd32_osigstack_args), 0,
326 1.11 eeh compat_43(netbsd32_osigstack) }, /* 112 = compat_43 netbsd32_osigstack */
327 1.19 thorpej { 3, s(struct compat_43_netbsd32_orecvmsg_args), 0,
328 1.11 eeh compat_43(netbsd32_orecvmsg) }, /* 113 = compat_43 netbsd32_orecvmsg */
329 1.19 thorpej { 3, s(struct compat_43_netbsd32_osendmsg_args), 0,
330 1.11 eeh compat_43(netbsd32_osendmsg) }, /* 114 = compat_43 netbsd32_osendmsg */
331 1.19 thorpej { 0, 0, 0,
332 1.1 mrg sys_nosys }, /* 115 = obsolete vtrace */
333 1.19 thorpej { 2, s(struct netbsd32_gettimeofday_args), 0,
334 1.11 eeh netbsd32_gettimeofday }, /* 116 = netbsd32_gettimeofday */
335 1.19 thorpej { 2, s(struct netbsd32_getrusage_args), 0,
336 1.11 eeh netbsd32_getrusage }, /* 117 = netbsd32_getrusage */
337 1.19 thorpej { 5, s(struct netbsd32_getsockopt_args), 0,
338 1.11 eeh netbsd32_getsockopt }, /* 118 = netbsd32_getsockopt */
339 1.19 thorpej { 0, 0, 0,
340 1.1 mrg sys_nosys }, /* 119 = obsolete resuba */
341 1.19 thorpej { 3, s(struct netbsd32_readv_args), 0,
342 1.11 eeh netbsd32_readv }, /* 120 = netbsd32_readv */
343 1.19 thorpej { 3, s(struct netbsd32_writev_args), 0,
344 1.11 eeh netbsd32_writev }, /* 121 = netbsd32_writev */
345 1.19 thorpej { 2, s(struct netbsd32_settimeofday_args), 0,
346 1.11 eeh netbsd32_settimeofday }, /* 122 = netbsd32_settimeofday */
347 1.19 thorpej { 3, s(struct netbsd32_fchown_args), 0,
348 1.11 eeh netbsd32_fchown }, /* 123 = netbsd32_fchown */
349 1.19 thorpej { 2, s(struct netbsd32_fchmod_args), 0,
350 1.11 eeh netbsd32_fchmod }, /* 124 = netbsd32_fchmod */
351 1.19 thorpej { 6, s(struct compat_43_netbsd32_orecvfrom_args), 0,
352 1.11 eeh compat_43(netbsd32_orecvfrom) }, /* 125 = compat_43 netbsd32_orecvfrom */
353 1.19 thorpej { 2, s(struct netbsd32_setreuid_args), 0,
354 1.11 eeh netbsd32_setreuid }, /* 126 = netbsd32_setreuid */
355 1.19 thorpej { 2, s(struct netbsd32_setregid_args), 0,
356 1.11 eeh netbsd32_setregid }, /* 127 = netbsd32_setregid */
357 1.19 thorpej { 2, s(struct netbsd32_rename_args), 0,
358 1.11 eeh netbsd32_rename }, /* 128 = netbsd32_rename */
359 1.19 thorpej { 2, s(struct compat_43_netbsd32_otruncate_args), 0,
360 1.11 eeh compat_43(netbsd32_otruncate) }, /* 129 = compat_43 netbsd32_otruncate */
361 1.19 thorpej { 2, s(struct compat_43_netbsd32_oftruncate_args), 0,
362 1.11 eeh compat_43(netbsd32_oftruncate) }, /* 130 = compat_43 netbsd32_oftruncate */
363 1.19 thorpej { 2, s(struct netbsd32_flock_args), 0,
364 1.11 eeh netbsd32_flock }, /* 131 = netbsd32_flock */
365 1.19 thorpej { 2, s(struct netbsd32_mkfifo_args), 0,
366 1.11 eeh netbsd32_mkfifo }, /* 132 = netbsd32_mkfifo */
367 1.19 thorpej { 6, s(struct netbsd32_sendto_args), 0,
368 1.11 eeh netbsd32_sendto }, /* 133 = netbsd32_sendto */
369 1.19 thorpej { 2, s(struct netbsd32_shutdown_args), 0,
370 1.11 eeh netbsd32_shutdown }, /* 134 = netbsd32_shutdown */
371 1.19 thorpej { 4, s(struct netbsd32_socketpair_args), 0,
372 1.11 eeh netbsd32_socketpair }, /* 135 = netbsd32_socketpair */
373 1.19 thorpej { 2, s(struct netbsd32_mkdir_args), 0,
374 1.11 eeh netbsd32_mkdir }, /* 136 = netbsd32_mkdir */
375 1.19 thorpej { 1, s(struct netbsd32_rmdir_args), 0,
376 1.11 eeh netbsd32_rmdir }, /* 137 = netbsd32_rmdir */
377 1.19 thorpej { 2, s(struct netbsd32_utimes_args), 0,
378 1.11 eeh netbsd32_utimes }, /* 138 = netbsd32_utimes */
379 1.19 thorpej { 0, 0, 0,
380 1.1 mrg sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
381 1.19 thorpej { 2, s(struct netbsd32_adjtime_args), 0,
382 1.11 eeh netbsd32_adjtime }, /* 140 = netbsd32_adjtime */
383 1.19 thorpej { 3, s(struct compat_43_netbsd32_ogetpeername_args), 0,
384 1.11 eeh compat_43(netbsd32_ogetpeername) }, /* 141 = compat_43 netbsd32_ogetpeername */
385 1.19 thorpej { 0, 0, 0,
386 1.1 mrg compat_43(sys_gethostid) }, /* 142 = compat_43 ogethostid */
387 1.19 thorpej { 1, s(struct compat_43_netbsd32_sethostid_args), 0,
388 1.11 eeh compat_43(netbsd32_sethostid) }, /* 143 = compat_43 netbsd32_sethostid */
389 1.19 thorpej { 2, s(struct compat_43_netbsd32_ogetrlimit_args), 0,
390 1.11 eeh compat_43(netbsd32_ogetrlimit) }, /* 144 = compat_43 netbsd32_ogetrlimit */
391 1.19 thorpej { 2, s(struct compat_43_netbsd32_osetrlimit_args), 0,
392 1.11 eeh compat_43(netbsd32_osetrlimit) }, /* 145 = compat_43 netbsd32_osetrlimit */
393 1.19 thorpej { 2, s(struct compat_43_netbsd32_killpg_args), 0,
394 1.11 eeh compat_43(netbsd32_killpg) }, /* 146 = compat_43 netbsd32_killpg */
395 1.19 thorpej { 0, 0, 0,
396 1.1 mrg sys_setsid }, /* 147 = setsid */
397 1.19 thorpej { 4, s(struct netbsd32_quotactl_args), 0,
398 1.11 eeh netbsd32_quotactl }, /* 148 = netbsd32_quotactl */
399 1.19 thorpej { 0, 0, 0,
400 1.1 mrg compat_43(sys_quota) }, /* 149 = compat_43 oquota */
401 1.19 thorpej { 3, s(struct compat_43_netbsd32_ogetsockname_args), 0,
402 1.11 eeh compat_43(netbsd32_ogetsockname) }, /* 150 = compat_43 netbsd32_ogetsockname */
403 1.19 thorpej { 0, 0, 0,
404 1.1 mrg sys_nosys }, /* 151 = unimplemented */
405 1.19 thorpej { 0, 0, 0,
406 1.1 mrg sys_nosys }, /* 152 = unimplemented */
407 1.19 thorpej { 0, 0, 0,
408 1.1 mrg sys_nosys }, /* 153 = unimplemented */
409 1.19 thorpej { 0, 0, 0,
410 1.1 mrg sys_nosys }, /* 154 = unimplemented */
411 1.10 christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
412 1.19 thorpej { 2, s(struct netbsd32_nfssvc_args), 0,
413 1.11 eeh netbsd32_nfssvc }, /* 155 = netbsd32_nfssvc */
414 1.1 mrg #else
415 1.19 thorpej { 0, 0, 0,
416 1.11 eeh sys_nosys }, /* 155 = excluded netbsd32_nfssvc */
417 1.1 mrg #endif
418 1.19 thorpej { 4, s(struct compat_43_netbsd32_ogetdirentries_args), 0,
419 1.11 eeh compat_43(netbsd32_ogetdirentries) },/* 156 = compat_43 netbsd32_ogetdirentries */
420 1.32 cube { 2, s(struct compat_20_netbsd32_statfs_args), 0,
421 1.32 cube compat_20(netbsd32_statfs) }, /* 157 = compat_20 netbsd32_statfs */
422 1.32 cube { 2, s(struct compat_20_netbsd32_fstatfs_args), 0,
423 1.32 cube compat_20(netbsd32_fstatfs) }, /* 158 = compat_20 netbsd32_fstatfs */
424 1.19 thorpej { 0, 0, 0,
425 1.1 mrg sys_nosys }, /* 159 = unimplemented */
426 1.19 thorpej { 0, 0, 0,
427 1.1 mrg sys_nosys }, /* 160 = unimplemented */
428 1.55 martin { 2, s(struct compat_30_netbsd32_getfh_args), 0,
429 1.55 martin compat_30(netbsd32_getfh) }, /* 161 = compat_30 netbsd32_getfh */
430 1.19 thorpej { 2, s(struct compat_09_netbsd32_ogetdomainname_args), 0,
431 1.11 eeh compat_09(netbsd32_ogetdomainname) },/* 162 = compat_09 netbsd32_ogetdomainname */
432 1.19 thorpej { 2, s(struct compat_09_netbsd32_osetdomainname_args), 0,
433 1.11 eeh compat_09(netbsd32_osetdomainname) },/* 163 = compat_09 netbsd32_osetdomainname */
434 1.19 thorpej { 1, s(struct compat_09_netbsd32_uname_args), 0,
435 1.11 eeh compat_09(netbsd32_uname) }, /* 164 = compat_09 netbsd32_uname */
436 1.19 thorpej { 2, s(struct netbsd32_sysarch_args), 0,
437 1.11 eeh netbsd32_sysarch }, /* 165 = netbsd32_sysarch */
438 1.19 thorpej { 0, 0, 0,
439 1.1 mrg sys_nosys }, /* 166 = unimplemented */
440 1.19 thorpej { 0, 0, 0,
441 1.1 mrg sys_nosys }, /* 167 = unimplemented */
442 1.19 thorpej { 0, 0, 0,
443 1.1 mrg sys_nosys }, /* 168 = unimplemented */
444 1.25 mrg #if defined(SYSVSEM) || !defined(_KERNEL)
445 1.25 mrg { 5, s(struct compat_10_netbsd32_sys_semsys_args), 0,
446 1.25 mrg compat_10(netbsd32_sys_semsys) }, /* 169 = compat_10 osemsys */
447 1.1 mrg #else
448 1.19 thorpej { 0, 0, 0,
449 1.25 mrg sys_nosys }, /* 169 = excluded netbsd32_sys_semsys */
450 1.1 mrg #endif
451 1.25 mrg #if defined(SYSVMSG) || !defined(_KERNEL)
452 1.25 mrg { 6, s(struct compat_10_netbsd32_sys_msgsys_args), 0,
453 1.25 mrg compat_10(netbsd32_sys_msgsys) }, /* 170 = compat_10 omsgsys */
454 1.1 mrg #else
455 1.19 thorpej { 0, 0, 0,
456 1.25 mrg sys_nosys }, /* 170 = excluded netbsd32_sys_msgsys */
457 1.1 mrg #endif
458 1.25 mrg #if defined(SYSVSHM) || !defined(_KERNEL)
459 1.25 mrg { 4, s(struct compat_10_netbsd32_sys_shmsys_args), 0,
460 1.25 mrg compat_10(netbsd32_sys_shmsys) }, /* 171 = compat_10 oshmsys */
461 1.1 mrg #else
462 1.19 thorpej { 0, 0, 0,
463 1.25 mrg sys_nosys }, /* 171 = excluded netbsd32_sys_shmsys */
464 1.1 mrg #endif
465 1.19 thorpej { 0, 0, 0,
466 1.1 mrg sys_nosys }, /* 172 = unimplemented */
467 1.19 thorpej { 5, s(struct netbsd32_pread_args), 0,
468 1.11 eeh netbsd32_pread }, /* 173 = netbsd32_pread */
469 1.19 thorpej { 5, s(struct netbsd32_pwrite_args), 0,
470 1.11 eeh netbsd32_pwrite }, /* 174 = netbsd32_pwrite */
471 1.53 drochner { 1, s(struct compat_30_netbsd32_ntp_gettime_args), 0,
472 1.53 drochner compat_30(netbsd32_ntp_gettime) }, /* 175 = compat_30 netbsd32_ntp_gettime */
473 1.19 thorpej { 1, s(struct netbsd32_ntp_adjtime_args), 0,
474 1.11 eeh netbsd32_ntp_adjtime }, /* 176 = netbsd32_ntp_adjtime */
475 1.19 thorpej { 0, 0, 0,
476 1.1 mrg sys_nosys }, /* 177 = unimplemented */
477 1.19 thorpej { 0, 0, 0,
478 1.1 mrg sys_nosys }, /* 178 = unimplemented */
479 1.19 thorpej { 0, 0, 0,
480 1.1 mrg sys_nosys }, /* 179 = unimplemented */
481 1.19 thorpej { 0, 0, 0,
482 1.1 mrg sys_nosys }, /* 180 = unimplemented */
483 1.19 thorpej { 1, s(struct netbsd32_setgid_args), 0,
484 1.11 eeh netbsd32_setgid }, /* 181 = netbsd32_setgid */
485 1.19 thorpej { 1, s(struct netbsd32_setegid_args), 0,
486 1.11 eeh netbsd32_setegid }, /* 182 = netbsd32_setegid */
487 1.19 thorpej { 1, s(struct netbsd32_seteuid_args), 0,
488 1.11 eeh netbsd32_seteuid }, /* 183 = netbsd32_seteuid */
489 1.10 christos #if defined(LFS) || !defined(_KERNEL)
490 1.19 thorpej { 3, s(struct netbsd32_sys_lfs_bmapv_args), 0,
491 1.11 eeh netbsd32_sys_lfs_bmapv }, /* 184 = lfs_bmapv */
492 1.19 thorpej { 3, s(struct netbsd32_sys_lfs_markv_args), 0,
493 1.11 eeh netbsd32_sys_lfs_markv }, /* 185 = lfs_markv */
494 1.19 thorpej { 2, s(struct netbsd32_sys_lfs_segclean_args), 0,
495 1.11 eeh netbsd32_sys_lfs_segclean }, /* 186 = lfs_segclean */
496 1.19 thorpej { 2, s(struct netbsd32_sys_lfs_segwait_args), 0,
497 1.11 eeh netbsd32_sys_lfs_segwait }, /* 187 = lfs_segwait */
498 1.11 eeh #else
499 1.19 thorpej { 0, 0, 0,
500 1.11 eeh sys_nosys }, /* 184 = excluded netbsd32_sys_lfs_bmapv */
501 1.19 thorpej { 0, 0, 0,
502 1.11 eeh sys_nosys }, /* 185 = excluded netbsd32_sys_lfs_markv */
503 1.19 thorpej { 0, 0, 0,
504 1.11 eeh sys_nosys }, /* 186 = excluded netbsd32_sys_lfs_segclean */
505 1.19 thorpej { 0, 0, 0,
506 1.11 eeh sys_nosys }, /* 187 = excluded netbsd32_sys_lfs_segwait */
507 1.11 eeh #endif
508 1.19 thorpej { 2, s(struct compat_12_netbsd32_stat12_args), 0,
509 1.11 eeh compat_12(netbsd32_stat12) }, /* 188 = compat_12 netbsd32_stat12 */
510 1.19 thorpej { 2, s(struct compat_12_netbsd32_fstat12_args), 0,
511 1.11 eeh compat_12(netbsd32_fstat12) }, /* 189 = compat_12 netbsd32_fstat12 */
512 1.19 thorpej { 2, s(struct compat_12_netbsd32_lstat12_args), 0,
513 1.11 eeh compat_12(netbsd32_lstat12) }, /* 190 = compat_12 netbsd32_lstat12 */
514 1.19 thorpej { 2, s(struct netbsd32_pathconf_args), 0,
515 1.11 eeh netbsd32_pathconf }, /* 191 = netbsd32_pathconf */
516 1.19 thorpej { 2, s(struct netbsd32_fpathconf_args), 0,
517 1.11 eeh netbsd32_fpathconf }, /* 192 = netbsd32_fpathconf */
518 1.19 thorpej { 0, 0, 0,
519 1.1 mrg sys_nosys }, /* 193 = unimplemented */
520 1.19 thorpej { 2, s(struct netbsd32_getrlimit_args), 0,
521 1.11 eeh netbsd32_getrlimit }, /* 194 = netbsd32_getrlimit */
522 1.19 thorpej { 2, s(struct netbsd32_setrlimit_args), 0,
523 1.11 eeh netbsd32_setrlimit }, /* 195 = netbsd32_setrlimit */
524 1.19 thorpej { 4, s(struct compat_12_netbsd32_getdirentries_args), 0,
525 1.11 eeh compat_12(netbsd32_getdirentries) },/* 196 = compat_12 netbsd32_getdirentries */
526 1.19 thorpej { 7, s(struct netbsd32_mmap_args), 0,
527 1.11 eeh netbsd32_mmap }, /* 197 = netbsd32_mmap */
528 1.19 thorpej { 0, 0, 0,
529 1.1 mrg sys_nosys }, /* 198 = __syscall (indir) */
530 1.19 thorpej { 4, s(struct netbsd32_lseek_args), 0,
531 1.11 eeh netbsd32_lseek }, /* 199 = netbsd32_lseek */
532 1.19 thorpej { 3, s(struct netbsd32_truncate_args), 0,
533 1.11 eeh netbsd32_truncate }, /* 200 = netbsd32_truncate */
534 1.19 thorpej { 3, s(struct netbsd32_ftruncate_args), 0,
535 1.11 eeh netbsd32_ftruncate }, /* 201 = netbsd32_ftruncate */
536 1.19 thorpej { 6, s(struct netbsd32___sysctl_args), 0,
537 1.11 eeh netbsd32___sysctl }, /* 202 = netbsd32___sysctl */
538 1.19 thorpej { 2, s(struct netbsd32_mlock_args), 0,
539 1.11 eeh netbsd32_mlock }, /* 203 = netbsd32_mlock */
540 1.19 thorpej { 2, s(struct netbsd32_munlock_args), 0,
541 1.11 eeh netbsd32_munlock }, /* 204 = netbsd32_munlock */
542 1.19 thorpej { 1, s(struct netbsd32_undelete_args), 0,
543 1.11 eeh netbsd32_undelete }, /* 205 = netbsd32_undelete */
544 1.19 thorpej { 2, s(struct netbsd32_futimes_args), 0,
545 1.11 eeh netbsd32_futimes }, /* 206 = netbsd32_futimes */
546 1.19 thorpej { 1, s(struct netbsd32_getpgid_args), 0,
547 1.11 eeh netbsd32_getpgid }, /* 207 = netbsd32_getpgid */
548 1.19 thorpej { 2, s(struct netbsd32_reboot_args), 0,
549 1.11 eeh netbsd32_reboot }, /* 208 = netbsd32_reboot */
550 1.19 thorpej { 3, s(struct netbsd32_poll_args), 0,
551 1.11 eeh netbsd32_poll }, /* 209 = netbsd32_poll */
552 1.10 christos #if defined(LKM) || !defined(_KERNEL)
553 1.19 thorpej { 0, 0, 0,
554 1.1 mrg sys_lkmnosys }, /* 210 = lkmnosys */
555 1.19 thorpej { 0, 0, 0,
556 1.1 mrg sys_lkmnosys }, /* 211 = lkmnosys */
557 1.19 thorpej { 0, 0, 0,
558 1.1 mrg sys_lkmnosys }, /* 212 = lkmnosys */
559 1.19 thorpej { 0, 0, 0,
560 1.1 mrg sys_lkmnosys }, /* 213 = lkmnosys */
561 1.19 thorpej { 0, 0, 0,
562 1.1 mrg sys_lkmnosys }, /* 214 = lkmnosys */
563 1.19 thorpej { 0, 0, 0,
564 1.1 mrg sys_lkmnosys }, /* 215 = lkmnosys */
565 1.19 thorpej { 0, 0, 0,
566 1.1 mrg sys_lkmnosys }, /* 216 = lkmnosys */
567 1.19 thorpej { 0, 0, 0,
568 1.1 mrg sys_lkmnosys }, /* 217 = lkmnosys */
569 1.19 thorpej { 0, 0, 0,
570 1.1 mrg sys_lkmnosys }, /* 218 = lkmnosys */
571 1.19 thorpej { 0, 0, 0,
572 1.1 mrg sys_lkmnosys }, /* 219 = lkmnosys */
573 1.10 christos #else /* !LKM || !_KERNEL */
574 1.19 thorpej { 0, 0, 0,
575 1.10 christos sys_nosys }, /* 210 = excluded lkmnosys */
576 1.19 thorpej { 0, 0, 0,
577 1.10 christos sys_nosys }, /* 211 = excluded lkmnosys */
578 1.19 thorpej { 0, 0, 0,
579 1.10 christos sys_nosys }, /* 212 = excluded lkmnosys */
580 1.19 thorpej { 0, 0, 0,
581 1.10 christos sys_nosys }, /* 213 = excluded lkmnosys */
582 1.19 thorpej { 0, 0, 0,
583 1.10 christos sys_nosys }, /* 214 = excluded lkmnosys */
584 1.19 thorpej { 0, 0, 0,
585 1.10 christos sys_nosys }, /* 215 = excluded lkmnosys */
586 1.19 thorpej { 0, 0, 0,
587 1.10 christos sys_nosys }, /* 216 = excluded lkmnosys */
588 1.19 thorpej { 0, 0, 0,
589 1.10 christos sys_nosys }, /* 217 = excluded lkmnosys */
590 1.19 thorpej { 0, 0, 0,
591 1.10 christos sys_nosys }, /* 218 = excluded lkmnosys */
592 1.19 thorpej { 0, 0, 0,
593 1.10 christos sys_nosys }, /* 219 = excluded lkmnosys */
594 1.10 christos #endif /* !LKM || !_KERNEL */
595 1.10 christos #if defined(SYSVSEM) || !defined(_KERNEL)
596 1.19 thorpej { 4, s(struct compat_14_netbsd32___semctl_args), 0,
597 1.11 eeh compat_14(netbsd32___semctl) }, /* 220 = compat_14 netbsd32___semctl */
598 1.19 thorpej { 3, s(struct netbsd32_semget_args), 0,
599 1.11 eeh netbsd32_semget }, /* 221 = netbsd32_semget */
600 1.19 thorpej { 3, s(struct netbsd32_semop_args), 0,
601 1.11 eeh netbsd32_semop }, /* 222 = netbsd32_semop */
602 1.19 thorpej { 1, s(struct netbsd32_semconfig_args), 0,
603 1.11 eeh netbsd32_semconfig }, /* 223 = netbsd32_semconfig */
604 1.1 mrg #else
605 1.19 thorpej { 0, 0, 0,
606 1.12 eeh sys_nosys }, /* 220 = excluded compat_14_netbsd32_semctl */
607 1.19 thorpej { 0, 0, 0,
608 1.11 eeh sys_nosys }, /* 221 = excluded netbsd32_semget */
609 1.19 thorpej { 0, 0, 0,
610 1.11 eeh sys_nosys }, /* 222 = excluded netbsd32_semop */
611 1.19 thorpej { 0, 0, 0,
612 1.11 eeh sys_nosys }, /* 223 = excluded netbsd32_semconfig */
613 1.1 mrg #endif
614 1.10 christos #if defined(SYSVMSG) || !defined(_KERNEL)
615 1.19 thorpej { 3, s(struct compat_14_netbsd32_msgctl_args), 0,
616 1.11 eeh compat_14(netbsd32_msgctl) }, /* 224 = compat_14 netbsd32_msgctl */
617 1.19 thorpej { 2, s(struct netbsd32_msgget_args), 0,
618 1.11 eeh netbsd32_msgget }, /* 225 = netbsd32_msgget */
619 1.19 thorpej { 4, s(struct netbsd32_msgsnd_args), 0,
620 1.11 eeh netbsd32_msgsnd }, /* 226 = netbsd32_msgsnd */
621 1.19 thorpej { 5, s(struct netbsd32_msgrcv_args), 0,
622 1.11 eeh netbsd32_msgrcv }, /* 227 = netbsd32_msgrcv */
623 1.1 mrg #else
624 1.19 thorpej { 0, 0, 0,
625 1.12 eeh sys_nosys }, /* 224 = excluded compat_14_netbsd32_msgctl */
626 1.19 thorpej { 0, 0, 0,
627 1.11 eeh sys_nosys }, /* 225 = excluded netbsd32_msgget */
628 1.19 thorpej { 0, 0, 0,
629 1.11 eeh sys_nosys }, /* 226 = excluded netbsd32_msgsnd */
630 1.19 thorpej { 0, 0, 0,
631 1.11 eeh sys_nosys }, /* 227 = excluded netbsd32_msgrcv */
632 1.1 mrg #endif
633 1.10 christos #if defined(SYSVSHM) || !defined(_KERNEL)
634 1.19 thorpej { 3, s(struct netbsd32_shmat_args), 0,
635 1.11 eeh netbsd32_shmat }, /* 228 = netbsd32_shmat */
636 1.19 thorpej { 3, s(struct compat_14_netbsd32_shmctl_args), 0,
637 1.11 eeh compat_14(netbsd32_shmctl) }, /* 229 = compat_14 netbsd32_shmctl */
638 1.19 thorpej { 1, s(struct netbsd32_shmdt_args), 0,
639 1.11 eeh netbsd32_shmdt }, /* 230 = netbsd32_shmdt */
640 1.19 thorpej { 3, s(struct netbsd32_shmget_args), 0,
641 1.11 eeh netbsd32_shmget }, /* 231 = netbsd32_shmget */
642 1.11 eeh #else
643 1.19 thorpej { 0, 0, 0,
644 1.11 eeh sys_nosys }, /* 228 = excluded netbsd32_shmat */
645 1.19 thorpej { 0, 0, 0,
646 1.12 eeh sys_nosys }, /* 229 = excluded compat_14_netbsd32_shmctl */
647 1.19 thorpej { 0, 0, 0,
648 1.11 eeh sys_nosys }, /* 230 = excluded netbsd32_shmdt */
649 1.19 thorpej { 0, 0, 0,
650 1.11 eeh sys_nosys }, /* 231 = excluded netbsd32_shmget */
651 1.11 eeh #endif
652 1.19 thorpej { 2, s(struct netbsd32_clock_gettime_args), 0,
653 1.11 eeh netbsd32_clock_gettime }, /* 232 = netbsd32_clock_gettime */
654 1.19 thorpej { 2, s(struct netbsd32_clock_settime_args), 0,
655 1.11 eeh netbsd32_clock_settime }, /* 233 = netbsd32_clock_settime */
656 1.19 thorpej { 2, s(struct netbsd32_clock_getres_args), 0,
657 1.11 eeh netbsd32_clock_getres }, /* 234 = netbsd32_clock_getres */
658 1.43 cube { 3, s(struct netbsd32_timer_create_args), 0,
659 1.43 cube netbsd32_timer_create }, /* 235 = netbsd32_timer_create */
660 1.43 cube { 1, s(struct netbsd32_timer_delete_args), 0,
661 1.43 cube netbsd32_timer_delete }, /* 236 = netbsd32_timer_delete */
662 1.43 cube { 4, s(struct netbsd32_timer_settime_args), 0,
663 1.43 cube netbsd32_timer_settime }, /* 237 = netbsd32_timer_settime */
664 1.43 cube { 2, s(struct netbsd32_timer_gettime_args), 0,
665 1.43 cube netbsd32_timer_gettime }, /* 238 = netbsd32_timer_gettime */
666 1.43 cube { 1, s(struct netbsd32_timer_getoverrun_args), 0,
667 1.43 cube netbsd32_timer_getoverrun }, /* 239 = netbsd32_timer_getoverrun */
668 1.19 thorpej { 2, s(struct netbsd32_nanosleep_args), 0,
669 1.11 eeh netbsd32_nanosleep }, /* 240 = netbsd32_nanosleep */
670 1.19 thorpej { 1, s(struct netbsd32_fdatasync_args), 0,
671 1.11 eeh netbsd32_fdatasync }, /* 241 = netbsd32_fdatasync */
672 1.37 cube { 1, s(struct netbsd32_mlockall_args), 0,
673 1.37 cube netbsd32_mlockall }, /* 242 = netbsd32_mlockall */
674 1.19 thorpej { 0, 0, 0,
675 1.37 cube sys_munlockall }, /* 243 = munlockall */
676 1.44 cube { 3, s(struct netbsd32___sigtimedwait_args), 0,
677 1.44 cube netbsd32___sigtimedwait }, /* 244 = netbsd32___sigtimedwait */
678 1.19 thorpej { 0, 0, 0,
679 1.1 mrg sys_nosys }, /* 245 = unimplemented */
680 1.19 thorpej { 0, 0, 0,
681 1.1 mrg sys_nosys }, /* 246 = unimplemented */
682 1.48 cube #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
683 1.48 cube { 2, s(struct netbsd32__ksem_init_args), 0,
684 1.48 cube netbsd32__ksem_init }, /* 247 = netbsd32__ksem_init */
685 1.48 cube { 5, s(struct netbsd32__ksem_open_args), 0,
686 1.48 cube netbsd32__ksem_open }, /* 248 = netbsd32__ksem_open */
687 1.48 cube { 1, s(struct netbsd32__ksem_unlink_args), 0,
688 1.48 cube netbsd32__ksem_unlink }, /* 249 = netbsd32__ksem_unlink */
689 1.48 cube { 1, s(struct netbsd32__ksem_close_args), 0,
690 1.48 cube netbsd32__ksem_close }, /* 250 = netbsd32__ksem_close */
691 1.48 cube { 1, s(struct netbsd32__ksem_post_args), 0,
692 1.48 cube netbsd32__ksem_post }, /* 251 = netbsd32__ksem_post */
693 1.48 cube { 1, s(struct netbsd32__ksem_wait_args), 0,
694 1.48 cube netbsd32__ksem_wait }, /* 252 = netbsd32__ksem_wait */
695 1.48 cube { 1, s(struct netbsd32__ksem_trywait_args), 0,
696 1.48 cube netbsd32__ksem_trywait }, /* 253 = netbsd32__ksem_trywait */
697 1.48 cube { 2, s(struct netbsd32__ksem_getvalue_args), 0,
698 1.48 cube netbsd32__ksem_getvalue }, /* 254 = netbsd32__ksem_getvalue */
699 1.48 cube { 1, s(struct netbsd32__ksem_destroy_args), 0,
700 1.48 cube netbsd32__ksem_destroy }, /* 255 = netbsd32__ksem_destroy */
701 1.19 thorpej { 0, 0, 0,
702 1.48 cube sys_nosys }, /* 256 = unimplemented sys__ksem_timedwait */
703 1.48 cube #else
704 1.48 cube { 0, 0, 0,
705 1.48 cube sys_nosys }, /* 247 = excluded sys__ksem_init */
706 1.19 thorpej { 0, 0, 0,
707 1.48 cube sys_nosys }, /* 248 = excluded sys__ksem_open */
708 1.19 thorpej { 0, 0, 0,
709 1.48 cube sys_nosys }, /* 249 = excluded sys__ksem_unlink */
710 1.19 thorpej { 0, 0, 0,
711 1.48 cube sys_nosys }, /* 250 = excluded sys__ksem_close */
712 1.19 thorpej { 0, 0, 0,
713 1.48 cube sys_nosys }, /* 251 = excluded sys__ksem_post */
714 1.19 thorpej { 0, 0, 0,
715 1.48 cube sys_nosys }, /* 252 = excluded sys__ksem_wait */
716 1.19 thorpej { 0, 0, 0,
717 1.48 cube sys_nosys }, /* 253 = excluded sys__ksem_trywait */
718 1.19 thorpej { 0, 0, 0,
719 1.48 cube sys_nosys }, /* 254 = excluded sys__ksem_getvalue */
720 1.19 thorpej { 0, 0, 0,
721 1.48 cube sys_nosys }, /* 255 = excluded sys__ksem_destroy */
722 1.19 thorpej { 0, 0, 0,
723 1.48 cube sys_nosys }, /* 256 = unimplemented sys__ksem_timedwait */
724 1.48 cube #endif
725 1.19 thorpej { 0, 0, 0,
726 1.1 mrg sys_nosys }, /* 257 = unimplemented */
727 1.19 thorpej { 0, 0, 0,
728 1.1 mrg sys_nosys }, /* 258 = unimplemented */
729 1.19 thorpej { 0, 0, 0,
730 1.1 mrg sys_nosys }, /* 259 = unimplemented */
731 1.19 thorpej { 0, 0, 0,
732 1.1 mrg sys_nosys }, /* 260 = unimplemented */
733 1.19 thorpej { 0, 0, 0,
734 1.1 mrg sys_nosys }, /* 261 = unimplemented */
735 1.19 thorpej { 0, 0, 0,
736 1.1 mrg sys_nosys }, /* 262 = unimplemented */
737 1.19 thorpej { 0, 0, 0,
738 1.1 mrg sys_nosys }, /* 263 = unimplemented */
739 1.19 thorpej { 0, 0, 0,
740 1.1 mrg sys_nosys }, /* 264 = unimplemented */
741 1.19 thorpej { 0, 0, 0,
742 1.1 mrg sys_nosys }, /* 265 = unimplemented */
743 1.19 thorpej { 0, 0, 0,
744 1.1 mrg sys_nosys }, /* 266 = unimplemented */
745 1.19 thorpej { 0, 0, 0,
746 1.1 mrg sys_nosys }, /* 267 = unimplemented */
747 1.19 thorpej { 0, 0, 0,
748 1.1 mrg sys_nosys }, /* 268 = unimplemented */
749 1.19 thorpej { 0, 0, 0,
750 1.1 mrg sys_nosys }, /* 269 = unimplemented */
751 1.19 thorpej { 2, s(struct netbsd32___posix_rename_args), 0,
752 1.11 eeh netbsd32___posix_rename }, /* 270 = netbsd32___posix_rename */
753 1.19 thorpej { 3, s(struct netbsd32_swapctl_args), 0,
754 1.11 eeh netbsd32_swapctl }, /* 271 = netbsd32_swapctl */
755 1.61 cube { 3, s(struct compat_30_netbsd32_getdents_args), 0,
756 1.61 cube compat_30(netbsd32_getdents) }, /* 272 = compat_30 netbsd32_getdents */
757 1.19 thorpej { 3, s(struct netbsd32_minherit_args), 0,
758 1.11 eeh netbsd32_minherit }, /* 273 = netbsd32_minherit */
759 1.19 thorpej { 2, s(struct netbsd32_lchmod_args), 0,
760 1.11 eeh netbsd32_lchmod }, /* 274 = netbsd32_lchmod */
761 1.19 thorpej { 3, s(struct netbsd32_lchown_args), 0,
762 1.11 eeh netbsd32_lchown }, /* 275 = netbsd32_lchown */
763 1.19 thorpej { 2, s(struct netbsd32_lutimes_args), 0,
764 1.11 eeh netbsd32_lutimes }, /* 276 = netbsd32_lutimes */
765 1.19 thorpej { 3, s(struct netbsd32___msync13_args), 0,
766 1.11 eeh netbsd32___msync13 }, /* 277 = netbsd32___msync13 */
767 1.61 cube { 2, s(struct compat_30_netbsd32___stat13_args), 0,
768 1.61 cube compat_30(netbsd32___stat13) }, /* 278 = compat_30 netbsd32___stat13 */
769 1.61 cube { 2, s(struct compat_30_netbsd32___fstat13_args), 0,
770 1.61 cube compat_30(netbsd32___fstat13) }, /* 279 = compat_30 netbsd32___fstat13 */
771 1.61 cube { 2, s(struct compat_30_netbsd32___lstat13_args), 0,
772 1.61 cube compat_30(netbsd32___lstat13) }, /* 280 = compat_30 netbsd32___lstat13 */
773 1.19 thorpej { 2, s(struct netbsd32___sigaltstack14_args), 0,
774 1.11 eeh netbsd32___sigaltstack14 }, /* 281 = netbsd32___sigaltstack14 */
775 1.19 thorpej { 0, 0, 0,
776 1.1 mrg sys___vfork14 }, /* 282 = __vfork14 */
777 1.19 thorpej { 3, s(struct netbsd32___posix_chown_args), 0,
778 1.11 eeh netbsd32___posix_chown }, /* 283 = netbsd32___posix_chown */
779 1.19 thorpej { 3, s(struct netbsd32___posix_fchown_args), 0,
780 1.11 eeh netbsd32___posix_fchown }, /* 284 = netbsd32___posix_fchown */
781 1.19 thorpej { 3, s(struct netbsd32___posix_lchown_args), 0,
782 1.11 eeh netbsd32___posix_lchown }, /* 285 = netbsd32___posix_lchown */
783 1.19 thorpej { 1, s(struct netbsd32_getsid_args), 0,
784 1.11 eeh netbsd32_getsid }, /* 286 = netbsd32_getsid */
785 1.39 cube { 2, s(struct netbsd32___clone_args), 0,
786 1.39 cube netbsd32___clone }, /* 287 = netbsd32___clone */
787 1.19 thorpej { 4, s(struct netbsd32_fktrace_args), 0,
788 1.11 eeh netbsd32_fktrace }, /* 288 = netbsd32_fktrace */
789 1.19 thorpej { 5, s(struct netbsd32_preadv_args), 0,
790 1.11 eeh netbsd32_preadv }, /* 289 = netbsd32_preadv */
791 1.19 thorpej { 5, s(struct netbsd32_pwritev_args), 0,
792 1.11 eeh netbsd32_pwritev }, /* 290 = netbsd32_pwritev */
793 1.19 thorpej { 3, s(struct netbsd32___sigaction14_args), 0,
794 1.12 eeh netbsd32___sigaction14 }, /* 291 = netbsd32___sigaction14 */
795 1.19 thorpej { 1, s(struct netbsd32___sigpending14_args), 0,
796 1.12 eeh netbsd32___sigpending14 }, /* 292 = netbsd32___sigpending14 */
797 1.19 thorpej { 3, s(struct netbsd32___sigprocmask14_args), 0,
798 1.12 eeh netbsd32___sigprocmask14 }, /* 293 = netbsd32___sigprocmask14 */
799 1.19 thorpej { 1, s(struct netbsd32___sigsuspend14_args), 0,
800 1.12 eeh netbsd32___sigsuspend14 }, /* 294 = netbsd32___sigsuspend14 */
801 1.30 fvdl { 1, s(struct compat_16_netbsd32___sigreturn14_args), 0,
802 1.30 fvdl compat_16(netbsd32___sigreturn14) },/* 295 = compat_16 netbsd32___sigreturn14 */
803 1.19 thorpej { 2, s(struct netbsd32___getcwd_args), 0,
804 1.12 eeh netbsd32___getcwd }, /* 296 = netbsd32___getcwd */
805 1.19 thorpej { 1, s(struct netbsd32_fchroot_args), 0,
806 1.12 eeh netbsd32_fchroot }, /* 297 = netbsd32_fchroot */
807 1.58 martin { 2, s(struct compat_30_netbsd32_fhopen_args), 0,
808 1.58 martin compat_30(netbsd32_fhopen) }, /* 298 = compat_30 netbsd32_fhopen */
809 1.51 cube { 2, s(struct compat_30_netbsd32_fhstat_args), 0,
810 1.51 cube compat_30(netbsd32_fhstat) }, /* 299 = compat_30 netbsd32_fhstat */
811 1.32 cube { 2, s(struct compat_20_netbsd32_fhstatfs_args), 0,
812 1.32 cube compat_20(netbsd32_fhstatfs) }, /* 300 = compat_20 netbsd32_fhstatfs */
813 1.12 eeh #if defined(SYSVSEM) || !defined(_KERNEL)
814 1.19 thorpej { 4, s(struct netbsd32___semctl14_args), 0,
815 1.13 christos netbsd32___semctl14 }, /* 301 = netbsd32___semctl14 */
816 1.12 eeh #else
817 1.19 thorpej { 0, 0, 0,
818 1.13 christos sys_nosys }, /* 301 = excluded __semctl14 */
819 1.12 eeh #endif
820 1.12 eeh #if defined(SYSVMSG) || !defined(_KERNEL)
821 1.19 thorpej { 3, s(struct netbsd32___msgctl13_args), 0,
822 1.12 eeh netbsd32___msgctl13 }, /* 302 = netbsd32___msgctl13 */
823 1.12 eeh #else
824 1.19 thorpej { 0, 0, 0,
825 1.12 eeh sys_nosys }, /* 302 = excluded __msgctl13 */
826 1.12 eeh #endif
827 1.12 eeh #if defined(SYSVSHM) || !defined(_KERNEL)
828 1.19 thorpej { 3, s(struct netbsd32___shmctl13_args), 0,
829 1.12 eeh netbsd32___shmctl13 }, /* 303 = netbsd32___shmctl13 */
830 1.12 eeh #else
831 1.19 thorpej { 0, 0, 0,
832 1.12 eeh sys_nosys }, /* 303 = excluded __shmctl13 */
833 1.12 eeh #endif
834 1.21 mrg { 2, s(struct netbsd32_lchflags_args), 0,
835 1.21 mrg netbsd32_lchflags }, /* 304 = netbsd32_lchflags */
836 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
837 1.21 mrg sys_issetugid }, /* 305 = issetugid */
838 1.21 mrg { 3, s(struct netbsd32_utrace_args), 0,
839 1.21 mrg netbsd32_utrace }, /* 306 = netbsd32_utrace */
840 1.30 fvdl { 1, s(struct netbsd32_getcontext_args), 0,
841 1.30 fvdl netbsd32_getcontext }, /* 307 = netbsd32_getcontext */
842 1.30 fvdl { 3, s(struct netbsd32_setcontext_args), 0,
843 1.30 fvdl netbsd32_setcontext }, /* 308 = netbsd32_setcontext */
844 1.50 cube { 3, s(struct netbsd32__lwp_create_args), 0,
845 1.50 cube netbsd32__lwp_create }, /* 309 = netbsd32__lwp_create */
846 1.21 mrg { 0, 0, 0,
847 1.50 cube sys__lwp_exit }, /* 310 = _lwp_exit */
848 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
849 1.50 cube sys__lwp_self }, /* 311 = _lwp_self */
850 1.65.2.1 ad { 2, s(struct netbsd32__lwp_wait_args), SYCALL_MPSAFE | 0,
851 1.50 cube netbsd32__lwp_wait }, /* 312 = netbsd32__lwp_wait */
852 1.65.2.1 ad { 1, s(struct netbsd32__lwp_suspend_args), SYCALL_MPSAFE | 0,
853 1.50 cube netbsd32__lwp_suspend }, /* 313 = netbsd32__lwp_suspend */
854 1.65.2.1 ad { 1, s(struct netbsd32__lwp_continue_args), SYCALL_MPSAFE | 0,
855 1.50 cube netbsd32__lwp_continue }, /* 314 = netbsd32__lwp_continue */
856 1.65.2.1 ad { 1, s(struct netbsd32__lwp_wakeup_args), SYCALL_MPSAFE | 0,
857 1.50 cube netbsd32__lwp_wakeup }, /* 315 = netbsd32__lwp_wakeup */
858 1.64 cube { 0, 0, SYCALL_MPSAFE | 0,
859 1.50 cube sys__lwp_getprivate }, /* 316 = _lwp_getprivate */
860 1.65.2.1 ad { 1, s(struct netbsd32__lwp_setprivate_args), SYCALL_MPSAFE | 0,
861 1.50 cube netbsd32__lwp_setprivate }, /* 317 = netbsd32__lwp_setprivate */
862 1.63 cube { 2, s(struct netbsd32__lwp_kill_args), 0,
863 1.63 cube netbsd32__lwp_kill }, /* 318 = netbsd32__lwp_kill */
864 1.65.2.1 ad { 1, s(struct netbsd32__lwp_detach_args), SYCALL_MPSAFE | 0,
865 1.63 cube netbsd32__lwp_detach }, /* 319 = netbsd32__lwp_detach */
866 1.65.2.1 ad { 4, s(struct netbsd32__lwp_park_args), SYCALL_MPSAFE | 0,
867 1.63 cube netbsd32__lwp_park }, /* 320 = netbsd32__lwp_park */
868 1.65.2.1 ad { 2, s(struct netbsd32__lwp_unpark_args), SYCALL_MPSAFE | 0,
869 1.63 cube netbsd32__lwp_unpark }, /* 321 = netbsd32__lwp_unpark */
870 1.65.2.1 ad { 3, s(struct netbsd32__lwp_unpark_all_args), SYCALL_MPSAFE | 0,
871 1.63 cube netbsd32__lwp_unpark_all }, /* 322 = netbsd32__lwp_unpark_all */
872 1.21 mrg { 0, 0, 0,
873 1.21 mrg sys_nosys }, /* 323 = unimplemented */
874 1.21 mrg { 0, 0, 0,
875 1.21 mrg sys_nosys }, /* 324 = unimplemented */
876 1.21 mrg { 0, 0, 0,
877 1.21 mrg sys_nosys }, /* 325 = unimplemented */
878 1.21 mrg { 0, 0, 0,
879 1.21 mrg sys_nosys }, /* 326 = unimplemented */
880 1.21 mrg { 0, 0, 0,
881 1.21 mrg sys_nosys }, /* 327 = unimplemented */
882 1.21 mrg { 0, 0, 0,
883 1.21 mrg sys_nosys }, /* 328 = unimplemented */
884 1.21 mrg { 0, 0, 0,
885 1.21 mrg sys_nosys }, /* 329 = unimplemented */
886 1.62 ad { 0, 0, 0,
887 1.62 ad sys_nosys }, /* 330 = obsolete netbsd32_sa_register */
888 1.62 ad { 0, 0, 0,
889 1.62 ad sys_nosys }, /* 331 = obsolete netbsd32_sa_stacks */
890 1.62 ad { 0, 0, 0,
891 1.62 ad sys_nosys }, /* 332 = obsolete sys_sa_enable */
892 1.62 ad { 0, 0, 0,
893 1.62 ad sys_nosys }, /* 333 = obsolete netbsd32_sa_setconcurrency */
894 1.62 ad { 0, 0, 0,
895 1.62 ad sys_nosys }, /* 334 = obsolete sys_sa_yield */
896 1.62 ad { 0, 0, 0,
897 1.62 ad sys_nosys }, /* 335 = obsolete netbsd32_sa_preempt */
898 1.21 mrg { 0, 0, 0,
899 1.50 cube sys_nosys }, /* 336 = obsolete sys_sa_unblockyield */
900 1.21 mrg { 0, 0, 0,
901 1.21 mrg sys_nosys }, /* 337 = unimplemented */
902 1.21 mrg { 0, 0, 0,
903 1.21 mrg sys_nosys }, /* 338 = unimplemented */
904 1.21 mrg { 0, 0, 0,
905 1.21 mrg sys_nosys }, /* 339 = unimplemented */
906 1.26 scw { 5, s(struct netbsd32___sigaction_sigtramp_args), 0,
907 1.26 scw netbsd32___sigaction_sigtramp }, /* 340 = netbsd32___sigaction_sigtramp */
908 1.27 jdolecek { 0, 0, 0,
909 1.32 cube sys_nosys }, /* 341 = unimplemented */
910 1.27 jdolecek { 0, 0, 0,
911 1.32 cube sys_nosys }, /* 342 = unimplemented */
912 1.41 cube { 3, s(struct netbsd32_rasctl_args), 0,
913 1.41 cube netbsd32_rasctl }, /* 343 = netbsd32_rasctl */
914 1.27 jdolecek { 0, 0, 0,
915 1.46 cube sys_kqueue }, /* 344 = kqueue */
916 1.46 cube { 6, s(struct netbsd32_kevent_args), 0,
917 1.46 cube netbsd32_kevent }, /* 345 = netbsd32_kevent */
918 1.27 jdolecek { 0, 0, 0,
919 1.32 cube sys_nosys }, /* 346 = unimplemented */
920 1.27 jdolecek { 0, 0, 0,
921 1.32 cube sys_nosys }, /* 347 = unimplemented */
922 1.27 jdolecek { 0, 0, 0,
923 1.32 cube sys_nosys }, /* 348 = unimplemented */
924 1.27 jdolecek { 0, 0, 0,
925 1.32 cube sys_nosys }, /* 349 = unimplemented */
926 1.63 cube { 0, 0, SYCALL_MPSAFE | 0,
927 1.63 cube sys_sched_yield }, /* 350 = sched_yield */
928 1.27 jdolecek { 0, 0, 0,
929 1.32 cube sys_nosys }, /* 351 = unimplemented */
930 1.27 jdolecek { 0, 0, 0,
931 1.32 cube sys_nosys }, /* 352 = unimplemented */
932 1.27 jdolecek { 0, 0, 0,
933 1.32 cube sys_nosys }, /* 353 = unimplemented */
934 1.40 cube { 4, s(struct netbsd32_fsync_range_args), 0,
935 1.40 cube netbsd32_fsync_range }, /* 354 = netbsd32_fsync_range */
936 1.35 cube { 2, s(struct netbsd32_uuidgen_args), 0,
937 1.35 cube netbsd32_uuidgen }, /* 355 = netbsd32_uuidgen */
938 1.32 cube { 3, s(struct netbsd32_getvfsstat_args), 0,
939 1.32 cube netbsd32_getvfsstat }, /* 356 = netbsd32_getvfsstat */
940 1.32 cube { 3, s(struct netbsd32_statvfs1_args), 0,
941 1.32 cube netbsd32_statvfs1 }, /* 357 = netbsd32_statvfs1 */
942 1.32 cube { 3, s(struct netbsd32_fstatvfs1_args), 0,
943 1.32 cube netbsd32_fstatvfs1 }, /* 358 = netbsd32_fstatvfs1 */
944 1.58 martin { 3, s(struct compat_30_netbsd32_fhstatvfs1_args), 0,
945 1.58 martin compat_30(netbsd32_fhstatvfs1) }, /* 359 = compat_30 netbsd32_fhstatvfs1 */
946 1.36 cube { 5, s(struct netbsd32_extattrctl_args), 0,
947 1.36 cube netbsd32_extattrctl }, /* 360 = netbsd32_extattrctl */
948 1.36 cube { 5, s(struct netbsd32_extattr_set_file_args), 0,
949 1.36 cube netbsd32_extattr_set_file }, /* 361 = netbsd32_extattr_set_file */
950 1.36 cube { 5, s(struct netbsd32_extattr_get_file_args), 0,
951 1.36 cube netbsd32_extattr_get_file }, /* 362 = netbsd32_extattr_get_file */
952 1.36 cube { 3, s(struct netbsd32_extattr_delete_file_args), 0,
953 1.36 cube netbsd32_extattr_delete_file }, /* 363 = netbsd32_extattr_delete_file */
954 1.36 cube { 5, s(struct netbsd32_extattr_set_fd_args), 0,
955 1.36 cube netbsd32_extattr_set_fd }, /* 364 = netbsd32_extattr_set_fd */
956 1.36 cube { 5, s(struct netbsd32_extattr_get_fd_args), 0,
957 1.36 cube netbsd32_extattr_get_fd }, /* 365 = netbsd32_extattr_get_fd */
958 1.36 cube { 3, s(struct netbsd32_extattr_delete_fd_args), 0,
959 1.36 cube netbsd32_extattr_delete_fd }, /* 366 = netbsd32_extattr_delete_fd */
960 1.36 cube { 5, s(struct netbsd32_extattr_set_link_args), 0,
961 1.36 cube netbsd32_extattr_set_link }, /* 367 = netbsd32_extattr_set_link */
962 1.36 cube { 5, s(struct netbsd32_extattr_get_link_args), 0,
963 1.36 cube netbsd32_extattr_get_link }, /* 368 = netbsd32_extattr_get_link */
964 1.36 cube { 3, s(struct netbsd32_extattr_delete_link_args), 0,
965 1.36 cube netbsd32_extattr_delete_link }, /* 369 = netbsd32_extattr_delete_link */
966 1.36 cube { 4, s(struct netbsd32_extattr_list_fd_args), 0,
967 1.36 cube netbsd32_extattr_list_fd }, /* 370 = netbsd32_extattr_list_fd */
968 1.36 cube { 4, s(struct netbsd32_extattr_list_file_args), 0,
969 1.36 cube netbsd32_extattr_list_file }, /* 371 = netbsd32_extattr_list_file */
970 1.36 cube { 4, s(struct netbsd32_extattr_list_link_args), 0,
971 1.36 cube netbsd32_extattr_list_link }, /* 372 = netbsd32_extattr_list_link */
972 1.38 cube { 6, s(struct netbsd32_pselect_args), 0,
973 1.38 cube netbsd32_pselect }, /* 373 = netbsd32_pselect */
974 1.38 cube { 4, s(struct netbsd32_pollts_args), 0,
975 1.38 cube netbsd32_pollts }, /* 374 = netbsd32_pollts */
976 1.42 cube { 5, s(struct netbsd32_setxattr_args), 0,
977 1.42 cube netbsd32_setxattr }, /* 375 = netbsd32_setxattr */
978 1.42 cube { 5, s(struct netbsd32_lsetxattr_args), 0,
979 1.42 cube netbsd32_lsetxattr }, /* 376 = netbsd32_lsetxattr */
980 1.42 cube { 5, s(struct netbsd32_fsetxattr_args), 0,
981 1.42 cube netbsd32_fsetxattr }, /* 377 = netbsd32_fsetxattr */
982 1.42 cube { 4, s(struct netbsd32_getxattr_args), 0,
983 1.42 cube netbsd32_getxattr }, /* 378 = netbsd32_getxattr */
984 1.42 cube { 4, s(struct netbsd32_lgetxattr_args), 0,
985 1.42 cube netbsd32_lgetxattr }, /* 379 = netbsd32_lgetxattr */
986 1.42 cube { 4, s(struct netbsd32_fgetxattr_args), 0,
987 1.42 cube netbsd32_fgetxattr }, /* 380 = netbsd32_fgetxattr */
988 1.42 cube { 3, s(struct netbsd32_listxattr_args), 0,
989 1.42 cube netbsd32_listxattr }, /* 381 = netbsd32_listxattr */
990 1.42 cube { 3, s(struct netbsd32_llistxattr_args), 0,
991 1.42 cube netbsd32_llistxattr }, /* 382 = netbsd32_llistxattr */
992 1.42 cube { 3, s(struct netbsd32_flistxattr_args), 0,
993 1.42 cube netbsd32_flistxattr }, /* 383 = netbsd32_flistxattr */
994 1.42 cube { 2, s(struct netbsd32_removexattr_args), 0,
995 1.42 cube netbsd32_removexattr }, /* 384 = netbsd32_removexattr */
996 1.42 cube { 2, s(struct netbsd32_lremovexattr_args), 0,
997 1.42 cube netbsd32_lremovexattr }, /* 385 = netbsd32_lremovexattr */
998 1.42 cube { 2, s(struct netbsd32_fremovexattr_args), 0,
999 1.42 cube netbsd32_fremovexattr }, /* 386 = netbsd32_fremovexattr */
1000 1.45 christos { 2, s(struct netbsd32_sys___stat30_args), 0,
1001 1.45 christos netbsd32_sys___stat30 }, /* 387 = __stat30 */
1002 1.45 christos { 2, s(struct netbsd32_sys___fstat30_args), 0,
1003 1.45 christos netbsd32_sys___fstat30 }, /* 388 = __fstat30 */
1004 1.45 christos { 2, s(struct netbsd32_sys___lstat30_args), 0,
1005 1.45 christos netbsd32_sys___lstat30 }, /* 389 = __lstat30 */
1006 1.45 christos { 3, s(struct netbsd32_sys___getdents30_args), 0,
1007 1.45 christos netbsd32_sys___getdents30 }, /* 390 = __getdents30 */
1008 1.51 cube { 4, s(struct sys_posix_fadvise_args), 0,
1009 1.51 cube sys_posix_fadvise }, /* 391 = posix_fadvise */
1010 1.58 martin { 2, s(struct compat_30_netbsd32_sys___fhstat30_args), 0,
1011 1.58 martin compat_30(netbsd32_sys___fhstat30) },/* 392 = compat_30 __fhstat30 */
1012 1.53 drochner { 1, s(struct netbsd32_ntp_gettime_args), 0,
1013 1.53 drochner netbsd32_ntp_gettime }, /* 393 = netbsd32_ntp_gettime */
1014 1.54 mrg { 3, s(struct netbsd32_sys___socket30_args), 0,
1015 1.54 mrg netbsd32_sys___socket30 }, /* 394 = __socket30 */
1016 1.55 martin { 3, s(struct netbsd32___getfh30_args), 0,
1017 1.55 martin netbsd32___getfh30 }, /* 395 = netbsd32___getfh30 */
1018 1.58 martin { 3, s(struct netbsd32___fhopen40_args), 0,
1019 1.58 martin netbsd32___fhopen40 }, /* 396 = netbsd32___fhopen40 */
1020 1.58 martin { 4, s(struct netbsd32___fhstatvfs140_args), 0,
1021 1.58 martin netbsd32___fhstatvfs140 }, /* 397 = netbsd32___fhstatvfs140 */
1022 1.58 martin { 3, s(struct netbsd32___fhstat40_args), 0,
1023 1.58 martin netbsd32___fhstat40 }, /* 398 = netbsd32___fhstat40 */
1024 1.27 jdolecek { 0, 0, 0,
1025 1.27 jdolecek sys_nosys }, /* 399 = filler */
1026 1.27 jdolecek { 0, 0, 0,
1027 1.27 jdolecek sys_nosys }, /* 400 = filler */
1028 1.27 jdolecek { 0, 0, 0,
1029 1.27 jdolecek sys_nosys }, /* 401 = filler */
1030 1.27 jdolecek { 0, 0, 0,
1031 1.27 jdolecek sys_nosys }, /* 402 = filler */
1032 1.27 jdolecek { 0, 0, 0,
1033 1.27 jdolecek sys_nosys }, /* 403 = filler */
1034 1.27 jdolecek { 0, 0, 0,
1035 1.27 jdolecek sys_nosys }, /* 404 = filler */
1036 1.27 jdolecek { 0, 0, 0,
1037 1.27 jdolecek sys_nosys }, /* 405 = filler */
1038 1.27 jdolecek { 0, 0, 0,
1039 1.27 jdolecek sys_nosys }, /* 406 = filler */
1040 1.27 jdolecek { 0, 0, 0,
1041 1.27 jdolecek sys_nosys }, /* 407 = filler */
1042 1.27 jdolecek { 0, 0, 0,
1043 1.27 jdolecek sys_nosys }, /* 408 = filler */
1044 1.27 jdolecek { 0, 0, 0,
1045 1.27 jdolecek sys_nosys }, /* 409 = filler */
1046 1.27 jdolecek { 0, 0, 0,
1047 1.27 jdolecek sys_nosys }, /* 410 = filler */
1048 1.27 jdolecek { 0, 0, 0,
1049 1.27 jdolecek sys_nosys }, /* 411 = filler */
1050 1.27 jdolecek { 0, 0, 0,
1051 1.27 jdolecek sys_nosys }, /* 412 = filler */
1052 1.27 jdolecek { 0, 0, 0,
1053 1.27 jdolecek sys_nosys }, /* 413 = filler */
1054 1.27 jdolecek { 0, 0, 0,
1055 1.27 jdolecek sys_nosys }, /* 414 = filler */
1056 1.27 jdolecek { 0, 0, 0,
1057 1.27 jdolecek sys_nosys }, /* 415 = filler */
1058 1.27 jdolecek { 0, 0, 0,
1059 1.27 jdolecek sys_nosys }, /* 416 = filler */
1060 1.27 jdolecek { 0, 0, 0,
1061 1.27 jdolecek sys_nosys }, /* 417 = filler */
1062 1.27 jdolecek { 0, 0, 0,
1063 1.27 jdolecek sys_nosys }, /* 418 = filler */
1064 1.27 jdolecek { 0, 0, 0,
1065 1.27 jdolecek sys_nosys }, /* 419 = filler */
1066 1.27 jdolecek { 0, 0, 0,
1067 1.27 jdolecek sys_nosys }, /* 420 = filler */
1068 1.27 jdolecek { 0, 0, 0,
1069 1.27 jdolecek sys_nosys }, /* 421 = filler */
1070 1.27 jdolecek { 0, 0, 0,
1071 1.27 jdolecek sys_nosys }, /* 422 = filler */
1072 1.27 jdolecek { 0, 0, 0,
1073 1.27 jdolecek sys_nosys }, /* 423 = filler */
1074 1.27 jdolecek { 0, 0, 0,
1075 1.27 jdolecek sys_nosys }, /* 424 = filler */
1076 1.27 jdolecek { 0, 0, 0,
1077 1.27 jdolecek sys_nosys }, /* 425 = filler */
1078 1.27 jdolecek { 0, 0, 0,
1079 1.27 jdolecek sys_nosys }, /* 426 = filler */
1080 1.27 jdolecek { 0, 0, 0,
1081 1.27 jdolecek sys_nosys }, /* 427 = filler */
1082 1.27 jdolecek { 0, 0, 0,
1083 1.27 jdolecek sys_nosys }, /* 428 = filler */
1084 1.27 jdolecek { 0, 0, 0,
1085 1.27 jdolecek sys_nosys }, /* 429 = filler */
1086 1.27 jdolecek { 0, 0, 0,
1087 1.27 jdolecek sys_nosys }, /* 430 = filler */
1088 1.27 jdolecek { 0, 0, 0,
1089 1.27 jdolecek sys_nosys }, /* 431 = filler */
1090 1.27 jdolecek { 0, 0, 0,
1091 1.27 jdolecek sys_nosys }, /* 432 = filler */
1092 1.27 jdolecek { 0, 0, 0,
1093 1.27 jdolecek sys_nosys }, /* 433 = filler */
1094 1.27 jdolecek { 0, 0, 0,
1095 1.27 jdolecek sys_nosys }, /* 434 = filler */
1096 1.27 jdolecek { 0, 0, 0,
1097 1.27 jdolecek sys_nosys }, /* 435 = filler */
1098 1.27 jdolecek { 0, 0, 0,
1099 1.27 jdolecek sys_nosys }, /* 436 = filler */
1100 1.27 jdolecek { 0, 0, 0,
1101 1.27 jdolecek sys_nosys }, /* 437 = filler */
1102 1.27 jdolecek { 0, 0, 0,
1103 1.27 jdolecek sys_nosys }, /* 438 = filler */
1104 1.27 jdolecek { 0, 0, 0,
1105 1.27 jdolecek sys_nosys }, /* 439 = filler */
1106 1.27 jdolecek { 0, 0, 0,
1107 1.27 jdolecek sys_nosys }, /* 440 = filler */
1108 1.27 jdolecek { 0, 0, 0,
1109 1.27 jdolecek sys_nosys }, /* 441 = filler */
1110 1.27 jdolecek { 0, 0, 0,
1111 1.27 jdolecek sys_nosys }, /* 442 = filler */
1112 1.27 jdolecek { 0, 0, 0,
1113 1.27 jdolecek sys_nosys }, /* 443 = filler */
1114 1.27 jdolecek { 0, 0, 0,
1115 1.27 jdolecek sys_nosys }, /* 444 = filler */
1116 1.27 jdolecek { 0, 0, 0,
1117 1.27 jdolecek sys_nosys }, /* 445 = filler */
1118 1.27 jdolecek { 0, 0, 0,
1119 1.27 jdolecek sys_nosys }, /* 446 = filler */
1120 1.27 jdolecek { 0, 0, 0,
1121 1.27 jdolecek sys_nosys }, /* 447 = filler */
1122 1.27 jdolecek { 0, 0, 0,
1123 1.27 jdolecek sys_nosys }, /* 448 = filler */
1124 1.27 jdolecek { 0, 0, 0,
1125 1.27 jdolecek sys_nosys }, /* 449 = filler */
1126 1.27 jdolecek { 0, 0, 0,
1127 1.27 jdolecek sys_nosys }, /* 450 = filler */
1128 1.27 jdolecek { 0, 0, 0,
1129 1.27 jdolecek sys_nosys }, /* 451 = filler */
1130 1.27 jdolecek { 0, 0, 0,
1131 1.27 jdolecek sys_nosys }, /* 452 = filler */
1132 1.27 jdolecek { 0, 0, 0,
1133 1.27 jdolecek sys_nosys }, /* 453 = filler */
1134 1.27 jdolecek { 0, 0, 0,
1135 1.27 jdolecek sys_nosys }, /* 454 = filler */
1136 1.27 jdolecek { 0, 0, 0,
1137 1.27 jdolecek sys_nosys }, /* 455 = filler */
1138 1.27 jdolecek { 0, 0, 0,
1139 1.27 jdolecek sys_nosys }, /* 456 = filler */
1140 1.27 jdolecek { 0, 0, 0,
1141 1.27 jdolecek sys_nosys }, /* 457 = filler */
1142 1.27 jdolecek { 0, 0, 0,
1143 1.27 jdolecek sys_nosys }, /* 458 = filler */
1144 1.27 jdolecek { 0, 0, 0,
1145 1.27 jdolecek sys_nosys }, /* 459 = filler */
1146 1.27 jdolecek { 0, 0, 0,
1147 1.27 jdolecek sys_nosys }, /* 460 = filler */
1148 1.27 jdolecek { 0, 0, 0,
1149 1.27 jdolecek sys_nosys }, /* 461 = filler */
1150 1.27 jdolecek { 0, 0, 0,
1151 1.27 jdolecek sys_nosys }, /* 462 = filler */
1152 1.27 jdolecek { 0, 0, 0,
1153 1.27 jdolecek sys_nosys }, /* 463 = filler */
1154 1.27 jdolecek { 0, 0, 0,
1155 1.27 jdolecek sys_nosys }, /* 464 = filler */
1156 1.27 jdolecek { 0, 0, 0,
1157 1.27 jdolecek sys_nosys }, /* 465 = filler */
1158 1.27 jdolecek { 0, 0, 0,
1159 1.27 jdolecek sys_nosys }, /* 466 = filler */
1160 1.27 jdolecek { 0, 0, 0,
1161 1.27 jdolecek sys_nosys }, /* 467 = filler */
1162 1.27 jdolecek { 0, 0, 0,
1163 1.27 jdolecek sys_nosys }, /* 468 = filler */
1164 1.27 jdolecek { 0, 0, 0,
1165 1.27 jdolecek sys_nosys }, /* 469 = filler */
1166 1.27 jdolecek { 0, 0, 0,
1167 1.27 jdolecek sys_nosys }, /* 470 = filler */
1168 1.27 jdolecek { 0, 0, 0,
1169 1.27 jdolecek sys_nosys }, /* 471 = filler */
1170 1.27 jdolecek { 0, 0, 0,
1171 1.27 jdolecek sys_nosys }, /* 472 = filler */
1172 1.27 jdolecek { 0, 0, 0,
1173 1.27 jdolecek sys_nosys }, /* 473 = filler */
1174 1.27 jdolecek { 0, 0, 0,
1175 1.27 jdolecek sys_nosys }, /* 474 = filler */
1176 1.27 jdolecek { 0, 0, 0,
1177 1.27 jdolecek sys_nosys }, /* 475 = filler */
1178 1.27 jdolecek { 0, 0, 0,
1179 1.27 jdolecek sys_nosys }, /* 476 = filler */
1180 1.27 jdolecek { 0, 0, 0,
1181 1.27 jdolecek sys_nosys }, /* 477 = filler */
1182 1.27 jdolecek { 0, 0, 0,
1183 1.27 jdolecek sys_nosys }, /* 478 = filler */
1184 1.27 jdolecek { 0, 0, 0,
1185 1.27 jdolecek sys_nosys }, /* 479 = filler */
1186 1.27 jdolecek { 0, 0, 0,
1187 1.27 jdolecek sys_nosys }, /* 480 = filler */
1188 1.27 jdolecek { 0, 0, 0,
1189 1.27 jdolecek sys_nosys }, /* 481 = filler */
1190 1.27 jdolecek { 0, 0, 0,
1191 1.27 jdolecek sys_nosys }, /* 482 = filler */
1192 1.27 jdolecek { 0, 0, 0,
1193 1.27 jdolecek sys_nosys }, /* 483 = filler */
1194 1.27 jdolecek { 0, 0, 0,
1195 1.27 jdolecek sys_nosys }, /* 484 = filler */
1196 1.27 jdolecek { 0, 0, 0,
1197 1.27 jdolecek sys_nosys }, /* 485 = filler */
1198 1.27 jdolecek { 0, 0, 0,
1199 1.27 jdolecek sys_nosys }, /* 486 = filler */
1200 1.27 jdolecek { 0, 0, 0,
1201 1.27 jdolecek sys_nosys }, /* 487 = filler */
1202 1.27 jdolecek { 0, 0, 0,
1203 1.27 jdolecek sys_nosys }, /* 488 = filler */
1204 1.27 jdolecek { 0, 0, 0,
1205 1.27 jdolecek sys_nosys }, /* 489 = filler */
1206 1.27 jdolecek { 0, 0, 0,
1207 1.27 jdolecek sys_nosys }, /* 490 = filler */
1208 1.27 jdolecek { 0, 0, 0,
1209 1.27 jdolecek sys_nosys }, /* 491 = filler */
1210 1.27 jdolecek { 0, 0, 0,
1211 1.27 jdolecek sys_nosys }, /* 492 = filler */
1212 1.27 jdolecek { 0, 0, 0,
1213 1.27 jdolecek sys_nosys }, /* 493 = filler */
1214 1.27 jdolecek { 0, 0, 0,
1215 1.27 jdolecek sys_nosys }, /* 494 = filler */
1216 1.27 jdolecek { 0, 0, 0,
1217 1.27 jdolecek sys_nosys }, /* 495 = filler */
1218 1.27 jdolecek { 0, 0, 0,
1219 1.27 jdolecek sys_nosys }, /* 496 = filler */
1220 1.27 jdolecek { 0, 0, 0,
1221 1.27 jdolecek sys_nosys }, /* 497 = filler */
1222 1.27 jdolecek { 0, 0, 0,
1223 1.27 jdolecek sys_nosys }, /* 498 = filler */
1224 1.27 jdolecek { 0, 0, 0,
1225 1.27 jdolecek sys_nosys }, /* 499 = filler */
1226 1.27 jdolecek { 0, 0, 0,
1227 1.27 jdolecek sys_nosys }, /* 500 = filler */
1228 1.27 jdolecek { 0, 0, 0,
1229 1.27 jdolecek sys_nosys }, /* 501 = filler */
1230 1.27 jdolecek { 0, 0, 0,
1231 1.27 jdolecek sys_nosys }, /* 502 = filler */
1232 1.27 jdolecek { 0, 0, 0,
1233 1.27 jdolecek sys_nosys }, /* 503 = filler */
1234 1.27 jdolecek { 0, 0, 0,
1235 1.27 jdolecek sys_nosys }, /* 504 = filler */
1236 1.27 jdolecek { 0, 0, 0,
1237 1.27 jdolecek sys_nosys }, /* 505 = filler */
1238 1.27 jdolecek { 0, 0, 0,
1239 1.27 jdolecek sys_nosys }, /* 506 = filler */
1240 1.27 jdolecek { 0, 0, 0,
1241 1.27 jdolecek sys_nosys }, /* 507 = filler */
1242 1.27 jdolecek { 0, 0, 0,
1243 1.27 jdolecek sys_nosys }, /* 508 = filler */
1244 1.27 jdolecek { 0, 0, 0,
1245 1.27 jdolecek sys_nosys }, /* 509 = filler */
1246 1.27 jdolecek { 0, 0, 0,
1247 1.27 jdolecek sys_nosys }, /* 510 = filler */
1248 1.27 jdolecek { 0, 0, 0,
1249 1.27 jdolecek sys_nosys }, /* 511 = filler */
1250 1.1 mrg };
1251 1.1 mrg
1252