Home | History | Annotate | Line # | Download | only in sys
      1 /* $NetBSD: syscall.h,v 1.329 2024/10/09 16:29:11 christos Exp $ */
      2 
      3 /*
      4  * System call numbers.
      5  *
      6  * DO NOT EDIT-- this file is automatically generated.
      7  * created from	NetBSD: syscalls.master,v 1.316 2024/10/09 16:27:28 christos Exp
      8  */
      9 
     10 #ifndef _SYS_SYSCALL_H_
     11 #define	_SYS_SYSCALL_H_
     12 
     13 #define	SYS_MAXSYSARGS	8
     14 
     15 /* syscall: "syscall" ret: "int" args: "int" "..." */
     16 #define	SYS_syscall	0
     17 
     18 /* syscall: "exit" ret: "void" args: "int" */
     19 #define	SYS_exit	1
     20 
     21 /* syscall: "fork" ret: "int" args: */
     22 #define	SYS_fork	2
     23 
     24 /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
     25 #define	SYS_read	3
     26 
     27 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
     28 #define	SYS_write	4
     29 
     30 /* syscall: "open" ret: "int" args: "const char *" "int" "..." */
     31 #define	SYS_open	5
     32 
     33 /* syscall: "close" ret: "int" args: "int" */
     34 #define	SYS_close	6
     35 
     36 /* syscall: "compat_50_wait4" ret: "int" args: "pid_t" "int *" "int" "struct rusage50 *" */
     37 #define	SYS_compat_50_wait4	7
     38 
     39 /* syscall: "compat_43_ocreat" ret: "int" args: "const char *" "mode_t" */
     40 #define	SYS_compat_43_ocreat	8
     41 
     42 /* syscall: "link" ret: "int" args: "const char *" "const char *" */
     43 #define	SYS_link	9
     44 
     45 /* syscall: "unlink" ret: "int" args: "const char *" */
     46 #define	SYS_unlink	10
     47 
     48 				/* 11 is obsolete execv */
     49 /* syscall: "chdir" ret: "int" args: "const char *" */
     50 #define	SYS_chdir	12
     51 
     52 /* syscall: "fchdir" ret: "int" args: "int" */
     53 #define	SYS_fchdir	13
     54 
     55 /* syscall: "compat_50_mknod" ret: "int" args: "const char *" "mode_t" "uint32_t" */
     56 #define	SYS_compat_50_mknod	14
     57 
     58 /* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
     59 #define	SYS_chmod	15
     60 
     61 /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
     62 #define	SYS_chown	16
     63 
     64 /* syscall: "break" ret: "int" args: "char *" */
     65 #define	SYS_break	17
     66 
     67 /* syscall: "compat_20_getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
     68 #define	SYS_compat_20_getfsstat	18
     69 
     70 /* syscall: "compat_43_olseek" ret: "long" args: "int" "long" "int" */
     71 #define	SYS_compat_43_olseek	19
     72 
     73 /* syscall: "getpid" ret: "pid_t" args: */
     74 #define	SYS_getpid	20
     75 
     76 /* syscall: "compat_40_mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
     77 #define	SYS_compat_40_mount	21
     78 
     79 /* syscall: "unmount" ret: "int" args: "const char *" "int" */
     80 #define	SYS_unmount	22
     81 
     82 /* syscall: "setuid" ret: "int" args: "uid_t" */
     83 #define	SYS_setuid	23
     84 
     85 /* syscall: "getuid" ret: "uid_t" args: */
     86 #define	SYS_getuid	24
     87 
     88 /* syscall: "geteuid" ret: "uid_t" args: */
     89 #define	SYS_geteuid	25
     90 
     91 /* syscall: "ptrace" ret: "int" args: "int" "pid_t" "void *" "int" */
     92 #define	SYS_ptrace	26
     93 
     94 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
     95 #define	SYS_recvmsg	27
     96 
     97 /* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
     98 #define	SYS_sendmsg	28
     99 
    100 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "socklen_t *" */
    101 #define	SYS_recvfrom	29
    102 
    103 /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
    104 #define	SYS_accept	30
    105 
    106 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
    107 #define	SYS_getpeername	31
    108 
    109 /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
    110 #define	SYS_getsockname	32
    111 
    112 /* syscall: "access" ret: "int" args: "const char *" "int" */
    113 #define	SYS_access	33
    114 
    115 /* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
    116 #define	SYS_chflags	34
    117 
    118 /* syscall: "fchflags" ret: "int" args: "int" "u_long" */
    119 #define	SYS_fchflags	35
    120 
    121 /* syscall: "sync" ret: "void" args: */
    122 #define	SYS_sync	36
    123 
    124 /* syscall: "kill" ret: "int" args: "pid_t" "int" */
    125 #define	SYS_kill	37
    126 
    127 /* syscall: "compat_43_stat43" ret: "int" args: "const char *" "struct stat43 *" */
    128 #define	SYS_compat_43_stat43	38
    129 
    130 /* syscall: "getppid" ret: "pid_t" args: */
    131 #define	SYS_getppid	39
    132 
    133 /* syscall: "compat_43_lstat43" ret: "int" args: "const char *" "struct stat43 *" */
    134 #define	SYS_compat_43_lstat43	40
    135 
    136 /* syscall: "dup" ret: "int" args: "int" */
    137 #define	SYS_dup	41
    138 
    139 /* syscall: "pipe" ret: "int" args: */
    140 #define	SYS_pipe	42
    141 
    142 /* syscall: "getegid" ret: "gid_t" args: */
    143 #define	SYS_getegid	43
    144 
    145 /* syscall: "profil" ret: "int" args: "char *" "size_t" "u_long" "u_int" */
    146 #define	SYS_profil	44
    147 
    148 /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "pid_t" */
    149 #define	SYS_ktrace	45
    150 
    151 /* syscall: "compat_13_sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
    152 #define	SYS_compat_13_sigaction13	46
    153 
    154 /* syscall: "getgid" ret: "gid_t" args: */
    155 #define	SYS_getgid	47
    156 
    157 /* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
    158 #define	SYS_compat_13_sigprocmask13	48
    159 
    160 /* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
    161 #define	SYS___getlogin	49
    162 
    163 /* syscall: "__setlogin" ret: "int" args: "const char *" */
    164 #define	SYS___setlogin	50
    165 
    166 /* syscall: "acct" ret: "int" args: "const char *" */
    167 #define	SYS_acct	51
    168 
    169 /* syscall: "compat_13_sigpending13" ret: "int" args: */
    170 #define	SYS_compat_13_sigpending13	52
    171 
    172 /* syscall: "compat_13_sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
    173 #define	SYS_compat_13_sigaltstack13	53
    174 
    175 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
    176 #define	SYS_ioctl	54
    177 
    178 /* syscall: "compat_12_oreboot" ret: "int" args: "int" */
    179 #define	SYS_compat_12_oreboot	55
    180 
    181 /* syscall: "revoke" ret: "int" args: "const char *" */
    182 #define	SYS_revoke	56
    183 
    184 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
    185 #define	SYS_symlink	57
    186 
    187 /* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "size_t" */
    188 #define	SYS_readlink	58
    189 
    190 /* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
    191 #define	SYS_execve	59
    192 
    193 /* syscall: "umask" ret: "mode_t" args: "mode_t" */
    194 #define	SYS_umask	60
    195 
    196 /* syscall: "chroot" ret: "int" args: "const char *" */
    197 #define	SYS_chroot	61
    198 
    199 /* syscall: "compat_43_fstat43" ret: "int" args: "int" "struct stat43 *" */
    200 #define	SYS_compat_43_fstat43	62
    201 
    202 /* syscall: "compat_43_ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
    203 #define	SYS_compat_43_ogetkerninfo	63
    204 
    205 /* syscall: "compat_43_ogetpagesize" ret: "int" args: */
    206 #define	SYS_compat_43_ogetpagesize	64
    207 
    208 /* syscall: "compat_12_msync" ret: "int" args: "void *" "size_t" */
    209 #define	SYS_compat_12_msync	65
    210 
    211 /* syscall: "vfork" ret: "int" args: */
    212 #define	SYS_vfork	66
    213 
    214 				/* 67 is obsolete vread */
    215 				/* 68 is obsolete vwrite */
    216 				/* 69 is obsolete sbrk */
    217 				/* 70 is obsolete sstk */
    218 /* syscall: "compat_43_ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
    219 #define	SYS_compat_43_ommap	71
    220 
    221 /* syscall: "vadvise" ret: "int" args: "int" */
    222 #define	SYS_vadvise	72
    223 
    224 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */
    225 #define	SYS_munmap	73
    226 
    227 /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
    228 #define	SYS_mprotect	74
    229 
    230 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
    231 #define	SYS_madvise	75
    232 
    233 				/* 76 is obsolete vhangup */
    234 				/* 77 is obsolete vlimit */
    235 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
    236 #define	SYS_mincore	78
    237 
    238 /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
    239 #define	SYS_getgroups	79
    240 
    241 /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
    242 #define	SYS_setgroups	80
    243 
    244 /* syscall: "getpgrp" ret: "int" args: */
    245 #define	SYS_getpgrp	81
    246 
    247 /* syscall: "setpgid" ret: "int" args: "pid_t" "pid_t" */
    248 #define	SYS_setpgid	82
    249 
    250 /* syscall: "compat_50_setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */
    251 #define	SYS_compat_50_setitimer	83
    252 
    253 /* syscall: "compat_43_owait" ret: "int" args: */
    254 #define	SYS_compat_43_owait	84
    255 
    256 /* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */
    257 #define	SYS_compat_12_oswapon	85
    258 
    259 /* syscall: "compat_50_getitimer" ret: "int" args: "int" "struct itimerval50 *" */
    260 #define	SYS_compat_50_getitimer	86
    261 
    262 /* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */
    263 #define	SYS_compat_43_ogethostname	87
    264 
    265 /* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */
    266 #define	SYS_compat_43_osethostname	88
    267 
    268 /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
    269 #define	SYS_compat_43_ogetdtablesize	89
    270 
    271 /* syscall: "dup2" ret: "int" args: "int" "int" */
    272 #define	SYS_dup2	90
    273 
    274 /* syscall: "getrandom" ret: "ssize_t" args: "void *" "size_t" "unsigned int" */
    275 #define	SYS_getrandom	91
    276 
    277 /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
    278 #define	SYS_fcntl	92
    279 
    280 /* syscall: "compat_50_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
    281 #define	SYS_compat_50_select	93
    282 
    283 /* syscall: "fsync" ret: "int" args: "int" */
    284 #define	SYS_fsync	95
    285 
    286 /* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */
    287 #define	SYS_setpriority	96
    288 
    289 /* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */
    290 #define	SYS_compat_30_socket	97
    291 
    292 /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
    293 #define	SYS_connect	98
    294 
    295 /* syscall: "compat_43_oaccept" ret: "int" args: "int" "void *" "socklen_t *" */
    296 #define	SYS_compat_43_oaccept	99
    297 
    298 /* syscall: "getpriority" ret: "int" args: "int" "id_t" */
    299 #define	SYS_getpriority	100
    300 
    301 /* syscall: "compat_43_osend" ret: "int" args: "int" "void *" "int" "int" */
    302 #define	SYS_compat_43_osend	101
    303 
    304 /* syscall: "compat_43_orecv" ret: "int" args: "int" "void *" "int" "int" */
    305 #define	SYS_compat_43_orecv	102
    306 
    307 /* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */
    308 #define	SYS_compat_13_sigreturn13	103
    309 
    310 /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */
    311 #define	SYS_bind	104
    312 
    313 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */
    314 #define	SYS_setsockopt	105
    315 
    316 /* syscall: "listen" ret: "int" args: "int" "int" */
    317 #define	SYS_listen	106
    318 
    319 				/* 107 is obsolete vtimes */
    320 /* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
    321 #define	SYS_compat_43_osigvec	108
    322 
    323 /* syscall: "compat_43_osigblock" ret: "int" args: "int" */
    324 #define	SYS_compat_43_osigblock	109
    325 
    326 /* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */
    327 #define	SYS_compat_43_osigsetmask	110
    328 
    329 /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
    330 #define	SYS_compat_13_sigsuspend13	111
    331 
    332 /* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
    333 #define	SYS_compat_43_osigstack	112
    334 
    335 /* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
    336 #define	SYS_compat_43_orecvmsg	113
    337 
    338 /* syscall: "compat_43_osendmsg" ret: "int" args: "int" "void *" "int" */
    339 #define	SYS_compat_43_osendmsg	114
    340 
    341 				/* 115 is obsolete vtrace */
    342 /* syscall: "compat_50_gettimeofday" ret: "int" args: "struct timeval50 *" "void *" */
    343 #define	SYS_compat_50_gettimeofday	116
    344 
    345 /* syscall: "compat_50_getrusage" ret: "int" args: "int" "struct rusage50 *" */
    346 #define	SYS_compat_50_getrusage	117
    347 
    348 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
    349 #define	SYS_getsockopt	118
    350 
    351 				/* 119 is obsolete resuba */
    352 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
    353 #define	SYS_readv	120
    354 
    355 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
    356 #define	SYS_writev	121
    357 
    358 /* syscall: "compat_50_settimeofday" ret: "int" args: "const struct timeval50 *" "const void *" */
    359 #define	SYS_compat_50_settimeofday	122
    360 
    361 /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    362 #define	SYS_fchown	123
    363 
    364 /* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
    365 #define	SYS_fchmod	124
    366 
    367 /* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "socklen_t *" */
    368 #define	SYS_compat_43_orecvfrom	125
    369 
    370 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
    371 #define	SYS_setreuid	126
    372 
    373 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
    374 #define	SYS_setregid	127
    375 
    376 /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
    377 #define	SYS_rename	128
    378 
    379 /* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */
    380 #define	SYS_compat_43_otruncate	129
    381 
    382 /* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */
    383 #define	SYS_compat_43_oftruncate	130
    384 
    385 /* syscall: "flock" ret: "int" args: "int" "int" */
    386 #define	SYS_flock	131
    387 
    388 /* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
    389 #define	SYS_mkfifo	132
    390 
    391 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */
    392 #define	SYS_sendto	133
    393 
    394 /* syscall: "shutdown" ret: "int" args: "int" "int" */
    395 #define	SYS_shutdown	134
    396 
    397 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
    398 #define	SYS_socketpair	135
    399 
    400 /* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
    401 #define	SYS_mkdir	136
    402 
    403 /* syscall: "rmdir" ret: "int" args: "const char *" */
    404 #define	SYS_rmdir	137
    405 
    406 /* syscall: "compat_50_utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
    407 #define	SYS_compat_50_utimes	138
    408 
    409 				/* 139 is obsolete 4.2 sigreturn */
    410 /* syscall: "compat_50_adjtime" ret: "int" args: "const struct timeval50 *" "struct timeval50 *" */
    411 #define	SYS_compat_50_adjtime	140
    412 
    413 /* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "void *" "socklen_t *" */
    414 #define	SYS_compat_43_ogetpeername	141
    415 
    416 /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
    417 #define	SYS_compat_43_ogethostid	142
    418 
    419 /* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */
    420 #define	SYS_compat_43_osethostid	143
    421 
    422 /* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */
    423 #define	SYS_compat_43_ogetrlimit	144
    424 
    425 /* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */
    426 #define	SYS_compat_43_osetrlimit	145
    427 
    428 /* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */
    429 #define	SYS_compat_43_okillpg	146
    430 
    431 /* syscall: "setsid" ret: "int" args: */
    432 #define	SYS_setsid	147
    433 
    434 /* syscall: "compat_50_quotactl" ret: "int" args: "const char *" "int" "int" "void *" */
    435 #define	SYS_compat_50_quotactl	148
    436 
    437 /* syscall: "compat_43_oquota" ret: "int" args: */
    438 #define	SYS_compat_43_oquota	149
    439 
    440 /* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "void *" "socklen_t *" */
    441 #define	SYS_compat_43_ogetsockname	150
    442 
    443 /* syscall: "nfssvc" ret: "int" args: "int" "void *" */
    444 #define	SYS_nfssvc	155
    445 
    446 /* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
    447 #define	SYS_compat_43_ogetdirentries	156
    448 
    449 /* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */
    450 #define	SYS_compat_20_statfs	157
    451 
    452 /* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */
    453 #define	SYS_compat_20_fstatfs	158
    454 
    455 /* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */
    456 #define	SYS_compat_30_getfh	161
    457 
    458 /* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */
    459 #define	SYS_compat_09_ogetdomainname	162
    460 
    461 /* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */
    462 #define	SYS_compat_09_osetdomainname	163
    463 
    464 /* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */
    465 #define	SYS_compat_09_ouname	164
    466 
    467 /* syscall: "sysarch" ret: "int" args: "int" "void *" */
    468 #define	SYS_sysarch	165
    469 
    470 /* syscall: "__futex" ret: "int" args: "int *" "int" "int" "const struct timespec *" "int *" "int" "int" */
    471 #define	SYS___futex	166
    472 
    473 /* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
    474 #define	SYS___futex_set_robust_list	167
    475 
    476 /* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
    477 #define	SYS___futex_get_robust_list	168
    478 
    479 #if !defined(_LP64)
    480 /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
    481 #define	SYS_compat_10_osemsys	169
    482 
    483 #else
    484 				/* 169 is excluded 1.0 semsys */
    485 #endif
    486 #if !defined(_LP64)
    487 /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
    488 #define	SYS_compat_10_omsgsys	170
    489 
    490 #else
    491 				/* 170 is excluded 1.0 msgsys */
    492 #endif
    493 #if !defined(_LP64)
    494 /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
    495 #define	SYS_compat_10_oshmsys	171
    496 
    497 #else
    498 				/* 171 is excluded 1.0 shmsys */
    499 #endif
    500 /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
    501 #define	SYS_pread	173
    502 
    503 /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
    504 #define	SYS_pwrite	174
    505 
    506 /* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */
    507 #define	SYS_compat_30_ntp_gettime	175
    508 
    509 #if defined(NTP) || !defined(_KERNEL_OPT)
    510 /* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
    511 #define	SYS_ntp_adjtime	176
    512 
    513 #else
    514 				/* 176 is excluded ntp_adjtime */
    515 #endif
    516 /* syscall: "timerfd_create" ret: "int" args: "clockid_t" "int" */
    517 #define	SYS_timerfd_create	177
    518 
    519 /* syscall: "timerfd_settime" ret: "int" args: "int" "int" "const struct itimerspec *" "struct itimerspec *" */
    520 #define	SYS_timerfd_settime	178
    521 
    522 /* syscall: "timerfd_gettime" ret: "int" args: "int" "struct itimerspec *" */
    523 #define	SYS_timerfd_gettime	179
    524 
    525 /* syscall: "setgid" ret: "int" args: "gid_t" */
    526 #define	SYS_setgid	181
    527 
    528 /* syscall: "setegid" ret: "int" args: "gid_t" */
    529 #define	SYS_setegid	182
    530 
    531 /* syscall: "seteuid" ret: "int" args: "uid_t" */
    532 #define	SYS_seteuid	183
    533 
    534 /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
    535 #define	SYS_lfs_bmapv	184
    536 
    537 /* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
    538 #define	SYS_lfs_markv	185
    539 
    540 /* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
    541 #define	SYS_lfs_segclean	186
    542 
    543 /* syscall: "compat_50_lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval50 *" */
    544 #define	SYS_compat_50_lfs_segwait	187
    545 
    546 /* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */
    547 #define	SYS_compat_12_stat12	188
    548 
    549 /* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */
    550 #define	SYS_compat_12_fstat12	189
    551 
    552 /* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */
    553 #define	SYS_compat_12_lstat12	190
    554 
    555 /* syscall: "pathconf" ret: "long" args: "const char *" "int" */
    556 #define	SYS_pathconf	191
    557 
    558 /* syscall: "fpathconf" ret: "long" args: "int" "int" */
    559 #define	SYS_fpathconf	192
    560 
    561 /* syscall: "getsockopt2" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */
    562 #define	SYS_getsockopt2	193
    563 
    564 /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
    565 #define	SYS_getrlimit	194
    566 
    567 /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
    568 #define	SYS_setrlimit	195
    569 
    570 /* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
    571 #define	SYS_compat_12_getdirentries	196
    572 
    573 /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
    574 #define	SYS_mmap	197
    575 
    576 /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
    577 #define	SYS___syscall	198
    578 
    579 /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
    580 #define	SYS_lseek	199
    581 
    582 /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
    583 #define	SYS_truncate	200
    584 
    585 /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
    586 #define	SYS_ftruncate	201
    587 
    588 /* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */
    589 #define	SYS___sysctl	202
    590 
    591 /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
    592 #define	SYS_mlock	203
    593 
    594 /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
    595 #define	SYS_munlock	204
    596 
    597 /* syscall: "undelete" ret: "int" args: "const char *" */
    598 #define	SYS_undelete	205
    599 
    600 /* syscall: "compat_50_futimes" ret: "int" args: "int" "const struct timeval50 *" */
    601 #define	SYS_compat_50_futimes	206
    602 
    603 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
    604 #define	SYS_getpgid	207
    605 
    606 /* syscall: "reboot" ret: "int" args: "int" "char *" */
    607 #define	SYS_reboot	208
    608 
    609 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
    610 #define	SYS_poll	209
    611 
    612 /* syscall: "afssys" ret: "int" args: "long" "long" "long" "long" "long" "long" "long" */
    613 #define	SYS_afssys	210
    614 
    615 /* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
    616 #define	SYS_compat_14___semctl	220
    617 
    618 /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
    619 #define	SYS_semget	221
    620 
    621 /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
    622 #define	SYS_semop	222
    623 
    624 /* syscall: "semconfig" ret: "int" args: "int" */
    625 #define	SYS_semconfig	223
    626 
    627 /* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */
    628 #define	SYS_compat_14_msgctl	224
    629 
    630 /* syscall: "msgget" ret: "int" args: "key_t" "int" */
    631 #define	SYS_msgget	225
    632 
    633 /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
    634 #define	SYS_msgsnd	226
    635 
    636 /* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */
    637 #define	SYS_msgrcv	227
    638 
    639 /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
    640 #define	SYS_shmat	228
    641 
    642 /* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
    643 #define	SYS_compat_14_shmctl	229
    644 
    645 /* syscall: "shmdt" ret: "int" args: "const void *" */
    646 #define	SYS_shmdt	230
    647 
    648 /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
    649 #define	SYS_shmget	231
    650 
    651 /* syscall: "compat_50_clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */
    652 #define	SYS_compat_50_clock_gettime	232
    653 
    654 /* syscall: "compat_50_clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */
    655 #define	SYS_compat_50_clock_settime	233
    656 
    657 /* syscall: "compat_50_clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */
    658 #define	SYS_compat_50_clock_getres	234
    659 
    660 /* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */
    661 #define	SYS_timer_create	235
    662 
    663 /* syscall: "timer_delete" ret: "int" args: "timer_t" */
    664 #define	SYS_timer_delete	236
    665 
    666 /* syscall: "compat_50_timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec50 *" "struct itimerspec50 *" */
    667 #define	SYS_compat_50_timer_settime	237
    668 
    669 /* syscall: "compat_50_timer_gettime" ret: "int" args: "timer_t" "struct itimerspec50 *" */
    670 #define	SYS_compat_50_timer_gettime	238
    671 
    672 /* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
    673 #define	SYS_timer_getoverrun	239
    674 
    675 /* syscall: "compat_50_nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */
    676 #define	SYS_compat_50_nanosleep	240
    677 
    678 /* syscall: "fdatasync" ret: "int" args: "int" */
    679 #define	SYS_fdatasync	241
    680 
    681 /* syscall: "mlockall" ret: "int" args: "int" */
    682 #define	SYS_mlockall	242
    683 
    684 /* syscall: "munlockall" ret: "int" args: */
    685 #define	SYS_munlockall	243
    686 
    687 /* syscall: "compat_50___sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec50 *" */
    688 #define	SYS_compat_50___sigtimedwait	244
    689 
    690 /* syscall: "sigqueueinfo" ret: "int" args: "pid_t" "const siginfo_t *" */
    691 #define	SYS_sigqueueinfo	245
    692 
    693 /* syscall: "modctl" ret: "int" args: "int" "void *" */
    694 #define	SYS_modctl	246
    695 
    696 /* syscall: "_ksem_init" ret: "int" args: "unsigned int" "intptr_t *" */
    697 #define	SYS__ksem_init	247
    698 
    699 /* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "intptr_t *" */
    700 #define	SYS__ksem_open	248
    701 
    702 /* syscall: "_ksem_unlink" ret: "int" args: "const char *" */
    703 #define	SYS__ksem_unlink	249
    704 
    705 /* syscall: "_ksem_close" ret: "int" args: "intptr_t" */
    706 #define	SYS__ksem_close	250
    707 
    708 /* syscall: "_ksem_post" ret: "int" args: "intptr_t" */
    709 #define	SYS__ksem_post	251
    710 
    711 /* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */
    712 #define	SYS__ksem_wait	252
    713 
    714 /* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */
    715 #define	SYS__ksem_trywait	253
    716 
    717 /* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */
    718 #define	SYS__ksem_getvalue	254
    719 
    720 /* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */
    721 #define	SYS__ksem_destroy	255
    722 
    723 /* syscall: "_ksem_timedwait" ret: "int" args: "intptr_t" "const struct timespec *" */
    724 #define	SYS__ksem_timedwait	256
    725 
    726 /* syscall: "mq_open" ret: "mqd_t" args: "const char *" "int" "mode_t" "struct mq_attr *" */
    727 #define	SYS_mq_open	257
    728 
    729 /* syscall: "mq_close" ret: "int" args: "mqd_t" */
    730 #define	SYS_mq_close	258
    731 
    732 /* syscall: "mq_unlink" ret: "int" args: "const char *" */
    733 #define	SYS_mq_unlink	259
    734 
    735 /* syscall: "mq_getattr" ret: "int" args: "mqd_t" "struct mq_attr *" */
    736 #define	SYS_mq_getattr	260
    737 
    738 /* syscall: "mq_setattr" ret: "int" args: "mqd_t" "const struct mq_attr *" "struct mq_attr *" */
    739 #define	SYS_mq_setattr	261
    740 
    741 /* syscall: "mq_notify" ret: "int" args: "mqd_t" "const struct sigevent *" */
    742 #define	SYS_mq_notify	262
    743 
    744 /* syscall: "mq_send" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" */
    745 #define	SYS_mq_send	263
    746 
    747 /* syscall: "mq_receive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" */
    748 #define	SYS_mq_receive	264
    749 
    750 /* syscall: "compat_50_mq_timedsend" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec50 *" */
    751 #define	SYS_compat_50_mq_timedsend	265
    752 
    753 /* syscall: "compat_50_mq_timedreceive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec50 *" */
    754 #define	SYS_compat_50_mq_timedreceive	266
    755 
    756 /* syscall: "eventfd" ret: "int" args: "unsigned int" "int" */
    757 #define	SYS_eventfd	267
    758 
    759 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
    760 #define	SYS___posix_rename	270
    761 
    762 /* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */
    763 #define	SYS_swapctl	271
    764 
    765 /* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */
    766 #define	SYS_compat_30_getdents	272
    767 
    768 /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
    769 #define	SYS_minherit	273
    770 
    771 /* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */
    772 #define	SYS_lchmod	274
    773 
    774 /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
    775 #define	SYS_lchown	275
    776 
    777 /* syscall: "compat_50_lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */
    778 #define	SYS_compat_50_lutimes	276
    779 
    780 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
    781 #define	SYS___msync13	277
    782 
    783 /* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */
    784 #define	SYS_compat_30___stat13	278
    785 
    786 /* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */
    787 #define	SYS_compat_30___fstat13	279
    788 
    789 /* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */
    790 #define	SYS_compat_30___lstat13	280
    791 
    792 /* syscall: "__sigaltstack14" ret: "int" args: "const stack_t *" "stack_t *" */
    793 #define	SYS___sigaltstack14	281
    794 
    795 /* syscall: "__vfork14" ret: "int" args: */
    796 #define	SYS___vfork14	282
    797 
    798 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
    799 #define	SYS___posix_chown	283
    800 
    801 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
    802 #define	SYS___posix_fchown	284
    803 
    804 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
    805 #define	SYS___posix_lchown	285
    806 
    807 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
    808 #define	SYS_getsid	286
    809 
    810 /* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
    811 #define	SYS___clone	287
    812 
    813 /* syscall: "fktrace" ret: "int" args: "int" "int" "int" "pid_t" */
    814 #define	SYS_fktrace	288
    815 
    816 /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
    817 #define	SYS_preadv	289
    818 
    819 /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
    820 #define	SYS_pwritev	290
    821 
    822 /* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
    823 #define	SYS_compat_16___sigaction14	291
    824 
    825 /* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */
    826 #define	SYS___sigpending14	292
    827 
    828 /* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
    829 #define	SYS___sigprocmask14	293
    830 
    831 /* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
    832 #define	SYS___sigsuspend14	294
    833 
    834 /* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */
    835 #define	SYS_compat_16___sigreturn14	295
    836 
    837 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
    838 #define	SYS___getcwd	296
    839 
    840 /* syscall: "fchroot" ret: "int" args: "int" */
    841 #define	SYS_fchroot	297
    842 
    843 /* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */
    844 #define	SYS_compat_30_fhopen	298
    845 
    846 /* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */
    847 #define	SYS_compat_30_fhstat	299
    848 
    849 /* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */
    850 #define	SYS_compat_20_fhstatfs	300
    851 
    852 /* syscall: "compat_50_____semctl13" ret: "int" args: "int" "int" "int" "..." */
    853 #define	SYS_compat_50_____semctl13	301
    854 
    855 /* syscall: "compat_50___msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */
    856 #define	SYS_compat_50___msgctl13	302
    857 
    858 /* syscall: "compat_50___shmctl13" ret: "int" args: "int" "int" "struct shmid_ds13 *" */
    859 #define	SYS_compat_50___shmctl13	303
    860 
    861 /* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
    862 #define	SYS_lchflags	304
    863 
    864 /* syscall: "issetugid" ret: "int" args: */
    865 #define	SYS_issetugid	305
    866 
    867 /* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */
    868 #define	SYS_utrace	306
    869 
    870 /* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */
    871 #define	SYS_getcontext	307
    872 
    873 /* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */
    874 #define	SYS_setcontext	308
    875 
    876 /* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */
    877 #define	SYS__lwp_create	309
    878 
    879 /* syscall: "_lwp_exit" ret: "int" args: */
    880 #define	SYS__lwp_exit	310
    881 
    882 /* syscall: "_lwp_self" ret: "lwpid_t" args: */
    883 #define	SYS__lwp_self	311
    884 
    885 /* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */
    886 #define	SYS__lwp_wait	312
    887 
    888 /* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */
    889 #define	SYS__lwp_suspend	313
    890 
    891 /* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */
    892 #define	SYS__lwp_continue	314
    893 
    894 /* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */
    895 #define	SYS__lwp_wakeup	315
    896 
    897 /* syscall: "_lwp_getprivate" ret: "void *" args: */
    898 #define	SYS__lwp_getprivate	316
    899 
    900 /* syscall: "_lwp_setprivate" ret: "void" args: "void *" */
    901 #define	SYS__lwp_setprivate	317
    902 
    903 /* syscall: "_lwp_kill" ret: "int" args: "lwpid_t" "int" */
    904 #define	SYS__lwp_kill	318
    905 
    906 /* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */
    907 #define	SYS__lwp_detach	319
    908 
    909 /* syscall: "compat_50__lwp_park" ret: "int" args: "const struct timespec50 *" "lwpid_t" "const void *" "const void *" */
    910 #define	SYS_compat_50__lwp_park	320
    911 
    912 /* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */
    913 #define	SYS__lwp_unpark	321
    914 
    915 /* syscall: "_lwp_unpark_all" ret: "ssize_t" args: "const lwpid_t *" "size_t" "const void *" */
    916 #define	SYS__lwp_unpark_all	322
    917 
    918 /* syscall: "_lwp_setname" ret: "int" args: "lwpid_t" "const char *" */
    919 #define	SYS__lwp_setname	323
    920 
    921 /* syscall: "_lwp_getname" ret: "int" args: "lwpid_t" "char *" "size_t" */
    922 #define	SYS__lwp_getname	324
    923 
    924 /* syscall: "_lwp_ctl" ret: "int" args: "int" "struct lwpctl **" */
    925 #define	SYS__lwp_ctl	325
    926 
    927 /* syscall: "compat_60_sa_register" ret: "int" args: "void *" "void **" "int" "ssize_t" */
    928 #define	SYS_compat_60_sa_register	330
    929 
    930 /* syscall: "compat_60_sa_stacks" ret: "int" args: "int" "stack_t *" */
    931 #define	SYS_compat_60_sa_stacks	331
    932 
    933 /* syscall: "compat_60_sa_enable" ret: "int" args: */
    934 #define	SYS_compat_60_sa_enable	332
    935 
    936 /* syscall: "compat_60_sa_setconcurrency" ret: "int" args: "int" */
    937 #define	SYS_compat_60_sa_setconcurrency	333
    938 
    939 /* syscall: "compat_60_sa_yield" ret: "int" args: */
    940 #define	SYS_compat_60_sa_yield	334
    941 
    942 /* syscall: "compat_60_sa_preempt" ret: "int" args: "int" */
    943 #define	SYS_compat_60_sa_preempt	335
    944 
    945 				/* 336 is obsolete sys_sa_unblockyield */
    946 /* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */
    947 #define	SYS___sigaction_sigtramp	340
    948 
    949 				/* 341 is obsolete sys_pmc_get_info */
    950 				/* 342 is obsolete sys_pmc_control */
    951 /* syscall: "rasctl" ret: "int" args: "void *" "size_t" "int" */
    952 #define	SYS_rasctl	343
    953 
    954 /* syscall: "kqueue" ret: "int" args: */
    955 #define	SYS_kqueue	344
    956 
    957 /* syscall: "compat_50_kevent" ret: "int" args: "int" "const struct kevent100 *" "size_t" "struct kevent100 *" "size_t" "const struct timespec50 *" */
    958 #define	SYS_compat_50_kevent	345
    959 
    960 /* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const struct sched_param *" */
    961 #define	SYS__sched_setparam	346
    962 
    963 /* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "int *" "struct sched_param *" */
    964 #define	SYS__sched_getparam	347
    965 
    966 /* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "const cpuset_t *" */
    967 #define	SYS__sched_setaffinity	348
    968 
    969 /* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "cpuset_t *" */
    970 #define	SYS__sched_getaffinity	349
    971 
    972 /* syscall: "sched_yield" ret: "int" args: */
    973 #define	SYS_sched_yield	350
    974 
    975 /* syscall: "_sched_protect" ret: "int" args: "int" */
    976 #define	SYS__sched_protect	351
    977 
    978 /* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
    979 #define	SYS_fsync_range	354
    980 
    981 /* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */
    982 #define	SYS_uuidgen	355
    983 
    984 /* syscall: "compat_90_getvfsstat" ret: "int" args: "struct statvfs90 *" "size_t" "int" */
    985 #define	SYS_compat_90_getvfsstat	356
    986 
    987 /* syscall: "compat_90_statvfs1" ret: "int" args: "const char *" "struct statvfs90 *" "int" */
    988 #define	SYS_compat_90_statvfs1	357
    989 
    990 /* syscall: "compat_90_fstatvfs1" ret: "int" args: "int" "struct statvfs90 *" "int" */
    991 #define	SYS_compat_90_fstatvfs1	358
    992 
    993 /* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs90 *" "int" */
    994 #define	SYS_compat_30_fhstatvfs1	359
    995 
    996 /* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
    997 #define	SYS_extattrctl	360
    998 
    999 /* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
   1000 #define	SYS_extattr_set_file	361
   1001 
   1002 /* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
   1003 #define	SYS_extattr_get_file	362
   1004 
   1005 /* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */
   1006 #define	SYS_extattr_delete_file	363
   1007 
   1008 /* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */
   1009 #define	SYS_extattr_set_fd	364
   1010 
   1011 /* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */
   1012 #define	SYS_extattr_get_fd	365
   1013 
   1014 /* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */
   1015 #define	SYS_extattr_delete_fd	366
   1016 
   1017 /* syscall: "extattr_set_link" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
   1018 #define	SYS_extattr_set_link	367
   1019 
   1020 /* syscall: "extattr_get_link" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
   1021 #define	SYS_extattr_get_link	368
   1022 
   1023 /* syscall: "extattr_delete_link" ret: "int" args: "const char *" "int" "const char *" */
   1024 #define	SYS_extattr_delete_link	369
   1025 
   1026 /* syscall: "extattr_list_fd" ret: "ssize_t" args: "int" "int" "void *" "size_t" */
   1027 #define	SYS_extattr_list_fd	370
   1028 
   1029 /* syscall: "extattr_list_file" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */
   1030 #define	SYS_extattr_list_file	371
   1031 
   1032 /* syscall: "extattr_list_link" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */
   1033 #define	SYS_extattr_list_link	372
   1034 
   1035 /* syscall: "compat_50_pselect" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec50 *" "const sigset_t *" */
   1036 #define	SYS_compat_50_pselect	373
   1037 
   1038 /* syscall: "compat_50_pollts" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec50 *" "const sigset_t *" */
   1039 #define	SYS_compat_50_pollts	374
   1040 
   1041 /* syscall: "setxattr" ret: "int" args: "const char *" "const char *" "const void *" "size_t" "int" */
   1042 #define	SYS_setxattr	375
   1043 
   1044 /* syscall: "lsetxattr" ret: "int" args: "const char *" "const char *" "const void *" "size_t" "int" */
   1045 #define	SYS_lsetxattr	376
   1046 
   1047 /* syscall: "fsetxattr" ret: "int" args: "int" "const char *" "const void *" "size_t" "int" */
   1048 #define	SYS_fsetxattr	377
   1049 
   1050 /* syscall: "getxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" */
   1051 #define	SYS_getxattr	378
   1052 
   1053 /* syscall: "lgetxattr" ret: "int" args: "const char *" "const char *" "void *" "size_t" */
   1054 #define	SYS_lgetxattr	379
   1055 
   1056 /* syscall: "fgetxattr" ret: "int" args: "int" "const char *" "void *" "size_t" */
   1057 #define	SYS_fgetxattr	380
   1058 
   1059 /* syscall: "listxattr" ret: "int" args: "const char *" "char *" "size_t" */
   1060 #define	SYS_listxattr	381
   1061 
   1062 /* syscall: "llistxattr" ret: "int" args: "const char *" "char *" "size_t" */
   1063 #define	SYS_llistxattr	382
   1064 
   1065 /* syscall: "flistxattr" ret: "int" args: "int" "char *" "size_t" */
   1066 #define	SYS_flistxattr	383
   1067 
   1068 /* syscall: "removexattr" ret: "int" args: "const char *" "const char *" */
   1069 #define	SYS_removexattr	384
   1070 
   1071 /* syscall: "lremovexattr" ret: "int" args: "const char *" "const char *" */
   1072 #define	SYS_lremovexattr	385
   1073 
   1074 /* syscall: "fremovexattr" ret: "int" args: "int" "const char *" */
   1075 #define	SYS_fremovexattr	386
   1076 
   1077 /* syscall: "compat_50___stat30" ret: "int" args: "const char *" "struct stat30 *" */
   1078 #define	SYS_compat_50___stat30	387
   1079 
   1080 /* syscall: "compat_50___fstat30" ret: "int" args: "int" "struct stat30 *" */
   1081 #define	SYS_compat_50___fstat30	388
   1082 
   1083 /* syscall: "compat_50___lstat30" ret: "int" args: "const char *" "struct stat30 *" */
   1084 #define	SYS_compat_50___lstat30	389
   1085 
   1086 /* syscall: "__getdents30" ret: "int" args: "int" "char *" "size_t" */
   1087 #define	SYS___getdents30	390
   1088 
   1089 				/* 391 is ignored old posix_fadvise */
   1090 /* syscall: "compat_30___fhstat30" ret: "int" args: "const struct compat_30_fhandle *" "struct stat30 *" */
   1091 #define	SYS_compat_30___fhstat30	392
   1092 
   1093 /* syscall: "compat_50___ntp_gettime30" ret: "int" args: "struct ntptimeval50 *" */
   1094 #define	SYS_compat_50___ntp_gettime30	393
   1095 
   1096 /* syscall: "__socket30" ret: "int" args: "int" "int" "int" */
   1097 #define	SYS___socket30	394
   1098 
   1099 /* syscall: "__getfh30" ret: "int" args: "const char *" "void *" "size_t *" */
   1100 #define	SYS___getfh30	395
   1101 
   1102 /* syscall: "__fhopen40" ret: "int" args: "const void *" "size_t" "int" */
   1103 #define	SYS___fhopen40	396
   1104 
   1105 /* syscall: "compat_90_fhstatvfs1" ret: "int" args: "const void *" "size_t" "struct statvfs90 *" "int" */
   1106 #define	SYS_compat_90_fhstatvfs1	397
   1107 
   1108 /* syscall: "compat_50___fhstat40" ret: "int" args: "const void *" "size_t" "struct stat30 *" */
   1109 #define	SYS_compat_50___fhstat40	398
   1110 
   1111 /* syscall: "aio_cancel" ret: "int" args: "int" "struct aiocb *" */
   1112 #define	SYS_aio_cancel	399
   1113 
   1114 /* syscall: "aio_error" ret: "int" args: "const struct aiocb *" */
   1115 #define	SYS_aio_error	400
   1116 
   1117 /* syscall: "aio_fsync" ret: "int" args: "int" "struct aiocb *" */
   1118 #define	SYS_aio_fsync	401
   1119 
   1120 /* syscall: "aio_read" ret: "int" args: "struct aiocb *" */
   1121 #define	SYS_aio_read	402
   1122 
   1123 /* syscall: "aio_return" ret: "int" args: "struct aiocb *" */
   1124 #define	SYS_aio_return	403
   1125 
   1126 /* syscall: "compat_50_aio_suspend" ret: "int" args: "const struct aiocb *const *" "int" "const struct timespec50 *" */
   1127 #define	SYS_compat_50_aio_suspend	404
   1128 
   1129 /* syscall: "aio_write" ret: "int" args: "struct aiocb *" */
   1130 #define	SYS_aio_write	405
   1131 
   1132 /* syscall: "lio_listio" ret: "int" args: "int" "struct aiocb *const *" "int" "struct sigevent *" */
   1133 #define	SYS_lio_listio	406
   1134 
   1135 /* syscall: "__mount50" ret: "int" args: "const char *" "const char *" "int" "void *" "size_t" */
   1136 #define	SYS___mount50	410
   1137 
   1138 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "void *" "size_t" "int" */
   1139 #define	SYS_mremap	411
   1140 
   1141 /* syscall: "pset_create" ret: "int" args: "psetid_t *" */
   1142 #define	SYS_pset_create	412
   1143 
   1144 /* syscall: "pset_destroy" ret: "int" args: "psetid_t" */
   1145 #define	SYS_pset_destroy	413
   1146 
   1147 /* syscall: "pset_assign" ret: "int" args: "psetid_t" "cpuid_t" "psetid_t *" */
   1148 #define	SYS_pset_assign	414
   1149 
   1150 /* syscall: "_pset_bind" ret: "int" args: "idtype_t" "id_t" "id_t" "psetid_t" "psetid_t *" */
   1151 #define	SYS__pset_bind	415
   1152 
   1153 /* syscall: "__posix_fadvise50" ret: "int" args: "int" "int" "off_t" "off_t" "int" */
   1154 #define	SYS___posix_fadvise50	416
   1155 
   1156 /* syscall: "__select50" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
   1157 #define	SYS___select50	417
   1158 
   1159 /* syscall: "__gettimeofday50" ret: "int" args: "struct timeval *" "void *" */
   1160 #define	SYS___gettimeofday50	418
   1161 
   1162 /* syscall: "__settimeofday50" ret: "int" args: "const struct timeval *" "const void *" */
   1163 #define	SYS___settimeofday50	419
   1164 
   1165 /* syscall: "__utimes50" ret: "int" args: "const char *" "const struct timeval *" */
   1166 #define	SYS___utimes50	420
   1167 
   1168 /* syscall: "__adjtime50" ret: "int" args: "const struct timeval *" "struct timeval *" */
   1169 #define	SYS___adjtime50	421
   1170 
   1171 /* syscall: "__lfs_segwait50" ret: "int" args: "fsid_t *" "struct timeval *" */
   1172 #define	SYS___lfs_segwait50	422
   1173 
   1174 /* syscall: "__futimes50" ret: "int" args: "int" "const struct timeval *" */
   1175 #define	SYS___futimes50	423
   1176 
   1177 /* syscall: "__lutimes50" ret: "int" args: "const char *" "const struct timeval *" */
   1178 #define	SYS___lutimes50	424
   1179 
   1180 /* syscall: "__setitimer50" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
   1181 #define	SYS___setitimer50	425
   1182 
   1183 /* syscall: "__getitimer50" ret: "int" args: "int" "struct itimerval *" */
   1184 #define	SYS___getitimer50	426
   1185 
   1186 /* syscall: "__clock_gettime50" ret: "int" args: "clockid_t" "struct timespec *" */
   1187 #define	SYS___clock_gettime50	427
   1188 
   1189 /* syscall: "__clock_settime50" ret: "int" args: "clockid_t" "const struct timespec *" */
   1190 #define	SYS___clock_settime50	428
   1191 
   1192 /* syscall: "__clock_getres50" ret: "int" args: "clockid_t" "struct timespec *" */
   1193 #define	SYS___clock_getres50	429
   1194 
   1195 /* syscall: "__nanosleep50" ret: "int" args: "const struct timespec *" "struct timespec *" */
   1196 #define	SYS___nanosleep50	430
   1197 
   1198 /* syscall: "____sigtimedwait50" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec *" */
   1199 #define	SYS_____sigtimedwait50	431
   1200 
   1201 /* syscall: "__mq_timedsend50" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec *" */
   1202 #define	SYS___mq_timedsend50	432
   1203 
   1204 /* syscall: "__mq_timedreceive50" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec *" */
   1205 #define	SYS___mq_timedreceive50	433
   1206 
   1207 /* syscall: "compat_60__lwp_park" ret: "int" args: "const struct timespec *" "lwpid_t" "const void *" "const void *" */
   1208 #define	SYS_compat_60__lwp_park	434
   1209 
   1210 /* syscall: "compat_100___kevent50" ret: "int" args: "int" "const struct kevent100 *" "size_t" "struct kevent100 *" "size_t" "const struct timespec *" */
   1211 #define	SYS_compat_100___kevent50	435
   1212 
   1213 /* syscall: "__pselect50" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "const struct timespec *" "const sigset_t *" */
   1214 #define	SYS___pselect50	436
   1215 
   1216 /* syscall: "__pollts50" ret: "int" args: "struct pollfd *" "u_int" "const struct timespec *" "const sigset_t *" */
   1217 #define	SYS___pollts50	437
   1218 
   1219 /* syscall: "__aio_suspend50" ret: "int" args: "const struct aiocb *const *" "int" "const struct timespec *" */
   1220 #define	SYS___aio_suspend50	438
   1221 
   1222 /* syscall: "__stat50" ret: "int" args: "const char *" "struct stat *" */
   1223 #define	SYS___stat50	439
   1224 
   1225 /* syscall: "__fstat50" ret: "int" args: "int" "struct stat *" */
   1226 #define	SYS___fstat50	440
   1227 
   1228 /* syscall: "__lstat50" ret: "int" args: "const char *" "struct stat *" */
   1229 #define	SYS___lstat50	441
   1230 
   1231 /* syscall: "____semctl50" ret: "int" args: "int" "int" "int" "..." */
   1232 #define	SYS_____semctl50	442
   1233 
   1234 /* syscall: "__shmctl50" ret: "int" args: "int" "int" "struct shmid_ds *" */
   1235 #define	SYS___shmctl50	443
   1236 
   1237 /* syscall: "__msgctl50" ret: "int" args: "int" "int" "struct msqid_ds *" */
   1238 #define	SYS___msgctl50	444
   1239 
   1240 /* syscall: "__getrusage50" ret: "int" args: "int" "struct rusage *" */
   1241 #define	SYS___getrusage50	445
   1242 
   1243 /* syscall: "__timer_settime50" ret: "int" args: "timer_t" "int" "const struct itimerspec *" "struct itimerspec *" */
   1244 #define	SYS___timer_settime50	446
   1245 
   1246 /* syscall: "__timer_gettime50" ret: "int" args: "timer_t" "struct itimerspec *" */
   1247 #define	SYS___timer_gettime50	447
   1248 
   1249 #if defined(NTP) || !defined(_KERNEL_OPT)
   1250 /* syscall: "__ntp_gettime50" ret: "int" args: "struct ntptimeval *" */
   1251 #define	SYS___ntp_gettime50	448
   1252 
   1253 #else
   1254 				/* 448 is excluded ___ntp_gettime50 */
   1255 #endif
   1256 /* syscall: "__wait450" ret: "int" args: "pid_t" "int *" "int" "struct rusage *" */
   1257 #define	SYS___wait450	449
   1258 
   1259 /* syscall: "__mknod50" ret: "int" args: "const char *" "mode_t" "dev_t" */
   1260 #define	SYS___mknod50	450
   1261 
   1262 /* syscall: "__fhstat50" ret: "int" args: "const void *" "size_t" "struct stat *" */
   1263 #define	SYS___fhstat50	451
   1264 
   1265 				/* 452 is obsolete 5.99 quotactl */
   1266 /* syscall: "pipe2" ret: "int" args: "int *" "int" */
   1267 #define	SYS_pipe2	453
   1268 
   1269 /* syscall: "compat_100_dup3" ret: "int" args: "int" "int" "int" */
   1270 #define	SYS_compat_100_dup3	454
   1271 
   1272 /* syscall: "kqueue1" ret: "int" args: "int" */
   1273 #define	SYS_kqueue1	455
   1274 
   1275 /* syscall: "paccept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" "const sigset_t *" "int" */
   1276 #define	SYS_paccept	456
   1277 
   1278 /* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
   1279 #define	SYS_linkat	457
   1280 
   1281 /* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
   1282 #define	SYS_renameat	458
   1283 
   1284 /* syscall: "mkfifoat" ret: "int" args: "int" "const char *" "mode_t" */
   1285 #define	SYS_mkfifoat	459
   1286 
   1287 /* syscall: "mknodat" ret: "int" args: "int" "const char *" "mode_t" "int" "dev_t" */
   1288 #define	SYS_mknodat	460
   1289 
   1290 /* syscall: "mkdirat" ret: "int" args: "int" "const char *" "mode_t" */
   1291 #define	SYS_mkdirat	461
   1292 
   1293 /* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" "int" */
   1294 #define	SYS_faccessat	462
   1295 
   1296 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "mode_t" "int" */
   1297 #define	SYS_fchmodat	463
   1298 
   1299 /* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
   1300 #define	SYS_fchownat	464
   1301 
   1302 /* syscall: "fexecve" ret: "int" args: "int" "char *const *" "char *const *" */
   1303 #define	SYS_fexecve	465
   1304 
   1305 /* syscall: "fstatat" ret: "int" args: "int" "const char *" "struct stat *" "int" */
   1306 #define	SYS_fstatat	466
   1307 
   1308 /* syscall: "utimensat" ret: "int" args: "int" "const char *" "const struct timespec *" "int" */
   1309 #define	SYS_utimensat	467
   1310 
   1311 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
   1312 #define	SYS_openat	468
   1313 
   1314 /* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */
   1315 #define	SYS_readlinkat	469
   1316 
   1317 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
   1318 #define	SYS_symlinkat	470
   1319 
   1320 /* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
   1321 #define	SYS_unlinkat	471
   1322 
   1323 /* syscall: "futimens" ret: "int" args: "int" "const struct timespec *" */
   1324 #define	SYS_futimens	472
   1325 
   1326 /* syscall: "__quotactl" ret: "int" args: "const char *" "struct quotactl_args *" */
   1327 #define	SYS___quotactl	473
   1328 
   1329 /* syscall: "posix_spawn" ret: "int" args: "pid_t *" "const char *" "const struct posix_spawn_file_actions *" "const struct posix_spawnattr *" "char *const *" "char *const *" */
   1330 #define	SYS_posix_spawn	474
   1331 
   1332 /* syscall: "recvmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "unsigned int" "struct timespec *" */
   1333 #define	SYS_recvmmsg	475
   1334 
   1335 /* syscall: "sendmmsg" ret: "int" args: "int" "struct mmsghdr *" "unsigned int" "unsigned int" */
   1336 #define	SYS_sendmmsg	476
   1337 
   1338 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "const struct timespec *" "struct timespec *" */
   1339 #define	SYS_clock_nanosleep	477
   1340 
   1341 /* syscall: "___lwp_park60" ret: "int" args: "clockid_t" "int" "struct timespec *" "lwpid_t" "const void *" "const void *" */
   1342 #define	SYS____lwp_park60	478
   1343 
   1344 /* syscall: "posix_fallocate" ret: "int" args: "int" "int" "off_t" "off_t" */
   1345 #define	SYS_posix_fallocate	479
   1346 
   1347 /* syscall: "fdiscard" ret: "int" args: "int" "int" "off_t" "off_t" */
   1348 #define	SYS_fdiscard	480
   1349 
   1350 /* syscall: "wait6" ret: "int" args: "idtype_t" "id_t" "int *" "int" "struct wrusage *" "siginfo_t *" */
   1351 #define	SYS_wait6	481
   1352 
   1353 /* syscall: "clock_getcpuclockid2" ret: "int" args: "idtype_t" "id_t" "clockid_t *" */
   1354 #define	SYS_clock_getcpuclockid2	482
   1355 
   1356 /* syscall: "__getvfsstat90" ret: "int" args: "struct statvfs *" "size_t" "int" */
   1357 #define	SYS___getvfsstat90	483
   1358 
   1359 /* syscall: "__statvfs190" ret: "int" args: "const char *" "struct statvfs *" "int" */
   1360 #define	SYS___statvfs190	484
   1361 
   1362 /* syscall: "__fstatvfs190" ret: "int" args: "int" "struct statvfs *" "int" */
   1363 #define	SYS___fstatvfs190	485
   1364 
   1365 /* syscall: "__fhstatvfs190" ret: "int" args: "const void *" "size_t" "struct statvfs *" "int" */
   1366 #define	SYS___fhstatvfs190	486
   1367 
   1368 /* syscall: "__acl_get_link" ret: "int" args: "const char *" "acl_type_t" "struct acl *" */
   1369 #define	SYS___acl_get_link	487
   1370 
   1371 /* syscall: "__acl_set_link" ret: "int" args: "const char *" "acl_type_t" "struct acl *" */
   1372 #define	SYS___acl_set_link	488
   1373 
   1374 /* syscall: "__acl_delete_link" ret: "int" args: "const char *" "acl_type_t" */
   1375 #define	SYS___acl_delete_link	489
   1376 
   1377 /* syscall: "__acl_aclcheck_link" ret: "int" args: "const char *" "acl_type_t" "struct acl *" */
   1378 #define	SYS___acl_aclcheck_link	490
   1379 
   1380 /* syscall: "__acl_get_file" ret: "int" args: "const char *" "acl_type_t" "struct acl *" */
   1381 #define	SYS___acl_get_file	491
   1382 
   1383 /* syscall: "__acl_set_file" ret: "int" args: "const char *" "acl_type_t" "struct acl *" */
   1384 #define	SYS___acl_set_file	492
   1385 
   1386 /* syscall: "__acl_get_fd" ret: "int" args: "int" "acl_type_t" "struct acl *" */
   1387 #define	SYS___acl_get_fd	493
   1388 
   1389 /* syscall: "__acl_set_fd" ret: "int" args: "int" "acl_type_t" "struct acl *" */
   1390 #define	SYS___acl_set_fd	494
   1391 
   1392 /* syscall: "__acl_delete_file" ret: "int" args: "const char *" "acl_type_t" */
   1393 #define	SYS___acl_delete_file	495
   1394 
   1395 /* syscall: "__acl_delete_fd" ret: "int" args: "int" "acl_type_t" */
   1396 #define	SYS___acl_delete_fd	496
   1397 
   1398 /* syscall: "__acl_aclcheck_file" ret: "int" args: "const char *" "acl_type_t" "struct acl *" */
   1399 #define	SYS___acl_aclcheck_file	497
   1400 
   1401 /* syscall: "__acl_aclcheck_fd" ret: "int" args: "int" "acl_type_t" "struct acl *" */
   1402 #define	SYS___acl_aclcheck_fd	498
   1403 
   1404 /* syscall: "lpathconf" ret: "long" args: "const char *" "int" */
   1405 #define	SYS_lpathconf	499
   1406 
   1407 /* syscall: "memfd_create" ret: "int" args: "const char *" "unsigned int" */
   1408 #define	SYS_memfd_create	500
   1409 
   1410 /* syscall: "__kevent100" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec *" */
   1411 #define	SYS___kevent100	501
   1412 
   1413 /* syscall: "epoll_create1" ret: "int" args: "int" */
   1414 #define	SYS_epoll_create1	502
   1415 
   1416 /* syscall: "epoll_ctl" ret: "int" args: "int" "int" "int" "struct epoll_event *" */
   1417 #define	SYS_epoll_ctl	503
   1418 
   1419 /* syscall: "epoll_pwait2" ret: "int" args: "int" "struct epoll_event *" "int" "const struct timespec *" "const sigset_t *" */
   1420 #define	SYS_epoll_pwait2	504
   1421 
   1422 /* syscall: "__dup3100" ret: "int" args: "int" "int" "int" */
   1423 #define	SYS___dup3100	505
   1424 
   1425 /* syscall: "semtimedop" ret: "int" args: "int" "struct sembuf *" "size_t" "struct timespec *" */
   1426 #define	SYS_semtimedop	506
   1427 
   1428 #define	SYS_MAXSYSCALL	507
   1429 #define	SYS_NSYSENT	512
   1430 #endif /* _SYS_SYSCALL_H_ */
   1431