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