Home | History | Annotate | Line # | Download | only in kern
syscalls.c revision 1.215.2.3
      1  1.215.2.3      yamt /* $NetBSD: syscalls.c,v 1.215.2.3 2009/08/19 18:48:17 yamt 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.215.2.3      yamt  * created from	NetBSD: syscalls.master,v 1.228 2009/07/19 02:50:44 rmind Exp
      8        1.1       cgd  */
      9       1.75   thorpej 
     10      1.123     lukem #include <sys/cdefs.h>
     11  1.215.2.3      yamt __KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.215.2.3 2009/08/19 18:48:17 yamt Exp $");
     12      1.123     lukem 
     13      1.121       mrg #if defined(_KERNEL_OPT)
     14  1.215.2.2      yamt #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 "fs_lfs.h"
     18       1.75   thorpej #include <sys/param.h>
     19       1.75   thorpej #include <sys/systm.h>
     20       1.75   thorpej #include <sys/signal.h>
     21       1.75   thorpej #include <sys/mount.h>
     22  1.215.2.1      yamt #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.215.2.1      yamt 	/*   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.215.2.1      yamt 	/*  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.215.2.1      yamt 	/*  83 */	"compat_50_setitimer",
    111      1.193       dsl 	/*  84 */	"compat_43_owait",
    112      1.193       dsl 	/*  85 */	"compat_12_oswapon",
    113  1.215.2.1      yamt 	/*  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.215.2.1      yamt 	/*  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.215.2.1      yamt 	/* 116 */	"compat_50_gettimeofday",
    144  1.215.2.1      yamt 	/* 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.215.2.1      yamt 	/* 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.215.2.1      yamt 	/* 138 */	"compat_50_utimes",
    166      1.193       dsl 	/* 139 */	"#139 (obsolete 4.2 sigreturn)",
    167  1.215.2.1      yamt 	/* 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.193       dsl 	/* 148 */	"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.215.2.1      yamt #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.215.2.1      yamt #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.215.2.1      yamt #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.193       dsl 	/* 175 */	"compat_30_ntp_gettime",
    215  1.215.2.1      yamt #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.100  christos #if defined(LFS) || !defined(_KERNEL)
    228      1.193       dsl 	/* 184 */	"lfs_bmapv",
    229      1.193       dsl 	/* 185 */	"lfs_markv",
    230      1.193       dsl 	/* 186 */	"lfs_segclean",
    231  1.215.2.1      yamt 	/* 187 */	"compat_50_lfs_segwait",
    232      1.193       dsl #else
    233      1.193       dsl 	/* 184 */	"#184 (excluded lfs_bmapv)",
    234      1.193       dsl 	/* 185 */	"#185 (excluded lfs_markv)",
    235      1.193       dsl 	/* 186 */	"#186 (excluded lfs_segclean)",
    236      1.193       dsl 	/* 187 */	"#187 (excluded lfs_segwait)",
    237      1.193       dsl #endif
    238      1.193       dsl 	/* 188 */	"compat_12_stat12",
    239      1.193       dsl 	/* 189 */	"compat_12_fstat12",
    240      1.193       dsl 	/* 190 */	"compat_12_lstat12",
    241      1.193       dsl 	/* 191 */	"pathconf",
    242      1.193       dsl 	/* 192 */	"fpathconf",
    243      1.193       dsl 	/* 193 */	"#193 (unimplemented)",
    244      1.193       dsl 	/* 194 */	"getrlimit",
    245      1.193       dsl 	/* 195 */	"setrlimit",
    246      1.193       dsl 	/* 196 */	"compat_12_getdirentries",
    247      1.193       dsl 	/* 197 */	"mmap",
    248      1.193       dsl 	/* 198 */	"__syscall",
    249      1.193       dsl 	/* 199 */	"lseek",
    250      1.193       dsl 	/* 200 */	"truncate",
    251      1.193       dsl 	/* 201 */	"ftruncate",
    252      1.193       dsl 	/* 202 */	"__sysctl",
    253      1.193       dsl 	/* 203 */	"mlock",
    254      1.193       dsl 	/* 204 */	"munlock",
    255      1.193       dsl 	/* 205 */	"undelete",
    256  1.215.2.1      yamt 	/* 206 */	"compat_50_futimes",
    257      1.193       dsl 	/* 207 */	"getpgid",
    258      1.193       dsl 	/* 208 */	"reboot",
    259      1.193       dsl 	/* 209 */	"poll",
    260  1.215.2.1      yamt 	/* 210 */	"#210 (unimplemented)",
    261  1.215.2.1      yamt 	/* 211 */	"#211 (unimplemented)",
    262  1.215.2.1      yamt 	/* 212 */	"#212 (unimplemented)",
    263  1.215.2.1      yamt 	/* 213 */	"#213 (unimplemented)",
    264  1.215.2.1      yamt 	/* 214 */	"#214 (unimplemented)",
    265  1.215.2.1      yamt 	/* 215 */	"#215 (unimplemented)",
    266  1.215.2.1      yamt 	/* 216 */	"#216 (unimplemented)",
    267  1.215.2.1      yamt 	/* 217 */	"#217 (unimplemented)",
    268  1.215.2.1      yamt 	/* 218 */	"#218 (unimplemented)",
    269  1.215.2.1      yamt 	/* 219 */	"#219 (unimplemented)",
    270  1.215.2.1      yamt #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    271      1.193       dsl 	/* 220 */	"compat_14___semctl",
    272      1.193       dsl 	/* 221 */	"semget",
    273      1.193       dsl 	/* 222 */	"semop",
    274      1.193       dsl 	/* 223 */	"semconfig",
    275      1.193       dsl #else
    276      1.193       dsl 	/* 220 */	"#220 (excluded compat_14_semctl)",
    277      1.193       dsl 	/* 221 */	"#221 (excluded semget)",
    278      1.193       dsl 	/* 222 */	"#222 (excluded semop)",
    279      1.193       dsl 	/* 223 */	"#223 (excluded semconfig)",
    280       1.25       cgd #endif
    281  1.215.2.1      yamt #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    282      1.193       dsl 	/* 224 */	"compat_14_msgctl",
    283      1.193       dsl 	/* 225 */	"msgget",
    284      1.193       dsl 	/* 226 */	"msgsnd",
    285      1.193       dsl 	/* 227 */	"msgrcv",
    286      1.193       dsl #else
    287      1.193       dsl 	/* 224 */	"#224 (excluded compat_14_msgctl)",
    288      1.193       dsl 	/* 225 */	"#225 (excluded msgget)",
    289      1.193       dsl 	/* 226 */	"#226 (excluded msgsnd)",
    290      1.193       dsl 	/* 227 */	"#227 (excluded msgrcv)",
    291       1.25       cgd #endif
    292  1.215.2.1      yamt #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    293      1.193       dsl 	/* 228 */	"shmat",
    294      1.193       dsl 	/* 229 */	"compat_14_shmctl",
    295      1.193       dsl 	/* 230 */	"shmdt",
    296      1.193       dsl 	/* 231 */	"shmget",
    297      1.193       dsl #else
    298      1.193       dsl 	/* 228 */	"#228 (excluded shmat)",
    299      1.193       dsl 	/* 229 */	"#229 (excluded compat_14_shmctl)",
    300      1.193       dsl 	/* 230 */	"#230 (excluded shmdt)",
    301      1.193       dsl 	/* 231 */	"#231 (excluded shmget)",
    302      1.193       dsl #endif
    303  1.215.2.1      yamt 	/* 232 */	"compat_50_clock_gettime",
    304  1.215.2.1      yamt 	/* 233 */	"compat_50_clock_settime",
    305  1.215.2.1      yamt 	/* 234 */	"compat_50_clock_getres",
    306      1.193       dsl 	/* 235 */	"timer_create",
    307      1.193       dsl 	/* 236 */	"timer_delete",
    308  1.215.2.1      yamt 	/* 237 */	"compat_50_timer_settime",
    309  1.215.2.1      yamt 	/* 238 */	"compat_50_timer_gettime",
    310      1.193       dsl 	/* 239 */	"timer_getoverrun",
    311  1.215.2.1      yamt 	/* 240 */	"compat_50_nanosleep",
    312      1.193       dsl 	/* 241 */	"fdatasync",
    313      1.193       dsl 	/* 242 */	"mlockall",
    314      1.193       dsl 	/* 243 */	"munlockall",
    315  1.215.2.1      yamt 	/* 244 */	"compat_50___sigtimedwait",
    316      1.193       dsl 	/* 245 */	"#245 (unimplemented sys_sigqueue)",
    317      1.201        ad 	/* 246 */	"modctl",
    318      1.193       dsl 	/* 247 */	"_ksem_init",
    319      1.193       dsl 	/* 248 */	"_ksem_open",
    320      1.193       dsl 	/* 249 */	"_ksem_unlink",
    321      1.193       dsl 	/* 250 */	"_ksem_close",
    322      1.193       dsl 	/* 251 */	"_ksem_post",
    323      1.193       dsl 	/* 252 */	"_ksem_wait",
    324      1.193       dsl 	/* 253 */	"_ksem_trywait",
    325      1.193       dsl 	/* 254 */	"_ksem_getvalue",
    326      1.193       dsl 	/* 255 */	"_ksem_destroy",
    327      1.193       dsl 	/* 256 */	"#256 (unimplemented sys__ksem_timedwait)",
    328      1.193       dsl 	/* 257 */	"mq_open",
    329      1.193       dsl 	/* 258 */	"mq_close",
    330      1.193       dsl 	/* 259 */	"mq_unlink",
    331      1.193       dsl 	/* 260 */	"mq_getattr",
    332      1.193       dsl 	/* 261 */	"mq_setattr",
    333      1.193       dsl 	/* 262 */	"mq_notify",
    334      1.193       dsl 	/* 263 */	"mq_send",
    335      1.193       dsl 	/* 264 */	"mq_receive",
    336  1.215.2.1      yamt 	/* 265 */	"compat_50_mq_timedsend",
    337  1.215.2.1      yamt 	/* 266 */	"compat_50_mq_timedreceive",
    338      1.193       dsl 	/* 267 */	"#267 (unimplemented)",
    339      1.193       dsl 	/* 268 */	"#268 (unimplemented)",
    340      1.193       dsl 	/* 269 */	"#269 (unimplemented)",
    341      1.193       dsl 	/* 270 */	"__posix_rename",
    342      1.193       dsl 	/* 271 */	"swapctl",
    343      1.193       dsl 	/* 272 */	"compat_30_getdents",
    344      1.193       dsl 	/* 273 */	"minherit",
    345      1.193       dsl 	/* 274 */	"lchmod",
    346      1.193       dsl 	/* 275 */	"lchown",
    347  1.215.2.1      yamt 	/* 276 */	"compat_50_lutimes",
    348      1.193       dsl 	/* 277 */	"__msync13",
    349      1.193       dsl 	/* 278 */	"compat_30___stat13",
    350      1.193       dsl 	/* 279 */	"compat_30___fstat13",
    351      1.193       dsl 	/* 280 */	"compat_30___lstat13",
    352      1.193       dsl 	/* 281 */	"__sigaltstack14",
    353      1.193       dsl 	/* 282 */	"__vfork14",
    354      1.193       dsl 	/* 283 */	"__posix_chown",
    355      1.193       dsl 	/* 284 */	"__posix_fchown",
    356      1.193       dsl 	/* 285 */	"__posix_lchown",
    357      1.193       dsl 	/* 286 */	"getsid",
    358      1.193       dsl 	/* 287 */	"__clone",
    359      1.193       dsl 	/* 288 */	"fktrace",
    360      1.193       dsl 	/* 289 */	"preadv",
    361      1.193       dsl 	/* 290 */	"pwritev",
    362      1.193       dsl 	/* 291 */	"compat_16___sigaction14",
    363      1.193       dsl 	/* 292 */	"__sigpending14",
    364      1.193       dsl 	/* 293 */	"__sigprocmask14",
    365      1.193       dsl 	/* 294 */	"__sigsuspend14",
    366      1.193       dsl 	/* 295 */	"compat_16___sigreturn14",
    367      1.193       dsl 	/* 296 */	"__getcwd",
    368      1.193       dsl 	/* 297 */	"fchroot",
    369      1.193       dsl 	/* 298 */	"compat_30_fhopen",
    370      1.193       dsl 	/* 299 */	"compat_30_fhstat",
    371      1.193       dsl 	/* 300 */	"compat_20_fhstatfs",
    372  1.215.2.1      yamt #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    373  1.215.2.1      yamt 	/* 301 */	"compat_50_____semctl13",
    374      1.105   thorpej #else
    375      1.193       dsl 	/* 301 */	"#301 (excluded ____semctl13)",
    376      1.105   thorpej #endif
    377  1.215.2.1      yamt #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    378  1.215.2.1      yamt 	/* 302 */	"compat_50___msgctl13",
    379      1.105   thorpej #else
    380      1.193       dsl 	/* 302 */	"#302 (excluded __msgctl13)",
    381      1.105   thorpej #endif
    382  1.215.2.1      yamt #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    383  1.215.2.1      yamt 	/* 303 */	"compat_50___shmctl13",
    384      1.105   thorpej #else
    385      1.193       dsl 	/* 303 */	"#303 (excluded __shmctl13)",
    386      1.105   thorpej #endif
    387      1.193       dsl 	/* 304 */	"lchflags",
    388      1.193       dsl 	/* 305 */	"issetugid",
    389      1.193       dsl 	/* 306 */	"utrace",
    390      1.193       dsl 	/* 307 */	"getcontext",
    391      1.193       dsl 	/* 308 */	"setcontext",
    392      1.193       dsl 	/* 309 */	"_lwp_create",
    393      1.193       dsl 	/* 310 */	"_lwp_exit",
    394      1.193       dsl 	/* 311 */	"_lwp_self",
    395      1.193       dsl 	/* 312 */	"_lwp_wait",
    396      1.193       dsl 	/* 313 */	"_lwp_suspend",
    397      1.193       dsl 	/* 314 */	"_lwp_continue",
    398      1.193       dsl 	/* 315 */	"_lwp_wakeup",
    399      1.193       dsl 	/* 316 */	"_lwp_getprivate",
    400      1.193       dsl 	/* 317 */	"_lwp_setprivate",
    401      1.193       dsl 	/* 318 */	"_lwp_kill",
    402      1.193       dsl 	/* 319 */	"_lwp_detach",
    403  1.215.2.1      yamt 	/* 320 */	"compat_50__lwp_park",
    404      1.193       dsl 	/* 321 */	"_lwp_unpark",
    405      1.193       dsl 	/* 322 */	"_lwp_unpark_all",
    406      1.193       dsl 	/* 323 */	"_lwp_setname",
    407      1.193       dsl 	/* 324 */	"_lwp_getname",
    408      1.194        ad 	/* 325 */	"_lwp_ctl",
    409      1.193       dsl 	/* 326 */	"#326 (unimplemented)",
    410      1.193       dsl 	/* 327 */	"#327 (unimplemented)",
    411      1.193       dsl 	/* 328 */	"#328 (unimplemented)",
    412      1.193       dsl 	/* 329 */	"#329 (unimplemented)",
    413      1.193       dsl 	/* 330 */	"sa_register",
    414      1.193       dsl 	/* 331 */	"sa_stacks",
    415      1.193       dsl 	/* 332 */	"sa_enable",
    416      1.193       dsl 	/* 333 */	"sa_setconcurrency",
    417      1.193       dsl 	/* 334 */	"sa_yield",
    418      1.193       dsl 	/* 335 */	"sa_preempt",
    419  1.215.2.1      yamt 	/* 336 */	"#336 (obsolete sys_sa_unblockyield)",
    420      1.193       dsl 	/* 337 */	"#337 (unimplemented)",
    421      1.193       dsl 	/* 338 */	"#338 (unimplemented)",
    422      1.193       dsl 	/* 339 */	"#339 (unimplemented)",
    423      1.193       dsl 	/* 340 */	"__sigaction_sigtramp",
    424      1.193       dsl 	/* 341 */	"pmc_get_info",
    425      1.193       dsl 	/* 342 */	"pmc_control",
    426      1.193       dsl 	/* 343 */	"rasctl",
    427      1.193       dsl 	/* 344 */	"kqueue",
    428  1.215.2.1      yamt 	/* 345 */	"compat_50_kevent",
    429      1.200     rmind 	/* 346 */	"_sched_setparam",
    430      1.200     rmind 	/* 347 */	"_sched_getparam",
    431      1.200     rmind 	/* 348 */	"_sched_setaffinity",
    432      1.200     rmind 	/* 349 */	"_sched_getaffinity",
    433      1.193       dsl 	/* 350 */	"sched_yield",
    434      1.200     rmind 	/* 351 */	"#351 (unimplemented)",
    435      1.200     rmind 	/* 352 */	"#352 (unimplemented)",
    436      1.200     rmind 	/* 353 */	"#353 (unimplemented)",
    437      1.193       dsl 	/* 354 */	"fsync_range",
    438      1.193       dsl 	/* 355 */	"uuidgen",
    439      1.193       dsl 	/* 356 */	"getvfsstat",
    440      1.193       dsl 	/* 357 */	"statvfs1",
    441      1.193       dsl 	/* 358 */	"fstatvfs1",
    442      1.193       dsl 	/* 359 */	"compat_30_fhstatvfs1",
    443      1.193       dsl 	/* 360 */	"extattrctl",
    444      1.193       dsl 	/* 361 */	"extattr_set_file",
    445      1.193       dsl 	/* 362 */	"extattr_get_file",
    446      1.193       dsl 	/* 363 */	"extattr_delete_file",
    447      1.193       dsl 	/* 364 */	"extattr_set_fd",
    448      1.193       dsl 	/* 365 */	"extattr_get_fd",
    449      1.193       dsl 	/* 366 */	"extattr_delete_fd",
    450      1.193       dsl 	/* 367 */	"extattr_set_link",
    451      1.193       dsl 	/* 368 */	"extattr_get_link",
    452      1.193       dsl 	/* 369 */	"extattr_delete_link",
    453      1.193       dsl 	/* 370 */	"extattr_list_fd",
    454      1.193       dsl 	/* 371 */	"extattr_list_file",
    455      1.193       dsl 	/* 372 */	"extattr_list_link",
    456  1.215.2.1      yamt 	/* 373 */	"compat_50_pselect",
    457  1.215.2.1      yamt 	/* 374 */	"compat_50_pollts",
    458      1.193       dsl 	/* 375 */	"setxattr",
    459      1.193       dsl 	/* 376 */	"lsetxattr",
    460      1.193       dsl 	/* 377 */	"fsetxattr",
    461      1.193       dsl 	/* 378 */	"getxattr",
    462      1.193       dsl 	/* 379 */	"lgetxattr",
    463      1.193       dsl 	/* 380 */	"fgetxattr",
    464      1.193       dsl 	/* 381 */	"listxattr",
    465      1.193       dsl 	/* 382 */	"llistxattr",
    466      1.193       dsl 	/* 383 */	"flistxattr",
    467      1.193       dsl 	/* 384 */	"removexattr",
    468      1.193       dsl 	/* 385 */	"lremovexattr",
    469      1.193       dsl 	/* 386 */	"fremovexattr",
    470  1.215.2.1      yamt 	/* 387 */	"compat_50___stat30",
    471  1.215.2.1      yamt 	/* 388 */	"compat_50___fstat30",
    472  1.215.2.1      yamt 	/* 389 */	"compat_50___lstat30",
    473      1.193       dsl 	/* 390 */	"__getdents30",
    474      1.207    martin 	/* 391 */	"#391 (ignored old posix_fadvise)",
    475      1.193       dsl 	/* 392 */	"compat_30___fhstat30",
    476  1.215.2.1      yamt 	/* 393 */	"compat_50___ntp_gettime30",
    477      1.193       dsl 	/* 394 */	"__socket30",
    478      1.193       dsl 	/* 395 */	"__getfh30",
    479      1.193       dsl 	/* 396 */	"__fhopen40",
    480      1.193       dsl 	/* 397 */	"__fhstatvfs140",
    481  1.215.2.1      yamt 	/* 398 */	"compat_50___fhstat40",
    482      1.193       dsl 	/* 399 */	"aio_cancel",
    483      1.193       dsl 	/* 400 */	"aio_error",
    484      1.193       dsl 	/* 401 */	"aio_fsync",
    485      1.193       dsl 	/* 402 */	"aio_read",
    486      1.193       dsl 	/* 403 */	"aio_return",
    487  1.215.2.1      yamt 	/* 404 */	"compat_50_aio_suspend",
    488      1.193       dsl 	/* 405 */	"aio_write",
    489      1.193       dsl 	/* 406 */	"lio_listio",
    490      1.193       dsl 	/* 407 */	"#407 (unimplemented)",
    491      1.193       dsl 	/* 408 */	"#408 (unimplemented)",
    492      1.193       dsl 	/* 409 */	"#409 (unimplemented)",
    493      1.193       dsl 	/* 410 */	"__mount50",
    494      1.193       dsl 	/* 411 */	"mremap",
    495      1.200     rmind 	/* 412 */	"pset_create",
    496      1.200     rmind 	/* 413 */	"pset_destroy",
    497      1.200     rmind 	/* 414 */	"pset_assign",
    498      1.200     rmind 	/* 415 */	"_pset_bind",
    499      1.203    martin 	/* 416 */	"__posix_fadvise50",
    500  1.215.2.1      yamt 	/* 417 */	"__select50",
    501  1.215.2.1      yamt 	/* 418 */	"__gettimeofday50",
    502  1.215.2.1      yamt 	/* 419 */	"__settimeofday50",
    503  1.215.2.1      yamt 	/* 420 */	"__utimes50",
    504  1.215.2.1      yamt 	/* 421 */	"__adjtime50",
    505  1.215.2.1      yamt #if defined(LFS) || !defined(_KERNEL)
    506  1.215.2.1      yamt 	/* 422 */	"__lfs_segwait50",
    507  1.215.2.1      yamt #else
    508  1.215.2.1      yamt 	/* 422 */	"#422 (excluded __lfs_segwait50)",
    509  1.215.2.1      yamt #endif
    510  1.215.2.1      yamt 	/* 423 */	"__futimes50",
    511  1.215.2.1      yamt 	/* 424 */	"__lutimes50",
    512  1.215.2.1      yamt 	/* 425 */	"__setitimer50",
    513  1.215.2.1      yamt 	/* 426 */	"__getitimer50",
    514  1.215.2.1      yamt 	/* 427 */	"__clock_gettime50",
    515  1.215.2.1      yamt 	/* 428 */	"__clock_settime50",
    516  1.215.2.1      yamt 	/* 429 */	"__clock_getres50",
    517  1.215.2.1      yamt 	/* 430 */	"__nanosleep50",
    518  1.215.2.1      yamt 	/* 431 */	"____sigtimedwait50",
    519  1.215.2.1      yamt 	/* 432 */	"__mq_timedsend50",
    520  1.215.2.1      yamt 	/* 433 */	"__mq_timedreceive50",
    521  1.215.2.1      yamt 	/* 434 */	"___lwp_park50",
    522  1.215.2.1      yamt 	/* 435 */	"__kevent50",
    523  1.215.2.1      yamt 	/* 436 */	"__pselect50",
    524  1.215.2.1      yamt 	/* 437 */	"__pollts50",
    525  1.215.2.1      yamt 	/* 438 */	"__aio_suspend50",
    526  1.215.2.1      yamt 	/* 439 */	"__stat50",
    527  1.215.2.1      yamt 	/* 440 */	"__fstat50",
    528  1.215.2.1      yamt 	/* 441 */	"__lstat50",
    529  1.215.2.1      yamt #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    530  1.215.2.1      yamt 	/* 442 */	"____semctl50",
    531  1.215.2.1      yamt #else
    532  1.215.2.1      yamt 	/* 442 */	"#442 (excluded ____semctl50)",
    533  1.215.2.1      yamt #endif
    534  1.215.2.1      yamt #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    535  1.215.2.1      yamt 	/* 443 */	"__shmctl50",
    536  1.215.2.1      yamt #else
    537  1.215.2.1      yamt 	/* 443 */	"#443 (excluded ____shmctl50)",
    538  1.215.2.1      yamt #endif
    539  1.215.2.1      yamt #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    540  1.215.2.1      yamt 	/* 444 */	"__msgctl50",
    541  1.215.2.1      yamt #else
    542  1.215.2.1      yamt 	/* 444 */	"#444 (excluded ____msgctl50)",
    543  1.215.2.1      yamt #endif
    544  1.215.2.1      yamt 	/* 445 */	"__getrusage50",
    545  1.215.2.1      yamt 	/* 446 */	"__timer_settime50",
    546  1.215.2.1      yamt 	/* 447 */	"__timer_gettime50",
    547  1.215.2.1      yamt #if defined(NTP) || !defined(_KERNEL_OPT)
    548  1.215.2.1      yamt 	/* 448 */	"__ntp_gettime50",
    549  1.215.2.1      yamt #else
    550  1.215.2.1      yamt 	/* 448 */	"#448 (excluded ___ntp_gettime50)",
    551  1.215.2.1      yamt #endif
    552  1.215.2.1      yamt 	/* 449 */	"__wait450",
    553  1.215.2.1      yamt 	/* 450 */	"__mknod50",
    554  1.215.2.1      yamt 	/* 451 */	"__fhstat50",
    555        1.1       cgd };
    556