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