Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_syscalls.c revision 1.113
      1  1.102    martin /* $NetBSD: netbsd32_syscalls.c,v 1.113 2015/06/21 08:29:52 martin Exp $ */
      2    1.1       mrg 
      3    1.1       mrg /*
      4    1.1       mrg  * System call names.
      5    1.1       mrg  *
      6    1.1       mrg  * DO NOT EDIT-- this file is automatically generated.
      7  1.113    martin  * created from	NetBSD: syscalls.master,v 1.105 2015/06/21 08:28:36 martin Exp
      8    1.1       mrg  */
      9   1.25     lukem 
     10   1.25     lukem #include <sys/cdefs.h>
     11  1.102    martin __KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.113 2015/06/21 08:29:52 martin Exp $");
     12    1.1       mrg 
     13   1.24       mrg #if defined(_KERNEL_OPT)
     14   1.24       mrg #if defined(_KERNEL_OPT)
     15    1.1       mrg #include "opt_compat_netbsd.h"
     16    1.4       eeh #include "opt_ntp.h"
     17    1.5      tron #include "opt_sysv.h"
     18    1.6  christos #include "opt_compat_43.h"
     19   1.19   mycroft #endif
     20    1.1       mrg #include <sys/param.h>
     21    1.1       mrg #include <sys/systm.h>
     22    1.1       mrg #include <sys/signal.h>
     23    1.1       mrg #include <sys/mount.h>
     24    1.1       mrg #include <sys/syscallargs.h>
     25    1.8       mrg #include <compat/netbsd32/netbsd32.h>
     26    1.8       mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
     27   1.24       mrg #endif /* _KERNEL_OPT */
     28    1.1       mrg 
     29   1.19   mycroft const char *const netbsd32_syscallnames[] = {
     30   1.82  christos 	/*   0 */	"netbsd32_syscall",
     31   1.68       dsl 	/*   1 */	"netbsd32_exit",
     32   1.68       dsl 	/*   2 */	"fork",
     33   1.68       dsl 	/*   3 */	"netbsd32_read",
     34   1.68       dsl 	/*   4 */	"netbsd32_write",
     35   1.68       dsl 	/*   5 */	"netbsd32_open",
     36   1.68       dsl 	/*   6 */	"netbsd32_close",
     37   1.82  christos 	/*   7 */	"compat_50_netbsd32_wait4",
     38   1.68       dsl 	/*   8 */	"compat_43_netbsd32_ocreat",
     39   1.68       dsl 	/*   9 */	"netbsd32_link",
     40   1.68       dsl 	/*  10 */	"netbsd32_unlink",
     41   1.68       dsl 	/*  11 */	"#11 (obsolete execv)",
     42   1.68       dsl 	/*  12 */	"netbsd32_chdir",
     43   1.68       dsl 	/*  13 */	"netbsd32_fchdir",
     44   1.82  christos 	/*  14 */	"compat_50_netbsd32_mknod",
     45   1.68       dsl 	/*  15 */	"netbsd32_chmod",
     46   1.68       dsl 	/*  16 */	"netbsd32_chown",
     47   1.68       dsl 	/*  17 */	"netbsd32_break",
     48   1.68       dsl 	/*  18 */	"compat_20_netbsd32_getfsstat",
     49   1.68       dsl 	/*  19 */	"compat_43_netbsd32_olseek",
     50   1.68       dsl 	/*  20 */	"getpid",
     51   1.68       dsl 	/*  21 */	"netbsd32_mount",
     52   1.68       dsl 	/*  22 */	"netbsd32_unmount",
     53   1.68       dsl 	/*  23 */	"netbsd32_setuid",
     54   1.68       dsl 	/*  24 */	"getuid",
     55   1.68       dsl 	/*  25 */	"geteuid",
     56   1.68       dsl 	/*  26 */	"netbsd32_ptrace",
     57   1.68       dsl 	/*  27 */	"netbsd32_recvmsg",
     58   1.68       dsl 	/*  28 */	"netbsd32_sendmsg",
     59   1.68       dsl 	/*  29 */	"netbsd32_recvfrom",
     60   1.68       dsl 	/*  30 */	"netbsd32_accept",
     61   1.68       dsl 	/*  31 */	"netbsd32_getpeername",
     62   1.68       dsl 	/*  32 */	"netbsd32_getsockname",
     63   1.68       dsl 	/*  33 */	"netbsd32_access",
     64   1.68       dsl 	/*  34 */	"netbsd32_chflags",
     65   1.68       dsl 	/*  35 */	"netbsd32_fchflags",
     66   1.68       dsl 	/*  36 */	"sync",
     67   1.68       dsl 	/*  37 */	"netbsd32_kill",
     68   1.68       dsl 	/*  38 */	"compat_43_netbsd32_stat43",
     69   1.68       dsl 	/*  39 */	"getppid",
     70   1.68       dsl 	/*  40 */	"compat_43_netbsd32_lstat43",
     71   1.68       dsl 	/*  41 */	"netbsd32_dup",
     72   1.68       dsl 	/*  42 */	"pipe",
     73   1.68       dsl 	/*  43 */	"getegid",
     74   1.68       dsl 	/*  44 */	"netbsd32_profil",
     75   1.68       dsl 	/*  45 */	"netbsd32_ktrace",
     76   1.68       dsl 	/*  46 */	"netbsd32_sigaction",
     77   1.68       dsl 	/*  47 */	"getgid",
     78   1.68       dsl 	/*  48 */	"compat_13_sigprocmask13",
     79   1.68       dsl 	/*  49 */	"netbsd32___getlogin",
     80   1.68       dsl 	/*  50 */	"netbsd32_setlogin",
     81   1.68       dsl 	/*  51 */	"netbsd32_acct",
     82   1.68       dsl 	/*  52 */	"compat_13_sigpending13",
     83   1.68       dsl 	/*  53 */	"compat_13_netbsd32_sigaltstack13",
     84   1.68       dsl 	/*  54 */	"netbsd32_ioctl",
     85   1.68       dsl 	/*  55 */	"compat_12_netbsd32_reboot",
     86   1.68       dsl 	/*  56 */	"netbsd32_revoke",
     87   1.68       dsl 	/*  57 */	"netbsd32_symlink",
     88   1.68       dsl 	/*  58 */	"netbsd32_readlink",
     89   1.68       dsl 	/*  59 */	"netbsd32_execve",
     90   1.68       dsl 	/*  60 */	"netbsd32_umask",
     91   1.68       dsl 	/*  61 */	"netbsd32_chroot",
     92   1.68       dsl 	/*  62 */	"compat_43_netbsd32_fstat43",
     93   1.68       dsl 	/*  63 */	"compat_43_netbsd32_ogetkerninfo",
     94   1.68       dsl 	/*  64 */	"compat_43_ogetpagesize",
     95   1.68       dsl 	/*  65 */	"compat_12_netbsd32_msync",
     96   1.68       dsl 	/*  66 */	"vfork",
     97   1.68       dsl 	/*  67 */	"#67 (obsolete vread)",
     98   1.68       dsl 	/*  68 */	"#68 (obsolete vwrite)",
     99   1.68       dsl 	/*  69 */	"netbsd32_sbrk",
    100   1.68       dsl 	/*  70 */	"netbsd32_sstk",
    101   1.68       dsl 	/*  71 */	"compat_43_netbsd32_ommap",
    102   1.68       dsl 	/*  72 */	"vadvise",
    103   1.68       dsl 	/*  73 */	"netbsd32_munmap",
    104   1.68       dsl 	/*  74 */	"netbsd32_mprotect",
    105   1.68       dsl 	/*  75 */	"netbsd32_madvise",
    106   1.68       dsl 	/*  76 */	"#76 (obsolete vhangup)",
    107   1.68       dsl 	/*  77 */	"#77 (obsolete vlimit)",
    108   1.68       dsl 	/*  78 */	"netbsd32_mincore",
    109   1.68       dsl 	/*  79 */	"netbsd32_getgroups",
    110   1.68       dsl 	/*  80 */	"netbsd32_setgroups",
    111   1.68       dsl 	/*  81 */	"getpgrp",
    112   1.68       dsl 	/*  82 */	"netbsd32_setpgid",
    113   1.82  christos 	/*  83 */	"compat_50_netbsd32_setitimer",
    114   1.68       dsl 	/*  84 */	"compat_43_owait",
    115   1.68       dsl 	/*  85 */	"compat_12_netbsd32_oswapon",
    116   1.82  christos 	/*  86 */	"compat_50_netbsd32_getitimer",
    117   1.68       dsl 	/*  87 */	"compat_43_netbsd32_ogethostname",
    118   1.68       dsl 	/*  88 */	"compat_43_netbsd32_osethostname",
    119   1.68       dsl 	/*  89 */	"compat_43_ogetdtablesize",
    120   1.68       dsl 	/*  90 */	"netbsd32_dup2",
    121   1.68       dsl 	/*  91 */	"#91 (unimplemented getdopt)",
    122   1.68       dsl 	/*  92 */	"netbsd32_fcntl",
    123   1.82  christos 	/*  93 */	"compat_50_netbsd32_select",
    124   1.68       dsl 	/*  94 */	"#94 (unimplemented setdopt)",
    125   1.68       dsl 	/*  95 */	"netbsd32_fsync",
    126   1.68       dsl 	/*  96 */	"netbsd32_setpriority",
    127   1.68       dsl 	/*  97 */	"compat_30_netbsd32_socket",
    128   1.68       dsl 	/*  98 */	"netbsd32_connect",
    129   1.68       dsl 	/*  99 */	"compat_43_netbsd32_oaccept",
    130   1.68       dsl 	/* 100 */	"netbsd32_getpriority",
    131   1.68       dsl 	/* 101 */	"compat_43_netbsd32_osend",
    132   1.68       dsl 	/* 102 */	"compat_43_netbsd32_orecv",
    133   1.68       dsl 	/* 103 */	"compat_13_sigreturn13",
    134   1.68       dsl 	/* 104 */	"netbsd32_bind",
    135   1.68       dsl 	/* 105 */	"netbsd32_setsockopt",
    136   1.68       dsl 	/* 106 */	"netbsd32_listen",
    137   1.68       dsl 	/* 107 */	"#107 (obsolete vtimes)",
    138   1.68       dsl 	/* 108 */	"compat_43_netbsd32_osigvec",
    139   1.68       dsl 	/* 109 */	"compat_43_netbsd32_sigblock",
    140   1.68       dsl 	/* 110 */	"compat_43_netbsd32_sigsetmask",
    141   1.68       dsl 	/* 111 */	"compat_13_sigsuspend13",
    142   1.68       dsl 	/* 112 */	"compat_43_netbsd32_osigstack",
    143   1.68       dsl 	/* 113 */	"compat_43_netbsd32_orecvmsg",
    144   1.68       dsl 	/* 114 */	"compat_43_netbsd32_osendmsg",
    145   1.68       dsl 	/* 115 */	"#115 (obsolete vtrace)",
    146   1.82  christos 	/* 116 */	"compat_50_netbsd32_gettimeofday",
    147   1.82  christos 	/* 117 */	"compat_50_netbsd32_getrusage",
    148   1.68       dsl 	/* 118 */	"netbsd32_getsockopt",
    149   1.68       dsl 	/* 119 */	"#119 (obsolete resuba)",
    150   1.68       dsl 	/* 120 */	"netbsd32_readv",
    151   1.68       dsl 	/* 121 */	"netbsd32_writev",
    152   1.82  christos 	/* 122 */	"compat_50_netbsd32_settimeofday",
    153   1.68       dsl 	/* 123 */	"netbsd32_fchown",
    154   1.68       dsl 	/* 124 */	"netbsd32_fchmod",
    155   1.68       dsl 	/* 125 */	"compat_43_netbsd32_orecvfrom",
    156   1.68       dsl 	/* 126 */	"netbsd32_setreuid",
    157   1.68       dsl 	/* 127 */	"netbsd32_setregid",
    158   1.68       dsl 	/* 128 */	"netbsd32_rename",
    159   1.68       dsl 	/* 129 */	"compat_43_netbsd32_otruncate",
    160   1.68       dsl 	/* 130 */	"compat_43_netbsd32_oftruncate",
    161   1.68       dsl 	/* 131 */	"netbsd32_flock",
    162   1.68       dsl 	/* 132 */	"netbsd32_mkfifo",
    163   1.68       dsl 	/* 133 */	"netbsd32_sendto",
    164   1.68       dsl 	/* 134 */	"netbsd32_shutdown",
    165   1.68       dsl 	/* 135 */	"netbsd32_socketpair",
    166   1.68       dsl 	/* 136 */	"netbsd32_mkdir",
    167   1.68       dsl 	/* 137 */	"netbsd32_rmdir",
    168   1.82  christos 	/* 138 */	"compat_50_netbsd32_utimes",
    169   1.68       dsl 	/* 139 */	"#139 (obsolete 4.2 sigreturn)",
    170   1.82  christos 	/* 140 */	"compat_50_netbsd32_adjtime",
    171   1.68       dsl 	/* 141 */	"compat_43_netbsd32_ogetpeername",
    172   1.68       dsl 	/* 142 */	"compat_43_ogethostid",
    173   1.68       dsl 	/* 143 */	"compat_43_netbsd32_sethostid",
    174   1.68       dsl 	/* 144 */	"compat_43_netbsd32_ogetrlimit",
    175   1.68       dsl 	/* 145 */	"compat_43_netbsd32_osetrlimit",
    176   1.68       dsl 	/* 146 */	"compat_43_netbsd32_killpg",
    177   1.68       dsl 	/* 147 */	"setsid",
    178   1.92    bouyer 	/* 148 */	"compat_50_netbsd32_quotactl",
    179   1.68       dsl 	/* 149 */	"compat_43_oquota",
    180   1.68       dsl 	/* 150 */	"compat_43_netbsd32_ogetsockname",
    181   1.68       dsl 	/* 151 */	"#151 (unimplemented)",
    182   1.68       dsl 	/* 152 */	"#152 (unimplemented)",
    183   1.68       dsl 	/* 153 */	"#153 (unimplemented)",
    184   1.68       dsl 	/* 154 */	"#154 (unimplemented)",
    185   1.91     pooka 	/* 155 */	"#155 (unimplemented netbsd32_nfssvc)",
    186   1.68       dsl 	/* 156 */	"compat_43_netbsd32_ogetdirentries",
    187   1.68       dsl 	/* 157 */	"compat_20_netbsd32_statfs",
    188   1.68       dsl 	/* 158 */	"compat_20_netbsd32_fstatfs",
    189   1.68       dsl 	/* 159 */	"#159 (unimplemented)",
    190   1.68       dsl 	/* 160 */	"#160 (unimplemented)",
    191   1.68       dsl 	/* 161 */	"compat_30_netbsd32_getfh",
    192   1.68       dsl 	/* 162 */	"compat_09_netbsd32_ogetdomainname",
    193   1.68       dsl 	/* 163 */	"compat_09_netbsd32_osetdomainname",
    194   1.68       dsl 	/* 164 */	"compat_09_netbsd32_uname",
    195   1.68       dsl 	/* 165 */	"netbsd32_sysarch",
    196   1.68       dsl 	/* 166 */	"#166 (unimplemented)",
    197   1.68       dsl 	/* 167 */	"#167 (unimplemented)",
    198   1.68       dsl 	/* 168 */	"#168 (unimplemented)",
    199   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    200   1.68       dsl 	/* 169 */	"compat_10_osemsys",
    201    1.1       mrg #else
    202   1.82  christos 	/* 169 */	"#169 (excluded netbsd32_semsys)",
    203    1.1       mrg #endif
    204   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    205   1.68       dsl 	/* 170 */	"compat_10_omsgsys",
    206    1.1       mrg #else
    207   1.82  christos 	/* 170 */	"#170 (excluded netbsd32_msgsys)",
    208    1.1       mrg #endif
    209   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    210   1.68       dsl 	/* 171 */	"compat_10_oshmsys",
    211    1.1       mrg #else
    212   1.82  christos 	/* 171 */	"#171 (excluded netbsd32_shmsys)",
    213    1.1       mrg #endif
    214   1.68       dsl 	/* 172 */	"#172 (unimplemented)",
    215   1.68       dsl 	/* 173 */	"netbsd32_pread",
    216   1.68       dsl 	/* 174 */	"netbsd32_pwrite",
    217   1.85  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    218   1.68       dsl 	/* 175 */	"compat_30_netbsd32_ntp_gettime",
    219   1.68       dsl 	/* 176 */	"netbsd32_ntp_adjtime",
    220   1.85  christos #else
    221   1.85  christos 	/* 175 */	"#175 (excluded ntp_gettime)",
    222   1.85  christos 	/* 176 */	"#176 (excluded ntp_adjtime)",
    223   1.85  christos #endif
    224   1.68       dsl 	/* 177 */	"#177 (unimplemented)",
    225   1.68       dsl 	/* 178 */	"#178 (unimplemented)",
    226   1.68       dsl 	/* 179 */	"#179 (unimplemented)",
    227   1.68       dsl 	/* 180 */	"#180 (unimplemented)",
    228   1.68       dsl 	/* 181 */	"netbsd32_setgid",
    229   1.68       dsl 	/* 182 */	"netbsd32_setegid",
    230   1.68       dsl 	/* 183 */	"netbsd32_seteuid",
    231   1.82  christos 	/* 184 */	"#184 (excluded netbsd32_lfs_bmapv)",
    232   1.82  christos 	/* 185 */	"#185 (excluded netbsd32_lfs_markv)",
    233   1.82  christos 	/* 186 */	"#186 (excluded netbsd32_lfs_segclean)",
    234   1.82  christos 	/* 187 */	"#187 (excluded netbsd32_lfs_segwait)",
    235   1.68       dsl 	/* 188 */	"compat_12_netbsd32_stat12",
    236   1.68       dsl 	/* 189 */	"compat_12_netbsd32_fstat12",
    237   1.68       dsl 	/* 190 */	"compat_12_netbsd32_lstat12",
    238   1.68       dsl 	/* 191 */	"netbsd32_pathconf",
    239   1.68       dsl 	/* 192 */	"netbsd32_fpathconf",
    240   1.68       dsl 	/* 193 */	"#193 (unimplemented)",
    241   1.68       dsl 	/* 194 */	"netbsd32_getrlimit",
    242   1.68       dsl 	/* 195 */	"netbsd32_setrlimit",
    243   1.68       dsl 	/* 196 */	"compat_12_netbsd32_getdirentries",
    244   1.68       dsl 	/* 197 */	"netbsd32_mmap",
    245   1.82  christos 	/* 198 */	"netbsd32____syscall",
    246   1.68       dsl 	/* 199 */	"netbsd32_lseek",
    247   1.68       dsl 	/* 200 */	"netbsd32_truncate",
    248   1.68       dsl 	/* 201 */	"netbsd32_ftruncate",
    249   1.68       dsl 	/* 202 */	"netbsd32___sysctl",
    250   1.68       dsl 	/* 203 */	"netbsd32_mlock",
    251   1.68       dsl 	/* 204 */	"netbsd32_munlock",
    252   1.68       dsl 	/* 205 */	"netbsd32_undelete",
    253   1.82  christos 	/* 206 */	"compat_50_netbsd32_futimes",
    254   1.68       dsl 	/* 207 */	"netbsd32_getpgid",
    255   1.68       dsl 	/* 208 */	"netbsd32_reboot",
    256   1.68       dsl 	/* 209 */	"netbsd32_poll",
    257   1.78        ad 	/* 210 */	"#210 (unimplemented)",
    258   1.78        ad 	/* 211 */	"#211 (unimplemented)",
    259   1.78        ad 	/* 212 */	"#212 (unimplemented)",
    260   1.78        ad 	/* 213 */	"#213 (unimplemented)",
    261   1.78        ad 	/* 214 */	"#214 (unimplemented)",
    262   1.78        ad 	/* 215 */	"#215 (unimplemented)",
    263   1.78        ad 	/* 216 */	"#216 (unimplemented)",
    264   1.78        ad 	/* 217 */	"#217 (unimplemented)",
    265   1.78        ad 	/* 218 */	"#218 (unimplemented)",
    266   1.78        ad 	/* 219 */	"#219 (unimplemented)",
    267   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    268   1.68       dsl 	/* 220 */	"compat_14_netbsd32___semctl",
    269   1.68       dsl 	/* 221 */	"netbsd32_semget",
    270   1.68       dsl 	/* 222 */	"netbsd32_semop",
    271   1.68       dsl 	/* 223 */	"netbsd32_semconfig",
    272   1.68       dsl #else
    273   1.68       dsl 	/* 220 */	"#220 (excluded compat_14_netbsd32_semctl)",
    274   1.68       dsl 	/* 221 */	"#221 (excluded netbsd32_semget)",
    275   1.68       dsl 	/* 222 */	"#222 (excluded netbsd32_semop)",
    276   1.68       dsl 	/* 223 */	"#223 (excluded netbsd32_semconfig)",
    277    1.1       mrg #endif
    278   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    279   1.68       dsl 	/* 224 */	"compat_14_netbsd32_msgctl",
    280   1.68       dsl 	/* 225 */	"netbsd32_msgget",
    281   1.68       dsl 	/* 226 */	"netbsd32_msgsnd",
    282   1.68       dsl 	/* 227 */	"netbsd32_msgrcv",
    283   1.68       dsl #else
    284   1.68       dsl 	/* 224 */	"#224 (excluded compat_14_netbsd32_msgctl)",
    285   1.68       dsl 	/* 225 */	"#225 (excluded netbsd32_msgget)",
    286   1.68       dsl 	/* 226 */	"#226 (excluded netbsd32_msgsnd)",
    287   1.68       dsl 	/* 227 */	"#227 (excluded netbsd32_msgrcv)",
    288    1.1       mrg #endif
    289   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    290   1.68       dsl 	/* 228 */	"netbsd32_shmat",
    291   1.68       dsl 	/* 229 */	"compat_14_netbsd32_shmctl",
    292   1.68       dsl 	/* 230 */	"netbsd32_shmdt",
    293   1.68       dsl 	/* 231 */	"netbsd32_shmget",
    294   1.68       dsl #else
    295   1.68       dsl 	/* 228 */	"#228 (excluded netbsd32_shmat)",
    296   1.68       dsl 	/* 229 */	"#229 (excluded compat_14_netbsd32_shmctl)",
    297   1.68       dsl 	/* 230 */	"#230 (excluded netbsd32_shmdt)",
    298   1.68       dsl 	/* 231 */	"#231 (excluded netbsd32_shmget)",
    299   1.68       dsl #endif
    300   1.82  christos 	/* 232 */	"compat_50_netbsd32_clock_gettime",
    301   1.82  christos 	/* 233 */	"compat_50_netbsd32_clock_settime",
    302   1.82  christos 	/* 234 */	"compat_50_netbsd32_clock_getres",
    303   1.68       dsl 	/* 235 */	"netbsd32_timer_create",
    304   1.68       dsl 	/* 236 */	"netbsd32_timer_delete",
    305   1.82  christos 	/* 237 */	"compat_50_netbsd32_timer_settime",
    306   1.82  christos 	/* 238 */	"compat_50_netbsd32_timer_gettime",
    307   1.68       dsl 	/* 239 */	"netbsd32_timer_getoverrun",
    308   1.82  christos 	/* 240 */	"compat_50_netbsd32_nanosleep",
    309   1.68       dsl 	/* 241 */	"netbsd32_fdatasync",
    310   1.68       dsl 	/* 242 */	"netbsd32_mlockall",
    311   1.68       dsl 	/* 243 */	"munlockall",
    312   1.82  christos 	/* 244 */	"compat_50_netbsd32___sigtimedwait",
    313  1.112    martin 	/* 245 */	"netbsd32_sigqueueinfo",
    314  1.112    martin 	/* 246 */	"netbsd32_modctl",
    315   1.68       dsl 	/* 247 */	"netbsd32__ksem_init",
    316   1.68       dsl 	/* 248 */	"netbsd32__ksem_open",
    317   1.68       dsl 	/* 249 */	"netbsd32__ksem_unlink",
    318   1.68       dsl 	/* 250 */	"netbsd32__ksem_close",
    319   1.68       dsl 	/* 251 */	"netbsd32__ksem_post",
    320   1.68       dsl 	/* 252 */	"netbsd32__ksem_wait",
    321   1.68       dsl 	/* 253 */	"netbsd32__ksem_trywait",
    322   1.68       dsl 	/* 254 */	"netbsd32__ksem_getvalue",
    323   1.68       dsl 	/* 255 */	"netbsd32__ksem_destroy",
    324  1.100     joerg 	/* 256 */	"netbsd32__ksem_timedwait",
    325  1.112    martin 	/* 257 */	"netbsd32_mq_open",
    326  1.112    martin 	/* 258 */	"netbsd32_mq_close",
    327  1.112    martin 	/* 259 */	"netbsd32_mq_unlink",
    328  1.112    martin 	/* 260 */	"netbsd32_mq_getattr",
    329  1.112    martin 	/* 261 */	"netbsd32_mq_setattr",
    330  1.112    martin 	/* 262 */	"netbsd32_mq_notify",
    331  1.112    martin 	/* 263 */	"netbsd32_mq_send",
    332  1.112    martin 	/* 264 */	"netbsd32_mq_receive",
    333  1.112    martin 	/* 265 */	"compat_50_netbsd32_mq_timedsend",
    334  1.112    martin 	/* 266 */	"compat_50_netbsd32_mq_timedreceive",
    335   1.68       dsl 	/* 267 */	"#267 (unimplemented)",
    336   1.68       dsl 	/* 268 */	"#268 (unimplemented)",
    337   1.68       dsl 	/* 269 */	"#269 (unimplemented)",
    338   1.68       dsl 	/* 270 */	"netbsd32___posix_rename",
    339   1.68       dsl 	/* 271 */	"netbsd32_swapctl",
    340   1.68       dsl 	/* 272 */	"compat_30_netbsd32_getdents",
    341   1.68       dsl 	/* 273 */	"netbsd32_minherit",
    342   1.68       dsl 	/* 274 */	"netbsd32_lchmod",
    343   1.68       dsl 	/* 275 */	"netbsd32_lchown",
    344   1.82  christos 	/* 276 */	"compat_50_netbsd32_lutimes",
    345   1.68       dsl 	/* 277 */	"netbsd32___msync13",
    346   1.68       dsl 	/* 278 */	"compat_30_netbsd32___stat13",
    347   1.68       dsl 	/* 279 */	"compat_30_netbsd32___fstat13",
    348   1.68       dsl 	/* 280 */	"compat_30_netbsd32___lstat13",
    349   1.68       dsl 	/* 281 */	"netbsd32___sigaltstack14",
    350   1.68       dsl 	/* 282 */	"__vfork14",
    351   1.68       dsl 	/* 283 */	"netbsd32___posix_chown",
    352   1.68       dsl 	/* 284 */	"netbsd32___posix_fchown",
    353   1.68       dsl 	/* 285 */	"netbsd32___posix_lchown",
    354   1.68       dsl 	/* 286 */	"netbsd32_getsid",
    355   1.68       dsl 	/* 287 */	"netbsd32___clone",
    356   1.68       dsl 	/* 288 */	"netbsd32_fktrace",
    357   1.68       dsl 	/* 289 */	"netbsd32_preadv",
    358   1.68       dsl 	/* 290 */	"netbsd32_pwritev",
    359   1.68       dsl 	/* 291 */	"netbsd32___sigaction14",
    360   1.68       dsl 	/* 292 */	"netbsd32___sigpending14",
    361   1.68       dsl 	/* 293 */	"netbsd32___sigprocmask14",
    362   1.68       dsl 	/* 294 */	"netbsd32___sigsuspend14",
    363   1.68       dsl 	/* 295 */	"compat_16_netbsd32___sigreturn14",
    364   1.68       dsl 	/* 296 */	"netbsd32___getcwd",
    365   1.68       dsl 	/* 297 */	"netbsd32_fchroot",
    366   1.68       dsl 	/* 298 */	"compat_30_netbsd32_fhopen",
    367   1.68       dsl 	/* 299 */	"compat_30_netbsd32_fhstat",
    368   1.68       dsl 	/* 300 */	"compat_20_netbsd32_fhstatfs",
    369   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    370   1.82  christos 	/* 301 */	"compat_50_netbsd32___semctl14",
    371   1.12       eeh #else
    372   1.68       dsl 	/* 301 */	"#301 (excluded __semctl14)",
    373   1.12       eeh #endif
    374   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    375   1.82  christos 	/* 302 */	"compat_50_netbsd32___msgctl13",
    376   1.12       eeh #else
    377   1.68       dsl 	/* 302 */	"#302 (excluded __msgctl13)",
    378   1.12       eeh #endif
    379   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    380   1.82  christos 	/* 303 */	"compat_50_netbsd32___shmctl13",
    381   1.12       eeh #else
    382   1.68       dsl 	/* 303 */	"#303 (excluded __shmctl13)",
    383   1.12       eeh #endif
    384   1.68       dsl 	/* 304 */	"netbsd32_lchflags",
    385   1.68       dsl 	/* 305 */	"issetugid",
    386   1.68       dsl 	/* 306 */	"netbsd32_utrace",
    387   1.68       dsl 	/* 307 */	"netbsd32_getcontext",
    388   1.68       dsl 	/* 308 */	"netbsd32_setcontext",
    389   1.68       dsl 	/* 309 */	"netbsd32__lwp_create",
    390   1.68       dsl 	/* 310 */	"_lwp_exit",
    391   1.68       dsl 	/* 311 */	"_lwp_self",
    392   1.68       dsl 	/* 312 */	"netbsd32__lwp_wait",
    393   1.68       dsl 	/* 313 */	"netbsd32__lwp_suspend",
    394   1.68       dsl 	/* 314 */	"netbsd32__lwp_continue",
    395   1.68       dsl 	/* 315 */	"netbsd32__lwp_wakeup",
    396   1.68       dsl 	/* 316 */	"_lwp_getprivate",
    397   1.68       dsl 	/* 317 */	"netbsd32__lwp_setprivate",
    398   1.68       dsl 	/* 318 */	"netbsd32__lwp_kill",
    399   1.68       dsl 	/* 319 */	"netbsd32__lwp_detach",
    400   1.82  christos 	/* 320 */	"compat_50_netbsd32__lwp_park",
    401   1.68       dsl 	/* 321 */	"netbsd32__lwp_unpark",
    402   1.68       dsl 	/* 322 */	"netbsd32__lwp_unpark_all",
    403   1.69        ad 	/* 323 */	"netbsd32__lwp_setname",
    404   1.69        ad 	/* 324 */	"netbsd32__lwp_getname",
    405   1.69        ad 	/* 325 */	"netbsd32__lwp_ctl",
    406   1.68       dsl 	/* 326 */	"#326 (unimplemented)",
    407   1.68       dsl 	/* 327 */	"#327 (unimplemented)",
    408   1.68       dsl 	/* 328 */	"#328 (unimplemented)",
    409   1.68       dsl 	/* 329 */	"#329 (unimplemented)",
    410   1.99     rmind 	/* 330 */	"#330 (obsolete netbsd32_sa_register)",
    411   1.99     rmind 	/* 331 */	"#331 (obsolete netbsd32_sa_stacks)",
    412   1.99     rmind 	/* 332 */	"#332 (obsolete sa_enable)",
    413   1.99     rmind 	/* 333 */	"#333 (obsolete netbsd32_sa_setconcurrency)",
    414   1.99     rmind 	/* 334 */	"#334 (obsolete sa_yield)",
    415   1.99     rmind 	/* 335 */	"#335 (obsolete netbsd32_sa_preempt)",
    416   1.68       dsl 	/* 336 */	"#336 (obsolete sys_sa_unblockyield)",
    417   1.68       dsl 	/* 337 */	"#337 (unimplemented)",
    418   1.68       dsl 	/* 338 */	"#338 (unimplemented)",
    419   1.68       dsl 	/* 339 */	"#339 (unimplemented)",
    420   1.68       dsl 	/* 340 */	"netbsd32___sigaction_sigtramp",
    421   1.68       dsl 	/* 341 */	"#341 (unimplemented)",
    422   1.68       dsl 	/* 342 */	"#342 (unimplemented)",
    423   1.68       dsl 	/* 343 */	"netbsd32_rasctl",
    424   1.68       dsl 	/* 344 */	"kqueue",
    425   1.82  christos 	/* 345 */	"compat_50_netbsd32_kevent",
    426   1.81       mrg 	/* 346 */	"netbsd32__sched_setparam",
    427   1.81       mrg 	/* 347 */	"netbsd32__sched_getparam",
    428   1.81       mrg 	/* 348 */	"netbsd32__sched_setaffinity",
    429   1.81       mrg 	/* 349 */	"netbsd32__sched_getaffinity",
    430   1.68       dsl 	/* 350 */	"sched_yield",
    431   1.68       dsl 	/* 351 */	"#351 (unimplemented)",
    432   1.68       dsl 	/* 352 */	"#352 (unimplemented)",
    433   1.68       dsl 	/* 353 */	"#353 (unimplemented)",
    434   1.68       dsl 	/* 354 */	"netbsd32_fsync_range",
    435   1.68       dsl 	/* 355 */	"netbsd32_uuidgen",
    436   1.68       dsl 	/* 356 */	"netbsd32_getvfsstat",
    437   1.68       dsl 	/* 357 */	"netbsd32_statvfs1",
    438   1.68       dsl 	/* 358 */	"netbsd32_fstatvfs1",
    439   1.68       dsl 	/* 359 */	"compat_30_netbsd32_fhstatvfs1",
    440   1.68       dsl 	/* 360 */	"netbsd32_extattrctl",
    441   1.68       dsl 	/* 361 */	"netbsd32_extattr_set_file",
    442   1.68       dsl 	/* 362 */	"netbsd32_extattr_get_file",
    443   1.68       dsl 	/* 363 */	"netbsd32_extattr_delete_file",
    444   1.68       dsl 	/* 364 */	"netbsd32_extattr_set_fd",
    445   1.68       dsl 	/* 365 */	"netbsd32_extattr_get_fd",
    446   1.68       dsl 	/* 366 */	"netbsd32_extattr_delete_fd",
    447   1.68       dsl 	/* 367 */	"netbsd32_extattr_set_link",
    448   1.68       dsl 	/* 368 */	"netbsd32_extattr_get_link",
    449   1.68       dsl 	/* 369 */	"netbsd32_extattr_delete_link",
    450   1.68       dsl 	/* 370 */	"netbsd32_extattr_list_fd",
    451   1.68       dsl 	/* 371 */	"netbsd32_extattr_list_file",
    452   1.68       dsl 	/* 372 */	"netbsd32_extattr_list_link",
    453   1.82  christos 	/* 373 */	"compat_50_netbsd32_pselect",
    454   1.82  christos 	/* 374 */	"compat_50_netbsd32_pollts",
    455   1.68       dsl 	/* 375 */	"netbsd32_setxattr",
    456   1.68       dsl 	/* 376 */	"netbsd32_lsetxattr",
    457   1.68       dsl 	/* 377 */	"netbsd32_fsetxattr",
    458   1.68       dsl 	/* 378 */	"netbsd32_getxattr",
    459   1.68       dsl 	/* 379 */	"netbsd32_lgetxattr",
    460   1.68       dsl 	/* 380 */	"netbsd32_fgetxattr",
    461   1.68       dsl 	/* 381 */	"netbsd32_listxattr",
    462   1.68       dsl 	/* 382 */	"netbsd32_llistxattr",
    463   1.68       dsl 	/* 383 */	"netbsd32_flistxattr",
    464   1.68       dsl 	/* 384 */	"netbsd32_removexattr",
    465   1.68       dsl 	/* 385 */	"netbsd32_lremovexattr",
    466   1.68       dsl 	/* 386 */	"netbsd32_fremovexattr",
    467   1.82  christos 	/* 387 */	"compat_50_netbsd32___stat30",
    468   1.82  christos 	/* 388 */	"compat_50_netbsd32___fstat30",
    469   1.82  christos 	/* 389 */	"compat_50_netbsd32___lstat30",
    470   1.82  christos 	/* 390 */	"netbsd32___getdents30",
    471   1.75    martin 	/* 391 */	"#391 (ignored old posix fadvise)",
    472   1.82  christos 	/* 392 */	"compat_30_netbsd32___fhstat30",
    473   1.85  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    474   1.82  christos 	/* 393 */	"compat_50_netbsd32_ntp_gettime",
    475   1.85  christos #else
    476   1.85  christos 	/* 393 */	"#393 (excluded __ntp_gettime30)",
    477   1.85  christos #endif
    478   1.82  christos 	/* 394 */	"netbsd32___socket30",
    479   1.68       dsl 	/* 395 */	"netbsd32___getfh30",
    480   1.68       dsl 	/* 396 */	"netbsd32___fhopen40",
    481   1.68       dsl 	/* 397 */	"netbsd32___fhstatvfs140",
    482   1.82  christos 	/* 398 */	"compat_50_netbsd32___fhstat40",
    483   1.83     pooka 	/* 399 */	"#399 (unimplemented sys_aio_cancel)",
    484   1.83     pooka 	/* 400 */	"#400 (unimplemented sys_aio_error)",
    485   1.83     pooka 	/* 401 */	"#401 (unimplemented sys_aio_fsync)",
    486   1.83     pooka 	/* 402 */	"#402 (unimplemented sys_aio_read)",
    487   1.83     pooka 	/* 403 */	"#403 (unimplemented sys_aio_return)",
    488   1.83     pooka 	/* 404 */	"#404 (unimplemented sys_aio_suspend)",
    489   1.83     pooka 	/* 405 */	"#405 (unimplemented sys_aio_write)",
    490   1.83     pooka 	/* 406 */	"#406 (unimplemented sys_lio_listio)",
    491   1.72       dsl 	/* 407 */	"#407 (unimplemented)",
    492   1.72       dsl 	/* 408 */	"#408 (unimplemented)",
    493   1.72       dsl 	/* 409 */	"#409 (unimplemented)",
    494   1.88      matt 	/* 410 */	"netbsd32___mount50",
    495   1.72       dsl 	/* 411 */	"netbsd32_mremap",
    496   1.74    martin 	/* 412 */	"#412 (unimplemented)",
    497   1.74    martin 	/* 413 */	"#413 (unimplemented)",
    498   1.74    martin 	/* 414 */	"#414 (unimplemented)",
    499   1.74    martin 	/* 415 */	"#415 (unimplemented)",
    500   1.74    martin 	/* 416 */	"netbsd32___posix_fadvise50",
    501   1.82  christos 	/* 417 */	"netbsd32___select50",
    502   1.82  christos 	/* 418 */	"netbsd32___gettimeofday50",
    503   1.82  christos 	/* 419 */	"netbsd32___settimeofday50",
    504   1.82  christos 	/* 420 */	"netbsd32___utimes50",
    505   1.82  christos 	/* 421 */	"netbsd32___adjtime50",
    506   1.82  christos 	/* 422 */	"#422 (excluded __lfs_segwait50)",
    507   1.82  christos 	/* 423 */	"netbsd32___futimes50",
    508   1.82  christos 	/* 424 */	"netbsd32___lutimes50",
    509   1.82  christos 	/* 425 */	"netbsd32___setitimer50",
    510   1.82  christos 	/* 426 */	"netbsd32___getitimer50",
    511   1.82  christos 	/* 427 */	"netbsd32___clock_gettime50",
    512   1.82  christos 	/* 428 */	"netbsd32___clock_settime50",
    513   1.82  christos 	/* 429 */	"netbsd32___clock_getres50",
    514   1.82  christos 	/* 430 */	"netbsd32___nanosleep50",
    515   1.82  christos 	/* 431 */	"netbsd32_____sigtimedwait50",
    516  1.113    martin 	/* 432 */	"netbsd32___mq_timedsend50",
    517  1.113    martin 	/* 433 */	"netbsd32___mq_timedreceive50",
    518  1.104  christos 	/* 434 */	"compat_60_netbsd32__lwp_park",
    519   1.82  christos 	/* 435 */	"netbsd32___kevent50",
    520   1.82  christos 	/* 436 */	"netbsd32___pselect50",
    521   1.82  christos 	/* 437 */	"netbsd32___pollts50",
    522   1.83     pooka 	/* 438 */	"#438 (unimplemented netbsd32___aio_suspend50)",
    523   1.82  christos 	/* 439 */	"netbsd32___stat50",
    524   1.82  christos 	/* 440 */	"netbsd32___fstat50",
    525   1.82  christos 	/* 441 */	"netbsd32___lstat50",
    526   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    527   1.82  christos 	/* 442 */	"netbsd32_____semctl50",
    528   1.82  christos #else
    529   1.82  christos 	/* 442 */	"#442 (excluded ____semctl50)",
    530   1.82  christos #endif
    531   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    532   1.82  christos 	/* 443 */	"netbsd32___shmctl50",
    533   1.82  christos #else
    534   1.82  christos 	/* 443 */	"#443 (excluded ____shmctl50)",
    535   1.82  christos #endif
    536   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    537   1.82  christos 	/* 444 */	"netbsd32___msgctl50",
    538   1.82  christos #else
    539   1.82  christos 	/* 444 */	"#444 (excluded ____msgctl50)",
    540   1.82  christos #endif
    541   1.82  christos 	/* 445 */	"netbsd32___getrusage50",
    542   1.82  christos 	/* 446 */	"netbsd32___timer_settime50",
    543   1.82  christos 	/* 447 */	"netbsd32___timer_gettime50",
    544   1.82  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    545   1.82  christos 	/* 448 */	"netbsd32___ntp_gettime50",
    546   1.82  christos #else
    547   1.82  christos 	/* 448 */	"#448 (excluded ___ntp_gettime50)",
    548   1.82  christos #endif
    549   1.82  christos 	/* 449 */	"netbsd32___wait450",
    550   1.82  christos 	/* 450 */	"netbsd32___mknod50",
    551   1.82  christos 	/* 451 */	"netbsd32___fhstat50",
    552   1.97  dholland 	/* 452 */	"#452 (obsolete 5.99 quotactl)",
    553   1.93     njoly 	/* 453 */	"netbsd32_pipe2",
    554   1.94     njoly 	/* 454 */	"netbsd32_dup3",
    555   1.95     njoly 	/* 455 */	"netbsd32_kqueue1",
    556   1.96      matt 	/* 456 */	"netbsd32_paccept",
    557   1.96      matt 	/* 457 */	"netbsd32_linkat",
    558   1.96      matt 	/* 458 */	"netbsd32_renameat",
    559   1.96      matt 	/* 459 */	"netbsd32_mkfifoat",
    560   1.96      matt 	/* 460 */	"netbsd32_mknodat",
    561   1.96      matt 	/* 461 */	"netbsd32_mkdirat",
    562   1.96      matt 	/* 462 */	"netbsd32_faccessat",
    563   1.96      matt 	/* 463 */	"netbsd32_fchmodat",
    564   1.96      matt 	/* 464 */	"netbsd32_fchownat",
    565   1.96      matt 	/* 465 */	"netbsd32_fexecve",
    566   1.96      matt 	/* 466 */	"netbsd32_fstatat",
    567   1.96      matt 	/* 467 */	"netbsd32_utimensat",
    568   1.96      matt 	/* 468 */	"netbsd32_openat",
    569   1.96      matt 	/* 469 */	"netbsd32_readlinkat",
    570   1.96      matt 	/* 470 */	"netbsd32_symlinkat",
    571   1.96      matt 	/* 471 */	"netbsd32_unlinkat",
    572   1.96      matt 	/* 472 */	"netbsd32_futimens",
    573   1.98  dholland 	/* 473 */	"netbsd32___quotactl",
    574  1.102    martin 	/* 474 */	"netbsd32_posix_spawn",
    575  1.103  christos 	/* 475 */	"#475 (unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t timeout ) ; })",
    576  1.103  christos 	/* 476 */	"#476 (unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; })",
    577  1.103  christos 	/* 477 */	"netbsd32_clock_nanosleep",
    578  1.104  christos 	/* 478 */	"netbsd32____lwp_park60",
    579  1.111    martin 	/* 479 */	"netbsd32_posix_fallocate",
    580  1.111    martin 	/* 480 */	"netbsd32_fdiscard",
    581   1.92    bouyer 	/* 481 */	"# filler",
    582   1.92    bouyer 	/* 482 */	"# filler",
    583   1.92    bouyer 	/* 483 */	"# filler",
    584   1.92    bouyer 	/* 484 */	"# filler",
    585   1.92    bouyer 	/* 485 */	"# filler",
    586   1.92    bouyer 	/* 486 */	"# filler",
    587   1.92    bouyer 	/* 487 */	"# filler",
    588   1.92    bouyer 	/* 488 */	"# filler",
    589   1.92    bouyer 	/* 489 */	"# filler",
    590   1.92    bouyer 	/* 490 */	"# filler",
    591   1.92    bouyer 	/* 491 */	"# filler",
    592   1.92    bouyer 	/* 492 */	"# filler",
    593   1.92    bouyer 	/* 493 */	"# filler",
    594   1.92    bouyer 	/* 494 */	"# filler",
    595   1.92    bouyer 	/* 495 */	"# filler",
    596   1.92    bouyer 	/* 496 */	"# filler",
    597   1.92    bouyer 	/* 497 */	"# filler",
    598   1.92    bouyer 	/* 498 */	"# filler",
    599   1.92    bouyer 	/* 499 */	"# filler",
    600   1.92    bouyer 	/* 500 */	"# filler",
    601   1.92    bouyer 	/* 501 */	"# filler",
    602   1.92    bouyer 	/* 502 */	"# filler",
    603   1.92    bouyer 	/* 503 */	"# filler",
    604   1.92    bouyer 	/* 504 */	"# filler",
    605   1.92    bouyer 	/* 505 */	"# filler",
    606   1.92    bouyer 	/* 506 */	"# filler",
    607   1.92    bouyer 	/* 507 */	"# filler",
    608   1.92    bouyer 	/* 508 */	"# filler",
    609   1.92    bouyer 	/* 509 */	"# filler",
    610   1.92    bouyer 	/* 510 */	"# filler",
    611   1.92    bouyer 	/* 511 */	"# filler",
    612    1.1       mrg };
    613