Home | History | Annotate | Line # | Download | only in kern
syscalls.c revision 1.272.2.1
      1  1.272.2.1       tls /* $NetBSD: syscalls.c,v 1.272.2.1 2014/08/10 06:55:58 tls Exp $ */
      2       1.72   thorpej 
      3        1.1       cgd /*
      4        1.1       cgd  * System call names.
      5        1.1       cgd  *
      6        1.1       cgd  * DO NOT EDIT-- this file is automatically generated.
      7  1.272.2.1       tls  * created from	NetBSD: syscalls.master,v 1.270 2014/07/25 08:25:47 dholland Exp
      8        1.1       cgd  */
      9       1.75   thorpej 
     10      1.123     lukem #include <sys/cdefs.h>
     11  1.272.2.1       tls __KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.272.2.1 2014/08/10 06:55:58 tls Exp $");
     12      1.123     lukem 
     13      1.121       mrg #if defined(_KERNEL_OPT)
     14      1.230     pooka #include "opt_modular.h"
     15      1.110     bjh21 #include "opt_ntp.h"
     16       1.93      tron #include "opt_sysv.h"
     17       1.75   thorpej #include <sys/param.h>
     18       1.75   thorpej #include <sys/systm.h>
     19       1.75   thorpej #include <sys/signal.h>
     20      1.246  christos #include <sys/socket.h>
     21       1.75   thorpej #include <sys/mount.h>
     22      1.218   tsutsui #include <sys/sched.h>
     23       1.75   thorpej #include <sys/syscallargs.h>
     24      1.121       mrg #endif /* _KERNEL_OPT */
     25        1.1       cgd 
     26      1.113   mycroft const char *const syscallnames[] = {
     27      1.193       dsl 	/*   0 */	"syscall",
     28      1.193       dsl 	/*   1 */	"exit",
     29      1.193       dsl 	/*   2 */	"fork",
     30      1.193       dsl 	/*   3 */	"read",
     31      1.193       dsl 	/*   4 */	"write",
     32      1.193       dsl 	/*   5 */	"open",
     33      1.193       dsl 	/*   6 */	"close",
     34      1.226  christos 	/*   7 */	"compat_50_wait4",
     35      1.193       dsl 	/*   8 */	"compat_43_ocreat",
     36      1.193       dsl 	/*   9 */	"link",
     37      1.193       dsl 	/*  10 */	"unlink",
     38      1.193       dsl 	/*  11 */	"#11 (obsolete execv)",
     39      1.193       dsl 	/*  12 */	"chdir",
     40      1.193       dsl 	/*  13 */	"fchdir",
     41      1.226  christos 	/*  14 */	"compat_50_mknod",
     42      1.193       dsl 	/*  15 */	"chmod",
     43      1.193       dsl 	/*  16 */	"chown",
     44      1.193       dsl 	/*  17 */	"break",
     45      1.193       dsl 	/*  18 */	"compat_20_getfsstat",
     46      1.193       dsl 	/*  19 */	"compat_43_olseek",
     47      1.193       dsl 	/*  20 */	"getpid",
     48      1.193       dsl 	/*  21 */	"compat_40_mount",
     49      1.193       dsl 	/*  22 */	"unmount",
     50      1.193       dsl 	/*  23 */	"setuid",
     51      1.193       dsl 	/*  24 */	"getuid",
     52      1.193       dsl 	/*  25 */	"geteuid",
     53      1.193       dsl 	/*  26 */	"ptrace",
     54      1.193       dsl 	/*  27 */	"recvmsg",
     55      1.193       dsl 	/*  28 */	"sendmsg",
     56      1.193       dsl 	/*  29 */	"recvfrom",
     57      1.193       dsl 	/*  30 */	"accept",
     58      1.193       dsl 	/*  31 */	"getpeername",
     59      1.193       dsl 	/*  32 */	"getsockname",
     60      1.193       dsl 	/*  33 */	"access",
     61      1.193       dsl 	/*  34 */	"chflags",
     62      1.193       dsl 	/*  35 */	"fchflags",
     63      1.193       dsl 	/*  36 */	"sync",
     64      1.193       dsl 	/*  37 */	"kill",
     65      1.193       dsl 	/*  38 */	"compat_43_stat43",
     66      1.193       dsl 	/*  39 */	"getppid",
     67      1.193       dsl 	/*  40 */	"compat_43_lstat43",
     68      1.193       dsl 	/*  41 */	"dup",
     69      1.193       dsl 	/*  42 */	"pipe",
     70      1.193       dsl 	/*  43 */	"getegid",
     71      1.193       dsl 	/*  44 */	"profil",
     72      1.193       dsl 	/*  45 */	"ktrace",
     73      1.193       dsl 	/*  46 */	"compat_13_sigaction13",
     74      1.193       dsl 	/*  47 */	"getgid",
     75      1.193       dsl 	/*  48 */	"compat_13_sigprocmask13",
     76      1.193       dsl 	/*  49 */	"__getlogin",
     77      1.193       dsl 	/*  50 */	"__setlogin",
     78      1.193       dsl 	/*  51 */	"acct",
     79      1.193       dsl 	/*  52 */	"compat_13_sigpending13",
     80      1.193       dsl 	/*  53 */	"compat_13_sigaltstack13",
     81      1.193       dsl 	/*  54 */	"ioctl",
     82      1.193       dsl 	/*  55 */	"compat_12_oreboot",
     83      1.193       dsl 	/*  56 */	"revoke",
     84      1.193       dsl 	/*  57 */	"symlink",
     85      1.193       dsl 	/*  58 */	"readlink",
     86      1.193       dsl 	/*  59 */	"execve",
     87      1.193       dsl 	/*  60 */	"umask",
     88      1.193       dsl 	/*  61 */	"chroot",
     89      1.193       dsl 	/*  62 */	"compat_43_fstat43",
     90      1.193       dsl 	/*  63 */	"compat_43_ogetkerninfo",
     91      1.193       dsl 	/*  64 */	"compat_43_ogetpagesize",
     92      1.193       dsl 	/*  65 */	"compat_12_msync",
     93      1.193       dsl 	/*  66 */	"vfork",
     94      1.193       dsl 	/*  67 */	"#67 (obsolete vread)",
     95      1.193       dsl 	/*  68 */	"#68 (obsolete vwrite)",
     96      1.193       dsl 	/*  69 */	"sbrk",
     97      1.193       dsl 	/*  70 */	"sstk",
     98      1.193       dsl 	/*  71 */	"compat_43_ommap",
     99      1.193       dsl 	/*  72 */	"vadvise",
    100      1.193       dsl 	/*  73 */	"munmap",
    101      1.193       dsl 	/*  74 */	"mprotect",
    102      1.193       dsl 	/*  75 */	"madvise",
    103      1.193       dsl 	/*  76 */	"#76 (obsolete vhangup)",
    104      1.193       dsl 	/*  77 */	"#77 (obsolete vlimit)",
    105      1.193       dsl 	/*  78 */	"mincore",
    106      1.193       dsl 	/*  79 */	"getgroups",
    107      1.193       dsl 	/*  80 */	"setgroups",
    108      1.193       dsl 	/*  81 */	"getpgrp",
    109      1.193       dsl 	/*  82 */	"setpgid",
    110      1.226  christos 	/*  83 */	"compat_50_setitimer",
    111      1.193       dsl 	/*  84 */	"compat_43_owait",
    112      1.193       dsl 	/*  85 */	"compat_12_oswapon",
    113      1.226  christos 	/*  86 */	"compat_50_getitimer",
    114      1.193       dsl 	/*  87 */	"compat_43_ogethostname",
    115      1.193       dsl 	/*  88 */	"compat_43_osethostname",
    116      1.193       dsl 	/*  89 */	"compat_43_ogetdtablesize",
    117      1.193       dsl 	/*  90 */	"dup2",
    118      1.193       dsl 	/*  91 */	"#91 (unimplemented getdopt)",
    119      1.193       dsl 	/*  92 */	"fcntl",
    120      1.226  christos 	/*  93 */	"compat_50_select",
    121      1.193       dsl 	/*  94 */	"#94 (unimplemented setdopt)",
    122      1.193       dsl 	/*  95 */	"fsync",
    123      1.193       dsl 	/*  96 */	"setpriority",
    124      1.193       dsl 	/*  97 */	"compat_30_socket",
    125      1.193       dsl 	/*  98 */	"connect",
    126      1.193       dsl 	/*  99 */	"compat_43_oaccept",
    127      1.193       dsl 	/* 100 */	"getpriority",
    128      1.193       dsl 	/* 101 */	"compat_43_osend",
    129      1.193       dsl 	/* 102 */	"compat_43_orecv",
    130      1.193       dsl 	/* 103 */	"compat_13_sigreturn13",
    131      1.193       dsl 	/* 104 */	"bind",
    132      1.193       dsl 	/* 105 */	"setsockopt",
    133      1.193       dsl 	/* 106 */	"listen",
    134      1.193       dsl 	/* 107 */	"#107 (obsolete vtimes)",
    135      1.193       dsl 	/* 108 */	"compat_43_osigvec",
    136      1.193       dsl 	/* 109 */	"compat_43_osigblock",
    137      1.193       dsl 	/* 110 */	"compat_43_osigsetmask",
    138      1.193       dsl 	/* 111 */	"compat_13_sigsuspend13",
    139      1.193       dsl 	/* 112 */	"compat_43_osigstack",
    140      1.193       dsl 	/* 113 */	"compat_43_orecvmsg",
    141      1.193       dsl 	/* 114 */	"compat_43_osendmsg",
    142      1.193       dsl 	/* 115 */	"#115 (obsolete vtrace)",
    143      1.226  christos 	/* 116 */	"compat_50_gettimeofday",
    144      1.226  christos 	/* 117 */	"compat_50_getrusage",
    145      1.193       dsl 	/* 118 */	"getsockopt",
    146      1.193       dsl 	/* 119 */	"#119 (obsolete resuba)",
    147      1.193       dsl 	/* 120 */	"readv",
    148      1.193       dsl 	/* 121 */	"writev",
    149      1.226  christos 	/* 122 */	"compat_50_settimeofday",
    150      1.193       dsl 	/* 123 */	"fchown",
    151      1.193       dsl 	/* 124 */	"fchmod",
    152      1.193       dsl 	/* 125 */	"compat_43_orecvfrom",
    153      1.193       dsl 	/* 126 */	"setreuid",
    154      1.193       dsl 	/* 127 */	"setregid",
    155      1.193       dsl 	/* 128 */	"rename",
    156      1.193       dsl 	/* 129 */	"compat_43_otruncate",
    157      1.193       dsl 	/* 130 */	"compat_43_oftruncate",
    158      1.193       dsl 	/* 131 */	"flock",
    159      1.193       dsl 	/* 132 */	"mkfifo",
    160      1.193       dsl 	/* 133 */	"sendto",
    161      1.193       dsl 	/* 134 */	"shutdown",
    162      1.193       dsl 	/* 135 */	"socketpair",
    163      1.193       dsl 	/* 136 */	"mkdir",
    164      1.193       dsl 	/* 137 */	"rmdir",
    165      1.226  christos 	/* 138 */	"compat_50_utimes",
    166      1.193       dsl 	/* 139 */	"#139 (obsolete 4.2 sigreturn)",
    167      1.226  christos 	/* 140 */	"compat_50_adjtime",
    168      1.193       dsl 	/* 141 */	"compat_43_ogetpeername",
    169      1.193       dsl 	/* 142 */	"compat_43_ogethostid",
    170      1.193       dsl 	/* 143 */	"compat_43_osethostid",
    171      1.193       dsl 	/* 144 */	"compat_43_ogetrlimit",
    172      1.193       dsl 	/* 145 */	"compat_43_osetrlimit",
    173      1.193       dsl 	/* 146 */	"compat_43_okillpg",
    174      1.193       dsl 	/* 147 */	"setsid",
    175      1.245    bouyer 	/* 148 */	"compat_50_quotactl",
    176      1.193       dsl 	/* 149 */	"compat_43_oquota",
    177      1.193       dsl 	/* 150 */	"compat_43_ogetsockname",
    178      1.193       dsl 	/* 151 */	"#151 (unimplemented)",
    179      1.193       dsl 	/* 152 */	"#152 (unimplemented)",
    180      1.193       dsl 	/* 153 */	"#153 (unimplemented)",
    181      1.193       dsl 	/* 154 */	"#154 (unimplemented)",
    182      1.193       dsl 	/* 155 */	"nfssvc",
    183      1.193       dsl 	/* 156 */	"compat_43_ogetdirentries",
    184      1.193       dsl 	/* 157 */	"compat_20_statfs",
    185      1.193       dsl 	/* 158 */	"compat_20_fstatfs",
    186      1.193       dsl 	/* 159 */	"#159 (unimplemented)",
    187      1.193       dsl 	/* 160 */	"#160 (unimplemented)",
    188      1.193       dsl 	/* 161 */	"compat_30_getfh",
    189      1.193       dsl 	/* 162 */	"compat_09_ogetdomainname",
    190      1.193       dsl 	/* 163 */	"compat_09_osetdomainname",
    191      1.193       dsl 	/* 164 */	"compat_09_ouname",
    192      1.193       dsl 	/* 165 */	"sysarch",
    193      1.193       dsl 	/* 166 */	"#166 (unimplemented)",
    194      1.193       dsl 	/* 167 */	"#167 (unimplemented)",
    195      1.193       dsl 	/* 168 */	"#168 (unimplemented)",
    196      1.225        ad #if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
    197      1.193       dsl 	/* 169 */	"compat_10_osemsys",
    198       1.11       cgd #else
    199      1.193       dsl 	/* 169 */	"#169 (excluded 1.0 semsys)",
    200       1.11       cgd #endif
    201      1.225        ad #if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
    202      1.193       dsl 	/* 170 */	"compat_10_omsgsys",
    203       1.11       cgd #else
    204      1.193       dsl 	/* 170 */	"#170 (excluded 1.0 msgsys)",
    205       1.11       cgd #endif
    206      1.225        ad #if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
    207      1.193       dsl 	/* 171 */	"compat_10_oshmsys",
    208        1.1       cgd #else
    209      1.193       dsl 	/* 171 */	"#171 (excluded 1.0 shmsys)",
    210        1.1       cgd #endif
    211      1.193       dsl 	/* 172 */	"#172 (unimplemented)",
    212      1.193       dsl 	/* 173 */	"pread",
    213      1.193       dsl 	/* 174 */	"pwrite",
    214      1.226  christos 	/* 175 */	"compat_30_ntp_gettime",
    215      1.225        ad #if defined(NTP) || !defined(_KERNEL_OPT)
    216      1.193       dsl 	/* 176 */	"ntp_adjtime",
    217      1.110     bjh21 #else
    218      1.193       dsl 	/* 176 */	"#176 (excluded ntp_adjtime)",
    219      1.110     bjh21 #endif
    220      1.193       dsl 	/* 177 */	"#177 (unimplemented)",
    221      1.193       dsl 	/* 178 */	"#178 (unimplemented)",
    222      1.193       dsl 	/* 179 */	"#179 (unimplemented)",
    223      1.193       dsl 	/* 180 */	"#180 (unimplemented)",
    224      1.193       dsl 	/* 181 */	"setgid",
    225      1.193       dsl 	/* 182 */	"setegid",
    226      1.193       dsl 	/* 183 */	"seteuid",
    227      1.193       dsl 	/* 184 */	"lfs_bmapv",
    228      1.193       dsl 	/* 185 */	"lfs_markv",
    229      1.193       dsl 	/* 186 */	"lfs_segclean",
    230      1.226  christos 	/* 187 */	"compat_50_lfs_segwait",
    231      1.193       dsl 	/* 188 */	"compat_12_stat12",
    232      1.193       dsl 	/* 189 */	"compat_12_fstat12",
    233      1.193       dsl 	/* 190 */	"compat_12_lstat12",
    234      1.193       dsl 	/* 191 */	"pathconf",
    235      1.193       dsl 	/* 192 */	"fpathconf",
    236      1.193       dsl 	/* 193 */	"#193 (unimplemented)",
    237      1.193       dsl 	/* 194 */	"getrlimit",
    238      1.193       dsl 	/* 195 */	"setrlimit",
    239      1.193       dsl 	/* 196 */	"compat_12_getdirentries",
    240      1.193       dsl 	/* 197 */	"mmap",
    241      1.193       dsl 	/* 198 */	"__syscall",
    242      1.193       dsl 	/* 199 */	"lseek",
    243      1.193       dsl 	/* 200 */	"truncate",
    244      1.193       dsl 	/* 201 */	"ftruncate",
    245      1.193       dsl 	/* 202 */	"__sysctl",
    246      1.193       dsl 	/* 203 */	"mlock",
    247      1.193       dsl 	/* 204 */	"munlock",
    248      1.193       dsl 	/* 205 */	"undelete",
    249      1.226  christos 	/* 206 */	"compat_50_futimes",
    250      1.193       dsl 	/* 207 */	"getpgid",
    251      1.193       dsl 	/* 208 */	"reboot",
    252      1.193       dsl 	/* 209 */	"poll",
    253      1.256  christos 	/* 210 */	"afssys",
    254      1.221        ad 	/* 211 */	"#211 (unimplemented)",
    255      1.221        ad 	/* 212 */	"#212 (unimplemented)",
    256      1.221        ad 	/* 213 */	"#213 (unimplemented)",
    257      1.221        ad 	/* 214 */	"#214 (unimplemented)",
    258      1.221        ad 	/* 215 */	"#215 (unimplemented)",
    259      1.221        ad 	/* 216 */	"#216 (unimplemented)",
    260      1.221        ad 	/* 217 */	"#217 (unimplemented)",
    261      1.221        ad 	/* 218 */	"#218 (unimplemented)",
    262      1.221        ad 	/* 219 */	"#219 (unimplemented)",
    263      1.225        ad #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    264      1.193       dsl 	/* 220 */	"compat_14___semctl",
    265      1.193       dsl 	/* 221 */	"semget",
    266      1.193       dsl 	/* 222 */	"semop",
    267      1.193       dsl 	/* 223 */	"semconfig",
    268      1.193       dsl #else
    269      1.193       dsl 	/* 220 */	"#220 (excluded compat_14_semctl)",
    270      1.193       dsl 	/* 221 */	"#221 (excluded semget)",
    271      1.193       dsl 	/* 222 */	"#222 (excluded semop)",
    272      1.193       dsl 	/* 223 */	"#223 (excluded semconfig)",
    273       1.25       cgd #endif
    274      1.225        ad #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    275      1.193       dsl 	/* 224 */	"compat_14_msgctl",
    276      1.193       dsl 	/* 225 */	"msgget",
    277      1.193       dsl 	/* 226 */	"msgsnd",
    278      1.193       dsl 	/* 227 */	"msgrcv",
    279      1.193       dsl #else
    280      1.193       dsl 	/* 224 */	"#224 (excluded compat_14_msgctl)",
    281      1.193       dsl 	/* 225 */	"#225 (excluded msgget)",
    282      1.193       dsl 	/* 226 */	"#226 (excluded msgsnd)",
    283      1.193       dsl 	/* 227 */	"#227 (excluded msgrcv)",
    284       1.25       cgd #endif
    285      1.225        ad #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    286      1.193       dsl 	/* 228 */	"shmat",
    287      1.193       dsl 	/* 229 */	"compat_14_shmctl",
    288      1.193       dsl 	/* 230 */	"shmdt",
    289      1.193       dsl 	/* 231 */	"shmget",
    290      1.193       dsl #else
    291      1.193       dsl 	/* 228 */	"#228 (excluded shmat)",
    292      1.193       dsl 	/* 229 */	"#229 (excluded compat_14_shmctl)",
    293      1.193       dsl 	/* 230 */	"#230 (excluded shmdt)",
    294      1.193       dsl 	/* 231 */	"#231 (excluded shmget)",
    295      1.193       dsl #endif
    296      1.226  christos 	/* 232 */	"compat_50_clock_gettime",
    297      1.226  christos 	/* 233 */	"compat_50_clock_settime",
    298      1.226  christos 	/* 234 */	"compat_50_clock_getres",
    299      1.193       dsl 	/* 235 */	"timer_create",
    300      1.193       dsl 	/* 236 */	"timer_delete",
    301      1.226  christos 	/* 237 */	"compat_50_timer_settime",
    302      1.226  christos 	/* 238 */	"compat_50_timer_gettime",
    303      1.193       dsl 	/* 239 */	"timer_getoverrun",
    304      1.226  christos 	/* 240 */	"compat_50_nanosleep",
    305      1.193       dsl 	/* 241 */	"fdatasync",
    306      1.193       dsl 	/* 242 */	"mlockall",
    307      1.193       dsl 	/* 243 */	"munlockall",
    308      1.226  christos 	/* 244 */	"compat_50___sigtimedwait",
    309      1.240  christos 	/* 245 */	"sigqueueinfo",
    310      1.201        ad 	/* 246 */	"modctl",
    311      1.193       dsl 	/* 247 */	"_ksem_init",
    312      1.193       dsl 	/* 248 */	"_ksem_open",
    313      1.193       dsl 	/* 249 */	"_ksem_unlink",
    314      1.193       dsl 	/* 250 */	"_ksem_close",
    315      1.193       dsl 	/* 251 */	"_ksem_post",
    316      1.193       dsl 	/* 252 */	"_ksem_wait",
    317      1.193       dsl 	/* 253 */	"_ksem_trywait",
    318      1.193       dsl 	/* 254 */	"_ksem_getvalue",
    319      1.193       dsl 	/* 255 */	"_ksem_destroy",
    320      1.255     joerg 	/* 256 */	"_ksem_timedwait",
    321      1.193       dsl 	/* 257 */	"mq_open",
    322      1.193       dsl 	/* 258 */	"mq_close",
    323      1.193       dsl 	/* 259 */	"mq_unlink",
    324      1.193       dsl 	/* 260 */	"mq_getattr",
    325      1.193       dsl 	/* 261 */	"mq_setattr",
    326      1.193       dsl 	/* 262 */	"mq_notify",
    327      1.193       dsl 	/* 263 */	"mq_send",
    328      1.193       dsl 	/* 264 */	"mq_receive",
    329      1.226  christos 	/* 265 */	"compat_50_mq_timedsend",
    330      1.226  christos 	/* 266 */	"compat_50_mq_timedreceive",
    331      1.193       dsl 	/* 267 */	"#267 (unimplemented)",
    332      1.193       dsl 	/* 268 */	"#268 (unimplemented)",
    333      1.193       dsl 	/* 269 */	"#269 (unimplemented)",
    334      1.193       dsl 	/* 270 */	"__posix_rename",
    335      1.193       dsl 	/* 271 */	"swapctl",
    336      1.193       dsl 	/* 272 */	"compat_30_getdents",
    337      1.193       dsl 	/* 273 */	"minherit",
    338      1.193       dsl 	/* 274 */	"lchmod",
    339      1.193       dsl 	/* 275 */	"lchown",
    340      1.226  christos 	/* 276 */	"compat_50_lutimes",
    341      1.193       dsl 	/* 277 */	"__msync13",
    342      1.193       dsl 	/* 278 */	"compat_30___stat13",
    343      1.193       dsl 	/* 279 */	"compat_30___fstat13",
    344      1.193       dsl 	/* 280 */	"compat_30___lstat13",
    345      1.193       dsl 	/* 281 */	"__sigaltstack14",
    346      1.193       dsl 	/* 282 */	"__vfork14",
    347      1.193       dsl 	/* 283 */	"__posix_chown",
    348      1.193       dsl 	/* 284 */	"__posix_fchown",
    349      1.193       dsl 	/* 285 */	"__posix_lchown",
    350      1.193       dsl 	/* 286 */	"getsid",
    351      1.193       dsl 	/* 287 */	"__clone",
    352      1.193       dsl 	/* 288 */	"fktrace",
    353      1.193       dsl 	/* 289 */	"preadv",
    354      1.193       dsl 	/* 290 */	"pwritev",
    355      1.193       dsl 	/* 291 */	"compat_16___sigaction14",
    356      1.193       dsl 	/* 292 */	"__sigpending14",
    357      1.193       dsl 	/* 293 */	"__sigprocmask14",
    358      1.193       dsl 	/* 294 */	"__sigsuspend14",
    359      1.193       dsl 	/* 295 */	"compat_16___sigreturn14",
    360      1.193       dsl 	/* 296 */	"__getcwd",
    361      1.193       dsl 	/* 297 */	"fchroot",
    362      1.193       dsl 	/* 298 */	"compat_30_fhopen",
    363      1.193       dsl 	/* 299 */	"compat_30_fhstat",
    364      1.193       dsl 	/* 300 */	"compat_20_fhstatfs",
    365      1.225        ad #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    366      1.226  christos 	/* 301 */	"compat_50_____semctl13",
    367      1.105   thorpej #else
    368      1.193       dsl 	/* 301 */	"#301 (excluded ____semctl13)",
    369      1.105   thorpej #endif
    370      1.225        ad #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    371      1.226  christos 	/* 302 */	"compat_50___msgctl13",
    372      1.105   thorpej #else
    373      1.193       dsl 	/* 302 */	"#302 (excluded __msgctl13)",
    374      1.105   thorpej #endif
    375      1.225        ad #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    376      1.226  christos 	/* 303 */	"compat_50___shmctl13",
    377      1.105   thorpej #else
    378      1.193       dsl 	/* 303 */	"#303 (excluded __shmctl13)",
    379      1.105   thorpej #endif
    380      1.193       dsl 	/* 304 */	"lchflags",
    381      1.193       dsl 	/* 305 */	"issetugid",
    382      1.193       dsl 	/* 306 */	"utrace",
    383      1.193       dsl 	/* 307 */	"getcontext",
    384      1.193       dsl 	/* 308 */	"setcontext",
    385      1.193       dsl 	/* 309 */	"_lwp_create",
    386      1.193       dsl 	/* 310 */	"_lwp_exit",
    387      1.193       dsl 	/* 311 */	"_lwp_self",
    388      1.193       dsl 	/* 312 */	"_lwp_wait",
    389      1.193       dsl 	/* 313 */	"_lwp_suspend",
    390      1.193       dsl 	/* 314 */	"_lwp_continue",
    391      1.193       dsl 	/* 315 */	"_lwp_wakeup",
    392      1.193       dsl 	/* 316 */	"_lwp_getprivate",
    393      1.193       dsl 	/* 317 */	"_lwp_setprivate",
    394      1.193       dsl 	/* 318 */	"_lwp_kill",
    395      1.193       dsl 	/* 319 */	"_lwp_detach",
    396      1.226  christos 	/* 320 */	"compat_50__lwp_park",
    397      1.193       dsl 	/* 321 */	"_lwp_unpark",
    398      1.193       dsl 	/* 322 */	"_lwp_unpark_all",
    399      1.193       dsl 	/* 323 */	"_lwp_setname",
    400      1.193       dsl 	/* 324 */	"_lwp_getname",
    401      1.194        ad 	/* 325 */	"_lwp_ctl",
    402      1.193       dsl 	/* 326 */	"#326 (unimplemented)",
    403      1.193       dsl 	/* 327 */	"#327 (unimplemented)",
    404      1.193       dsl 	/* 328 */	"#328 (unimplemented)",
    405      1.193       dsl 	/* 329 */	"#329 (unimplemented)",
    406      1.253      matt 	/* 330 */	"compat_60_sa_register",
    407      1.253      matt 	/* 331 */	"compat_60_sa_stacks",
    408      1.253      matt 	/* 332 */	"compat_60_sa_enable",
    409      1.253      matt 	/* 333 */	"compat_60_sa_setconcurrency",
    410      1.253      matt 	/* 334 */	"compat_60_sa_yield",
    411      1.253      matt 	/* 335 */	"compat_60_sa_preempt",
    412      1.219  wrstuden 	/* 336 */	"#336 (obsolete sys_sa_unblockyield)",
    413      1.193       dsl 	/* 337 */	"#337 (unimplemented)",
    414      1.193       dsl 	/* 338 */	"#338 (unimplemented)",
    415      1.193       dsl 	/* 339 */	"#339 (unimplemented)",
    416      1.193       dsl 	/* 340 */	"__sigaction_sigtramp",
    417      1.193       dsl 	/* 341 */	"pmc_get_info",
    418      1.193       dsl 	/* 342 */	"pmc_control",
    419      1.193       dsl 	/* 343 */	"rasctl",
    420      1.193       dsl 	/* 344 */	"kqueue",
    421      1.226  christos 	/* 345 */	"compat_50_kevent",
    422      1.200     rmind 	/* 346 */	"_sched_setparam",
    423      1.200     rmind 	/* 347 */	"_sched_getparam",
    424      1.200     rmind 	/* 348 */	"_sched_setaffinity",
    425      1.200     rmind 	/* 349 */	"_sched_getaffinity",
    426      1.193       dsl 	/* 350 */	"sched_yield",
    427      1.200     rmind 	/* 351 */	"#351 (unimplemented)",
    428      1.200     rmind 	/* 352 */	"#352 (unimplemented)",
    429      1.200     rmind 	/* 353 */	"#353 (unimplemented)",
    430      1.193       dsl 	/* 354 */	"fsync_range",
    431      1.193       dsl 	/* 355 */	"uuidgen",
    432      1.193       dsl 	/* 356 */	"getvfsstat",
    433      1.193       dsl 	/* 357 */	"statvfs1",
    434      1.193       dsl 	/* 358 */	"fstatvfs1",
    435      1.193       dsl 	/* 359 */	"compat_30_fhstatvfs1",
    436      1.193       dsl 	/* 360 */	"extattrctl",
    437      1.193       dsl 	/* 361 */	"extattr_set_file",
    438      1.193       dsl 	/* 362 */	"extattr_get_file",
    439      1.193       dsl 	/* 363 */	"extattr_delete_file",
    440      1.193       dsl 	/* 364 */	"extattr_set_fd",
    441      1.193       dsl 	/* 365 */	"extattr_get_fd",
    442      1.193       dsl 	/* 366 */	"extattr_delete_fd",
    443      1.193       dsl 	/* 367 */	"extattr_set_link",
    444      1.193       dsl 	/* 368 */	"extattr_get_link",
    445      1.193       dsl 	/* 369 */	"extattr_delete_link",
    446      1.193       dsl 	/* 370 */	"extattr_list_fd",
    447      1.193       dsl 	/* 371 */	"extattr_list_file",
    448      1.193       dsl 	/* 372 */	"extattr_list_link",
    449      1.226  christos 	/* 373 */	"compat_50_pselect",
    450      1.226  christos 	/* 374 */	"compat_50_pollts",
    451      1.193       dsl 	/* 375 */	"setxattr",
    452      1.193       dsl 	/* 376 */	"lsetxattr",
    453      1.193       dsl 	/* 377 */	"fsetxattr",
    454      1.193       dsl 	/* 378 */	"getxattr",
    455      1.193       dsl 	/* 379 */	"lgetxattr",
    456      1.193       dsl 	/* 380 */	"fgetxattr",
    457      1.193       dsl 	/* 381 */	"listxattr",
    458      1.193       dsl 	/* 382 */	"llistxattr",
    459      1.193       dsl 	/* 383 */	"flistxattr",
    460      1.193       dsl 	/* 384 */	"removexattr",
    461      1.193       dsl 	/* 385 */	"lremovexattr",
    462      1.193       dsl 	/* 386 */	"fremovexattr",
    463      1.226  christos 	/* 387 */	"compat_50___stat30",
    464      1.226  christos 	/* 388 */	"compat_50___fstat30",
    465      1.226  christos 	/* 389 */	"compat_50___lstat30",
    466      1.193       dsl 	/* 390 */	"__getdents30",
    467      1.207    martin 	/* 391 */	"#391 (ignored old posix_fadvise)",
    468      1.193       dsl 	/* 392 */	"compat_30___fhstat30",
    469      1.226  christos 	/* 393 */	"compat_50___ntp_gettime30",
    470      1.193       dsl 	/* 394 */	"__socket30",
    471      1.193       dsl 	/* 395 */	"__getfh30",
    472      1.193       dsl 	/* 396 */	"__fhopen40",
    473      1.193       dsl 	/* 397 */	"__fhstatvfs140",
    474      1.226  christos 	/* 398 */	"compat_50___fhstat40",
    475      1.193       dsl 	/* 399 */	"aio_cancel",
    476      1.193       dsl 	/* 400 */	"aio_error",
    477      1.193       dsl 	/* 401 */	"aio_fsync",
    478      1.193       dsl 	/* 402 */	"aio_read",
    479      1.193       dsl 	/* 403 */	"aio_return",
    480      1.226  christos 	/* 404 */	"compat_50_aio_suspend",
    481      1.193       dsl 	/* 405 */	"aio_write",
    482      1.193       dsl 	/* 406 */	"lio_listio",
    483      1.193       dsl 	/* 407 */	"#407 (unimplemented)",
    484      1.193       dsl 	/* 408 */	"#408 (unimplemented)",
    485      1.193       dsl 	/* 409 */	"#409 (unimplemented)",
    486      1.193       dsl 	/* 410 */	"__mount50",
    487      1.193       dsl 	/* 411 */	"mremap",
    488      1.200     rmind 	/* 412 */	"pset_create",
    489      1.200     rmind 	/* 413 */	"pset_destroy",
    490      1.200     rmind 	/* 414 */	"pset_assign",
    491      1.200     rmind 	/* 415 */	"_pset_bind",
    492      1.203    martin 	/* 416 */	"__posix_fadvise50",
    493      1.226  christos 	/* 417 */	"__select50",
    494      1.226  christos 	/* 418 */	"__gettimeofday50",
    495      1.226  christos 	/* 419 */	"__settimeofday50",
    496      1.226  christos 	/* 420 */	"__utimes50",
    497      1.226  christos 	/* 421 */	"__adjtime50",
    498      1.226  christos 	/* 422 */	"__lfs_segwait50",
    499      1.226  christos 	/* 423 */	"__futimes50",
    500      1.226  christos 	/* 424 */	"__lutimes50",
    501      1.226  christos 	/* 425 */	"__setitimer50",
    502      1.226  christos 	/* 426 */	"__getitimer50",
    503      1.226  christos 	/* 427 */	"__clock_gettime50",
    504      1.226  christos 	/* 428 */	"__clock_settime50",
    505      1.226  christos 	/* 429 */	"__clock_getres50",
    506      1.226  christos 	/* 430 */	"__nanosleep50",
    507      1.226  christos 	/* 431 */	"____sigtimedwait50",
    508      1.226  christos 	/* 432 */	"__mq_timedsend50",
    509      1.226  christos 	/* 433 */	"__mq_timedreceive50",
    510      1.262  christos 	/* 434 */	"compat_60__lwp_park",
    511      1.226  christos 	/* 435 */	"__kevent50",
    512      1.226  christos 	/* 436 */	"__pselect50",
    513      1.226  christos 	/* 437 */	"__pollts50",
    514      1.226  christos 	/* 438 */	"__aio_suspend50",
    515      1.226  christos 	/* 439 */	"__stat50",
    516      1.226  christos 	/* 440 */	"__fstat50",
    517      1.226  christos 	/* 441 */	"__lstat50",
    518      1.226  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    519      1.226  christos 	/* 442 */	"____semctl50",
    520      1.226  christos #else
    521      1.226  christos 	/* 442 */	"#442 (excluded ____semctl50)",
    522      1.226  christos #endif
    523      1.226  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    524      1.226  christos 	/* 443 */	"__shmctl50",
    525      1.226  christos #else
    526      1.226  christos 	/* 443 */	"#443 (excluded ____shmctl50)",
    527      1.226  christos #endif
    528      1.226  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    529      1.226  christos 	/* 444 */	"__msgctl50",
    530      1.226  christos #else
    531      1.226  christos 	/* 444 */	"#444 (excluded ____msgctl50)",
    532      1.226  christos #endif
    533      1.226  christos 	/* 445 */	"__getrusage50",
    534      1.226  christos 	/* 446 */	"__timer_settime50",
    535      1.226  christos 	/* 447 */	"__timer_gettime50",
    536      1.226  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    537      1.226  christos 	/* 448 */	"__ntp_gettime50",
    538      1.226  christos #else
    539      1.226  christos 	/* 448 */	"#448 (excluded ___ntp_gettime50)",
    540      1.226  christos #endif
    541      1.226  christos 	/* 449 */	"__wait450",
    542      1.226  christos 	/* 450 */	"__mknod50",
    543      1.226  christos 	/* 451 */	"__fhstat50",
    544      1.250  dholland 	/* 452 */	"#452 (obsolete 5.99 quotactl)",
    545      1.246  christos 	/* 453 */	"pipe2",
    546      1.246  christos 	/* 454 */	"dup3",
    547      1.246  christos 	/* 455 */	"kqueue1",
    548      1.246  christos 	/* 456 */	"paccept",
    549      1.248      manu 	/* 457 */	"linkat",
    550      1.248      manu 	/* 458 */	"renameat",
    551      1.248      manu 	/* 459 */	"mkfifoat",
    552      1.248      manu 	/* 460 */	"mknodat",
    553      1.248      manu 	/* 461 */	"mkdirat",
    554      1.248      manu 	/* 462 */	"faccessat",
    555      1.248      manu 	/* 463 */	"fchmodat",
    556      1.248      manu 	/* 464 */	"fchownat",
    557      1.248      manu 	/* 465 */	"fexecve",
    558      1.248      manu 	/* 466 */	"fstatat",
    559      1.248      manu 	/* 467 */	"utimensat",
    560      1.248      manu 	/* 468 */	"openat",
    561      1.248      manu 	/* 469 */	"readlinkat",
    562      1.248      manu 	/* 470 */	"symlinkat",
    563      1.248      manu 	/* 471 */	"unlinkat",
    564      1.249      manu 	/* 472 */	"futimens",
    565      1.250  dholland 	/* 473 */	"__quotactl",
    566      1.252    martin 	/* 474 */	"posix_spawn",
    567      1.257  christos 	/* 475 */	"recvmmsg",
    568      1.257  christos 	/* 476 */	"sendmmsg",
    569      1.261  christos 	/* 477 */	"clock_nanosleep",
    570      1.262  christos 	/* 478 */	"___lwp_park60",
    571  1.272.2.1       tls 	/* 479 */	"posix_fallocate",
    572  1.272.2.1       tls 	/* 480 */	"fdiscard",
    573      1.239     pooka 	/* 481 */	"# filler",
    574      1.239     pooka 	/* 482 */	"# filler",
    575      1.239     pooka 	/* 483 */	"# filler",
    576      1.239     pooka 	/* 484 */	"# filler",
    577      1.239     pooka 	/* 485 */	"# filler",
    578      1.239     pooka 	/* 486 */	"# filler",
    579      1.239     pooka 	/* 487 */	"# filler",
    580      1.239     pooka 	/* 488 */	"# filler",
    581      1.239     pooka 	/* 489 */	"# filler",
    582      1.239     pooka 	/* 490 */	"# filler",
    583      1.239     pooka 	/* 491 */	"# filler",
    584      1.239     pooka 	/* 492 */	"# filler",
    585      1.239     pooka 	/* 493 */	"# filler",
    586      1.239     pooka 	/* 494 */	"# filler",
    587      1.239     pooka 	/* 495 */	"# filler",
    588      1.239     pooka 	/* 496 */	"# filler",
    589      1.239     pooka 	/* 497 */	"# filler",
    590      1.239     pooka 	/* 498 */	"# filler",
    591      1.239     pooka 	/* 499 */	"# filler",
    592      1.239     pooka 	/* 500 */	"# filler",
    593      1.239     pooka 	/* 501 */	"# filler",
    594      1.239     pooka 	/* 502 */	"# filler",
    595      1.239     pooka 	/* 503 */	"# filler",
    596      1.239     pooka 	/* 504 */	"# filler",
    597      1.239     pooka 	/* 505 */	"# filler",
    598      1.239     pooka 	/* 506 */	"# filler",
    599      1.239     pooka 	/* 507 */	"# filler",
    600      1.239     pooka 	/* 508 */	"# filler",
    601      1.239     pooka 	/* 509 */	"# filler",
    602      1.239     pooka 	/* 510 */	"# filler",
    603      1.239     pooka 	/* 511 */	"# filler",
    604        1.1       cgd };
    605