xref: /netbsd-src/sys/compat/netbsd32/netbsd32_syscalls.c (revision a6f3f22f245acb8ee3bbf6871d7dce989204fa97)
1 /* $NetBSD: netbsd32_syscalls.c,v 1.117 2015/09/24 14:43:06 christos Exp $ */
2 
3 /*
4  * System call names.
5  *
6  * DO NOT EDIT-- this file is automatically generated.
7  * created from	NetBSD: syscalls.master,v 1.109 2015/06/23 04:44:08 dholland Exp
8  */
9 
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.117 2015/09/24 14:43:06 christos Exp $");
12 
13 #if defined(_KERNEL_OPT)
14 #if defined(_KERNEL_OPT)
15 #include "opt_compat_netbsd.h"
16 #include "opt_nfsserver.h"
17 #include "opt_ntp.h"
18 #include "opt_sysv.h"
19 #include "opt_compat_43.h"
20 #endif
21 #include <sys/param.h>
22 #include <sys/systm.h>
23 #include <sys/signal.h>
24 #include <sys/mount.h>
25 #include <sys/syscallargs.h>
26 #include <compat/netbsd32/netbsd32.h>
27 #include <compat/netbsd32/netbsd32_syscallargs.h>
28 #else /* _KERNEL_OPT */
29 #include <sys/null.h>
30 #endif /* _KERNEL_OPT */
31 
32 const char *const netbsd32_syscallnames[] = {
33 	/*   0 */	"netbsd32_syscall",
34 	/*   1 */	"netbsd32_exit",
35 	/*   2 */	"fork",
36 	/*   3 */	"netbsd32_read",
37 	/*   4 */	"netbsd32_write",
38 	/*   5 */	"netbsd32_open",
39 	/*   6 */	"netbsd32_close",
40 	/*   7 */	"compat_50_netbsd32_wait4",
41 	/*   8 */	"compat_43_netbsd32_ocreat",
42 	/*   9 */	"netbsd32_link",
43 	/*  10 */	"netbsd32_unlink",
44 	/*  11 */	"#11 (obsolete execv)",
45 	/*  12 */	"netbsd32_chdir",
46 	/*  13 */	"netbsd32_fchdir",
47 	/*  14 */	"compat_50_netbsd32_mknod",
48 	/*  15 */	"netbsd32_chmod",
49 	/*  16 */	"netbsd32_chown",
50 	/*  17 */	"netbsd32_break",
51 	/*  18 */	"compat_20_netbsd32_getfsstat",
52 	/*  19 */	"compat_43_netbsd32_olseek",
53 	/*  20 */	"getpid",
54 	/*  21 */	"netbsd32_mount",
55 	/*  22 */	"netbsd32_unmount",
56 	/*  23 */	"netbsd32_setuid",
57 	/*  24 */	"getuid",
58 	/*  25 */	"geteuid",
59 	/*  26 */	"netbsd32_ptrace",
60 	/*  27 */	"netbsd32_recvmsg",
61 	/*  28 */	"netbsd32_sendmsg",
62 	/*  29 */	"netbsd32_recvfrom",
63 	/*  30 */	"netbsd32_accept",
64 	/*  31 */	"netbsd32_getpeername",
65 	/*  32 */	"netbsd32_getsockname",
66 	/*  33 */	"netbsd32_access",
67 	/*  34 */	"netbsd32_chflags",
68 	/*  35 */	"netbsd32_fchflags",
69 	/*  36 */	"sync",
70 	/*  37 */	"netbsd32_kill",
71 	/*  38 */	"compat_43_netbsd32_stat43",
72 	/*  39 */	"getppid",
73 	/*  40 */	"compat_43_netbsd32_lstat43",
74 	/*  41 */	"netbsd32_dup",
75 	/*  42 */	"pipe",
76 	/*  43 */	"getegid",
77 	/*  44 */	"netbsd32_profil",
78 	/*  45 */	"netbsd32_ktrace",
79 	/*  46 */	"netbsd32_sigaction",
80 	/*  47 */	"getgid",
81 	/*  48 */	"compat_13_sigprocmask13",
82 	/*  49 */	"netbsd32___getlogin",
83 	/*  50 */	"netbsd32_setlogin",
84 	/*  51 */	"netbsd32_acct",
85 	/*  52 */	"compat_13_sigpending13",
86 	/*  53 */	"compat_13_netbsd32_sigaltstack13",
87 	/*  54 */	"netbsd32_ioctl",
88 	/*  55 */	"compat_12_netbsd32_reboot",
89 	/*  56 */	"netbsd32_revoke",
90 	/*  57 */	"netbsd32_symlink",
91 	/*  58 */	"netbsd32_readlink",
92 	/*  59 */	"netbsd32_execve",
93 	/*  60 */	"netbsd32_umask",
94 	/*  61 */	"netbsd32_chroot",
95 	/*  62 */	"compat_43_netbsd32_fstat43",
96 	/*  63 */	"compat_43_netbsd32_ogetkerninfo",
97 	/*  64 */	"compat_43_ogetpagesize",
98 	/*  65 */	"compat_12_netbsd32_msync",
99 	/*  66 */	"vfork",
100 	/*  67 */	"#67 (obsolete vread)",
101 	/*  68 */	"#68 (obsolete vwrite)",
102 	/*  69 */	"netbsd32_sbrk",
103 	/*  70 */	"netbsd32_sstk",
104 	/*  71 */	"compat_43_netbsd32_ommap",
105 	/*  72 */	"vadvise",
106 	/*  73 */	"netbsd32_munmap",
107 	/*  74 */	"netbsd32_mprotect",
108 	/*  75 */	"netbsd32_madvise",
109 	/*  76 */	"#76 (obsolete vhangup)",
110 	/*  77 */	"#77 (obsolete vlimit)",
111 	/*  78 */	"netbsd32_mincore",
112 	/*  79 */	"netbsd32_getgroups",
113 	/*  80 */	"netbsd32_setgroups",
114 	/*  81 */	"getpgrp",
115 	/*  82 */	"netbsd32_setpgid",
116 	/*  83 */	"compat_50_netbsd32_setitimer",
117 	/*  84 */	"compat_43_owait",
118 	/*  85 */	"compat_12_netbsd32_oswapon",
119 	/*  86 */	"compat_50_netbsd32_getitimer",
120 	/*  87 */	"compat_43_netbsd32_ogethostname",
121 	/*  88 */	"compat_43_netbsd32_osethostname",
122 	/*  89 */	"compat_43_ogetdtablesize",
123 	/*  90 */	"netbsd32_dup2",
124 	/*  91 */	"#91 (unimplemented getdopt)",
125 	/*  92 */	"netbsd32_fcntl",
126 	/*  93 */	"compat_50_netbsd32_select",
127 	/*  94 */	"#94 (unimplemented setdopt)",
128 	/*  95 */	"netbsd32_fsync",
129 	/*  96 */	"netbsd32_setpriority",
130 	/*  97 */	"compat_30_netbsd32_socket",
131 	/*  98 */	"netbsd32_connect",
132 	/*  99 */	"compat_43_netbsd32_oaccept",
133 	/* 100 */	"netbsd32_getpriority",
134 	/* 101 */	"compat_43_netbsd32_osend",
135 	/* 102 */	"compat_43_netbsd32_orecv",
136 	/* 103 */	"compat_13_sigreturn13",
137 	/* 104 */	"netbsd32_bind",
138 	/* 105 */	"netbsd32_setsockopt",
139 	/* 106 */	"netbsd32_listen",
140 	/* 107 */	"#107 (obsolete vtimes)",
141 	/* 108 */	"compat_43_netbsd32_osigvec",
142 	/* 109 */	"compat_43_netbsd32_sigblock",
143 	/* 110 */	"compat_43_netbsd32_sigsetmask",
144 	/* 111 */	"compat_13_sigsuspend13",
145 	/* 112 */	"compat_43_netbsd32_osigstack",
146 	/* 113 */	"compat_43_netbsd32_orecvmsg",
147 	/* 114 */	"compat_43_netbsd32_osendmsg",
148 	/* 115 */	"#115 (obsolete vtrace)",
149 	/* 116 */	"compat_50_netbsd32_gettimeofday",
150 	/* 117 */	"compat_50_netbsd32_getrusage",
151 	/* 118 */	"netbsd32_getsockopt",
152 	/* 119 */	"#119 (obsolete resuba)",
153 	/* 120 */	"netbsd32_readv",
154 	/* 121 */	"netbsd32_writev",
155 	/* 122 */	"compat_50_netbsd32_settimeofday",
156 	/* 123 */	"netbsd32_fchown",
157 	/* 124 */	"netbsd32_fchmod",
158 	/* 125 */	"compat_43_netbsd32_orecvfrom",
159 	/* 126 */	"netbsd32_setreuid",
160 	/* 127 */	"netbsd32_setregid",
161 	/* 128 */	"netbsd32_rename",
162 	/* 129 */	"compat_43_netbsd32_otruncate",
163 	/* 130 */	"compat_43_netbsd32_oftruncate",
164 	/* 131 */	"netbsd32_flock",
165 	/* 132 */	"netbsd32_mkfifo",
166 	/* 133 */	"netbsd32_sendto",
167 	/* 134 */	"netbsd32_shutdown",
168 	/* 135 */	"netbsd32_socketpair",
169 	/* 136 */	"netbsd32_mkdir",
170 	/* 137 */	"netbsd32_rmdir",
171 	/* 138 */	"compat_50_netbsd32_utimes",
172 	/* 139 */	"#139 (obsolete 4.2 sigreturn)",
173 	/* 140 */	"compat_50_netbsd32_adjtime",
174 	/* 141 */	"compat_43_netbsd32_ogetpeername",
175 	/* 142 */	"compat_43_ogethostid",
176 	/* 143 */	"compat_43_netbsd32_sethostid",
177 	/* 144 */	"compat_43_netbsd32_ogetrlimit",
178 	/* 145 */	"compat_43_netbsd32_osetrlimit",
179 	/* 146 */	"compat_43_netbsd32_killpg",
180 	/* 147 */	"setsid",
181 	/* 148 */	"compat_50_netbsd32_quotactl",
182 	/* 149 */	"compat_43_oquota",
183 	/* 150 */	"compat_43_netbsd32_ogetsockname",
184 	/* 151 */	"#151 (unimplemented)",
185 	/* 152 */	"#152 (unimplemented)",
186 	/* 153 */	"#153 (unimplemented)",
187 	/* 154 */	"#154 (unimplemented)",
188 #if defined(NFSSERVER) || !defined(_KERNEL_OPT)
189 	/* 155 */	"netbsd32_nfssvc",
190 #else
191 	/* 155 */	"#155 (excluded netbsd32_nfssvc)",
192 #endif
193 	/* 156 */	"compat_43_netbsd32_ogetdirentries",
194 	/* 157 */	"compat_20_netbsd32_statfs",
195 	/* 158 */	"compat_20_netbsd32_fstatfs",
196 	/* 159 */	"#159 (unimplemented)",
197 	/* 160 */	"#160 (unimplemented)",
198 	/* 161 */	"compat_30_netbsd32_getfh",
199 	/* 162 */	"compat_09_netbsd32_ogetdomainname",
200 	/* 163 */	"compat_09_netbsd32_osetdomainname",
201 	/* 164 */	"compat_09_netbsd32_uname",
202 	/* 165 */	"netbsd32_sysarch",
203 	/* 166 */	"#166 (unimplemented)",
204 	/* 167 */	"#167 (unimplemented)",
205 	/* 168 */	"#168 (unimplemented)",
206 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
207 	/* 169 */	"compat_10_osemsys",
208 #else
209 	/* 169 */	"#169 (excluded netbsd32_semsys)",
210 #endif
211 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
212 	/* 170 */	"compat_10_omsgsys",
213 #else
214 	/* 170 */	"#170 (excluded netbsd32_msgsys)",
215 #endif
216 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
217 	/* 171 */	"compat_10_oshmsys",
218 #else
219 	/* 171 */	"#171 (excluded netbsd32_shmsys)",
220 #endif
221 	/* 172 */	"#172 (unimplemented)",
222 	/* 173 */	"netbsd32_pread",
223 	/* 174 */	"netbsd32_pwrite",
224 #if defined(NTP) || !defined(_KERNEL_OPT)
225 	/* 175 */	"compat_30_netbsd32_ntp_gettime",
226 	/* 176 */	"netbsd32_ntp_adjtime",
227 #else
228 	/* 175 */	"#175 (excluded ntp_gettime)",
229 	/* 176 */	"#176 (excluded ntp_adjtime)",
230 #endif
231 	/* 177 */	"#177 (unimplemented)",
232 	/* 178 */	"#178 (unimplemented)",
233 	/* 179 */	"#179 (unimplemented)",
234 	/* 180 */	"#180 (unimplemented)",
235 	/* 181 */	"netbsd32_setgid",
236 	/* 182 */	"netbsd32_setegid",
237 	/* 183 */	"netbsd32_seteuid",
238 	/* 184 */	"#184 (excluded netbsd32_lfs_bmapv)",
239 	/* 185 */	"#185 (excluded netbsd32_lfs_markv)",
240 	/* 186 */	"#186 (excluded netbsd32_lfs_segclean)",
241 	/* 187 */	"#187 (excluded netbsd32_lfs_segwait)",
242 	/* 188 */	"compat_12_netbsd32_stat12",
243 	/* 189 */	"compat_12_netbsd32_fstat12",
244 	/* 190 */	"compat_12_netbsd32_lstat12",
245 	/* 191 */	"netbsd32_pathconf",
246 	/* 192 */	"netbsd32_fpathconf",
247 	/* 193 */	"#193 (unimplemented)",
248 	/* 194 */	"netbsd32_getrlimit",
249 	/* 195 */	"netbsd32_setrlimit",
250 	/* 196 */	"compat_12_netbsd32_getdirentries",
251 	/* 197 */	"netbsd32_mmap",
252 	/* 198 */	"netbsd32____syscall",
253 	/* 199 */	"netbsd32_lseek",
254 	/* 200 */	"netbsd32_truncate",
255 	/* 201 */	"netbsd32_ftruncate",
256 	/* 202 */	"netbsd32___sysctl",
257 	/* 203 */	"netbsd32_mlock",
258 	/* 204 */	"netbsd32_munlock",
259 	/* 205 */	"netbsd32_undelete",
260 	/* 206 */	"compat_50_netbsd32_futimes",
261 	/* 207 */	"netbsd32_getpgid",
262 	/* 208 */	"netbsd32_reboot",
263 	/* 209 */	"netbsd32_poll",
264 	/* 210 */	"#210 (unimplemented { int | netbsd32 | | afssys ( long id , long a1 , long a2 , long a3 , long a4 , long a5 , long a6 ) ; })",
265 	/* 211 */	"#211 (unimplemented)",
266 	/* 212 */	"#212 (unimplemented)",
267 	/* 213 */	"#213 (unimplemented)",
268 	/* 214 */	"#214 (unimplemented)",
269 	/* 215 */	"#215 (unimplemented)",
270 	/* 216 */	"#216 (unimplemented)",
271 	/* 217 */	"#217 (unimplemented)",
272 	/* 218 */	"#218 (unimplemented)",
273 	/* 219 */	"#219 (unimplemented)",
274 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
275 	/* 220 */	"compat_14_netbsd32___semctl",
276 	/* 221 */	"netbsd32_semget",
277 	/* 222 */	"netbsd32_semop",
278 	/* 223 */	"netbsd32_semconfig",
279 #else
280 	/* 220 */	"#220 (excluded compat_14_netbsd32_semctl)",
281 	/* 221 */	"#221 (excluded netbsd32_semget)",
282 	/* 222 */	"#222 (excluded netbsd32_semop)",
283 	/* 223 */	"#223 (excluded netbsd32_semconfig)",
284 #endif
285 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
286 	/* 224 */	"compat_14_netbsd32_msgctl",
287 	/* 225 */	"netbsd32_msgget",
288 	/* 226 */	"netbsd32_msgsnd",
289 	/* 227 */	"netbsd32_msgrcv",
290 #else
291 	/* 224 */	"#224 (excluded compat_14_netbsd32_msgctl)",
292 	/* 225 */	"#225 (excluded netbsd32_msgget)",
293 	/* 226 */	"#226 (excluded netbsd32_msgsnd)",
294 	/* 227 */	"#227 (excluded netbsd32_msgrcv)",
295 #endif
296 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
297 	/* 228 */	"netbsd32_shmat",
298 	/* 229 */	"compat_14_netbsd32_shmctl",
299 	/* 230 */	"netbsd32_shmdt",
300 	/* 231 */	"netbsd32_shmget",
301 #else
302 	/* 228 */	"#228 (excluded netbsd32_shmat)",
303 	/* 229 */	"#229 (excluded compat_14_netbsd32_shmctl)",
304 	/* 230 */	"#230 (excluded netbsd32_shmdt)",
305 	/* 231 */	"#231 (excluded netbsd32_shmget)",
306 #endif
307 	/* 232 */	"compat_50_netbsd32_clock_gettime",
308 	/* 233 */	"compat_50_netbsd32_clock_settime",
309 	/* 234 */	"compat_50_netbsd32_clock_getres",
310 	/* 235 */	"netbsd32_timer_create",
311 	/* 236 */	"netbsd32_timer_delete",
312 	/* 237 */	"compat_50_netbsd32_timer_settime",
313 	/* 238 */	"compat_50_netbsd32_timer_gettime",
314 	/* 239 */	"netbsd32_timer_getoverrun",
315 	/* 240 */	"compat_50_netbsd32_nanosleep",
316 	/* 241 */	"netbsd32_fdatasync",
317 	/* 242 */	"netbsd32_mlockall",
318 	/* 243 */	"munlockall",
319 	/* 244 */	"compat_50_netbsd32___sigtimedwait",
320 	/* 245 */	"netbsd32_sigqueueinfo",
321 	/* 246 */	"netbsd32_modctl",
322 	/* 247 */	"netbsd32__ksem_init",
323 	/* 248 */	"netbsd32__ksem_open",
324 	/* 249 */	"netbsd32__ksem_unlink",
325 	/* 250 */	"netbsd32__ksem_close",
326 	/* 251 */	"netbsd32__ksem_post",
327 	/* 252 */	"netbsd32__ksem_wait",
328 	/* 253 */	"netbsd32__ksem_trywait",
329 	/* 254 */	"netbsd32__ksem_getvalue",
330 	/* 255 */	"netbsd32__ksem_destroy",
331 	/* 256 */	"netbsd32__ksem_timedwait",
332 	/* 257 */	"netbsd32_mq_open",
333 	/* 258 */	"netbsd32_mq_close",
334 	/* 259 */	"netbsd32_mq_unlink",
335 	/* 260 */	"netbsd32_mq_getattr",
336 	/* 261 */	"netbsd32_mq_setattr",
337 	/* 262 */	"netbsd32_mq_notify",
338 	/* 263 */	"netbsd32_mq_send",
339 	/* 264 */	"netbsd32_mq_receive",
340 	/* 265 */	"compat_50_netbsd32_mq_timedsend",
341 	/* 266 */	"compat_50_netbsd32_mq_timedreceive",
342 	/* 267 */	"#267 (unimplemented)",
343 	/* 268 */	"#268 (unimplemented)",
344 	/* 269 */	"#269 (unimplemented)",
345 	/* 270 */	"netbsd32___posix_rename",
346 	/* 271 */	"netbsd32_swapctl",
347 	/* 272 */	"compat_30_netbsd32_getdents",
348 	/* 273 */	"netbsd32_minherit",
349 	/* 274 */	"netbsd32_lchmod",
350 	/* 275 */	"netbsd32_lchown",
351 	/* 276 */	"compat_50_netbsd32_lutimes",
352 	/* 277 */	"netbsd32___msync13",
353 	/* 278 */	"compat_30_netbsd32___stat13",
354 	/* 279 */	"compat_30_netbsd32___fstat13",
355 	/* 280 */	"compat_30_netbsd32___lstat13",
356 	/* 281 */	"netbsd32___sigaltstack14",
357 	/* 282 */	"__vfork14",
358 	/* 283 */	"netbsd32___posix_chown",
359 	/* 284 */	"netbsd32___posix_fchown",
360 	/* 285 */	"netbsd32___posix_lchown",
361 	/* 286 */	"netbsd32_getsid",
362 	/* 287 */	"netbsd32___clone",
363 	/* 288 */	"netbsd32_fktrace",
364 	/* 289 */	"netbsd32_preadv",
365 	/* 290 */	"netbsd32_pwritev",
366 	/* 291 */	"netbsd32___sigaction14",
367 	/* 292 */	"netbsd32___sigpending14",
368 	/* 293 */	"netbsd32___sigprocmask14",
369 	/* 294 */	"netbsd32___sigsuspend14",
370 	/* 295 */	"compat_16_netbsd32___sigreturn14",
371 	/* 296 */	"netbsd32___getcwd",
372 	/* 297 */	"netbsd32_fchroot",
373 	/* 298 */	"compat_30_netbsd32_fhopen",
374 	/* 299 */	"compat_30_netbsd32_fhstat",
375 	/* 300 */	"compat_20_netbsd32_fhstatfs",
376 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
377 	/* 301 */	"compat_50_netbsd32___semctl14",
378 #else
379 	/* 301 */	"#301 (excluded __semctl14)",
380 #endif
381 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
382 	/* 302 */	"compat_50_netbsd32___msgctl13",
383 #else
384 	/* 302 */	"#302 (excluded __msgctl13)",
385 #endif
386 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
387 	/* 303 */	"compat_50_netbsd32___shmctl13",
388 #else
389 	/* 303 */	"#303 (excluded __shmctl13)",
390 #endif
391 	/* 304 */	"netbsd32_lchflags",
392 	/* 305 */	"issetugid",
393 	/* 306 */	"netbsd32_utrace",
394 	/* 307 */	"netbsd32_getcontext",
395 	/* 308 */	"netbsd32_setcontext",
396 	/* 309 */	"netbsd32__lwp_create",
397 	/* 310 */	"_lwp_exit",
398 	/* 311 */	"_lwp_self",
399 	/* 312 */	"netbsd32__lwp_wait",
400 	/* 313 */	"netbsd32__lwp_suspend",
401 	/* 314 */	"netbsd32__lwp_continue",
402 	/* 315 */	"netbsd32__lwp_wakeup",
403 	/* 316 */	"_lwp_getprivate",
404 	/* 317 */	"netbsd32__lwp_setprivate",
405 	/* 318 */	"netbsd32__lwp_kill",
406 	/* 319 */	"netbsd32__lwp_detach",
407 	/* 320 */	"compat_50_netbsd32__lwp_park",
408 	/* 321 */	"netbsd32__lwp_unpark",
409 	/* 322 */	"netbsd32__lwp_unpark_all",
410 	/* 323 */	"netbsd32__lwp_setname",
411 	/* 324 */	"netbsd32__lwp_getname",
412 	/* 325 */	"netbsd32__lwp_ctl",
413 	/* 326 */	"#326 (unimplemented)",
414 	/* 327 */	"#327 (unimplemented)",
415 	/* 328 */	"#328 (unimplemented)",
416 	/* 329 */	"#329 (unimplemented)",
417 	/* 330 */	"#330 (obsolete netbsd32_sa_register)",
418 	/* 331 */	"#331 (obsolete netbsd32_sa_stacks)",
419 	/* 332 */	"#332 (obsolete sa_enable)",
420 	/* 333 */	"#333 (obsolete netbsd32_sa_setconcurrency)",
421 	/* 334 */	"#334 (obsolete sa_yield)",
422 	/* 335 */	"#335 (obsolete netbsd32_sa_preempt)",
423 	/* 336 */	"#336 (obsolete sys_sa_unblockyield)",
424 	/* 337 */	"#337 (unimplemented)",
425 	/* 338 */	"#338 (unimplemented)",
426 	/* 339 */	"#339 (unimplemented)",
427 	/* 340 */	"netbsd32___sigaction_sigtramp",
428 	/* 341 */	"#341 (unimplemented { int | netbsd32 | | pmc_get_info ( int ctr , int op , void * args ) ; })",
429 	/* 342 */	"#342 (unimplemented { int | netbsd32 | | pmc_control ( int ctr , int op , void * args ) ; })",
430 	/* 343 */	"netbsd32_rasctl",
431 	/* 344 */	"kqueue",
432 	/* 345 */	"compat_50_netbsd32_kevent",
433 	/* 346 */	"netbsd32__sched_setparam",
434 	/* 347 */	"netbsd32__sched_getparam",
435 	/* 348 */	"netbsd32__sched_setaffinity",
436 	/* 349 */	"netbsd32__sched_getaffinity",
437 	/* 350 */	"sched_yield",
438 	/* 351 */	"#351 (unimplemented)",
439 	/* 352 */	"#352 (unimplemented)",
440 	/* 353 */	"#353 (unimplemented)",
441 	/* 354 */	"netbsd32_fsync_range",
442 	/* 355 */	"netbsd32_uuidgen",
443 	/* 356 */	"netbsd32_getvfsstat",
444 	/* 357 */	"netbsd32_statvfs1",
445 	/* 358 */	"netbsd32_fstatvfs1",
446 	/* 359 */	"compat_30_netbsd32_fhstatvfs1",
447 	/* 360 */	"netbsd32_extattrctl",
448 	/* 361 */	"netbsd32_extattr_set_file",
449 	/* 362 */	"netbsd32_extattr_get_file",
450 	/* 363 */	"netbsd32_extattr_delete_file",
451 	/* 364 */	"netbsd32_extattr_set_fd",
452 	/* 365 */	"netbsd32_extattr_get_fd",
453 	/* 366 */	"netbsd32_extattr_delete_fd",
454 	/* 367 */	"netbsd32_extattr_set_link",
455 	/* 368 */	"netbsd32_extattr_get_link",
456 	/* 369 */	"netbsd32_extattr_delete_link",
457 	/* 370 */	"netbsd32_extattr_list_fd",
458 	/* 371 */	"netbsd32_extattr_list_file",
459 	/* 372 */	"netbsd32_extattr_list_link",
460 	/* 373 */	"compat_50_netbsd32_pselect",
461 	/* 374 */	"compat_50_netbsd32_pollts",
462 	/* 375 */	"netbsd32_setxattr",
463 	/* 376 */	"netbsd32_lsetxattr",
464 	/* 377 */	"netbsd32_fsetxattr",
465 	/* 378 */	"netbsd32_getxattr",
466 	/* 379 */	"netbsd32_lgetxattr",
467 	/* 380 */	"netbsd32_fgetxattr",
468 	/* 381 */	"netbsd32_listxattr",
469 	/* 382 */	"netbsd32_llistxattr",
470 	/* 383 */	"netbsd32_flistxattr",
471 	/* 384 */	"netbsd32_removexattr",
472 	/* 385 */	"netbsd32_lremovexattr",
473 	/* 386 */	"netbsd32_fremovexattr",
474 	/* 387 */	"compat_50_netbsd32___stat30",
475 	/* 388 */	"compat_50_netbsd32___fstat30",
476 	/* 389 */	"compat_50_netbsd32___lstat30",
477 	/* 390 */	"netbsd32___getdents30",
478 	/* 391 */	"#391 (ignored old posix fadvise)",
479 	/* 392 */	"compat_30_netbsd32___fhstat30",
480 #if defined(NTP) || !defined(_KERNEL_OPT)
481 	/* 393 */	"compat_50_netbsd32_ntp_gettime",
482 #else
483 	/* 393 */	"#393 (excluded __ntp_gettime30)",
484 #endif
485 	/* 394 */	"netbsd32___socket30",
486 	/* 395 */	"netbsd32___getfh30",
487 	/* 396 */	"netbsd32___fhopen40",
488 	/* 397 */	"netbsd32___fhstatvfs140",
489 	/* 398 */	"compat_50_netbsd32___fhstat40",
490 	/* 399 */	"#399 (unimplemented sys_aio_cancel)",
491 	/* 400 */	"#400 (unimplemented sys_aio_error)",
492 	/* 401 */	"#401 (unimplemented sys_aio_fsync)",
493 	/* 402 */	"#402 (unimplemented sys_aio_read)",
494 	/* 403 */	"#403 (unimplemented sys_aio_return)",
495 	/* 404 */	"#404 (unimplemented sys_aio_suspend)",
496 	/* 405 */	"#405 (unimplemented sys_aio_write)",
497 	/* 406 */	"#406 (unimplemented sys_lio_listio)",
498 	/* 407 */	"#407 (unimplemented)",
499 	/* 408 */	"#408 (unimplemented)",
500 	/* 409 */	"#409 (unimplemented)",
501 	/* 410 */	"netbsd32___mount50",
502 	/* 411 */	"netbsd32_mremap",
503 	/* 412 */	"netbsd32_pset_create",
504 	/* 413 */	"netbsd32_pset_destroy",
505 	/* 414 */	"netbsd32_pset_assign",
506 	/* 415 */	"netbsd32__pset_bind",
507 	/* 416 */	"netbsd32___posix_fadvise50",
508 	/* 417 */	"netbsd32___select50",
509 	/* 418 */	"netbsd32___gettimeofday50",
510 	/* 419 */	"netbsd32___settimeofday50",
511 	/* 420 */	"netbsd32___utimes50",
512 	/* 421 */	"netbsd32___adjtime50",
513 	/* 422 */	"#422 (excluded __lfs_segwait50)",
514 	/* 423 */	"netbsd32___futimes50",
515 	/* 424 */	"netbsd32___lutimes50",
516 	/* 425 */	"netbsd32___setitimer50",
517 	/* 426 */	"netbsd32___getitimer50",
518 	/* 427 */	"netbsd32___clock_gettime50",
519 	/* 428 */	"netbsd32___clock_settime50",
520 	/* 429 */	"netbsd32___clock_getres50",
521 	/* 430 */	"netbsd32___nanosleep50",
522 	/* 431 */	"netbsd32_____sigtimedwait50",
523 	/* 432 */	"netbsd32___mq_timedsend50",
524 	/* 433 */	"netbsd32___mq_timedreceive50",
525 	/* 434 */	"compat_60_netbsd32__lwp_park",
526 	/* 435 */	"netbsd32___kevent50",
527 	/* 436 */	"netbsd32___pselect50",
528 	/* 437 */	"netbsd32___pollts50",
529 	/* 438 */	"#438 (unimplemented netbsd32___aio_suspend50)",
530 	/* 439 */	"netbsd32___stat50",
531 	/* 440 */	"netbsd32___fstat50",
532 	/* 441 */	"netbsd32___lstat50",
533 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
534 	/* 442 */	"netbsd32_____semctl50",
535 #else
536 	/* 442 */	"#442 (excluded ____semctl50)",
537 #endif
538 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
539 	/* 443 */	"netbsd32___shmctl50",
540 #else
541 	/* 443 */	"#443 (excluded ____shmctl50)",
542 #endif
543 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
544 	/* 444 */	"netbsd32___msgctl50",
545 #else
546 	/* 444 */	"#444 (excluded ____msgctl50)",
547 #endif
548 	/* 445 */	"netbsd32___getrusage50",
549 	/* 446 */	"netbsd32___timer_settime50",
550 	/* 447 */	"netbsd32___timer_gettime50",
551 #if defined(NTP) || !defined(_KERNEL_OPT)
552 	/* 448 */	"netbsd32___ntp_gettime50",
553 #else
554 	/* 448 */	"#448 (excluded ___ntp_gettime50)",
555 #endif
556 	/* 449 */	"netbsd32___wait450",
557 	/* 450 */	"netbsd32___mknod50",
558 	/* 451 */	"netbsd32___fhstat50",
559 	/* 452 */	"#452 (obsolete 5.99 quotactl)",
560 	/* 453 */	"netbsd32_pipe2",
561 	/* 454 */	"netbsd32_dup3",
562 	/* 455 */	"netbsd32_kqueue1",
563 	/* 456 */	"netbsd32_paccept",
564 	/* 457 */	"netbsd32_linkat",
565 	/* 458 */	"netbsd32_renameat",
566 	/* 459 */	"netbsd32_mkfifoat",
567 	/* 460 */	"netbsd32_mknodat",
568 	/* 461 */	"netbsd32_mkdirat",
569 	/* 462 */	"netbsd32_faccessat",
570 	/* 463 */	"netbsd32_fchmodat",
571 	/* 464 */	"netbsd32_fchownat",
572 	/* 465 */	"netbsd32_fexecve",
573 	/* 466 */	"netbsd32_fstatat",
574 	/* 467 */	"netbsd32_utimensat",
575 	/* 468 */	"netbsd32_openat",
576 	/* 469 */	"netbsd32_readlinkat",
577 	/* 470 */	"netbsd32_symlinkat",
578 	/* 471 */	"netbsd32_unlinkat",
579 	/* 472 */	"netbsd32_futimens",
580 	/* 473 */	"netbsd32___quotactl",
581 	/* 474 */	"netbsd32_posix_spawn",
582 	/* 475 */	"#475 (unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t timeout ) ; })",
583 	/* 476 */	"#476 (unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; })",
584 	/* 477 */	"netbsd32_clock_nanosleep",
585 	/* 478 */	"netbsd32____lwp_park60",
586 	/* 479 */	"netbsd32_posix_fallocate",
587 	/* 480 */	"netbsd32_fdiscard",
588 	/* 481 */	"# filler",
589 	/* 482 */	"# filler",
590 	/* 483 */	"# filler",
591 	/* 484 */	"# filler",
592 	/* 485 */	"# filler",
593 	/* 486 */	"# filler",
594 	/* 487 */	"# filler",
595 	/* 488 */	"# filler",
596 	/* 489 */	"# filler",
597 	/* 490 */	"# filler",
598 	/* 491 */	"# filler",
599 	/* 492 */	"# filler",
600 	/* 493 */	"# filler",
601 	/* 494 */	"# filler",
602 	/* 495 */	"# filler",
603 	/* 496 */	"# filler",
604 	/* 497 */	"# filler",
605 	/* 498 */	"# filler",
606 	/* 499 */	"# filler",
607 	/* 500 */	"# filler",
608 	/* 501 */	"# filler",
609 	/* 502 */	"# filler",
610 	/* 503 */	"# filler",
611 	/* 504 */	"# filler",
612 	/* 505 */	"# filler",
613 	/* 506 */	"# filler",
614 	/* 507 */	"# filler",
615 	/* 508 */	"# filler",
616 	/* 509 */	"# filler",
617 	/* 510 */	"# filler",
618 	/* 511 */	"# filler",
619 };
620 
621 
622 /* libc style syscall names */
623 const char *const altnetbsd32_syscallnames[] = {
624 	/*   0 */	"syscall",
625 	/*   1 */	"exit",
626 	/*   2 */	NULL, /* fork */
627 	/*   3 */	"read",
628 	/*   4 */	"write",
629 	/*   5 */	"open",
630 	/*   6 */	"close",
631 	/*   7 */	NULL, /* compat_50_netbsd32_wait4 */
632 	/*   8 */	NULL, /* compat_43_netbsd32_ocreat */
633 	/*   9 */	"link",
634 	/*  10 */	"unlink",
635 	/*  11 */	NULL, /* obsolete execv */
636 	/*  12 */	"chdir",
637 	/*  13 */	"fchdir",
638 	/*  14 */	NULL, /* compat_50_netbsd32_mknod */
639 	/*  15 */	"chmod",
640 	/*  16 */	"chown",
641 	/*  17 */	"break",
642 	/*  18 */	NULL, /* compat_20_netbsd32_getfsstat */
643 	/*  19 */	NULL, /* compat_43_netbsd32_olseek */
644 	/*  20 */	NULL, /* getpid */
645 	/*  21 */	"mount",
646 	/*  22 */	"unmount",
647 	/*  23 */	"setuid",
648 	/*  24 */	NULL, /* getuid */
649 	/*  25 */	NULL, /* geteuid */
650 	/*  26 */	"ptrace",
651 	/*  27 */	"recvmsg",
652 	/*  28 */	"sendmsg",
653 	/*  29 */	"recvfrom",
654 	/*  30 */	"accept",
655 	/*  31 */	"getpeername",
656 	/*  32 */	"getsockname",
657 	/*  33 */	"access",
658 	/*  34 */	"chflags",
659 	/*  35 */	"fchflags",
660 	/*  36 */	NULL, /* sync */
661 	/*  37 */	"kill",
662 	/*  38 */	NULL, /* compat_43_netbsd32_stat43 */
663 	/*  39 */	NULL, /* getppid */
664 	/*  40 */	NULL, /* compat_43_netbsd32_lstat43 */
665 	/*  41 */	"dup",
666 	/*  42 */	NULL, /* pipe */
667 	/*  43 */	NULL, /* getegid */
668 	/*  44 */	"profil",
669 	/*  45 */	"ktrace",
670 	/*  46 */	"sigaction",
671 	/*  47 */	NULL, /* getgid */
672 	/*  48 */	NULL, /* compat_13_sigprocmask13 */
673 	/*  49 */	"__getlogin",
674 	/*  50 */	"setlogin",
675 	/*  51 */	"acct",
676 	/*  52 */	NULL, /* compat_13_sigpending13 */
677 	/*  53 */	NULL, /* compat_13_netbsd32_sigaltstack13 */
678 	/*  54 */	"ioctl",
679 	/*  55 */	NULL, /* compat_12_netbsd32_reboot */
680 	/*  56 */	"revoke",
681 	/*  57 */	"symlink",
682 	/*  58 */	"readlink",
683 	/*  59 */	"execve",
684 	/*  60 */	"umask",
685 	/*  61 */	"chroot",
686 	/*  62 */	NULL, /* compat_43_netbsd32_fstat43 */
687 	/*  63 */	NULL, /* compat_43_netbsd32_ogetkerninfo */
688 	/*  64 */	NULL, /* compat_43_ogetpagesize */
689 	/*  65 */	NULL, /* compat_12_netbsd32_msync */
690 	/*  66 */	NULL, /* vfork */
691 	/*  67 */	NULL, /* obsolete vread */
692 	/*  68 */	NULL, /* obsolete vwrite */
693 	/*  69 */	"sbrk",
694 	/*  70 */	"sstk",
695 	/*  71 */	NULL, /* compat_43_netbsd32_ommap */
696 	/*  72 */	"ovadvise",
697 	/*  73 */	"munmap",
698 	/*  74 */	"mprotect",
699 	/*  75 */	"madvise",
700 	/*  76 */	NULL, /* obsolete vhangup */
701 	/*  77 */	NULL, /* obsolete vlimit */
702 	/*  78 */	"mincore",
703 	/*  79 */	"getgroups",
704 	/*  80 */	"setgroups",
705 	/*  81 */	NULL, /* getpgrp */
706 	/*  82 */	"setpgid",
707 	/*  83 */	NULL, /* compat_50_netbsd32_setitimer */
708 	/*  84 */	NULL, /* compat_43_owait */
709 	/*  85 */	NULL, /* compat_12_netbsd32_oswapon */
710 	/*  86 */	NULL, /* compat_50_netbsd32_getitimer */
711 	/*  87 */	NULL, /* compat_43_netbsd32_ogethostname */
712 	/*  88 */	NULL, /* compat_43_netbsd32_osethostname */
713 	/*  89 */	NULL, /* compat_43_ogetdtablesize */
714 	/*  90 */	"dup2",
715 	/*  91 */	NULL, /* unimplemented getdopt */
716 	/*  92 */	"fcntl",
717 	/*  93 */	NULL, /* compat_50_netbsd32_select */
718 	/*  94 */	NULL, /* unimplemented setdopt */
719 	/*  95 */	"fsync",
720 	/*  96 */	"setpriority",
721 	/*  97 */	NULL, /* compat_30_netbsd32_socket */
722 	/*  98 */	"connect",
723 	/*  99 */	NULL, /* compat_43_netbsd32_oaccept */
724 	/* 100 */	"getpriority",
725 	/* 101 */	NULL, /* compat_43_netbsd32_osend */
726 	/* 102 */	NULL, /* compat_43_netbsd32_orecv */
727 	/* 103 */	NULL, /* compat_13_sigreturn13 */
728 	/* 104 */	"bind",
729 	/* 105 */	"setsockopt",
730 	/* 106 */	"listen",
731 	/* 107 */	NULL, /* obsolete vtimes */
732 	/* 108 */	NULL, /* compat_43_netbsd32_osigvec */
733 	/* 109 */	NULL, /* compat_43_netbsd32_sigblock */
734 	/* 110 */	NULL, /* compat_43_netbsd32_sigsetmask */
735 	/* 111 */	NULL, /* compat_13_sigsuspend13 */
736 	/* 112 */	NULL, /* compat_43_netbsd32_osigstack */
737 	/* 113 */	NULL, /* compat_43_netbsd32_orecvmsg */
738 	/* 114 */	NULL, /* compat_43_netbsd32_osendmsg */
739 	/* 115 */	NULL, /* obsolete vtrace */
740 	/* 116 */	NULL, /* compat_50_netbsd32_gettimeofday */
741 	/* 117 */	NULL, /* compat_50_netbsd32_getrusage */
742 	/* 118 */	"getsockopt",
743 	/* 119 */	NULL, /* obsolete resuba */
744 	/* 120 */	"readv",
745 	/* 121 */	"writev",
746 	/* 122 */	NULL, /* compat_50_netbsd32_settimeofday */
747 	/* 123 */	"fchown",
748 	/* 124 */	"fchmod",
749 	/* 125 */	NULL, /* compat_43_netbsd32_orecvfrom */
750 	/* 126 */	"setreuid",
751 	/* 127 */	"setregid",
752 	/* 128 */	"rename",
753 	/* 129 */	NULL, /* compat_43_netbsd32_otruncate */
754 	/* 130 */	NULL, /* compat_43_netbsd32_oftruncate */
755 	/* 131 */	"flock",
756 	/* 132 */	"mkfifo",
757 	/* 133 */	"sendto",
758 	/* 134 */	"shutdown",
759 	/* 135 */	"socketpair",
760 	/* 136 */	"mkdir",
761 	/* 137 */	"rmdir",
762 	/* 138 */	NULL, /* compat_50_netbsd32_utimes */
763 	/* 139 */	NULL, /* obsolete 4.2 sigreturn */
764 	/* 140 */	NULL, /* compat_50_netbsd32_adjtime */
765 	/* 141 */	NULL, /* compat_43_netbsd32_ogetpeername */
766 	/* 142 */	NULL, /* compat_43_ogethostid */
767 	/* 143 */	NULL, /* compat_43_netbsd32_sethostid */
768 	/* 144 */	NULL, /* compat_43_netbsd32_ogetrlimit */
769 	/* 145 */	NULL, /* compat_43_netbsd32_osetrlimit */
770 	/* 146 */	NULL, /* compat_43_netbsd32_killpg */
771 	/* 147 */	NULL, /* setsid */
772 	/* 148 */	NULL, /* compat_50_netbsd32_quotactl */
773 	/* 149 */	NULL, /* compat_43_oquota */
774 	/* 150 */	NULL, /* compat_43_netbsd32_ogetsockname */
775 	/* 151 */	NULL, /* unimplemented */
776 	/* 152 */	NULL, /* unimplemented */
777 	/* 153 */	NULL, /* unimplemented */
778 	/* 154 */	NULL, /* unimplemented */
779 #if defined(NFSSERVER) || !defined(_KERNEL_OPT)
780 	/* 155 */	"nfssvc",
781 #else
782 	/* 155 */	NULL, /* excluded netbsd32_nfssvc */
783 #endif
784 	/* 156 */	NULL, /* compat_43_netbsd32_ogetdirentries */
785 	/* 157 */	NULL, /* compat_20_netbsd32_statfs */
786 	/* 158 */	NULL, /* compat_20_netbsd32_fstatfs */
787 	/* 159 */	NULL, /* unimplemented */
788 	/* 160 */	NULL, /* unimplemented */
789 	/* 161 */	NULL, /* compat_30_netbsd32_getfh */
790 	/* 162 */	NULL, /* compat_09_netbsd32_ogetdomainname */
791 	/* 163 */	NULL, /* compat_09_netbsd32_osetdomainname */
792 	/* 164 */	NULL, /* compat_09_netbsd32_uname */
793 	/* 165 */	"sysarch",
794 	/* 166 */	NULL, /* unimplemented */
795 	/* 167 */	NULL, /* unimplemented */
796 	/* 168 */	NULL, /* unimplemented */
797 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
798 	/* 169 */	NULL, /* compat_10_osemsys */
799 #else
800 	/* 169 */	NULL, /* excluded netbsd32_semsys */
801 #endif
802 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
803 	/* 170 */	NULL, /* compat_10_omsgsys */
804 #else
805 	/* 170 */	NULL, /* excluded netbsd32_msgsys */
806 #endif
807 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
808 	/* 171 */	NULL, /* compat_10_oshmsys */
809 #else
810 	/* 171 */	NULL, /* excluded netbsd32_shmsys */
811 #endif
812 	/* 172 */	NULL, /* unimplemented */
813 	/* 173 */	"pread",
814 	/* 174 */	"pwrite",
815 #if defined(NTP) || !defined(_KERNEL_OPT)
816 	/* 175 */	NULL, /* compat_30_netbsd32_ntp_gettime */
817 	/* 176 */	"ntp_adjtime",
818 #else
819 	/* 175 */	NULL, /* excluded ntp_gettime */
820 	/* 176 */	NULL, /* excluded ntp_adjtime */
821 #endif
822 	/* 177 */	NULL, /* unimplemented */
823 	/* 178 */	NULL, /* unimplemented */
824 	/* 179 */	NULL, /* unimplemented */
825 	/* 180 */	NULL, /* unimplemented */
826 	/* 181 */	"setgid",
827 	/* 182 */	"setegid",
828 	/* 183 */	"seteuid",
829 	/* 184 */	NULL, /* excluded netbsd32_lfs_bmapv */
830 	/* 185 */	NULL, /* excluded netbsd32_lfs_markv */
831 	/* 186 */	NULL, /* excluded netbsd32_lfs_segclean */
832 	/* 187 */	NULL, /* excluded netbsd32_lfs_segwait */
833 	/* 188 */	NULL, /* compat_12_netbsd32_stat12 */
834 	/* 189 */	NULL, /* compat_12_netbsd32_fstat12 */
835 	/* 190 */	NULL, /* compat_12_netbsd32_lstat12 */
836 	/* 191 */	"pathconf",
837 	/* 192 */	"fpathconf",
838 	/* 193 */	NULL, /* unimplemented */
839 	/* 194 */	"getrlimit",
840 	/* 195 */	"setrlimit",
841 	/* 196 */	NULL, /* compat_12_netbsd32_getdirentries */
842 	/* 197 */	"mmap",
843 	/* 198 */	"___syscall",
844 	/* 199 */	"lseek",
845 	/* 200 */	"truncate",
846 	/* 201 */	"ftruncate",
847 	/* 202 */	"__sysctl",
848 	/* 203 */	"mlock",
849 	/* 204 */	"munlock",
850 	/* 205 */	"undelete",
851 	/* 206 */	NULL, /* compat_50_netbsd32_futimes */
852 	/* 207 */	"getpgid",
853 	/* 208 */	"reboot",
854 	/* 209 */	"poll",
855 	/* 210 */	NULL, /* unimplemented { int | netbsd32 | | afssys ( long id , long a1 , long a2 , long a3 , long a4 , long a5 , long a6 ) ; } */
856 	/* 211 */	NULL, /* unimplemented */
857 	/* 212 */	NULL, /* unimplemented */
858 	/* 213 */	NULL, /* unimplemented */
859 	/* 214 */	NULL, /* unimplemented */
860 	/* 215 */	NULL, /* unimplemented */
861 	/* 216 */	NULL, /* unimplemented */
862 	/* 217 */	NULL, /* unimplemented */
863 	/* 218 */	NULL, /* unimplemented */
864 	/* 219 */	NULL, /* unimplemented */
865 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
866 	/* 220 */	NULL, /* compat_14_netbsd32___semctl */
867 	/* 221 */	"semget",
868 	/* 222 */	"semop",
869 	/* 223 */	"semconfig",
870 #else
871 	/* 220 */	NULL, /* excluded compat_14_netbsd32_semctl */
872 	/* 221 */	NULL, /* excluded netbsd32_semget */
873 	/* 222 */	NULL, /* excluded netbsd32_semop */
874 	/* 223 */	NULL, /* excluded netbsd32_semconfig */
875 #endif
876 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
877 	/* 224 */	NULL, /* compat_14_netbsd32_msgctl */
878 	/* 225 */	"msgget",
879 	/* 226 */	"msgsnd",
880 	/* 227 */	"msgrcv",
881 #else
882 	/* 224 */	NULL, /* excluded compat_14_netbsd32_msgctl */
883 	/* 225 */	NULL, /* excluded netbsd32_msgget */
884 	/* 226 */	NULL, /* excluded netbsd32_msgsnd */
885 	/* 227 */	NULL, /* excluded netbsd32_msgrcv */
886 #endif
887 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
888 	/* 228 */	"shmat",
889 	/* 229 */	NULL, /* compat_14_netbsd32_shmctl */
890 	/* 230 */	"shmdt",
891 	/* 231 */	"shmget",
892 #else
893 	/* 228 */	NULL, /* excluded netbsd32_shmat */
894 	/* 229 */	NULL, /* excluded compat_14_netbsd32_shmctl */
895 	/* 230 */	NULL, /* excluded netbsd32_shmdt */
896 	/* 231 */	NULL, /* excluded netbsd32_shmget */
897 #endif
898 	/* 232 */	NULL, /* compat_50_netbsd32_clock_gettime */
899 	/* 233 */	NULL, /* compat_50_netbsd32_clock_settime */
900 	/* 234 */	NULL, /* compat_50_netbsd32_clock_getres */
901 	/* 235 */	"timer_create",
902 	/* 236 */	"timer_delete",
903 	/* 237 */	NULL, /* compat_50_netbsd32_timer_settime */
904 	/* 238 */	NULL, /* compat_50_netbsd32_timer_gettime */
905 	/* 239 */	"timer_getoverrun",
906 	/* 240 */	NULL, /* compat_50_netbsd32_nanosleep */
907 	/* 241 */	"fdatasync",
908 	/* 242 */	"mlockall",
909 	/* 243 */	NULL, /* munlockall */
910 	/* 244 */	NULL, /* compat_50_netbsd32___sigtimedwait */
911 	/* 245 */	"sigqueueinfo",
912 	/* 246 */	"modctl",
913 	/* 247 */	"_ksem_init",
914 	/* 248 */	"_ksem_open",
915 	/* 249 */	"_ksem_unlink",
916 	/* 250 */	"_ksem_close",
917 	/* 251 */	"_ksem_post",
918 	/* 252 */	"_ksem_wait",
919 	/* 253 */	"_ksem_trywait",
920 	/* 254 */	"_ksem_getvalue",
921 	/* 255 */	"_ksem_destroy",
922 	/* 256 */	"_ksem_timedwait",
923 	/* 257 */	"mq_open",
924 	/* 258 */	"mq_close",
925 	/* 259 */	"mq_unlink",
926 	/* 260 */	"mq_getattr",
927 	/* 261 */	"mq_setattr",
928 	/* 262 */	"mq_notify",
929 	/* 263 */	"mq_send",
930 	/* 264 */	"mq_receive",
931 	/* 265 */	NULL, /* compat_50_netbsd32_mq_timedsend */
932 	/* 266 */	NULL, /* compat_50_netbsd32_mq_timedreceive */
933 	/* 267 */	NULL, /* unimplemented */
934 	/* 268 */	NULL, /* unimplemented */
935 	/* 269 */	NULL, /* unimplemented */
936 	/* 270 */	"__posix_rename",
937 	/* 271 */	"swapctl",
938 	/* 272 */	NULL, /* compat_30_netbsd32_getdents */
939 	/* 273 */	"minherit",
940 	/* 274 */	"lchmod",
941 	/* 275 */	"lchown",
942 	/* 276 */	NULL, /* compat_50_netbsd32_lutimes */
943 	/* 277 */	"msync",
944 	/* 278 */	NULL, /* compat_30_netbsd32___stat13 */
945 	/* 279 */	NULL, /* compat_30_netbsd32___fstat13 */
946 	/* 280 */	NULL, /* compat_30_netbsd32___lstat13 */
947 	/* 281 */	"sigaltstack",
948 	/* 282 */	"vfork",
949 	/* 283 */	"__posix_chown",
950 	/* 284 */	"__posix_fchown",
951 	/* 285 */	"__posix_lchown",
952 	/* 286 */	"getsid",
953 	/* 287 */	"__clone",
954 	/* 288 */	"fktrace",
955 	/* 289 */	"preadv",
956 	/* 290 */	"pwritev",
957 	/* 291 */	"sigaction",
958 	/* 292 */	"sigpending",
959 	/* 293 */	"sigprocmask",
960 	/* 294 */	"sigsuspend",
961 	/* 295 */	NULL, /* compat_16_netbsd32___sigreturn14 */
962 	/* 296 */	"__getcwd",
963 	/* 297 */	"fchroot",
964 	/* 298 */	NULL, /* compat_30_netbsd32_fhopen */
965 	/* 299 */	NULL, /* compat_30_netbsd32_fhstat */
966 	/* 300 */	NULL, /* compat_20_netbsd32_fhstatfs */
967 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
968 	/* 301 */	NULL, /* compat_50_netbsd32___semctl14 */
969 #else
970 	/* 301 */	NULL, /* excluded __semctl14 */
971 #endif
972 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
973 	/* 302 */	NULL, /* compat_50_netbsd32___msgctl13 */
974 #else
975 	/* 302 */	NULL, /* excluded __msgctl13 */
976 #endif
977 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
978 	/* 303 */	NULL, /* compat_50_netbsd32___shmctl13 */
979 #else
980 	/* 303 */	NULL, /* excluded __shmctl13 */
981 #endif
982 	/* 304 */	"lchflags",
983 	/* 305 */	NULL, /* issetugid */
984 	/* 306 */	"utrace",
985 	/* 307 */	"getcontext",
986 	/* 308 */	"setcontext",
987 	/* 309 */	"_lwp_create",
988 	/* 310 */	NULL, /* _lwp_exit */
989 	/* 311 */	NULL, /* _lwp_self */
990 	/* 312 */	"_lwp_wait",
991 	/* 313 */	"_lwp_suspend",
992 	/* 314 */	"_lwp_continue",
993 	/* 315 */	"_lwp_wakeup",
994 	/* 316 */	NULL, /* _lwp_getprivate */
995 	/* 317 */	"_lwp_setprivate",
996 	/* 318 */	"_lwp_kill",
997 	/* 319 */	"_lwp_detach",
998 	/* 320 */	NULL, /* compat_50_netbsd32__lwp_park */
999 	/* 321 */	"_lwp_unpark",
1000 	/* 322 */	"_lwp_unpark_all",
1001 	/* 323 */	"_lwp_setname",
1002 	/* 324 */	"_lwp_getname",
1003 	/* 325 */	"_lwp_ctl",
1004 	/* 326 */	NULL, /* unimplemented */
1005 	/* 327 */	NULL, /* unimplemented */
1006 	/* 328 */	NULL, /* unimplemented */
1007 	/* 329 */	NULL, /* unimplemented */
1008 	/* 330 */	NULL, /* obsolete netbsd32_sa_register */
1009 	/* 331 */	NULL, /* obsolete netbsd32_sa_stacks */
1010 	/* 332 */	NULL, /* obsolete sa_enable */
1011 	/* 333 */	NULL, /* obsolete netbsd32_sa_setconcurrency */
1012 	/* 334 */	NULL, /* obsolete sa_yield */
1013 	/* 335 */	NULL, /* obsolete netbsd32_sa_preempt */
1014 	/* 336 */	NULL, /* obsolete sys_sa_unblockyield */
1015 	/* 337 */	NULL, /* unimplemented */
1016 	/* 338 */	NULL, /* unimplemented */
1017 	/* 339 */	NULL, /* unimplemented */
1018 	/* 340 */	"__sigaction_sigtramp",
1019 	/* 341 */	NULL, /* unimplemented { int | netbsd32 | | pmc_get_info ( int ctr , int op , void * args ) ; } */
1020 	/* 342 */	NULL, /* unimplemented { int | netbsd32 | | pmc_control ( int ctr , int op , void * args ) ; } */
1021 	/* 343 */	"rasctl",
1022 	/* 344 */	NULL, /* kqueue */
1023 	/* 345 */	NULL, /* compat_50_netbsd32_kevent */
1024 	/* 346 */	"_sched_setparam",
1025 	/* 347 */	"_sched_getparam",
1026 	/* 348 */	"_sched_setaffinity",
1027 	/* 349 */	"_sched_getaffinity",
1028 	/* 350 */	NULL, /* sched_yield */
1029 	/* 351 */	NULL, /* unimplemented */
1030 	/* 352 */	NULL, /* unimplemented */
1031 	/* 353 */	NULL, /* unimplemented */
1032 	/* 354 */	"fsync_range",
1033 	/* 355 */	"uuidgen",
1034 	/* 356 */	"getvfsstat",
1035 	/* 357 */	"statvfs1",
1036 	/* 358 */	"fstatvfs1",
1037 	/* 359 */	NULL, /* compat_30_netbsd32_fhstatvfs1 */
1038 	/* 360 */	"extattrctl",
1039 	/* 361 */	"extattr_set_file",
1040 	/* 362 */	"extattr_get_file",
1041 	/* 363 */	"extattr_delete_file",
1042 	/* 364 */	"extattr_set_fd",
1043 	/* 365 */	"extattr_get_fd",
1044 	/* 366 */	"extattr_delete_fd",
1045 	/* 367 */	"extattr_set_link",
1046 	/* 368 */	"extattr_get_link",
1047 	/* 369 */	"extattr_delete_link",
1048 	/* 370 */	"extattr_list_fd",
1049 	/* 371 */	"extattr_list_file",
1050 	/* 372 */	"extattr_list_link",
1051 	/* 373 */	NULL, /* compat_50_netbsd32_pselect */
1052 	/* 374 */	NULL, /* compat_50_netbsd32_pollts */
1053 	/* 375 */	"setxattr",
1054 	/* 376 */	"lsetxattr",
1055 	/* 377 */	"fsetxattr",
1056 	/* 378 */	"getxattr",
1057 	/* 379 */	"lgetxattr",
1058 	/* 380 */	"fgetxattr",
1059 	/* 381 */	"listxattr",
1060 	/* 382 */	"llistxattr",
1061 	/* 383 */	"flistxattr",
1062 	/* 384 */	"removexattr",
1063 	/* 385 */	"lremovexattr",
1064 	/* 386 */	"fremovexattr",
1065 	/* 387 */	NULL, /* compat_50_netbsd32___stat30 */
1066 	/* 388 */	NULL, /* compat_50_netbsd32___fstat30 */
1067 	/* 389 */	NULL, /* compat_50_netbsd32___lstat30 */
1068 	/* 390 */	"getdents",
1069 	/* 391 */	NULL, /* ignored old posix fadvise */
1070 	/* 392 */	NULL, /* compat_30_netbsd32___fhstat30 */
1071 #if defined(NTP) || !defined(_KERNEL_OPT)
1072 	/* 393 */	NULL, /* compat_50_netbsd32_ntp_gettime */
1073 #else
1074 	/* 393 */	NULL, /* excluded __ntp_gettime30 */
1075 #endif
1076 	/* 394 */	"socket",
1077 	/* 395 */	"getfh",
1078 	/* 396 */	"fhopen",
1079 	/* 397 */	"fhstatvfs1",
1080 	/* 398 */	NULL, /* compat_50_netbsd32___fhstat40 */
1081 	/* 399 */	NULL, /* unimplemented sys_aio_cancel */
1082 	/* 400 */	NULL, /* unimplemented sys_aio_error */
1083 	/* 401 */	NULL, /* unimplemented sys_aio_fsync */
1084 	/* 402 */	NULL, /* unimplemented sys_aio_read */
1085 	/* 403 */	NULL, /* unimplemented sys_aio_return */
1086 	/* 404 */	NULL, /* unimplemented sys_aio_suspend */
1087 	/* 405 */	NULL, /* unimplemented sys_aio_write */
1088 	/* 406 */	NULL, /* unimplemented sys_lio_listio */
1089 	/* 407 */	NULL, /* unimplemented */
1090 	/* 408 */	NULL, /* unimplemented */
1091 	/* 409 */	NULL, /* unimplemented */
1092 	/* 410 */	"__mount50",
1093 	/* 411 */	"mremap",
1094 	/* 412 */	"pset_create",
1095 	/* 413 */	"pset_destroy",
1096 	/* 414 */	"pset_assign",
1097 	/* 415 */	"_pset_bind",
1098 	/* 416 */	"posix_fadvise",
1099 	/* 417 */	"select",
1100 	/* 418 */	"gettimeofday",
1101 	/* 419 */	"settimeofday",
1102 	/* 420 */	"utimes",
1103 	/* 421 */	"adjtime",
1104 	/* 422 */	NULL, /* excluded __lfs_segwait50 */
1105 	/* 423 */	"futimes",
1106 	/* 424 */	"lutimes",
1107 	/* 425 */	"setitimer",
1108 	/* 426 */	"getitimer",
1109 	/* 427 */	"clock_gettime",
1110 	/* 428 */	"clock_settime",
1111 	/* 429 */	"clock_getres",
1112 	/* 430 */	"nanosleep",
1113 	/* 431 */	"__sigtimedwait",
1114 	/* 432 */	"mq_timedsend",
1115 	/* 433 */	"mq_timedreceive",
1116 	/* 434 */	NULL, /* compat_60_netbsd32__lwp_park */
1117 	/* 435 */	"kevent",
1118 	/* 436 */	"pselect",
1119 	/* 437 */	"pollts",
1120 	/* 438 */	NULL, /* unimplemented netbsd32___aio_suspend50 */
1121 	/* 439 */	"stat",
1122 	/* 440 */	"fstat",
1123 	/* 441 */	"lstat",
1124 #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1125 	/* 442 */	"__semctl",
1126 #else
1127 	/* 442 */	NULL, /* excluded ____semctl50 */
1128 #endif
1129 #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1130 	/* 443 */	"shmctl",
1131 #else
1132 	/* 443 */	NULL, /* excluded ____shmctl50 */
1133 #endif
1134 #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1135 	/* 444 */	"msgctl",
1136 #else
1137 	/* 444 */	NULL, /* excluded ____msgctl50 */
1138 #endif
1139 	/* 445 */	"getrusage",
1140 	/* 446 */	"timer_settime",
1141 	/* 447 */	"timer_gettime",
1142 #if defined(NTP) || !defined(_KERNEL_OPT)
1143 	/* 448 */	"ntp_gettime",
1144 #else
1145 	/* 448 */	NULL, /* excluded ___ntp_gettime50 */
1146 #endif
1147 	/* 449 */	"wait4",
1148 	/* 450 */	"mknod",
1149 	/* 451 */	"fhstat",
1150 	/* 452 */	NULL, /* obsolete 5.99 quotactl */
1151 	/* 453 */	"pipe2",
1152 	/* 454 */	"dup3",
1153 	/* 455 */	"kqueue1",
1154 	/* 456 */	"paccept",
1155 	/* 457 */	"linkat",
1156 	/* 458 */	"renameat",
1157 	/* 459 */	"mkfifoat",
1158 	/* 460 */	"mknodat",
1159 	/* 461 */	"mkdirat",
1160 	/* 462 */	"faccessat",
1161 	/* 463 */	"fchmodat",
1162 	/* 464 */	"fchownat",
1163 	/* 465 */	"fexecve",
1164 	/* 466 */	"fstatat",
1165 	/* 467 */	"utimensat",
1166 	/* 468 */	"openat",
1167 	/* 469 */	"readlinkat",
1168 	/* 470 */	"symlinkat",
1169 	/* 471 */	"unlinkat",
1170 	/* 472 */	"futimens",
1171 	/* 473 */	"__quotactl",
1172 	/* 474 */	"posix_spawn",
1173 	/* 475 */	NULL, /* unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t timeout ) ; } */
1174 	/* 476 */	NULL, /* unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; } */
1175 	/* 477 */	"clock_nanosleep",
1176 	/* 478 */	"_lwp_park",
1177 	/* 479 */	"posix_fallocate",
1178 	/* 480 */	"fdiscard",
1179 	/* 481 */	NULL, /* filler */
1180 	/* 482 */	NULL, /* filler */
1181 	/* 483 */	NULL, /* filler */
1182 	/* 484 */	NULL, /* filler */
1183 	/* 485 */	NULL, /* filler */
1184 	/* 486 */	NULL, /* filler */
1185 	/* 487 */	NULL, /* filler */
1186 	/* 488 */	NULL, /* filler */
1187 	/* 489 */	NULL, /* filler */
1188 	/* 490 */	NULL, /* filler */
1189 	/* 491 */	NULL, /* filler */
1190 	/* 492 */	NULL, /* filler */
1191 	/* 493 */	NULL, /* filler */
1192 	/* 494 */	NULL, /* filler */
1193 	/* 495 */	NULL, /* filler */
1194 	/* 496 */	NULL, /* filler */
1195 	/* 497 */	NULL, /* filler */
1196 	/* 498 */	NULL, /* filler */
1197 	/* 499 */	NULL, /* filler */
1198 	/* 500 */	NULL, /* filler */
1199 	/* 501 */	NULL, /* filler */
1200 	/* 502 */	NULL, /* filler */
1201 	/* 503 */	NULL, /* filler */
1202 	/* 504 */	NULL, /* filler */
1203 	/* 505 */	NULL, /* filler */
1204 	/* 506 */	NULL, /* filler */
1205 	/* 507 */	NULL, /* filler */
1206 	/* 508 */	NULL, /* filler */
1207 	/* 509 */	NULL, /* filler */
1208 	/* 510 */	NULL, /* filler */
1209 	/* 511 */	NULL, /* filler */
1210 };
1211