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