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