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