Home | History | Annotate | Line # | Download | only in sys
      1 /* $NetBSD: syscallargs.h,v 1.312 2024/10/09 16:29:11 christos Exp $ */
      2 
      3 /*
      4  * System call argument lists.
      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_SYSCALLARGS_H_
     11 #define	_SYS_SYSCALLARGS_H_
     12 
     13 #ifndef RUMP_CLIENT
     14 #include <sys/idtype.h>
     15 #include <sys/mount.h>
     16 #include <sys/sched.h>
     17 #include <sys/acl.h>
     18 #endif
     19 
     20 #include <sys/socket.h>
     21 
     22 /* Forward declaration */
     23 struct lwp;
     24 
     25 #define	SYS_MAXSYSARGS	8
     26 
     27 #undef	syscallarg
     28 #define	syscallarg(x)							\
     29 	union {								\
     30 		register_t pad;						\
     31 		struct { x datum; } le;					\
     32 		struct { /* LINTED zero array dimension */		\
     33 			int8_t pad[  /* CONSTCOND */			\
     34 				(sizeof (register_t) < sizeof (x))	\
     35 				? 0					\
     36 				: sizeof (register_t) - sizeof (x)];	\
     37 			x datum;					\
     38 		} be;							\
     39 	}
     40 
     41 #undef check_syscall_args
     42 #define check_syscall_args(call) /*LINTED*/ \
     43 	typedef char call##_check_args[sizeof (struct call##_args) \
     44 		<= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
     45 
     46 #ifndef RUMP_CLIENT
     47 struct sys_syscall_args {
     48 	syscallarg(int) code;
     49 	syscallarg(register_t) args[SYS_MAXSYSARGS];
     50 };
     51 #endif /* !RUMP_CLIENT */
     52 
     53 #ifndef RUMP_CLIENT
     54 struct sys_exit_args {
     55 	syscallarg(int) rval;
     56 };
     57 check_syscall_args(sys_exit)
     58 #endif /* !RUMP_CLIENT */
     59 
     60 struct sys_read_args {
     61 	syscallarg(int) fd;
     62 	syscallarg(void *) buf;
     63 	syscallarg(size_t) nbyte;
     64 };
     65 check_syscall_args(sys_read)
     66 
     67 struct sys_write_args {
     68 	syscallarg(int) fd;
     69 	syscallarg(const void *) buf;
     70 	syscallarg(size_t) nbyte;
     71 };
     72 check_syscall_args(sys_write)
     73 
     74 struct sys_open_args {
     75 	syscallarg(const char *) path;
     76 	syscallarg(int) flags;
     77 	syscallarg(mode_t) mode;
     78 };
     79 check_syscall_args(sys_open)
     80 
     81 struct sys_close_args {
     82 	syscallarg(int) fd;
     83 };
     84 check_syscall_args(sys_close)
     85 
     86 #ifndef RUMP_CLIENT
     87 struct compat_50_sys_wait4_args {
     88 	syscallarg(pid_t) pid;
     89 	syscallarg(int *) status;
     90 	syscallarg(int) options;
     91 	syscallarg(struct rusage50 *) rusage;
     92 };
     93 check_syscall_args(compat_50_sys_wait4)
     94 #endif /* !RUMP_CLIENT */
     95 
     96 #ifndef RUMP_CLIENT
     97 struct compat_43_sys_creat_args {
     98 	syscallarg(const char *) path;
     99 	syscallarg(mode_t) mode;
    100 };
    101 check_syscall_args(compat_43_sys_creat)
    102 #endif /* !RUMP_CLIENT */
    103 
    104 struct sys_link_args {
    105 	syscallarg(const char *) path;
    106 	syscallarg(const char *) link;
    107 };
    108 check_syscall_args(sys_link)
    109 
    110 struct sys_unlink_args {
    111 	syscallarg(const char *) path;
    112 };
    113 check_syscall_args(sys_unlink)
    114 
    115 struct sys_chdir_args {
    116 	syscallarg(const char *) path;
    117 };
    118 check_syscall_args(sys_chdir)
    119 
    120 struct sys_fchdir_args {
    121 	syscallarg(int) fd;
    122 };
    123 check_syscall_args(sys_fchdir)
    124 
    125 struct compat_50_sys_mknod_args {
    126 	syscallarg(const char *) path;
    127 	syscallarg(mode_t) mode;
    128 	syscallarg(uint32_t) dev;
    129 };
    130 check_syscall_args(compat_50_sys_mknod)
    131 
    132 struct sys_chmod_args {
    133 	syscallarg(const char *) path;
    134 	syscallarg(mode_t) mode;
    135 };
    136 check_syscall_args(sys_chmod)
    137 
    138 struct sys_chown_args {
    139 	syscallarg(const char *) path;
    140 	syscallarg(uid_t) uid;
    141 	syscallarg(gid_t) gid;
    142 };
    143 check_syscall_args(sys_chown)
    144 
    145 #ifndef RUMP_CLIENT
    146 struct sys_obreak_args {
    147 	syscallarg(char *) nsize;
    148 };
    149 check_syscall_args(sys_obreak)
    150 #endif /* !RUMP_CLIENT */
    151 
    152 #ifndef RUMP_CLIENT
    153 struct compat_20_sys_getfsstat_args {
    154 	syscallarg(struct statfs12 *) buf;
    155 	syscallarg(long) bufsize;
    156 	syscallarg(int) flags;
    157 };
    158 check_syscall_args(compat_20_sys_getfsstat)
    159 #endif /* !RUMP_CLIENT */
    160 
    161 #ifndef RUMP_CLIENT
    162 struct compat_43_sys_lseek_args {
    163 	syscallarg(int) fd;
    164 	syscallarg(long) offset;
    165 	syscallarg(int) whence;
    166 };
    167 check_syscall_args(compat_43_sys_lseek)
    168 #endif /* !RUMP_CLIENT */
    169 
    170 #ifndef RUMP_CLIENT
    171 struct compat_40_sys_mount_args {
    172 	syscallarg(const char *) type;
    173 	syscallarg(const char *) path;
    174 	syscallarg(int) flags;
    175 	syscallarg(void *) data;
    176 };
    177 check_syscall_args(compat_40_sys_mount)
    178 #endif /* !RUMP_CLIENT */
    179 
    180 struct sys_unmount_args {
    181 	syscallarg(const char *) path;
    182 	syscallarg(int) flags;
    183 };
    184 check_syscall_args(sys_unmount)
    185 
    186 struct sys_setuid_args {
    187 	syscallarg(uid_t) uid;
    188 };
    189 check_syscall_args(sys_setuid)
    190 
    191 #ifndef RUMP_CLIENT
    192 struct sys_ptrace_args {
    193 	syscallarg(int) req;
    194 	syscallarg(pid_t) pid;
    195 	syscallarg(void *) addr;
    196 	syscallarg(int) data;
    197 };
    198 check_syscall_args(sys_ptrace)
    199 #endif /* !RUMP_CLIENT */
    200 
    201 struct sys_recvmsg_args {
    202 	syscallarg(int) s;
    203 	syscallarg(struct msghdr *) msg;
    204 	syscallarg(int) flags;
    205 };
    206 check_syscall_args(sys_recvmsg)
    207 
    208 struct sys_sendmsg_args {
    209 	syscallarg(int) s;
    210 	syscallarg(const struct msghdr *) msg;
    211 	syscallarg(int) flags;
    212 };
    213 check_syscall_args(sys_sendmsg)
    214 
    215 struct sys_recvfrom_args {
    216 	syscallarg(int) s;
    217 	syscallarg(void *) buf;
    218 	syscallarg(size_t) len;
    219 	syscallarg(int) flags;
    220 	syscallarg(struct sockaddr *) from;
    221 	syscallarg(socklen_t *) fromlenaddr;
    222 };
    223 check_syscall_args(sys_recvfrom)
    224 
    225 struct sys_accept_args {
    226 	syscallarg(int) s;
    227 	syscallarg(struct sockaddr *) name;
    228 	syscallarg(socklen_t *) anamelen;
    229 };
    230 check_syscall_args(sys_accept)
    231 
    232 struct sys_getpeername_args {
    233 	syscallarg(int) fdes;
    234 	syscallarg(struct sockaddr *) asa;
    235 	syscallarg(socklen_t *) alen;
    236 };
    237 check_syscall_args(sys_getpeername)
    238 
    239 struct sys_getsockname_args {
    240 	syscallarg(int) fdes;
    241 	syscallarg(struct sockaddr *) asa;
    242 	syscallarg(socklen_t *) alen;
    243 };
    244 check_syscall_args(sys_getsockname)
    245 
    246 struct sys_access_args {
    247 	syscallarg(const char *) path;
    248 	syscallarg(int) flags;
    249 };
    250 check_syscall_args(sys_access)
    251 
    252 struct sys_chflags_args {
    253 	syscallarg(const char *) path;
    254 	syscallarg(u_long) flags;
    255 };
    256 check_syscall_args(sys_chflags)
    257 
    258 struct sys_fchflags_args {
    259 	syscallarg(int) fd;
    260 	syscallarg(u_long) flags;
    261 };
    262 check_syscall_args(sys_fchflags)
    263 
    264 #ifndef RUMP_CLIENT
    265 struct sys_kill_args {
    266 	syscallarg(pid_t) pid;
    267 	syscallarg(int) signum;
    268 };
    269 check_syscall_args(sys_kill)
    270 #endif /* !RUMP_CLIENT */
    271 
    272 #ifndef RUMP_CLIENT
    273 struct compat_43_sys_stat_args {
    274 	syscallarg(const char *) path;
    275 	syscallarg(struct stat43 *) ub;
    276 };
    277 check_syscall_args(compat_43_sys_stat)
    278 #endif /* !RUMP_CLIENT */
    279 
    280 #ifndef RUMP_CLIENT
    281 struct compat_43_sys_lstat_args {
    282 	syscallarg(const char *) path;
    283 	syscallarg(struct stat43 *) ub;
    284 };
    285 check_syscall_args(compat_43_sys_lstat)
    286 #endif /* !RUMP_CLIENT */
    287 
    288 struct sys_dup_args {
    289 	syscallarg(int) fd;
    290 };
    291 check_syscall_args(sys_dup)
    292 
    293 #ifndef RUMP_CLIENT
    294 struct sys_profil_args {
    295 	syscallarg(char *) samples;
    296 	syscallarg(size_t) size;
    297 	syscallarg(u_long) offset;
    298 	syscallarg(u_int) scale;
    299 };
    300 check_syscall_args(sys_profil)
    301 #endif /* !RUMP_CLIENT */
    302 
    303 struct sys_ktrace_args {
    304 	syscallarg(const char *) fname;
    305 	syscallarg(int) ops;
    306 	syscallarg(int) facs;
    307 	syscallarg(pid_t) pid;
    308 };
    309 check_syscall_args(sys_ktrace)
    310 
    311 #ifndef RUMP_CLIENT
    312 struct compat_13_sys_sigaction_args {
    313 	syscallarg(int) signum;
    314 	syscallarg(const struct sigaction13 *) nsa;
    315 	syscallarg(struct sigaction13 *) osa;
    316 };
    317 check_syscall_args(compat_13_sys_sigaction)
    318 #endif /* !RUMP_CLIENT */
    319 
    320 #ifndef RUMP_CLIENT
    321 struct compat_13_sys_sigprocmask_args {
    322 	syscallarg(int) how;
    323 	syscallarg(int) mask;
    324 };
    325 check_syscall_args(compat_13_sys_sigprocmask)
    326 #endif /* !RUMP_CLIENT */
    327 
    328 struct sys___getlogin_args {
    329 	syscallarg(char *) namebuf;
    330 	syscallarg(size_t) namelen;
    331 };
    332 check_syscall_args(sys___getlogin)
    333 
    334 struct sys___setlogin_args {
    335 	syscallarg(const char *) namebuf;
    336 };
    337 check_syscall_args(sys___setlogin)
    338 
    339 #ifndef RUMP_CLIENT
    340 struct sys_acct_args {
    341 	syscallarg(const char *) path;
    342 };
    343 check_syscall_args(sys_acct)
    344 #endif /* !RUMP_CLIENT */
    345 
    346 #ifndef RUMP_CLIENT
    347 struct compat_13_sys_sigaltstack_args {
    348 	syscallarg(const struct sigaltstack13 *) nss;
    349 	syscallarg(struct sigaltstack13 *) oss;
    350 };
    351 check_syscall_args(compat_13_sys_sigaltstack)
    352 #endif /* !RUMP_CLIENT */
    353 
    354 struct sys_ioctl_args {
    355 	syscallarg(int) fd;
    356 	syscallarg(u_long) com;
    357 	syscallarg(void *) data;
    358 };
    359 check_syscall_args(sys_ioctl)
    360 
    361 #ifndef RUMP_CLIENT
    362 struct compat_12_sys_reboot_args {
    363 	syscallarg(int) opt;
    364 };
    365 check_syscall_args(compat_12_sys_reboot)
    366 #endif /* !RUMP_CLIENT */
    367 
    368 struct sys_revoke_args {
    369 	syscallarg(const char *) path;
    370 };
    371 check_syscall_args(sys_revoke)
    372 
    373 struct sys_symlink_args {
    374 	syscallarg(const char *) path;
    375 	syscallarg(const char *) link;
    376 };
    377 check_syscall_args(sys_symlink)
    378 
    379 struct sys_readlink_args {
    380 	syscallarg(const char *) path;
    381 	syscallarg(char *) buf;
    382 	syscallarg(size_t) count;
    383 };
    384 check_syscall_args(sys_readlink)
    385 
    386 #ifndef RUMP_CLIENT
    387 struct sys_execve_args {
    388 	syscallarg(const char *) path;
    389 	syscallarg(char *const *) argp;
    390 	syscallarg(char *const *) envp;
    391 };
    392 check_syscall_args(sys_execve)
    393 #endif /* !RUMP_CLIENT */
    394 
    395 struct sys_umask_args {
    396 	syscallarg(mode_t) newmask;
    397 };
    398 check_syscall_args(sys_umask)
    399 
    400 struct sys_chroot_args {
    401 	syscallarg(const char *) path;
    402 };
    403 check_syscall_args(sys_chroot)
    404 
    405 #ifndef RUMP_CLIENT
    406 struct compat_43_sys_fstat_args {
    407 	syscallarg(int) fd;
    408 	syscallarg(struct stat43 *) sb;
    409 };
    410 check_syscall_args(compat_43_sys_fstat)
    411 #endif /* !RUMP_CLIENT */
    412 
    413 #ifndef RUMP_CLIENT
    414 struct compat_43_sys_getkerninfo_args {
    415 	syscallarg(int) op;
    416 	syscallarg(char *) where;
    417 	syscallarg(int *) size;
    418 	syscallarg(int) arg;
    419 };
    420 check_syscall_args(compat_43_sys_getkerninfo)
    421 #endif /* !RUMP_CLIENT */
    422 
    423 #ifndef RUMP_CLIENT
    424 struct compat_12_sys_msync_args {
    425 	syscallarg(void *) addr;
    426 	syscallarg(size_t) len;
    427 };
    428 check_syscall_args(compat_12_sys_msync)
    429 #endif /* !RUMP_CLIENT */
    430 
    431 #ifndef RUMP_CLIENT
    432 struct compat_43_sys_mmap_args {
    433 	syscallarg(void *) addr;
    434 	syscallarg(size_t) len;
    435 	syscallarg(int) prot;
    436 	syscallarg(int) flags;
    437 	syscallarg(int) fd;
    438 	syscallarg(long) pos;
    439 };
    440 check_syscall_args(compat_43_sys_mmap)
    441 #endif /* !RUMP_CLIENT */
    442 
    443 #ifndef RUMP_CLIENT
    444 struct sys_ovadvise_args {
    445 	syscallarg(int) anom;
    446 };
    447 check_syscall_args(sys_ovadvise)
    448 #endif /* !RUMP_CLIENT */
    449 
    450 #ifndef RUMP_CLIENT
    451 struct sys_munmap_args {
    452 	syscallarg(void *) addr;
    453 	syscallarg(size_t) len;
    454 };
    455 check_syscall_args(sys_munmap)
    456 #endif /* !RUMP_CLIENT */
    457 
    458 #ifndef RUMP_CLIENT
    459 struct sys_mprotect_args {
    460 	syscallarg(void *) addr;
    461 	syscallarg(size_t) len;
    462 	syscallarg(int) prot;
    463 };
    464 check_syscall_args(sys_mprotect)
    465 #endif /* !RUMP_CLIENT */
    466 
    467 #ifndef RUMP_CLIENT
    468 struct sys_madvise_args {
    469 	syscallarg(void *) addr;
    470 	syscallarg(size_t) len;
    471 	syscallarg(int) behav;
    472 };
    473 check_syscall_args(sys_madvise)
    474 #endif /* !RUMP_CLIENT */
    475 
    476 #ifndef RUMP_CLIENT
    477 struct sys_mincore_args {
    478 	syscallarg(void *) addr;
    479 	syscallarg(size_t) len;
    480 	syscallarg(char *) vec;
    481 };
    482 check_syscall_args(sys_mincore)
    483 #endif /* !RUMP_CLIENT */
    484 
    485 struct sys_getgroups_args {
    486 	syscallarg(int) gidsetsize;
    487 	syscallarg(gid_t *) gidset;
    488 };
    489 check_syscall_args(sys_getgroups)
    490 
    491 struct sys_setgroups_args {
    492 	syscallarg(int) gidsetsize;
    493 	syscallarg(const gid_t *) gidset;
    494 };
    495 check_syscall_args(sys_setgroups)
    496 
    497 struct sys_setpgid_args {
    498 	syscallarg(pid_t) pid;
    499 	syscallarg(pid_t) pgid;
    500 };
    501 check_syscall_args(sys_setpgid)
    502 
    503 #ifndef RUMP_CLIENT
    504 struct compat_50_sys_setitimer_args {
    505 	syscallarg(int) which;
    506 	syscallarg(const struct itimerval50 *) itv;
    507 	syscallarg(struct itimerval50 *) oitv;
    508 };
    509 check_syscall_args(compat_50_sys_setitimer)
    510 #endif /* !RUMP_CLIENT */
    511 
    512 #ifndef RUMP_CLIENT
    513 struct compat_12_sys_swapon_args {
    514 	syscallarg(const char *) name;
    515 };
    516 check_syscall_args(compat_12_sys_swapon)
    517 #endif /* !RUMP_CLIENT */
    518 
    519 #ifndef RUMP_CLIENT
    520 struct compat_50_sys_getitimer_args {
    521 	syscallarg(int) which;
    522 	syscallarg(struct itimerval50 *) itv;
    523 };
    524 check_syscall_args(compat_50_sys_getitimer)
    525 #endif /* !RUMP_CLIENT */
    526 
    527 #ifndef RUMP_CLIENT
    528 struct compat_43_sys_gethostname_args {
    529 	syscallarg(char *) hostname;
    530 	syscallarg(u_int) len;
    531 };
    532 check_syscall_args(compat_43_sys_gethostname)
    533 #endif /* !RUMP_CLIENT */
    534 
    535 #ifndef RUMP_CLIENT
    536 struct compat_43_sys_sethostname_args {
    537 	syscallarg(char *) hostname;
    538 	syscallarg(u_int) len;
    539 };
    540 check_syscall_args(compat_43_sys_sethostname)
    541 #endif /* !RUMP_CLIENT */
    542 
    543 struct sys_dup2_args {
    544 	syscallarg(int) from;
    545 	syscallarg(int) to;
    546 };
    547 check_syscall_args(sys_dup2)
    548 
    549 struct sys_getrandom_args {
    550 	syscallarg(void *) buf;
    551 	syscallarg(size_t) buflen;
    552 	syscallarg(unsigned int) flags;
    553 };
    554 check_syscall_args(sys_getrandom)
    555 
    556 struct sys_fcntl_args {
    557 	syscallarg(int) fd;
    558 	syscallarg(int) cmd;
    559 	syscallarg(void *) arg;
    560 };
    561 check_syscall_args(sys_fcntl)
    562 
    563 struct compat_50_sys_select_args {
    564 	syscallarg(int) nd;
    565 	syscallarg(fd_set *) in;
    566 	syscallarg(fd_set *) ou;
    567 	syscallarg(fd_set *) ex;
    568 	syscallarg(struct timeval50 *) tv;
    569 };
    570 check_syscall_args(compat_50_sys_select)
    571 
    572 struct sys_fsync_args {
    573 	syscallarg(int) fd;
    574 };
    575 check_syscall_args(sys_fsync)
    576 
    577 #ifndef RUMP_CLIENT
    578 struct sys_setpriority_args {
    579 	syscallarg(int) which;
    580 	syscallarg(id_t) who;
    581 	syscallarg(int) prio;
    582 };
    583 check_syscall_args(sys_setpriority)
    584 #endif /* !RUMP_CLIENT */
    585 
    586 #ifndef RUMP_CLIENT
    587 struct compat_30_sys_socket_args {
    588 	syscallarg(int) domain;
    589 	syscallarg(int) type;
    590 	syscallarg(int) protocol;
    591 };
    592 check_syscall_args(compat_30_sys_socket)
    593 #endif /* !RUMP_CLIENT */
    594 
    595 struct sys_connect_args {
    596 	syscallarg(int) s;
    597 	syscallarg(const struct sockaddr *) name;
    598 	syscallarg(socklen_t) namelen;
    599 };
    600 check_syscall_args(sys_connect)
    601 
    602 #ifndef RUMP_CLIENT
    603 struct compat_43_sys_accept_args {
    604 	syscallarg(int) s;
    605 	syscallarg(void *) name;
    606 	syscallarg(socklen_t *) anamelen;
    607 };
    608 check_syscall_args(compat_43_sys_accept)
    609 #endif /* !RUMP_CLIENT */
    610 
    611 #ifndef RUMP_CLIENT
    612 struct sys_getpriority_args {
    613 	syscallarg(int) which;
    614 	syscallarg(id_t) who;
    615 };
    616 check_syscall_args(sys_getpriority)
    617 #endif /* !RUMP_CLIENT */
    618 
    619 #ifndef RUMP_CLIENT
    620 struct compat_43_sys_send_args {
    621 	syscallarg(int) s;
    622 	syscallarg(void *) buf;
    623 	syscallarg(int) len;
    624 	syscallarg(int) flags;
    625 };
    626 check_syscall_args(compat_43_sys_send)
    627 #endif /* !RUMP_CLIENT */
    628 
    629 #ifndef RUMP_CLIENT
    630 struct compat_43_sys_recv_args {
    631 	syscallarg(int) s;
    632 	syscallarg(void *) buf;
    633 	syscallarg(int) len;
    634 	syscallarg(int) flags;
    635 };
    636 check_syscall_args(compat_43_sys_recv)
    637 #endif /* !RUMP_CLIENT */
    638 
    639 #ifndef RUMP_CLIENT
    640 struct compat_13_sys_sigreturn_args {
    641 	syscallarg(struct sigcontext13 *) sigcntxp;
    642 };
    643 check_syscall_args(compat_13_sys_sigreturn)
    644 #endif /* !RUMP_CLIENT */
    645 
    646 struct sys_bind_args {
    647 	syscallarg(int) s;
    648 	syscallarg(const struct sockaddr *) name;
    649 	syscallarg(socklen_t) namelen;
    650 };
    651 check_syscall_args(sys_bind)
    652 
    653 struct sys_setsockopt_args {
    654 	syscallarg(int) s;
    655 	syscallarg(int) level;
    656 	syscallarg(int) name;
    657 	syscallarg(const void *) val;
    658 	syscallarg(socklen_t) valsize;
    659 };
    660 check_syscall_args(sys_setsockopt)
    661 
    662 struct sys_listen_args {
    663 	syscallarg(int) s;
    664 	syscallarg(int) backlog;
    665 };
    666 check_syscall_args(sys_listen)
    667 
    668 #ifndef RUMP_CLIENT
    669 struct compat_43_sys_sigvec_args {
    670 	syscallarg(int) signum;
    671 	syscallarg(struct sigvec *) nsv;
    672 	syscallarg(struct sigvec *) osv;
    673 };
    674 check_syscall_args(compat_43_sys_sigvec)
    675 #endif /* !RUMP_CLIENT */
    676 
    677 #ifndef RUMP_CLIENT
    678 struct compat_43_sys_sigblock_args {
    679 	syscallarg(int) mask;
    680 };
    681 check_syscall_args(compat_43_sys_sigblock)
    682 #endif /* !RUMP_CLIENT */
    683 
    684 #ifndef RUMP_CLIENT
    685 struct compat_43_sys_sigsetmask_args {
    686 	syscallarg(int) mask;
    687 };
    688 check_syscall_args(compat_43_sys_sigsetmask)
    689 #endif /* !RUMP_CLIENT */
    690 
    691 #ifndef RUMP_CLIENT
    692 struct compat_13_sys_sigsuspend_args {
    693 	syscallarg(int) mask;
    694 };
    695 check_syscall_args(compat_13_sys_sigsuspend)
    696 #endif /* !RUMP_CLIENT */
    697 
    698 #ifndef RUMP_CLIENT
    699 struct compat_43_sys_sigstack_args {
    700 	syscallarg(struct sigstack *) nss;
    701 	syscallarg(struct sigstack *) oss;
    702 };
    703 check_syscall_args(compat_43_sys_sigstack)
    704 #endif /* !RUMP_CLIENT */
    705 
    706 #ifndef RUMP_CLIENT
    707 struct compat_43_sys_recvmsg_args {
    708 	syscallarg(int) s;
    709 	syscallarg(struct omsghdr *) msg;
    710 	syscallarg(int) flags;
    711 };
    712 check_syscall_args(compat_43_sys_recvmsg)
    713 #endif /* !RUMP_CLIENT */
    714 
    715 #ifndef RUMP_CLIENT
    716 struct compat_43_sys_sendmsg_args {
    717 	syscallarg(int) s;
    718 	syscallarg(void *) msg;
    719 	syscallarg(int) flags;
    720 };
    721 check_syscall_args(compat_43_sys_sendmsg)
    722 #endif /* !RUMP_CLIENT */
    723 
    724 #ifndef RUMP_CLIENT
    725 struct compat_50_sys_gettimeofday_args {
    726 	syscallarg(struct timeval50 *) tp;
    727 	syscallarg(void *) tzp;
    728 };
    729 check_syscall_args(compat_50_sys_gettimeofday)
    730 #endif /* !RUMP_CLIENT */
    731 
    732 #ifndef RUMP_CLIENT
    733 struct compat_50_sys_getrusage_args {
    734 	syscallarg(int) who;
    735 	syscallarg(struct rusage50 *) rusage;
    736 };
    737 check_syscall_args(compat_50_sys_getrusage)
    738 #endif /* !RUMP_CLIENT */
    739 
    740 struct sys_getsockopt_args {
    741 	syscallarg(int) s;
    742 	syscallarg(int) level;
    743 	syscallarg(int) name;
    744 	syscallarg(void *) val;
    745 	syscallarg(socklen_t *) avalsize;
    746 };
    747 check_syscall_args(sys_getsockopt)
    748 
    749 struct sys_readv_args {
    750 	syscallarg(int) fd;
    751 	syscallarg(const struct iovec *) iovp;
    752 	syscallarg(int) iovcnt;
    753 };
    754 check_syscall_args(sys_readv)
    755 
    756 struct sys_writev_args {
    757 	syscallarg(int) fd;
    758 	syscallarg(const struct iovec *) iovp;
    759 	syscallarg(int) iovcnt;
    760 };
    761 check_syscall_args(sys_writev)
    762 
    763 #ifndef RUMP_CLIENT
    764 struct compat_50_sys_settimeofday_args {
    765 	syscallarg(const struct timeval50 *) tv;
    766 	syscallarg(const void *) tzp;
    767 };
    768 check_syscall_args(compat_50_sys_settimeofday)
    769 #endif /* !RUMP_CLIENT */
    770 
    771 struct sys_fchown_args {
    772 	syscallarg(int) fd;
    773 	syscallarg(uid_t) uid;
    774 	syscallarg(gid_t) gid;
    775 };
    776 check_syscall_args(sys_fchown)
    777 
    778 struct sys_fchmod_args {
    779 	syscallarg(int) fd;
    780 	syscallarg(mode_t) mode;
    781 };
    782 check_syscall_args(sys_fchmod)
    783 
    784 #ifndef RUMP_CLIENT
    785 struct compat_43_sys_recvfrom_args {
    786 	syscallarg(int) s;
    787 	syscallarg(void *) buf;
    788 	syscallarg(size_t) len;
    789 	syscallarg(int) flags;
    790 	syscallarg(void *) from;
    791 	syscallarg(socklen_t *) fromlenaddr;
    792 };
    793 check_syscall_args(compat_43_sys_recvfrom)
    794 #endif /* !RUMP_CLIENT */
    795 
    796 struct sys_setreuid_args {
    797 	syscallarg(uid_t) ruid;
    798 	syscallarg(uid_t) euid;
    799 };
    800 check_syscall_args(sys_setreuid)
    801 
    802 struct sys_setregid_args {
    803 	syscallarg(gid_t) rgid;
    804 	syscallarg(gid_t) egid;
    805 };
    806 check_syscall_args(sys_setregid)
    807 
    808 struct sys_rename_args {
    809 	syscallarg(const char *) from;
    810 	syscallarg(const char *) to;
    811 };
    812 check_syscall_args(sys_rename)
    813 
    814 #ifndef RUMP_CLIENT
    815 struct compat_43_sys_truncate_args {
    816 	syscallarg(const char *) path;
    817 	syscallarg(long) length;
    818 };
    819 check_syscall_args(compat_43_sys_truncate)
    820 #endif /* !RUMP_CLIENT */
    821 
    822 #ifndef RUMP_CLIENT
    823 struct compat_43_sys_ftruncate_args {
    824 	syscallarg(int) fd;
    825 	syscallarg(long) length;
    826 };
    827 check_syscall_args(compat_43_sys_ftruncate)
    828 #endif /* !RUMP_CLIENT */
    829 
    830 struct sys_flock_args {
    831 	syscallarg(int) fd;
    832 	syscallarg(int) how;
    833 };
    834 check_syscall_args(sys_flock)
    835 
    836 struct sys_mkfifo_args {
    837 	syscallarg(const char *) path;
    838 	syscallarg(mode_t) mode;
    839 };
    840 check_syscall_args(sys_mkfifo)
    841 
    842 struct sys_sendto_args {
    843 	syscallarg(int) s;
    844 	syscallarg(const void *) buf;
    845 	syscallarg(size_t) len;
    846 	syscallarg(int) flags;
    847 	syscallarg(const struct sockaddr *) to;
    848 	syscallarg(socklen_t) tolen;
    849 };
    850 check_syscall_args(sys_sendto)
    851 
    852 struct sys_shutdown_args {
    853 	syscallarg(int) s;
    854 	syscallarg(int) how;
    855 };
    856 check_syscall_args(sys_shutdown)
    857 
    858 struct sys_socketpair_args {
    859 	syscallarg(int) domain;
    860 	syscallarg(int) type;
    861 	syscallarg(int) protocol;
    862 	syscallarg(int *) rsv;
    863 };
    864 check_syscall_args(sys_socketpair)
    865 
    866 struct sys_mkdir_args {
    867 	syscallarg(const char *) path;
    868 	syscallarg(mode_t) mode;
    869 };
    870 check_syscall_args(sys_mkdir)
    871 
    872 struct sys_rmdir_args {
    873 	syscallarg(const char *) path;
    874 };
    875 check_syscall_args(sys_rmdir)
    876 
    877 struct compat_50_sys_utimes_args {
    878 	syscallarg(const char *) path;
    879 	syscallarg(const struct timeval50 *) tptr;
    880 };
    881 check_syscall_args(compat_50_sys_utimes)
    882 
    883 #ifndef RUMP_CLIENT
    884 struct compat_50_sys_adjtime_args {
    885 	syscallarg(const struct timeval50 *) delta;
    886 	syscallarg(struct timeval50 *) olddelta;
    887 };
    888 check_syscall_args(compat_50_sys_adjtime)
    889 #endif /* !RUMP_CLIENT */
    890 
    891 #ifndef RUMP_CLIENT
    892 struct compat_43_sys_getpeername_args {
    893 	syscallarg(int) fdes;
    894 	syscallarg(void *) asa;
    895 	syscallarg(socklen_t *) alen;
    896 };
    897 check_syscall_args(compat_43_sys_getpeername)
    898 #endif /* !RUMP_CLIENT */
    899 
    900 #ifndef RUMP_CLIENT
    901 struct compat_43_sys_sethostid_args {
    902 	syscallarg(int32_t) hostid;
    903 };
    904 check_syscall_args(compat_43_sys_sethostid)
    905 #endif /* !RUMP_CLIENT */
    906 
    907 #ifndef RUMP_CLIENT
    908 struct compat_43_sys_getrlimit_args {
    909 	syscallarg(int) which;
    910 	syscallarg(struct orlimit *) rlp;
    911 };
    912 check_syscall_args(compat_43_sys_getrlimit)
    913 #endif /* !RUMP_CLIENT */
    914 
    915 #ifndef RUMP_CLIENT
    916 struct compat_43_sys_setrlimit_args {
    917 	syscallarg(int) which;
    918 	syscallarg(const struct orlimit *) rlp;
    919 };
    920 check_syscall_args(compat_43_sys_setrlimit)
    921 #endif /* !RUMP_CLIENT */
    922 
    923 #ifndef RUMP_CLIENT
    924 struct compat_43_sys_killpg_args {
    925 	syscallarg(int) pgid;
    926 	syscallarg(int) signum;
    927 };
    928 check_syscall_args(compat_43_sys_killpg)
    929 #endif /* !RUMP_CLIENT */
    930 
    931 #ifndef RUMP_CLIENT
    932 struct compat_50_sys_quotactl_args {
    933 	syscallarg(const char *) path;
    934 	syscallarg(int) cmd;
    935 	syscallarg(int) uid;
    936 	syscallarg(void *) arg;
    937 };
    938 check_syscall_args(compat_50_sys_quotactl)
    939 #endif /* !RUMP_CLIENT */
    940 
    941 #ifndef RUMP_CLIENT
    942 struct compat_43_sys_getsockname_args {
    943 	syscallarg(int) fdec;
    944 	syscallarg(void *) asa;
    945 	syscallarg(socklen_t *) alen;
    946 };
    947 check_syscall_args(compat_43_sys_getsockname)
    948 #endif /* !RUMP_CLIENT */
    949 
    950 struct sys_nfssvc_args {
    951 	syscallarg(int) flag;
    952 	syscallarg(void *) argp;
    953 };
    954 check_syscall_args(sys_nfssvc)
    955 
    956 #ifndef RUMP_CLIENT
    957 struct compat_43_sys_getdirentries_args {
    958 	syscallarg(int) fd;
    959 	syscallarg(char *) buf;
    960 	syscallarg(u_int) count;
    961 	syscallarg(long *) basep;
    962 };
    963 check_syscall_args(compat_43_sys_getdirentries)
    964 #endif /* !RUMP_CLIENT */
    965 
    966 #ifndef RUMP_CLIENT
    967 struct compat_20_sys_statfs_args {
    968 	syscallarg(const char *) path;
    969 	syscallarg(struct statfs12 *) buf;
    970 };
    971 check_syscall_args(compat_20_sys_statfs)
    972 #endif /* !RUMP_CLIENT */
    973 
    974 #ifndef RUMP_CLIENT
    975 struct compat_20_sys_fstatfs_args {
    976 	syscallarg(int) fd;
    977 	syscallarg(struct statfs12 *) buf;
    978 };
    979 check_syscall_args(compat_20_sys_fstatfs)
    980 #endif /* !RUMP_CLIENT */
    981 
    982 #ifndef RUMP_CLIENT
    983 struct compat_30_sys_getfh_args {
    984 	syscallarg(const char *) fname;
    985 	syscallarg(struct compat_30_fhandle *) fhp;
    986 };
    987 check_syscall_args(compat_30_sys_getfh)
    988 #endif /* !RUMP_CLIENT */
    989 
    990 #ifndef RUMP_CLIENT
    991 struct compat_09_sys_getdomainname_args {
    992 	syscallarg(char *) domainname;
    993 	syscallarg(int) len;
    994 };
    995 check_syscall_args(compat_09_sys_getdomainname)
    996 #endif /* !RUMP_CLIENT */
    997 
    998 #ifndef RUMP_CLIENT
    999 struct compat_09_sys_setdomainname_args {
   1000 	syscallarg(char *) domainname;
   1001 	syscallarg(int) len;
   1002 };
   1003 check_syscall_args(compat_09_sys_setdomainname)
   1004 #endif /* !RUMP_CLIENT */
   1005 
   1006 #ifndef RUMP_CLIENT
   1007 struct compat_09_sys_uname_args {
   1008 	syscallarg(struct outsname *) name;
   1009 };
   1010 check_syscall_args(compat_09_sys_uname)
   1011 #endif /* !RUMP_CLIENT */
   1012 
   1013 #ifndef RUMP_CLIENT
   1014 struct sys_sysarch_args {
   1015 	syscallarg(int) op;
   1016 	syscallarg(void *) parms;
   1017 };
   1018 check_syscall_args(sys_sysarch)
   1019 #endif /* !RUMP_CLIENT */
   1020 
   1021 #ifndef RUMP_CLIENT
   1022 struct sys___futex_args {
   1023 	syscallarg(int *) uaddr;
   1024 	syscallarg(int) op;
   1025 	syscallarg(int) val;
   1026 	syscallarg(const struct timespec *) timeout;
   1027 	syscallarg(int *) uaddr2;
   1028 	syscallarg(int) val2;
   1029 	syscallarg(int) val3;
   1030 };
   1031 check_syscall_args(sys___futex)
   1032 #endif /* !RUMP_CLIENT */
   1033 
   1034 #ifndef RUMP_CLIENT
   1035 struct sys___futex_set_robust_list_args {
   1036 	syscallarg(void *) head;
   1037 	syscallarg(size_t) len;
   1038 };
   1039 check_syscall_args(sys___futex_set_robust_list)
   1040 #endif /* !RUMP_CLIENT */
   1041 
   1042 #ifndef RUMP_CLIENT
   1043 struct sys___futex_get_robust_list_args {
   1044 	syscallarg(lwpid_t) lwpid;
   1045 	syscallarg(void **) headp;
   1046 	syscallarg(size_t *) lenp;
   1047 };
   1048 check_syscall_args(sys___futex_get_robust_list)
   1049 #endif /* !RUMP_CLIENT */
   1050 #if !defined(_LP64)
   1051 
   1052 #ifndef RUMP_CLIENT
   1053 struct compat_10_sys_semsys_args {
   1054 	syscallarg(int) which;
   1055 	syscallarg(int) a2;
   1056 	syscallarg(int) a3;
   1057 	syscallarg(int) a4;
   1058 	syscallarg(int) a5;
   1059 };
   1060 check_syscall_args(compat_10_sys_semsys)
   1061 #endif /* !RUMP_CLIENT */
   1062 #else
   1063 #endif
   1064 #if !defined(_LP64)
   1065 
   1066 #ifndef RUMP_CLIENT
   1067 struct compat_10_sys_msgsys_args {
   1068 	syscallarg(int) which;
   1069 	syscallarg(int) a2;
   1070 	syscallarg(int) a3;
   1071 	syscallarg(int) a4;
   1072 	syscallarg(int) a5;
   1073 	syscallarg(int) a6;
   1074 };
   1075 check_syscall_args(compat_10_sys_msgsys)
   1076 #endif /* !RUMP_CLIENT */
   1077 #else
   1078 #endif
   1079 #if !defined(_LP64)
   1080 
   1081 #ifndef RUMP_CLIENT
   1082 struct compat_10_sys_shmsys_args {
   1083 	syscallarg(int) which;
   1084 	syscallarg(int) a2;
   1085 	syscallarg(int) a3;
   1086 	syscallarg(int) a4;
   1087 };
   1088 check_syscall_args(compat_10_sys_shmsys)
   1089 #endif /* !RUMP_CLIENT */
   1090 #else
   1091 #endif
   1092 
   1093 struct sys_pread_args {
   1094 	syscallarg(int) fd;
   1095 	syscallarg(void *) buf;
   1096 	syscallarg(size_t) nbyte;
   1097 	syscallarg(int) PAD;
   1098 	syscallarg(off_t) offset;
   1099 };
   1100 check_syscall_args(sys_pread)
   1101 
   1102 struct sys_pwrite_args {
   1103 	syscallarg(int) fd;
   1104 	syscallarg(const void *) buf;
   1105 	syscallarg(size_t) nbyte;
   1106 	syscallarg(int) PAD;
   1107 	syscallarg(off_t) offset;
   1108 };
   1109 check_syscall_args(sys_pwrite)
   1110 
   1111 #ifndef RUMP_CLIENT
   1112 struct compat_30_sys_ntp_gettime_args {
   1113 	syscallarg(struct ntptimeval30 *) ntvp;
   1114 };
   1115 check_syscall_args(compat_30_sys_ntp_gettime)
   1116 #endif /* !RUMP_CLIENT */
   1117 #if defined(NTP) || !defined(_KERNEL_OPT)
   1118 
   1119 #ifndef RUMP_CLIENT
   1120 struct sys_ntp_adjtime_args {
   1121 	syscallarg(struct timex *) tp;
   1122 };
   1123 check_syscall_args(sys_ntp_adjtime)
   1124 #endif /* !RUMP_CLIENT */
   1125 #else
   1126 #endif
   1127 
   1128 #ifndef RUMP_CLIENT
   1129 struct sys_timerfd_create_args {
   1130 	syscallarg(clockid_t) clock_id;
   1131 	syscallarg(int) flags;
   1132 };
   1133 check_syscall_args(sys_timerfd_create)
   1134 #endif /* !RUMP_CLIENT */
   1135 
   1136 #ifndef RUMP_CLIENT
   1137 struct sys_timerfd_settime_args {
   1138 	syscallarg(int) fd;
   1139 	syscallarg(int) flags;
   1140 	syscallarg(const struct itimerspec *) new_value;
   1141 	syscallarg(struct itimerspec *) old_value;
   1142 };
   1143 check_syscall_args(sys_timerfd_settime)
   1144 #endif /* !RUMP_CLIENT */
   1145 
   1146 #ifndef RUMP_CLIENT
   1147 struct sys_timerfd_gettime_args {
   1148 	syscallarg(int) fd;
   1149 	syscallarg(struct itimerspec *) curr_value;
   1150 };
   1151 check_syscall_args(sys_timerfd_gettime)
   1152 #endif /* !RUMP_CLIENT */
   1153 
   1154 struct sys_setgid_args {
   1155 	syscallarg(gid_t) gid;
   1156 };
   1157 check_syscall_args(sys_setgid)
   1158 
   1159 struct sys_setegid_args {
   1160 	syscallarg(gid_t) egid;
   1161 };
   1162 check_syscall_args(sys_setegid)
   1163 
   1164 struct sys_seteuid_args {
   1165 	syscallarg(uid_t) euid;
   1166 };
   1167 check_syscall_args(sys_seteuid)
   1168 
   1169 #ifndef RUMP_CLIENT
   1170 struct sys_lfs_bmapv_args {
   1171 	syscallarg(fsid_t *) fsidp;
   1172 	syscallarg(struct block_info *) blkiov;
   1173 	syscallarg(int) blkcnt;
   1174 };
   1175 check_syscall_args(sys_lfs_bmapv)
   1176 #endif /* !RUMP_CLIENT */
   1177 
   1178 #ifndef RUMP_CLIENT
   1179 struct sys_lfs_markv_args {
   1180 	syscallarg(fsid_t *) fsidp;
   1181 	syscallarg(struct block_info *) blkiov;
   1182 	syscallarg(int) blkcnt;
   1183 };
   1184 check_syscall_args(sys_lfs_markv)
   1185 #endif /* !RUMP_CLIENT */
   1186 
   1187 #ifndef RUMP_CLIENT
   1188 struct sys_lfs_segclean_args {
   1189 	syscallarg(fsid_t *) fsidp;
   1190 	syscallarg(u_long) segment;
   1191 };
   1192 check_syscall_args(sys_lfs_segclean)
   1193 #endif /* !RUMP_CLIENT */
   1194 
   1195 #ifndef RUMP_CLIENT
   1196 struct compat_50_sys_lfs_segwait_args {
   1197 	syscallarg(fsid_t *) fsidp;
   1198 	syscallarg(struct timeval50 *) tv;
   1199 };
   1200 check_syscall_args(compat_50_sys_lfs_segwait)
   1201 #endif /* !RUMP_CLIENT */
   1202 
   1203 #ifndef RUMP_CLIENT
   1204 struct compat_12_sys_stat_args {
   1205 	syscallarg(const char *) path;
   1206 	syscallarg(struct stat12 *) ub;
   1207 };
   1208 check_syscall_args(compat_12_sys_stat)
   1209 #endif /* !RUMP_CLIENT */
   1210 
   1211 #ifndef RUMP_CLIENT
   1212 struct compat_12_sys_fstat_args {
   1213 	syscallarg(int) fd;
   1214 	syscallarg(struct stat12 *) sb;
   1215 };
   1216 check_syscall_args(compat_12_sys_fstat)
   1217 #endif /* !RUMP_CLIENT */
   1218 
   1219 #ifndef RUMP_CLIENT
   1220 struct compat_12_sys_lstat_args {
   1221 	syscallarg(const char *) path;
   1222 	syscallarg(struct stat12 *) ub;
   1223 };
   1224 check_syscall_args(compat_12_sys_lstat)
   1225 #endif /* !RUMP_CLIENT */
   1226 
   1227 struct sys_pathconf_args {
   1228 	syscallarg(const char *) path;
   1229 	syscallarg(int) name;
   1230 };
   1231 check_syscall_args(sys_pathconf)
   1232 
   1233 struct sys_fpathconf_args {
   1234 	syscallarg(int) fd;
   1235 	syscallarg(int) name;
   1236 };
   1237 check_syscall_args(sys_fpathconf)
   1238 
   1239 struct sys_getsockopt2_args {
   1240 	syscallarg(int) s;
   1241 	syscallarg(int) level;
   1242 	syscallarg(int) name;
   1243 	syscallarg(void *) val;
   1244 	syscallarg(socklen_t *) avalsize;
   1245 };
   1246 check_syscall_args(sys_getsockopt2)
   1247 
   1248 struct sys_getrlimit_args {
   1249 	syscallarg(int) which;
   1250 	syscallarg(struct rlimit *) rlp;
   1251 };
   1252 check_syscall_args(sys_getrlimit)
   1253 
   1254 struct sys_setrlimit_args {
   1255 	syscallarg(int) which;
   1256 	syscallarg(const struct rlimit *) rlp;
   1257 };
   1258 check_syscall_args(sys_setrlimit)
   1259 
   1260 #ifndef RUMP_CLIENT
   1261 struct compat_12_sys_getdirentries_args {
   1262 	syscallarg(int) fd;
   1263 	syscallarg(char *) buf;
   1264 	syscallarg(u_int) count;
   1265 	syscallarg(long *) basep;
   1266 };
   1267 check_syscall_args(compat_12_sys_getdirentries)
   1268 #endif /* !RUMP_CLIENT */
   1269 
   1270 #ifndef RUMP_CLIENT
   1271 struct sys_mmap_args {
   1272 	syscallarg(void *) addr;
   1273 	syscallarg(size_t) len;
   1274 	syscallarg(int) prot;
   1275 	syscallarg(int) flags;
   1276 	syscallarg(int) fd;
   1277 	syscallarg(long) PAD;
   1278 	syscallarg(off_t) pos;
   1279 };
   1280 check_syscall_args(sys_mmap)
   1281 #endif /* !RUMP_CLIENT */
   1282 
   1283 #ifndef RUMP_CLIENT
   1284 struct sys___syscall_args {
   1285 	syscallarg(quad_t) code;
   1286 	syscallarg(register_t) args[SYS_MAXSYSARGS];
   1287 };
   1288 #endif /* !RUMP_CLIENT */
   1289 
   1290 struct sys_lseek_args {
   1291 	syscallarg(int) fd;
   1292 	syscallarg(int) PAD;
   1293 	syscallarg(off_t) offset;
   1294 	syscallarg(int) whence;
   1295 };
   1296 check_syscall_args(sys_lseek)
   1297 
   1298 struct sys_truncate_args {
   1299 	syscallarg(const char *) path;
   1300 	syscallarg(int) PAD;
   1301 	syscallarg(off_t) length;
   1302 };
   1303 check_syscall_args(sys_truncate)
   1304 
   1305 struct sys_ftruncate_args {
   1306 	syscallarg(int) fd;
   1307 	syscallarg(int) PAD;
   1308 	syscallarg(off_t) length;
   1309 };
   1310 check_syscall_args(sys_ftruncate)
   1311 
   1312 struct sys___sysctl_args {
   1313 	syscallarg(const int *) name;
   1314 	syscallarg(u_int) namelen;
   1315 	syscallarg(void *) oldv;
   1316 	syscallarg(size_t *) oldlenp;
   1317 	syscallarg(const void *) newv;
   1318 	syscallarg(size_t) newlen;
   1319 };
   1320 check_syscall_args(sys___sysctl)
   1321 
   1322 #ifndef RUMP_CLIENT
   1323 struct sys_mlock_args {
   1324 	syscallarg(const void *) addr;
   1325 	syscallarg(size_t) len;
   1326 };
   1327 check_syscall_args(sys_mlock)
   1328 #endif /* !RUMP_CLIENT */
   1329 
   1330 #ifndef RUMP_CLIENT
   1331 struct sys_munlock_args {
   1332 	syscallarg(const void *) addr;
   1333 	syscallarg(size_t) len;
   1334 };
   1335 check_syscall_args(sys_munlock)
   1336 #endif /* !RUMP_CLIENT */
   1337 
   1338 #ifndef RUMP_CLIENT
   1339 struct sys_undelete_args {
   1340 	syscallarg(const char *) path;
   1341 };
   1342 check_syscall_args(sys_undelete)
   1343 #endif /* !RUMP_CLIENT */
   1344 
   1345 struct compat_50_sys_futimes_args {
   1346 	syscallarg(int) fd;
   1347 	syscallarg(const struct timeval50 *) tptr;
   1348 };
   1349 check_syscall_args(compat_50_sys_futimes)
   1350 
   1351 struct sys_getpgid_args {
   1352 	syscallarg(pid_t) pid;
   1353 };
   1354 check_syscall_args(sys_getpgid)
   1355 
   1356 struct sys_reboot_args {
   1357 	syscallarg(int) opt;
   1358 	syscallarg(char *) bootstr;
   1359 };
   1360 check_syscall_args(sys_reboot)
   1361 
   1362 struct sys_poll_args {
   1363 	syscallarg(struct pollfd *) fds;
   1364 	syscallarg(u_int) nfds;
   1365 	syscallarg(int) timeout;
   1366 };
   1367 check_syscall_args(sys_poll)
   1368 
   1369 #ifndef RUMP_CLIENT
   1370 struct sys_afssys_args {
   1371 	syscallarg(long) id;
   1372 	syscallarg(long) a1;
   1373 	syscallarg(long) a2;
   1374 	syscallarg(long) a3;
   1375 	syscallarg(long) a4;
   1376 	syscallarg(long) a5;
   1377 	syscallarg(long) a6;
   1378 };
   1379 check_syscall_args(sys_afssys)
   1380 #endif /* !RUMP_CLIENT */
   1381 
   1382 #ifndef RUMP_CLIENT
   1383 struct compat_14_sys___semctl_args {
   1384 	syscallarg(int) semid;
   1385 	syscallarg(int) semnum;
   1386 	syscallarg(int) cmd;
   1387 	syscallarg(union __semun *) arg;
   1388 };
   1389 check_syscall_args(compat_14_sys___semctl)
   1390 #endif /* !RUMP_CLIENT */
   1391 
   1392 #ifndef RUMP_CLIENT
   1393 struct sys_semget_args {
   1394 	syscallarg(key_t) key;
   1395 	syscallarg(int) nsems;
   1396 	syscallarg(int) semflg;
   1397 };
   1398 check_syscall_args(sys_semget)
   1399 #endif /* !RUMP_CLIENT */
   1400 
   1401 #ifndef RUMP_CLIENT
   1402 struct sys_semop_args {
   1403 	syscallarg(int) semid;
   1404 	syscallarg(struct sembuf *) sops;
   1405 	syscallarg(size_t) nsops;
   1406 };
   1407 check_syscall_args(sys_semop)
   1408 #endif /* !RUMP_CLIENT */
   1409 
   1410 #ifndef RUMP_CLIENT
   1411 struct sys_semconfig_args {
   1412 	syscallarg(int) flag;
   1413 };
   1414 check_syscall_args(sys_semconfig)
   1415 #endif /* !RUMP_CLIENT */
   1416 
   1417 #ifndef RUMP_CLIENT
   1418 struct compat_14_sys_msgctl_args {
   1419 	syscallarg(int) msqid;
   1420 	syscallarg(int) cmd;
   1421 	syscallarg(struct msqid_ds14 *) buf;
   1422 };
   1423 check_syscall_args(compat_14_sys_msgctl)
   1424 #endif /* !RUMP_CLIENT */
   1425 
   1426 #ifndef RUMP_CLIENT
   1427 struct sys_msgget_args {
   1428 	syscallarg(key_t) key;
   1429 	syscallarg(int) msgflg;
   1430 };
   1431 check_syscall_args(sys_msgget)
   1432 #endif /* !RUMP_CLIENT */
   1433 
   1434 #ifndef RUMP_CLIENT
   1435 struct sys_msgsnd_args {
   1436 	syscallarg(int) msqid;
   1437 	syscallarg(const void *) msgp;
   1438 	syscallarg(size_t) msgsz;
   1439 	syscallarg(int) msgflg;
   1440 };
   1441 check_syscall_args(sys_msgsnd)
   1442 #endif /* !RUMP_CLIENT */
   1443 
   1444 #ifndef RUMP_CLIENT
   1445 struct sys_msgrcv_args {
   1446 	syscallarg(int) msqid;
   1447 	syscallarg(void *) msgp;
   1448 	syscallarg(size_t) msgsz;
   1449 	syscallarg(long) msgtyp;
   1450 	syscallarg(int) msgflg;
   1451 };
   1452 check_syscall_args(sys_msgrcv)
   1453 #endif /* !RUMP_CLIENT */
   1454 
   1455 #ifndef RUMP_CLIENT
   1456 struct sys_shmat_args {
   1457 	syscallarg(int) shmid;
   1458 	syscallarg(const void *) shmaddr;
   1459 	syscallarg(int) shmflg;
   1460 };
   1461 check_syscall_args(sys_shmat)
   1462 #endif /* !RUMP_CLIENT */
   1463 
   1464 #ifndef RUMP_CLIENT
   1465 struct compat_14_sys_shmctl_args {
   1466 	syscallarg(int) shmid;
   1467 	syscallarg(int) cmd;
   1468 	syscallarg(struct shmid_ds14 *) buf;
   1469 };
   1470 check_syscall_args(compat_14_sys_shmctl)
   1471 #endif /* !RUMP_CLIENT */
   1472 
   1473 #ifndef RUMP_CLIENT
   1474 struct sys_shmdt_args {
   1475 	syscallarg(const void *) shmaddr;
   1476 };
   1477 check_syscall_args(sys_shmdt)
   1478 #endif /* !RUMP_CLIENT */
   1479 
   1480 #ifndef RUMP_CLIENT
   1481 struct sys_shmget_args {
   1482 	syscallarg(key_t) key;
   1483 	syscallarg(size_t) size;
   1484 	syscallarg(int) shmflg;
   1485 };
   1486 check_syscall_args(sys_shmget)
   1487 #endif /* !RUMP_CLIENT */
   1488 
   1489 #ifndef RUMP_CLIENT
   1490 struct compat_50_sys_clock_gettime_args {
   1491 	syscallarg(clockid_t) clock_id;
   1492 	syscallarg(struct timespec50 *) tp;
   1493 };
   1494 check_syscall_args(compat_50_sys_clock_gettime)
   1495 #endif /* !RUMP_CLIENT */
   1496 
   1497 #ifndef RUMP_CLIENT
   1498 struct compat_50_sys_clock_settime_args {
   1499 	syscallarg(clockid_t) clock_id;
   1500 	syscallarg(const struct timespec50 *) tp;
   1501 };
   1502 check_syscall_args(compat_50_sys_clock_settime)
   1503 #endif /* !RUMP_CLIENT */
   1504 
   1505 #ifndef RUMP_CLIENT
   1506 struct compat_50_sys_clock_getres_args {
   1507 	syscallarg(clockid_t) clock_id;
   1508 	syscallarg(struct timespec50 *) tp;
   1509 };
   1510 check_syscall_args(compat_50_sys_clock_getres)
   1511 #endif /* !RUMP_CLIENT */
   1512 
   1513 struct sys_timer_create_args {
   1514 	syscallarg(clockid_t) clock_id;
   1515 	syscallarg(struct sigevent *) evp;
   1516 	syscallarg(timer_t *) timerid;
   1517 };
   1518 check_syscall_args(sys_timer_create)
   1519 
   1520 struct sys_timer_delete_args {
   1521 	syscallarg(timer_t) timerid;
   1522 };
   1523 check_syscall_args(sys_timer_delete)
   1524 
   1525 #ifndef RUMP_CLIENT
   1526 struct compat_50_sys_timer_settime_args {
   1527 	syscallarg(timer_t) timerid;
   1528 	syscallarg(int) flags;
   1529 	syscallarg(const struct itimerspec50 *) value;
   1530 	syscallarg(struct itimerspec50 *) ovalue;
   1531 };
   1532 check_syscall_args(compat_50_sys_timer_settime)
   1533 #endif /* !RUMP_CLIENT */
   1534 
   1535 #ifndef RUMP_CLIENT
   1536 struct compat_50_sys_timer_gettime_args {
   1537 	syscallarg(timer_t) timerid;
   1538 	syscallarg(struct itimerspec50 *) value;
   1539 };
   1540 check_syscall_args(compat_50_sys_timer_gettime)
   1541 #endif /* !RUMP_CLIENT */
   1542 
   1543 struct sys_timer_getoverrun_args {
   1544 	syscallarg(timer_t) timerid;
   1545 };
   1546 check_syscall_args(sys_timer_getoverrun)
   1547 
   1548 #ifndef RUMP_CLIENT
   1549 struct compat_50_sys_nanosleep_args {
   1550 	syscallarg(const struct timespec50 *) rqtp;
   1551 	syscallarg(struct timespec50 *) rmtp;
   1552 };
   1553 check_syscall_args(compat_50_sys_nanosleep)
   1554 #endif /* !RUMP_CLIENT */
   1555 
   1556 struct sys_fdatasync_args {
   1557 	syscallarg(int) fd;
   1558 };
   1559 check_syscall_args(sys_fdatasync)
   1560 
   1561 #ifndef RUMP_CLIENT
   1562 struct sys_mlockall_args {
   1563 	syscallarg(int) flags;
   1564 };
   1565 check_syscall_args(sys_mlockall)
   1566 #endif /* !RUMP_CLIENT */
   1567 
   1568 #ifndef RUMP_CLIENT
   1569 struct compat_50_sys___sigtimedwait_args {
   1570 	syscallarg(const sigset_t *) set;
   1571 	syscallarg(siginfo_t *) info;
   1572 	syscallarg(struct timespec50 *) timeout;
   1573 };
   1574 check_syscall_args(compat_50_sys___sigtimedwait)
   1575 #endif /* !RUMP_CLIENT */
   1576 
   1577 #ifndef RUMP_CLIENT
   1578 struct sys_sigqueueinfo_args {
   1579 	syscallarg(pid_t) pid;
   1580 	syscallarg(const siginfo_t *) info;
   1581 };
   1582 check_syscall_args(sys_sigqueueinfo)
   1583 #endif /* !RUMP_CLIENT */
   1584 
   1585 struct sys_modctl_args {
   1586 	syscallarg(int) cmd;
   1587 	syscallarg(void *) arg;
   1588 };
   1589 check_syscall_args(sys_modctl)
   1590 
   1591 struct sys__ksem_init_args {
   1592 	syscallarg(unsigned int) value;
   1593 	syscallarg(intptr_t *) idp;
   1594 };
   1595 check_syscall_args(sys__ksem_init)
   1596 
   1597 struct sys__ksem_open_args {
   1598 	syscallarg(const char *) name;
   1599 	syscallarg(int) oflag;
   1600 	syscallarg(mode_t) mode;
   1601 	syscallarg(unsigned int) value;
   1602 	syscallarg(intptr_t *) idp;
   1603 };
   1604 check_syscall_args(sys__ksem_open)
   1605 
   1606 struct sys__ksem_unlink_args {
   1607 	syscallarg(const char *) name;
   1608 };
   1609 check_syscall_args(sys__ksem_unlink)
   1610 
   1611 struct sys__ksem_close_args {
   1612 	syscallarg(intptr_t) id;
   1613 };
   1614 check_syscall_args(sys__ksem_close)
   1615 
   1616 struct sys__ksem_post_args {
   1617 	syscallarg(intptr_t) id;
   1618 };
   1619 check_syscall_args(sys__ksem_post)
   1620 
   1621 struct sys__ksem_wait_args {
   1622 	syscallarg(intptr_t) id;
   1623 };
   1624 check_syscall_args(sys__ksem_wait)
   1625 
   1626 struct sys__ksem_trywait_args {
   1627 	syscallarg(intptr_t) id;
   1628 };
   1629 check_syscall_args(sys__ksem_trywait)
   1630 
   1631 struct sys__ksem_getvalue_args {
   1632 	syscallarg(intptr_t) id;
   1633 	syscallarg(unsigned int *) value;
   1634 };
   1635 check_syscall_args(sys__ksem_getvalue)
   1636 
   1637 struct sys__ksem_destroy_args {
   1638 	syscallarg(intptr_t) id;
   1639 };
   1640 check_syscall_args(sys__ksem_destroy)
   1641 
   1642 struct sys__ksem_timedwait_args {
   1643 	syscallarg(intptr_t) id;
   1644 	syscallarg(const struct timespec *) abstime;
   1645 };
   1646 check_syscall_args(sys__ksem_timedwait)
   1647 
   1648 #ifndef RUMP_CLIENT
   1649 struct sys_mq_open_args {
   1650 	syscallarg(const char *) name;
   1651 	syscallarg(int) oflag;
   1652 	syscallarg(mode_t) mode;
   1653 	syscallarg(struct mq_attr *) attr;
   1654 };
   1655 check_syscall_args(sys_mq_open)
   1656 #endif /* !RUMP_CLIENT */
   1657 
   1658 #ifndef RUMP_CLIENT
   1659 struct sys_mq_close_args {
   1660 	syscallarg(mqd_t) mqdes;
   1661 };
   1662 check_syscall_args(sys_mq_close)
   1663 #endif /* !RUMP_CLIENT */
   1664 
   1665 #ifndef RUMP_CLIENT
   1666 struct sys_mq_unlink_args {
   1667 	syscallarg(const char *) name;
   1668 };
   1669 check_syscall_args(sys_mq_unlink)
   1670 #endif /* !RUMP_CLIENT */
   1671 
   1672 #ifndef RUMP_CLIENT
   1673 struct sys_mq_getattr_args {
   1674 	syscallarg(mqd_t) mqdes;
   1675 	syscallarg(struct mq_attr *) mqstat;
   1676 };
   1677 check_syscall_args(sys_mq_getattr)
   1678 #endif /* !RUMP_CLIENT */
   1679 
   1680 #ifndef RUMP_CLIENT
   1681 struct sys_mq_setattr_args {
   1682 	syscallarg(mqd_t) mqdes;
   1683 	syscallarg(const struct mq_attr *) mqstat;
   1684 	syscallarg(struct mq_attr *) omqstat;
   1685 };
   1686 check_syscall_args(sys_mq_setattr)
   1687 #endif /* !RUMP_CLIENT */
   1688 
   1689 #ifndef RUMP_CLIENT
   1690 struct sys_mq_notify_args {
   1691 	syscallarg(mqd_t) mqdes;
   1692 	syscallarg(const struct sigevent *) notification;
   1693 };
   1694 check_syscall_args(sys_mq_notify)
   1695 #endif /* !RUMP_CLIENT */
   1696 
   1697 #ifndef RUMP_CLIENT
   1698 struct sys_mq_send_args {
   1699 	syscallarg(mqd_t) mqdes;
   1700 	syscallarg(const char *) msg_ptr;
   1701 	syscallarg(size_t) msg_len;
   1702 	syscallarg(unsigned) msg_prio;
   1703 };
   1704 check_syscall_args(sys_mq_send)
   1705 #endif /* !RUMP_CLIENT */
   1706 
   1707 #ifndef RUMP_CLIENT
   1708 struct sys_mq_receive_args {
   1709 	syscallarg(mqd_t) mqdes;
   1710 	syscallarg(char *) msg_ptr;
   1711 	syscallarg(size_t) msg_len;
   1712 	syscallarg(unsigned *) msg_prio;
   1713 };
   1714 check_syscall_args(sys_mq_receive)
   1715 #endif /* !RUMP_CLIENT */
   1716 
   1717 #ifndef RUMP_CLIENT
   1718 struct compat_50_sys_mq_timedsend_args {
   1719 	syscallarg(mqd_t) mqdes;
   1720 	syscallarg(const char *) msg_ptr;
   1721 	syscallarg(size_t) msg_len;
   1722 	syscallarg(unsigned) msg_prio;
   1723 	syscallarg(const struct timespec50 *) abs_timeout;
   1724 };
   1725 check_syscall_args(compat_50_sys_mq_timedsend)
   1726 #endif /* !RUMP_CLIENT */
   1727 
   1728 #ifndef RUMP_CLIENT
   1729 struct compat_50_sys_mq_timedreceive_args {
   1730 	syscallarg(mqd_t) mqdes;
   1731 	syscallarg(char *) msg_ptr;
   1732 	syscallarg(size_t) msg_len;
   1733 	syscallarg(unsigned *) msg_prio;
   1734 	syscallarg(const struct timespec50 *) abs_timeout;
   1735 };
   1736 check_syscall_args(compat_50_sys_mq_timedreceive)
   1737 #endif /* !RUMP_CLIENT */
   1738 
   1739 #ifndef RUMP_CLIENT
   1740 struct sys_eventfd_args {
   1741 	syscallarg(unsigned int) val;
   1742 	syscallarg(int) flags;
   1743 };
   1744 check_syscall_args(sys_eventfd)
   1745 #endif /* !RUMP_CLIENT */
   1746 
   1747 struct sys___posix_rename_args {
   1748 	syscallarg(const char *) from;
   1749 	syscallarg(const char *) to;
   1750 };
   1751 check_syscall_args(sys___posix_rename)
   1752 
   1753 #ifndef RUMP_CLIENT
   1754 struct sys_swapctl_args {
   1755 	syscallarg(int) cmd;
   1756 	syscallarg(void *) arg;
   1757 	syscallarg(int) misc;
   1758 };
   1759 check_syscall_args(sys_swapctl)
   1760 #endif /* !RUMP_CLIENT */
   1761 
   1762 #ifndef RUMP_CLIENT
   1763 struct compat_30_sys_getdents_args {
   1764 	syscallarg(int) fd;
   1765 	syscallarg(char *) buf;
   1766 	syscallarg(size_t) count;
   1767 };
   1768 check_syscall_args(compat_30_sys_getdents)
   1769 #endif /* !RUMP_CLIENT */
   1770 
   1771 #ifndef RUMP_CLIENT
   1772 struct sys_minherit_args {
   1773 	syscallarg(void *) addr;
   1774 	syscallarg(size_t) len;
   1775 	syscallarg(int) inherit;
   1776 };
   1777 check_syscall_args(sys_minherit)
   1778 #endif /* !RUMP_CLIENT */
   1779 
   1780 struct sys_lchmod_args {
   1781 	syscallarg(const char *) path;
   1782 	syscallarg(mode_t) mode;
   1783 };
   1784 check_syscall_args(sys_lchmod)
   1785 
   1786 struct sys_lchown_args {
   1787 	syscallarg(const char *) path;
   1788 	syscallarg(uid_t) uid;
   1789 	syscallarg(gid_t) gid;
   1790 };
   1791 check_syscall_args(sys_lchown)
   1792 
   1793 struct compat_50_sys_lutimes_args {
   1794 	syscallarg(const char *) path;
   1795 	syscallarg(const struct timeval50 *) tptr;
   1796 };
   1797 check_syscall_args(compat_50_sys_lutimes)
   1798 
   1799 #ifndef RUMP_CLIENT
   1800 struct sys___msync13_args {
   1801 	syscallarg(void *) addr;
   1802 	syscallarg(size_t) len;
   1803 	syscallarg(int) flags;
   1804 };
   1805 check_syscall_args(sys___msync13)
   1806 #endif /* !RUMP_CLIENT */
   1807 
   1808 #ifndef RUMP_CLIENT
   1809 struct compat_30_sys___stat13_args {
   1810 	syscallarg(const char *) path;
   1811 	syscallarg(struct stat13 *) ub;
   1812 };
   1813 check_syscall_args(compat_30_sys___stat13)
   1814 #endif /* !RUMP_CLIENT */
   1815 
   1816 #ifndef RUMP_CLIENT
   1817 struct compat_30_sys___fstat13_args {
   1818 	syscallarg(int) fd;
   1819 	syscallarg(struct stat13 *) sb;
   1820 };
   1821 check_syscall_args(compat_30_sys___fstat13)
   1822 #endif /* !RUMP_CLIENT */
   1823 
   1824 #ifndef RUMP_CLIENT
   1825 struct compat_30_sys___lstat13_args {
   1826 	syscallarg(const char *) path;
   1827 	syscallarg(struct stat13 *) ub;
   1828 };
   1829 check_syscall_args(compat_30_sys___lstat13)
   1830 #endif /* !RUMP_CLIENT */
   1831 
   1832 #ifndef RUMP_CLIENT
   1833 struct sys___sigaltstack14_args {
   1834 	syscallarg(const stack_t *) nss;
   1835 	syscallarg(stack_t *) oss;
   1836 };
   1837 check_syscall_args(sys___sigaltstack14)
   1838 #endif /* !RUMP_CLIENT */
   1839 
   1840 struct sys___posix_chown_args {
   1841 	syscallarg(const char *) path;
   1842 	syscallarg(uid_t) uid;
   1843 	syscallarg(gid_t) gid;
   1844 };
   1845 check_syscall_args(sys___posix_chown)
   1846 
   1847 struct sys___posix_fchown_args {
   1848 	syscallarg(int) fd;
   1849 	syscallarg(uid_t) uid;
   1850 	syscallarg(gid_t) gid;
   1851 };
   1852 check_syscall_args(sys___posix_fchown)
   1853 
   1854 struct sys___posix_lchown_args {
   1855 	syscallarg(const char *) path;
   1856 	syscallarg(uid_t) uid;
   1857 	syscallarg(gid_t) gid;
   1858 };
   1859 check_syscall_args(sys___posix_lchown)
   1860 
   1861 struct sys_getsid_args {
   1862 	syscallarg(pid_t) pid;
   1863 };
   1864 check_syscall_args(sys_getsid)
   1865 
   1866 #ifndef RUMP_CLIENT
   1867 struct sys___clone_args {
   1868 	syscallarg(int) flags;
   1869 	syscallarg(void *) stack;
   1870 };
   1871 check_syscall_args(sys___clone)
   1872 #endif /* !RUMP_CLIENT */
   1873 
   1874 struct sys_fktrace_args {
   1875 	syscallarg(int) fd;
   1876 	syscallarg(int) ops;
   1877 	syscallarg(int) facs;
   1878 	syscallarg(pid_t) pid;
   1879 };
   1880 check_syscall_args(sys_fktrace)
   1881 
   1882 struct sys_preadv_args {
   1883 	syscallarg(int) fd;
   1884 	syscallarg(const struct iovec *) iovp;
   1885 	syscallarg(int) iovcnt;
   1886 	syscallarg(int) PAD;
   1887 	syscallarg(off_t) offset;
   1888 };
   1889 check_syscall_args(sys_preadv)
   1890 
   1891 struct sys_pwritev_args {
   1892 	syscallarg(int) fd;
   1893 	syscallarg(const struct iovec *) iovp;
   1894 	syscallarg(int) iovcnt;
   1895 	syscallarg(int) PAD;
   1896 	syscallarg(off_t) offset;
   1897 };
   1898 check_syscall_args(sys_pwritev)
   1899 
   1900 #ifndef RUMP_CLIENT
   1901 struct compat_16_sys___sigaction14_args {
   1902 	syscallarg(int) signum;
   1903 	syscallarg(const struct sigaction *) nsa;
   1904 	syscallarg(struct sigaction *) osa;
   1905 };
   1906 check_syscall_args(compat_16_sys___sigaction14)
   1907 #endif /* !RUMP_CLIENT */
   1908 
   1909 #ifndef RUMP_CLIENT
   1910 struct sys___sigpending14_args {
   1911 	syscallarg(sigset_t *) set;
   1912 };
   1913 check_syscall_args(sys___sigpending14)
   1914 #endif /* !RUMP_CLIENT */
   1915 
   1916 #ifndef RUMP_CLIENT
   1917 struct sys___sigprocmask14_args {
   1918 	syscallarg(int) how;
   1919 	syscallarg(const sigset_t *) set;
   1920 	syscallarg(sigset_t *) oset;
   1921 };
   1922 check_syscall_args(sys___sigprocmask14)
   1923 #endif /* !RUMP_CLIENT */
   1924 
   1925 #ifndef RUMP_CLIENT
   1926 struct sys___sigsuspend14_args {
   1927 	syscallarg(const sigset_t *) set;
   1928 };
   1929 check_syscall_args(sys___sigsuspend14)
   1930 #endif /* !RUMP_CLIENT */
   1931 
   1932 #ifndef RUMP_CLIENT
   1933 struct compat_16_sys___sigreturn14_args {
   1934 	syscallarg(struct sigcontext *) sigcntxp;
   1935 };
   1936 check_syscall_args(compat_16_sys___sigreturn14)
   1937 #endif /* !RUMP_CLIENT */
   1938 
   1939 struct sys___getcwd_args {
   1940 	syscallarg(char *) bufp;
   1941 	syscallarg(size_t) length;
   1942 };
   1943 check_syscall_args(sys___getcwd)
   1944 
   1945 struct sys_fchroot_args {
   1946 	syscallarg(int) fd;
   1947 };
   1948 check_syscall_args(sys_fchroot)
   1949 
   1950 #ifndef RUMP_CLIENT
   1951 struct compat_30_sys_fhopen_args {
   1952 	syscallarg(const struct compat_30_fhandle *) fhp;
   1953 	syscallarg(int) flags;
   1954 };
   1955 check_syscall_args(compat_30_sys_fhopen)
   1956 #endif /* !RUMP_CLIENT */
   1957 
   1958 #ifndef RUMP_CLIENT
   1959 struct compat_30_sys_fhstat_args {
   1960 	syscallarg(const struct compat_30_fhandle *) fhp;
   1961 	syscallarg(struct stat13 *) sb;
   1962 };
   1963 check_syscall_args(compat_30_sys_fhstat)
   1964 #endif /* !RUMP_CLIENT */
   1965 
   1966 #ifndef RUMP_CLIENT
   1967 struct compat_20_sys_fhstatfs_args {
   1968 	syscallarg(const struct compat_30_fhandle *) fhp;
   1969 	syscallarg(struct statfs12 *) buf;
   1970 };
   1971 check_syscall_args(compat_20_sys_fhstatfs)
   1972 #endif /* !RUMP_CLIENT */
   1973 
   1974 #ifndef RUMP_CLIENT
   1975 struct compat_50_sys_____semctl13_args {
   1976 	syscallarg(int) semid;
   1977 	syscallarg(int) semnum;
   1978 	syscallarg(int) cmd;
   1979 	syscallarg(union __semun *) arg;
   1980 };
   1981 check_syscall_args(compat_50_sys_____semctl13)
   1982 #endif /* !RUMP_CLIENT */
   1983 
   1984 #ifndef RUMP_CLIENT
   1985 struct compat_50_sys___msgctl13_args {
   1986 	syscallarg(int) msqid;
   1987 	syscallarg(int) cmd;
   1988 	syscallarg(struct msqid_ds *) buf;
   1989 };
   1990 check_syscall_args(compat_50_sys___msgctl13)
   1991 #endif /* !RUMP_CLIENT */
   1992 
   1993 #ifndef RUMP_CLIENT
   1994 struct compat_50_sys___shmctl13_args {
   1995 	syscallarg(int) shmid;
   1996 	syscallarg(int) cmd;
   1997 	syscallarg(struct shmid_ds13 *) buf;
   1998 };
   1999 check_syscall_args(compat_50_sys___shmctl13)
   2000 #endif /* !RUMP_CLIENT */
   2001 
   2002 struct sys_lchflags_args {
   2003 	syscallarg(const char *) path;
   2004 	syscallarg(u_long) flags;
   2005 };
   2006 check_syscall_args(sys_lchflags)
   2007 
   2008 struct sys_utrace_args {
   2009 	syscallarg(const char *) label;
   2010 	syscallarg(void *) addr;
   2011 	syscallarg(size_t) len;
   2012 };
   2013 check_syscall_args(sys_utrace)
   2014 
   2015 #ifndef RUMP_CLIENT
   2016 struct sys_getcontext_args {
   2017 	syscallarg(struct __ucontext *) ucp;
   2018 };
   2019 check_syscall_args(sys_getcontext)
   2020 #endif /* !RUMP_CLIENT */
   2021 
   2022 #ifndef RUMP_CLIENT
   2023 struct sys_setcontext_args {
   2024 	syscallarg(const struct __ucontext *) ucp;
   2025 };
   2026 check_syscall_args(sys_setcontext)
   2027 #endif /* !RUMP_CLIENT */
   2028 
   2029 #ifndef RUMP_CLIENT
   2030 struct sys__lwp_create_args {
   2031 	syscallarg(const struct __ucontext *) ucp;
   2032 	syscallarg(u_long) flags;
   2033 	syscallarg(lwpid_t *) new_lwp;
   2034 };
   2035 check_syscall_args(sys__lwp_create)
   2036 #endif /* !RUMP_CLIENT */
   2037 
   2038 #ifndef RUMP_CLIENT
   2039 struct sys__lwp_wait_args {
   2040 	syscallarg(lwpid_t) wait_for;
   2041 	syscallarg(lwpid_t *) departed;
   2042 };
   2043 check_syscall_args(sys__lwp_wait)
   2044 #endif /* !RUMP_CLIENT */
   2045 
   2046 #ifndef RUMP_CLIENT
   2047 struct sys__lwp_suspend_args {
   2048 	syscallarg(lwpid_t) target;
   2049 };
   2050 check_syscall_args(sys__lwp_suspend)
   2051 #endif /* !RUMP_CLIENT */
   2052 
   2053 #ifndef RUMP_CLIENT
   2054 struct sys__lwp_continue_args {
   2055 	syscallarg(lwpid_t) target;
   2056 };
   2057 check_syscall_args(sys__lwp_continue)
   2058 #endif /* !RUMP_CLIENT */
   2059 
   2060 #ifndef RUMP_CLIENT
   2061 struct sys__lwp_wakeup_args {
   2062 	syscallarg(lwpid_t) target;
   2063 };
   2064 check_syscall_args(sys__lwp_wakeup)
   2065 #endif /* !RUMP_CLIENT */
   2066 
   2067 #ifndef RUMP_CLIENT
   2068 struct sys__lwp_setprivate_args {
   2069 	syscallarg(void *) ptr;
   2070 };
   2071 check_syscall_args(sys__lwp_setprivate)
   2072 #endif /* !RUMP_CLIENT */
   2073 
   2074 #ifndef RUMP_CLIENT
   2075 struct sys__lwp_kill_args {
   2076 	syscallarg(lwpid_t) target;
   2077 	syscallarg(int) signo;
   2078 };
   2079 check_syscall_args(sys__lwp_kill)
   2080 #endif /* !RUMP_CLIENT */
   2081 
   2082 #ifndef RUMP_CLIENT
   2083 struct sys__lwp_detach_args {
   2084 	syscallarg(lwpid_t) target;
   2085 };
   2086 check_syscall_args(sys__lwp_detach)
   2087 #endif /* !RUMP_CLIENT */
   2088 
   2089 #ifndef RUMP_CLIENT
   2090 struct compat_50_sys__lwp_park_args {
   2091 	syscallarg(const struct timespec50 *) ts;
   2092 	syscallarg(lwpid_t) unpark;
   2093 	syscallarg(const void *) hint;
   2094 	syscallarg(const void *) unparkhint;
   2095 };
   2096 check_syscall_args(compat_50_sys__lwp_park)
   2097 #endif /* !RUMP_CLIENT */
   2098 
   2099 #ifndef RUMP_CLIENT
   2100 struct sys__lwp_unpark_args {
   2101 	syscallarg(lwpid_t) target;
   2102 	syscallarg(const void *) hint;
   2103 };
   2104 check_syscall_args(sys__lwp_unpark)
   2105 #endif /* !RUMP_CLIENT */
   2106 
   2107 #ifndef RUMP_CLIENT
   2108 struct sys__lwp_unpark_all_args {
   2109 	syscallarg(const lwpid_t *) targets;
   2110 	syscallarg(size_t) ntargets;
   2111 	syscallarg(const void *) hint;
   2112 };
   2113 check_syscall_args(sys__lwp_unpark_all)
   2114 #endif /* !RUMP_CLIENT */
   2115 
   2116 #ifndef RUMP_CLIENT
   2117 struct sys__lwp_setname_args {
   2118 	syscallarg(lwpid_t) target;
   2119 	syscallarg(const char *) name;
   2120 };
   2121 check_syscall_args(sys__lwp_setname)
   2122 #endif /* !RUMP_CLIENT */
   2123 
   2124 #ifndef RUMP_CLIENT
   2125 struct sys__lwp_getname_args {
   2126 	syscallarg(lwpid_t) target;
   2127 	syscallarg(char *) name;
   2128 	syscallarg(size_t) len;
   2129 };
   2130 check_syscall_args(sys__lwp_getname)
   2131 #endif /* !RUMP_CLIENT */
   2132 
   2133 #ifndef RUMP_CLIENT
   2134 struct sys__lwp_ctl_args {
   2135 	syscallarg(int) features;
   2136 	syscallarg(struct lwpctl **) address;
   2137 };
   2138 check_syscall_args(sys__lwp_ctl)
   2139 #endif /* !RUMP_CLIENT */
   2140 
   2141 #ifndef RUMP_CLIENT
   2142 struct compat_60_sys_sa_register_args {
   2143 	syscallarg(void *) newv;
   2144 	syscallarg(void **) oldv;
   2145 	syscallarg(int) flags;
   2146 	syscallarg(ssize_t) stackinfo_offset;
   2147 };
   2148 check_syscall_args(compat_60_sys_sa_register)
   2149 #endif /* !RUMP_CLIENT */
   2150 
   2151 #ifndef RUMP_CLIENT
   2152 struct compat_60_sys_sa_stacks_args {
   2153 	syscallarg(int) num;
   2154 	syscallarg(stack_t *) stacks;
   2155 };
   2156 check_syscall_args(compat_60_sys_sa_stacks)
   2157 #endif /* !RUMP_CLIENT */
   2158 
   2159 #ifndef RUMP_CLIENT
   2160 struct compat_60_sys_sa_setconcurrency_args {
   2161 	syscallarg(int) concurrency;
   2162 };
   2163 check_syscall_args(compat_60_sys_sa_setconcurrency)
   2164 #endif /* !RUMP_CLIENT */
   2165 
   2166 #ifndef RUMP_CLIENT
   2167 struct compat_60_sys_sa_preempt_args {
   2168 	syscallarg(int) sa_id;
   2169 };
   2170 check_syscall_args(compat_60_sys_sa_preempt)
   2171 #endif /* !RUMP_CLIENT */
   2172 
   2173 #ifndef RUMP_CLIENT
   2174 struct sys___sigaction_sigtramp_args {
   2175 	syscallarg(int) signum;
   2176 	syscallarg(const struct sigaction *) nsa;
   2177 	syscallarg(struct sigaction *) osa;
   2178 	syscallarg(const void *) tramp;
   2179 	syscallarg(int) vers;
   2180 };
   2181 check_syscall_args(sys___sigaction_sigtramp)
   2182 #endif /* !RUMP_CLIENT */
   2183 
   2184 #ifndef RUMP_CLIENT
   2185 struct sys_rasctl_args {
   2186 	syscallarg(void *) addr;
   2187 	syscallarg(size_t) len;
   2188 	syscallarg(int) op;
   2189 };
   2190 check_syscall_args(sys_rasctl)
   2191 #endif /* !RUMP_CLIENT */
   2192 
   2193 struct compat_50_sys_kevent_args {
   2194 	syscallarg(int) fd;
   2195 	syscallarg(const struct kevent100 *) changelist;
   2196 	syscallarg(size_t) nchanges;
   2197 	syscallarg(struct kevent100 *) eventlist;
   2198 	syscallarg(size_t) nevents;
   2199 	syscallarg(const struct timespec50 *) timeout;
   2200 };
   2201 check_syscall_args(compat_50_sys_kevent)
   2202 
   2203 #ifndef RUMP_CLIENT
   2204 struct sys__sched_setparam_args {
   2205 	syscallarg(pid_t) pid;
   2206 	syscallarg(lwpid_t) lid;
   2207 	syscallarg(int) policy;
   2208 	syscallarg(const struct sched_param *) params;
   2209 };
   2210 check_syscall_args(sys__sched_setparam)
   2211 #endif /* !RUMP_CLIENT */
   2212 
   2213 #ifndef RUMP_CLIENT
   2214 struct sys__sched_getparam_args {
   2215 	syscallarg(pid_t) pid;
   2216 	syscallarg(lwpid_t) lid;
   2217 	syscallarg(int *) policy;
   2218 	syscallarg(struct sched_param *) params;
   2219 };
   2220 check_syscall_args(sys__sched_getparam)
   2221 #endif /* !RUMP_CLIENT */
   2222 
   2223 #ifndef RUMP_CLIENT
   2224 struct sys__sched_setaffinity_args {
   2225 	syscallarg(pid_t) pid;
   2226 	syscallarg(lwpid_t) lid;
   2227 	syscallarg(size_t) size;
   2228 	syscallarg(const cpuset_t *) cpuset;
   2229 };
   2230 check_syscall_args(sys__sched_setaffinity)
   2231 #endif /* !RUMP_CLIENT */
   2232 
   2233 #ifndef RUMP_CLIENT
   2234 struct sys__sched_getaffinity_args {
   2235 	syscallarg(pid_t) pid;
   2236 	syscallarg(lwpid_t) lid;
   2237 	syscallarg(size_t) size;
   2238 	syscallarg(cpuset_t *) cpuset;
   2239 };
   2240 check_syscall_args(sys__sched_getaffinity)
   2241 #endif /* !RUMP_CLIENT */
   2242 
   2243 #ifndef RUMP_CLIENT
   2244 struct sys__sched_protect_args {
   2245 	syscallarg(int) priority;
   2246 };
   2247 check_syscall_args(sys__sched_protect)
   2248 #endif /* !RUMP_CLIENT */
   2249 
   2250 struct sys_fsync_range_args {
   2251 	syscallarg(int) fd;
   2252 	syscallarg(int) flags;
   2253 	syscallarg(off_t) start;
   2254 	syscallarg(off_t) length;
   2255 };
   2256 check_syscall_args(sys_fsync_range)
   2257 
   2258 #ifndef RUMP_CLIENT
   2259 struct sys_uuidgen_args {
   2260 	syscallarg(struct uuid *) store;
   2261 	syscallarg(int) count;
   2262 };
   2263 check_syscall_args(sys_uuidgen)
   2264 #endif /* !RUMP_CLIENT */
   2265 
   2266 #ifndef RUMP_CLIENT
   2267 struct compat_90_sys_getvfsstat_args {
   2268 	syscallarg(struct statvfs90 *) buf;
   2269 	syscallarg(size_t) bufsize;
   2270 	syscallarg(int) flags;
   2271 };
   2272 check_syscall_args(compat_90_sys_getvfsstat)
   2273 #endif /* !RUMP_CLIENT */
   2274 
   2275 #ifndef RUMP_CLIENT
   2276 struct compat_90_sys_statvfs1_args {
   2277 	syscallarg(const char *) path;
   2278 	syscallarg(struct statvfs90 *) buf;
   2279 	syscallarg(int) flags;
   2280 };
   2281 check_syscall_args(compat_90_sys_statvfs1)
   2282 #endif /* !RUMP_CLIENT */
   2283 
   2284 #ifndef RUMP_CLIENT
   2285 struct compat_90_sys_fstatvfs1_args {
   2286 	syscallarg(int) fd;
   2287 	syscallarg(struct statvfs90 *) buf;
   2288 	syscallarg(int) flags;
   2289 };
   2290 check_syscall_args(compat_90_sys_fstatvfs1)
   2291 #endif /* !RUMP_CLIENT */
   2292 
   2293 #ifndef RUMP_CLIENT
   2294 struct compat_30_sys_fhstatvfs1_args {
   2295 	syscallarg(const struct compat_30_fhandle *) fhp;
   2296 	syscallarg(struct statvfs90 *) buf;
   2297 	syscallarg(int) flags;
   2298 };
   2299 check_syscall_args(compat_30_sys_fhstatvfs1)
   2300 #endif /* !RUMP_CLIENT */
   2301 
   2302 struct sys_extattrctl_args {
   2303 	syscallarg(const char *) path;
   2304 	syscallarg(int) cmd;
   2305 	syscallarg(const char *) filename;
   2306 	syscallarg(int) attrnamespace;
   2307 	syscallarg(const char *) attrname;
   2308 };
   2309 check_syscall_args(sys_extattrctl)
   2310 
   2311 struct sys_extattr_set_file_args {
   2312 	syscallarg(const char *) path;
   2313 	syscallarg(int) attrnamespace;
   2314 	syscallarg(const char *) attrname;
   2315 	syscallarg(const void *) data;
   2316 	syscallarg(size_t) nbytes;
   2317 };
   2318 check_syscall_args(sys_extattr_set_file)
   2319 
   2320 struct sys_extattr_get_file_args {
   2321 	syscallarg(const char *) path;
   2322 	syscallarg(int) attrnamespace;
   2323 	syscallarg(const char *) attrname;
   2324 	syscallarg(void *) data;
   2325 	syscallarg(size_t) nbytes;
   2326 };
   2327 check_syscall_args(sys_extattr_get_file)
   2328 
   2329 struct sys_extattr_delete_file_args {
   2330 	syscallarg(const char *) path;
   2331 	syscallarg(int) attrnamespace;
   2332 	syscallarg(const char *) attrname;
   2333 };
   2334 check_syscall_args(sys_extattr_delete_file)
   2335 
   2336 struct sys_extattr_set_fd_args {
   2337 	syscallarg(int) fd;
   2338 	syscallarg(int) attrnamespace;
   2339 	syscallarg(const char *) attrname;
   2340 	syscallarg(const void *) data;
   2341 	syscallarg(size_t) nbytes;
   2342 };
   2343 check_syscall_args(sys_extattr_set_fd)
   2344 
   2345 struct sys_extattr_get_fd_args {
   2346 	syscallarg(int) fd;
   2347 	syscallarg(int) attrnamespace;
   2348 	syscallarg(const char *) attrname;
   2349 	syscallarg(void *) data;
   2350 	syscallarg(size_t) nbytes;
   2351 };
   2352 check_syscall_args(sys_extattr_get_fd)
   2353 
   2354 struct sys_extattr_delete_fd_args {
   2355 	syscallarg(int) fd;
   2356 	syscallarg(int) attrnamespace;
   2357 	syscallarg(const char *) attrname;
   2358 };
   2359 check_syscall_args(sys_extattr_delete_fd)
   2360 
   2361 struct sys_extattr_set_link_args {
   2362 	syscallarg(const char *) path;
   2363 	syscallarg(int) attrnamespace;
   2364 	syscallarg(const char *) attrname;
   2365 	syscallarg(const void *) data;
   2366 	syscallarg(size_t) nbytes;
   2367 };
   2368 check_syscall_args(sys_extattr_set_link)
   2369 
   2370 struct sys_extattr_get_link_args {
   2371 	syscallarg(const char *) path;
   2372 	syscallarg(int) attrnamespace;
   2373 	syscallarg(const char *) attrname;
   2374 	syscallarg(void *) data;
   2375 	syscallarg(size_t) nbytes;
   2376 };
   2377 check_syscall_args(sys_extattr_get_link)
   2378 
   2379 struct sys_extattr_delete_link_args {
   2380 	syscallarg(const char *) path;
   2381 	syscallarg(int) attrnamespace;
   2382 	syscallarg(const char *) attrname;
   2383 };
   2384 check_syscall_args(sys_extattr_delete_link)
   2385 
   2386 struct sys_extattr_list_fd_args {
   2387 	syscallarg(int) fd;
   2388 	syscallarg(int) attrnamespace;
   2389 	syscallarg(void *) data;
   2390 	syscallarg(size_t) nbytes;
   2391 };
   2392 check_syscall_args(sys_extattr_list_fd)
   2393 
   2394 struct sys_extattr_list_file_args {
   2395 	syscallarg(const char *) path;
   2396 	syscallarg(int) attrnamespace;
   2397 	syscallarg(void *) data;
   2398 	syscallarg(size_t) nbytes;
   2399 };
   2400 check_syscall_args(sys_extattr_list_file)
   2401 
   2402 struct sys_extattr_list_link_args {
   2403 	syscallarg(const char *) path;
   2404 	syscallarg(int) attrnamespace;
   2405 	syscallarg(void *) data;
   2406 	syscallarg(size_t) nbytes;
   2407 };
   2408 check_syscall_args(sys_extattr_list_link)
   2409 
   2410 struct compat_50_sys_pselect_args {
   2411 	syscallarg(int) nd;
   2412 	syscallarg(fd_set *) in;
   2413 	syscallarg(fd_set *) ou;
   2414 	syscallarg(fd_set *) ex;
   2415 	syscallarg(const struct timespec50 *) ts;
   2416 	syscallarg(const sigset_t *) mask;
   2417 };
   2418 check_syscall_args(compat_50_sys_pselect)
   2419 
   2420 struct compat_50_sys_pollts_args {
   2421 	syscallarg(struct pollfd *) fds;
   2422 	syscallarg(u_int) nfds;
   2423 	syscallarg(const struct timespec50 *) ts;
   2424 	syscallarg(const sigset_t *) mask;
   2425 };
   2426 check_syscall_args(compat_50_sys_pollts)
   2427 
   2428 struct sys_setxattr_args {
   2429 	syscallarg(const char *) path;
   2430 	syscallarg(const char *) name;
   2431 	syscallarg(const void *) value;
   2432 	syscallarg(size_t) size;
   2433 	syscallarg(int) flags;
   2434 };
   2435 check_syscall_args(sys_setxattr)
   2436 
   2437 struct sys_lsetxattr_args {
   2438 	syscallarg(const char *) path;
   2439 	syscallarg(const char *) name;
   2440 	syscallarg(const void *) value;
   2441 	syscallarg(size_t) size;
   2442 	syscallarg(int) flags;
   2443 };
   2444 check_syscall_args(sys_lsetxattr)
   2445 
   2446 struct sys_fsetxattr_args {
   2447 	syscallarg(int) fd;
   2448 	syscallarg(const char *) name;
   2449 	syscallarg(const void *) value;
   2450 	syscallarg(size_t) size;
   2451 	syscallarg(int) flags;
   2452 };
   2453 check_syscall_args(sys_fsetxattr)
   2454 
   2455 struct sys_getxattr_args {
   2456 	syscallarg(const char *) path;
   2457 	syscallarg(const char *) name;
   2458 	syscallarg(void *) value;
   2459 	syscallarg(size_t) size;
   2460 };
   2461 check_syscall_args(sys_getxattr)
   2462 
   2463 struct sys_lgetxattr_args {
   2464 	syscallarg(const char *) path;
   2465 	syscallarg(const char *) name;
   2466 	syscallarg(void *) value;
   2467 	syscallarg(size_t) size;
   2468 };
   2469 check_syscall_args(sys_lgetxattr)
   2470 
   2471 struct sys_fgetxattr_args {
   2472 	syscallarg(int) fd;
   2473 	syscallarg(const char *) name;
   2474 	syscallarg(void *) value;
   2475 	syscallarg(size_t) size;
   2476 };
   2477 check_syscall_args(sys_fgetxattr)
   2478 
   2479 struct sys_listxattr_args {
   2480 	syscallarg(const char *) path;
   2481 	syscallarg(char *) list;
   2482 	syscallarg(size_t) size;
   2483 };
   2484 check_syscall_args(sys_listxattr)
   2485 
   2486 struct sys_llistxattr_args {
   2487 	syscallarg(const char *) path;
   2488 	syscallarg(char *) list;
   2489 	syscallarg(size_t) size;
   2490 };
   2491 check_syscall_args(sys_llistxattr)
   2492 
   2493 struct sys_flistxattr_args {
   2494 	syscallarg(int) fd;
   2495 	syscallarg(char *) list;
   2496 	syscallarg(size_t) size;
   2497 };
   2498 check_syscall_args(sys_flistxattr)
   2499 
   2500 struct sys_removexattr_args {
   2501 	syscallarg(const char *) path;
   2502 	syscallarg(const char *) name;
   2503 };
   2504 check_syscall_args(sys_removexattr)
   2505 
   2506 struct sys_lremovexattr_args {
   2507 	syscallarg(const char *) path;
   2508 	syscallarg(const char *) name;
   2509 };
   2510 check_syscall_args(sys_lremovexattr)
   2511 
   2512 struct sys_fremovexattr_args {
   2513 	syscallarg(int) fd;
   2514 	syscallarg(const char *) name;
   2515 };
   2516 check_syscall_args(sys_fremovexattr)
   2517 
   2518 struct compat_50_sys___stat30_args {
   2519 	syscallarg(const char *) path;
   2520 	syscallarg(struct stat30 *) ub;
   2521 };
   2522 check_syscall_args(compat_50_sys___stat30)
   2523 
   2524 struct compat_50_sys___fstat30_args {
   2525 	syscallarg(int) fd;
   2526 	syscallarg(struct stat30 *) sb;
   2527 };
   2528 check_syscall_args(compat_50_sys___fstat30)
   2529 
   2530 struct compat_50_sys___lstat30_args {
   2531 	syscallarg(const char *) path;
   2532 	syscallarg(struct stat30 *) ub;
   2533 };
   2534 check_syscall_args(compat_50_sys___lstat30)
   2535 
   2536 struct sys___getdents30_args {
   2537 	syscallarg(int) fd;
   2538 	syscallarg(char *) buf;
   2539 	syscallarg(size_t) count;
   2540 };
   2541 check_syscall_args(sys___getdents30)
   2542 
   2543 #ifndef RUMP_CLIENT
   2544 struct compat_30_sys___fhstat30_args {
   2545 	syscallarg(const struct compat_30_fhandle *) fhp;
   2546 	syscallarg(struct stat30 *) sb;
   2547 };
   2548 check_syscall_args(compat_30_sys___fhstat30)
   2549 #endif /* !RUMP_CLIENT */
   2550 
   2551 #ifndef RUMP_CLIENT
   2552 struct compat_50_sys___ntp_gettime30_args {
   2553 	syscallarg(struct ntptimeval50 *) ntvp;
   2554 };
   2555 check_syscall_args(compat_50_sys___ntp_gettime30)
   2556 #endif /* !RUMP_CLIENT */
   2557 
   2558 struct sys___socket30_args {
   2559 	syscallarg(int) domain;
   2560 	syscallarg(int) type;
   2561 	syscallarg(int) protocol;
   2562 };
   2563 check_syscall_args(sys___socket30)
   2564 
   2565 struct sys___getfh30_args {
   2566 	syscallarg(const char *) fname;
   2567 	syscallarg(void *) fhp;
   2568 	syscallarg(size_t *) fh_size;
   2569 };
   2570 check_syscall_args(sys___getfh30)
   2571 
   2572 struct sys___fhopen40_args {
   2573 	syscallarg(const void *) fhp;
   2574 	syscallarg(size_t) fh_size;
   2575 	syscallarg(int) flags;
   2576 };
   2577 check_syscall_args(sys___fhopen40)
   2578 
   2579 #ifndef RUMP_CLIENT
   2580 struct compat_90_sys_fhstatvfs1_args {
   2581 	syscallarg(const void *) fhp;
   2582 	syscallarg(size_t) fh_size;
   2583 	syscallarg(struct statvfs90 *) buf;
   2584 	syscallarg(int) flags;
   2585 };
   2586 check_syscall_args(compat_90_sys_fhstatvfs1)
   2587 #endif /* !RUMP_CLIENT */
   2588 
   2589 struct compat_50_sys___fhstat40_args {
   2590 	syscallarg(const void *) fhp;
   2591 	syscallarg(size_t) fh_size;
   2592 	syscallarg(struct stat30 *) sb;
   2593 };
   2594 check_syscall_args(compat_50_sys___fhstat40)
   2595 
   2596 struct sys_aio_cancel_args {
   2597 	syscallarg(int) fildes;
   2598 	syscallarg(struct aiocb *) aiocbp;
   2599 };
   2600 check_syscall_args(sys_aio_cancel)
   2601 
   2602 struct sys_aio_error_args {
   2603 	syscallarg(const struct aiocb *) aiocbp;
   2604 };
   2605 check_syscall_args(sys_aio_error)
   2606 
   2607 struct sys_aio_fsync_args {
   2608 	syscallarg(int) op;
   2609 	syscallarg(struct aiocb *) aiocbp;
   2610 };
   2611 check_syscall_args(sys_aio_fsync)
   2612 
   2613 struct sys_aio_read_args {
   2614 	syscallarg(struct aiocb *) aiocbp;
   2615 };
   2616 check_syscall_args(sys_aio_read)
   2617 
   2618 struct sys_aio_return_args {
   2619 	syscallarg(struct aiocb *) aiocbp;
   2620 };
   2621 check_syscall_args(sys_aio_return)
   2622 
   2623 #ifndef RUMP_CLIENT
   2624 struct compat_50_sys_aio_suspend_args {
   2625 	syscallarg(const struct aiocb *const *) list;
   2626 	syscallarg(int) nent;
   2627 	syscallarg(const struct timespec50 *) timeout;
   2628 };
   2629 check_syscall_args(compat_50_sys_aio_suspend)
   2630 #endif /* !RUMP_CLIENT */
   2631 
   2632 struct sys_aio_write_args {
   2633 	syscallarg(struct aiocb *) aiocbp;
   2634 };
   2635 check_syscall_args(sys_aio_write)
   2636 
   2637 struct sys_lio_listio_args {
   2638 	syscallarg(int) mode;
   2639 	syscallarg(struct aiocb *const *) list;
   2640 	syscallarg(int) nent;
   2641 	syscallarg(struct sigevent *) sig;
   2642 };
   2643 check_syscall_args(sys_lio_listio)
   2644 
   2645 struct sys___mount50_args {
   2646 	syscallarg(const char *) type;
   2647 	syscallarg(const char *) path;
   2648 	syscallarg(int) flags;
   2649 	syscallarg(void *) data;
   2650 	syscallarg(size_t) data_len;
   2651 };
   2652 check_syscall_args(sys___mount50)
   2653 
   2654 #ifndef RUMP_CLIENT
   2655 struct sys_mremap_args {
   2656 	syscallarg(void *) old_address;
   2657 	syscallarg(size_t) old_size;
   2658 	syscallarg(void *) new_address;
   2659 	syscallarg(size_t) new_size;
   2660 	syscallarg(int) flags;
   2661 };
   2662 check_syscall_args(sys_mremap)
   2663 #endif /* !RUMP_CLIENT */
   2664 
   2665 #ifndef RUMP_CLIENT
   2666 struct sys_pset_create_args {
   2667 	syscallarg(psetid_t *) psid;
   2668 };
   2669 check_syscall_args(sys_pset_create)
   2670 #endif /* !RUMP_CLIENT */
   2671 
   2672 #ifndef RUMP_CLIENT
   2673 struct sys_pset_destroy_args {
   2674 	syscallarg(psetid_t) psid;
   2675 };
   2676 check_syscall_args(sys_pset_destroy)
   2677 #endif /* !RUMP_CLIENT */
   2678 
   2679 #ifndef RUMP_CLIENT
   2680 struct sys_pset_assign_args {
   2681 	syscallarg(psetid_t) psid;
   2682 	syscallarg(cpuid_t) cpuid;
   2683 	syscallarg(psetid_t *) opsid;
   2684 };
   2685 check_syscall_args(sys_pset_assign)
   2686 #endif /* !RUMP_CLIENT */
   2687 
   2688 #ifndef RUMP_CLIENT
   2689 struct sys__pset_bind_args {
   2690 	syscallarg(idtype_t) idtype;
   2691 	syscallarg(id_t) first_id;
   2692 	syscallarg(id_t) second_id;
   2693 	syscallarg(psetid_t) psid;
   2694 	syscallarg(psetid_t *) opsid;
   2695 };
   2696 check_syscall_args(sys__pset_bind)
   2697 #endif /* !RUMP_CLIENT */
   2698 
   2699 struct sys___posix_fadvise50_args {
   2700 	syscallarg(int) fd;
   2701 	syscallarg(int) PAD;
   2702 	syscallarg(off_t) offset;
   2703 	syscallarg(off_t) len;
   2704 	syscallarg(int) advice;
   2705 };
   2706 check_syscall_args(sys___posix_fadvise50)
   2707 
   2708 struct sys___select50_args {
   2709 	syscallarg(int) nd;
   2710 	syscallarg(fd_set *) in;
   2711 	syscallarg(fd_set *) ou;
   2712 	syscallarg(fd_set *) ex;
   2713 	syscallarg(struct timeval *) tv;
   2714 };
   2715 check_syscall_args(sys___select50)
   2716 
   2717 struct sys___gettimeofday50_args {
   2718 	syscallarg(struct timeval *) tp;
   2719 	syscallarg(void *) tzp;
   2720 };
   2721 check_syscall_args(sys___gettimeofday50)
   2722 
   2723 struct sys___settimeofday50_args {
   2724 	syscallarg(const struct timeval *) tv;
   2725 	syscallarg(const void *) tzp;
   2726 };
   2727 check_syscall_args(sys___settimeofday50)
   2728 
   2729 struct sys___utimes50_args {
   2730 	syscallarg(const char *) path;
   2731 	syscallarg(const struct timeval *) tptr;
   2732 };
   2733 check_syscall_args(sys___utimes50)
   2734 
   2735 struct sys___adjtime50_args {
   2736 	syscallarg(const struct timeval *) delta;
   2737 	syscallarg(struct timeval *) olddelta;
   2738 };
   2739 check_syscall_args(sys___adjtime50)
   2740 
   2741 #ifndef RUMP_CLIENT
   2742 struct sys___lfs_segwait50_args {
   2743 	syscallarg(fsid_t *) fsidp;
   2744 	syscallarg(struct timeval *) tv;
   2745 };
   2746 check_syscall_args(sys___lfs_segwait50)
   2747 #endif /* !RUMP_CLIENT */
   2748 
   2749 struct sys___futimes50_args {
   2750 	syscallarg(int) fd;
   2751 	syscallarg(const struct timeval *) tptr;
   2752 };
   2753 check_syscall_args(sys___futimes50)
   2754 
   2755 struct sys___lutimes50_args {
   2756 	syscallarg(const char *) path;
   2757 	syscallarg(const struct timeval *) tptr;
   2758 };
   2759 check_syscall_args(sys___lutimes50)
   2760 
   2761 struct sys___setitimer50_args {
   2762 	syscallarg(int) which;
   2763 	syscallarg(const struct itimerval *) itv;
   2764 	syscallarg(struct itimerval *) oitv;
   2765 };
   2766 check_syscall_args(sys___setitimer50)
   2767 
   2768 struct sys___getitimer50_args {
   2769 	syscallarg(int) which;
   2770 	syscallarg(struct itimerval *) itv;
   2771 };
   2772 check_syscall_args(sys___getitimer50)
   2773 
   2774 struct sys___clock_gettime50_args {
   2775 	syscallarg(clockid_t) clock_id;
   2776 	syscallarg(struct timespec *) tp;
   2777 };
   2778 check_syscall_args(sys___clock_gettime50)
   2779 
   2780 struct sys___clock_settime50_args {
   2781 	syscallarg(clockid_t) clock_id;
   2782 	syscallarg(const struct timespec *) tp;
   2783 };
   2784 check_syscall_args(sys___clock_settime50)
   2785 
   2786 struct sys___clock_getres50_args {
   2787 	syscallarg(clockid_t) clock_id;
   2788 	syscallarg(struct timespec *) tp;
   2789 };
   2790 check_syscall_args(sys___clock_getres50)
   2791 
   2792 struct sys___nanosleep50_args {
   2793 	syscallarg(const struct timespec *) rqtp;
   2794 	syscallarg(struct timespec *) rmtp;
   2795 };
   2796 check_syscall_args(sys___nanosleep50)
   2797 
   2798 #ifndef RUMP_CLIENT
   2799 struct sys_____sigtimedwait50_args {
   2800 	syscallarg(const sigset_t *) set;
   2801 	syscallarg(siginfo_t *) info;
   2802 	syscallarg(struct timespec *) timeout;
   2803 };
   2804 check_syscall_args(sys_____sigtimedwait50)
   2805 #endif /* !RUMP_CLIENT */
   2806 
   2807 #ifndef RUMP_CLIENT
   2808 struct sys___mq_timedsend50_args {
   2809 	syscallarg(mqd_t) mqdes;
   2810 	syscallarg(const char *) msg_ptr;
   2811 	syscallarg(size_t) msg_len;
   2812 	syscallarg(unsigned) msg_prio;
   2813 	syscallarg(const struct timespec *) abs_timeout;
   2814 };
   2815 check_syscall_args(sys___mq_timedsend50)
   2816 #endif /* !RUMP_CLIENT */
   2817 
   2818 #ifndef RUMP_CLIENT
   2819 struct sys___mq_timedreceive50_args {
   2820 	syscallarg(mqd_t) mqdes;
   2821 	syscallarg(char *) msg_ptr;
   2822 	syscallarg(size_t) msg_len;
   2823 	syscallarg(unsigned *) msg_prio;
   2824 	syscallarg(const struct timespec *) abs_timeout;
   2825 };
   2826 check_syscall_args(sys___mq_timedreceive50)
   2827 #endif /* !RUMP_CLIENT */
   2828 
   2829 #ifndef RUMP_CLIENT
   2830 struct compat_60_sys__lwp_park_args {
   2831 	syscallarg(const struct timespec *) ts;
   2832 	syscallarg(lwpid_t) unpark;
   2833 	syscallarg(const void *) hint;
   2834 	syscallarg(const void *) unparkhint;
   2835 };
   2836 check_syscall_args(compat_60_sys__lwp_park)
   2837 #endif /* !RUMP_CLIENT */
   2838 
   2839 struct compat_100_sys___kevent50_args {
   2840 	syscallarg(int) fd;
   2841 	syscallarg(const struct kevent100 *) changelist;
   2842 	syscallarg(size_t) nchanges;
   2843 	syscallarg(struct kevent100 *) eventlist;
   2844 	syscallarg(size_t) nevents;
   2845 	syscallarg(const struct timespec *) timeout;
   2846 };
   2847 check_syscall_args(compat_100_sys___kevent50)
   2848 
   2849 struct sys___pselect50_args {
   2850 	syscallarg(int) nd;
   2851 	syscallarg(fd_set *) in;
   2852 	syscallarg(fd_set *) ou;
   2853 	syscallarg(fd_set *) ex;
   2854 	syscallarg(const struct timespec *) ts;
   2855 	syscallarg(const sigset_t *) mask;
   2856 };
   2857 check_syscall_args(sys___pselect50)
   2858 
   2859 struct sys___pollts50_args {
   2860 	syscallarg(struct pollfd *) fds;
   2861 	syscallarg(u_int) nfds;
   2862 	syscallarg(const struct timespec *) ts;
   2863 	syscallarg(const sigset_t *) mask;
   2864 };
   2865 check_syscall_args(sys___pollts50)
   2866 
   2867 struct sys___aio_suspend50_args {
   2868 	syscallarg(const struct aiocb *const *) list;
   2869 	syscallarg(int) nent;
   2870 	syscallarg(const struct timespec *) timeout;
   2871 };
   2872 check_syscall_args(sys___aio_suspend50)
   2873 
   2874 struct sys___stat50_args {
   2875 	syscallarg(const char *) path;
   2876 	syscallarg(struct stat *) ub;
   2877 };
   2878 check_syscall_args(sys___stat50)
   2879 
   2880 struct sys___fstat50_args {
   2881 	syscallarg(int) fd;
   2882 	syscallarg(struct stat *) sb;
   2883 };
   2884 check_syscall_args(sys___fstat50)
   2885 
   2886 struct sys___lstat50_args {
   2887 	syscallarg(const char *) path;
   2888 	syscallarg(struct stat *) ub;
   2889 };
   2890 check_syscall_args(sys___lstat50)
   2891 
   2892 #ifndef RUMP_CLIENT
   2893 struct sys_____semctl50_args {
   2894 	syscallarg(int) semid;
   2895 	syscallarg(int) semnum;
   2896 	syscallarg(int) cmd;
   2897 	syscallarg(union __semun *) arg;
   2898 };
   2899 check_syscall_args(sys_____semctl50)
   2900 #endif /* !RUMP_CLIENT */
   2901 
   2902 #ifndef RUMP_CLIENT
   2903 struct sys___shmctl50_args {
   2904 	syscallarg(int) shmid;
   2905 	syscallarg(int) cmd;
   2906 	syscallarg(struct shmid_ds *) buf;
   2907 };
   2908 check_syscall_args(sys___shmctl50)
   2909 #endif /* !RUMP_CLIENT */
   2910 
   2911 #ifndef RUMP_CLIENT
   2912 struct sys___msgctl50_args {
   2913 	syscallarg(int) msqid;
   2914 	syscallarg(int) cmd;
   2915 	syscallarg(struct msqid_ds *) buf;
   2916 };
   2917 check_syscall_args(sys___msgctl50)
   2918 #endif /* !RUMP_CLIENT */
   2919 
   2920 #ifndef RUMP_CLIENT
   2921 struct sys___getrusage50_args {
   2922 	syscallarg(int) who;
   2923 	syscallarg(struct rusage *) rusage;
   2924 };
   2925 check_syscall_args(sys___getrusage50)
   2926 #endif /* !RUMP_CLIENT */
   2927 
   2928 struct sys___timer_settime50_args {
   2929 	syscallarg(timer_t) timerid;
   2930 	syscallarg(int) flags;
   2931 	syscallarg(const struct itimerspec *) value;
   2932 	syscallarg(struct itimerspec *) ovalue;
   2933 };
   2934 check_syscall_args(sys___timer_settime50)
   2935 
   2936 struct sys___timer_gettime50_args {
   2937 	syscallarg(timer_t) timerid;
   2938 	syscallarg(struct itimerspec *) value;
   2939 };
   2940 check_syscall_args(sys___timer_gettime50)
   2941 #if defined(NTP) || !defined(_KERNEL_OPT)
   2942 
   2943 #ifndef RUMP_CLIENT
   2944 struct sys___ntp_gettime50_args {
   2945 	syscallarg(struct ntptimeval *) ntvp;
   2946 };
   2947 check_syscall_args(sys___ntp_gettime50)
   2948 #endif /* !RUMP_CLIENT */
   2949 #else
   2950 #endif
   2951 
   2952 #ifndef RUMP_CLIENT
   2953 struct sys___wait450_args {
   2954 	syscallarg(pid_t) pid;
   2955 	syscallarg(int *) status;
   2956 	syscallarg(int) options;
   2957 	syscallarg(struct rusage *) rusage;
   2958 };
   2959 check_syscall_args(sys___wait450)
   2960 #endif /* !RUMP_CLIENT */
   2961 
   2962 struct sys___mknod50_args {
   2963 	syscallarg(const char *) path;
   2964 	syscallarg(mode_t) mode;
   2965 	syscallarg(dev_t) dev;
   2966 };
   2967 check_syscall_args(sys___mknod50)
   2968 
   2969 struct sys___fhstat50_args {
   2970 	syscallarg(const void *) fhp;
   2971 	syscallarg(size_t) fh_size;
   2972 	syscallarg(struct stat *) sb;
   2973 };
   2974 check_syscall_args(sys___fhstat50)
   2975 
   2976 struct sys_pipe2_args {
   2977 	syscallarg(int *) fildes;
   2978 	syscallarg(int) flags;
   2979 };
   2980 check_syscall_args(sys_pipe2)
   2981 
   2982 struct compat_100_sys_dup3_args {
   2983 	syscallarg(int) from;
   2984 	syscallarg(int) to;
   2985 	syscallarg(int) flags;
   2986 };
   2987 check_syscall_args(compat_100_sys_dup3)
   2988 
   2989 struct sys_kqueue1_args {
   2990 	syscallarg(int) flags;
   2991 };
   2992 check_syscall_args(sys_kqueue1)
   2993 
   2994 struct sys_paccept_args {
   2995 	syscallarg(int) s;
   2996 	syscallarg(struct sockaddr *) name;
   2997 	syscallarg(socklen_t *) anamelen;
   2998 	syscallarg(const sigset_t *) mask;
   2999 	syscallarg(int) flags;
   3000 };
   3001 check_syscall_args(sys_paccept)
   3002 
   3003 struct sys_linkat_args {
   3004 	syscallarg(int) fd1;
   3005 	syscallarg(const char *) name1;
   3006 	syscallarg(int) fd2;
   3007 	syscallarg(const char *) name2;
   3008 	syscallarg(int) flags;
   3009 };
   3010 check_syscall_args(sys_linkat)
   3011 
   3012 struct sys_renameat_args {
   3013 	syscallarg(int) fromfd;
   3014 	syscallarg(const char *) from;
   3015 	syscallarg(int) tofd;
   3016 	syscallarg(const char *) to;
   3017 };
   3018 check_syscall_args(sys_renameat)
   3019 
   3020 struct sys_mkfifoat_args {
   3021 	syscallarg(int) fd;
   3022 	syscallarg(const char *) path;
   3023 	syscallarg(mode_t) mode;
   3024 };
   3025 check_syscall_args(sys_mkfifoat)
   3026 
   3027 struct sys_mknodat_args {
   3028 	syscallarg(int) fd;
   3029 	syscallarg(const char *) path;
   3030 	syscallarg(mode_t) mode;
   3031 	syscallarg(int) PAD;
   3032 	syscallarg(dev_t) dev;
   3033 };
   3034 check_syscall_args(sys_mknodat)
   3035 
   3036 struct sys_mkdirat_args {
   3037 	syscallarg(int) fd;
   3038 	syscallarg(const char *) path;
   3039 	syscallarg(mode_t) mode;
   3040 };
   3041 check_syscall_args(sys_mkdirat)
   3042 
   3043 struct sys_faccessat_args {
   3044 	syscallarg(int) fd;
   3045 	syscallarg(const char *) path;
   3046 	syscallarg(int) amode;
   3047 	syscallarg(int) flag;
   3048 };
   3049 check_syscall_args(sys_faccessat)
   3050 
   3051 struct sys_fchmodat_args {
   3052 	syscallarg(int) fd;
   3053 	syscallarg(const char *) path;
   3054 	syscallarg(mode_t) mode;
   3055 	syscallarg(int) flag;
   3056 };
   3057 check_syscall_args(sys_fchmodat)
   3058 
   3059 struct sys_fchownat_args {
   3060 	syscallarg(int) fd;
   3061 	syscallarg(const char *) path;
   3062 	syscallarg(uid_t) owner;
   3063 	syscallarg(gid_t) group;
   3064 	syscallarg(int) flag;
   3065 };
   3066 check_syscall_args(sys_fchownat)
   3067 
   3068 #ifndef RUMP_CLIENT
   3069 struct sys_fexecve_args {
   3070 	syscallarg(int) fd;
   3071 	syscallarg(char *const *) argp;
   3072 	syscallarg(char *const *) envp;
   3073 };
   3074 check_syscall_args(sys_fexecve)
   3075 #endif /* !RUMP_CLIENT */
   3076 
   3077 struct sys_fstatat_args {
   3078 	syscallarg(int) fd;
   3079 	syscallarg(const char *) path;
   3080 	syscallarg(struct stat *) buf;
   3081 	syscallarg(int) flag;
   3082 };
   3083 check_syscall_args(sys_fstatat)
   3084 
   3085 struct sys_utimensat_args {
   3086 	syscallarg(int) fd;
   3087 	syscallarg(const char *) path;
   3088 	syscallarg(const struct timespec *) tptr;
   3089 	syscallarg(int) flag;
   3090 };
   3091 check_syscall_args(sys_utimensat)
   3092 
   3093 struct sys_openat_args {
   3094 	syscallarg(int) fd;
   3095 	syscallarg(const char *) path;
   3096 	syscallarg(int) oflags;
   3097 	syscallarg(mode_t) mode;
   3098 };
   3099 check_syscall_args(sys_openat)
   3100 
   3101 struct sys_readlinkat_args {
   3102 	syscallarg(int) fd;
   3103 	syscallarg(const char *) path;
   3104 	syscallarg(char *) buf;
   3105 	syscallarg(size_t) bufsize;
   3106 };
   3107 check_syscall_args(sys_readlinkat)
   3108 
   3109 struct sys_symlinkat_args {
   3110 	syscallarg(const char *) path1;
   3111 	syscallarg(int) fd;
   3112 	syscallarg(const char *) path2;
   3113 };
   3114 check_syscall_args(sys_symlinkat)
   3115 
   3116 struct sys_unlinkat_args {
   3117 	syscallarg(int) fd;
   3118 	syscallarg(const char *) path;
   3119 	syscallarg(int) flag;
   3120 };
   3121 check_syscall_args(sys_unlinkat)
   3122 
   3123 struct sys_futimens_args {
   3124 	syscallarg(int) fd;
   3125 	syscallarg(const struct timespec *) tptr;
   3126 };
   3127 check_syscall_args(sys_futimens)
   3128 
   3129 struct sys___quotactl_args {
   3130 	syscallarg(const char *) path;
   3131 	syscallarg(struct quotactl_args *) args;
   3132 };
   3133 check_syscall_args(sys___quotactl)
   3134 
   3135 #ifndef RUMP_CLIENT
   3136 struct sys_posix_spawn_args {
   3137 	syscallarg(pid_t *) pid;
   3138 	syscallarg(const char *) path;
   3139 	syscallarg(const struct posix_spawn_file_actions *) file_actions;
   3140 	syscallarg(const struct posix_spawnattr *) attrp;
   3141 	syscallarg(char *const *) argv;
   3142 	syscallarg(char *const *) envp;
   3143 };
   3144 check_syscall_args(sys_posix_spawn)
   3145 #endif /* !RUMP_CLIENT */
   3146 
   3147 struct sys_recvmmsg_args {
   3148 	syscallarg(int) s;
   3149 	syscallarg(struct mmsghdr *) mmsg;
   3150 	syscallarg(unsigned int) vlen;
   3151 	syscallarg(unsigned int) flags;
   3152 	syscallarg(struct timespec *) timeout;
   3153 };
   3154 check_syscall_args(sys_recvmmsg)
   3155 
   3156 struct sys_sendmmsg_args {
   3157 	syscallarg(int) s;
   3158 	syscallarg(struct mmsghdr *) mmsg;
   3159 	syscallarg(unsigned int) vlen;
   3160 	syscallarg(unsigned int) flags;
   3161 };
   3162 check_syscall_args(sys_sendmmsg)
   3163 
   3164 struct sys_clock_nanosleep_args {
   3165 	syscallarg(clockid_t) clock_id;
   3166 	syscallarg(int) flags;
   3167 	syscallarg(const struct timespec *) rqtp;
   3168 	syscallarg(struct timespec *) rmtp;
   3169 };
   3170 check_syscall_args(sys_clock_nanosleep)
   3171 
   3172 #ifndef RUMP_CLIENT
   3173 struct sys____lwp_park60_args {
   3174 	syscallarg(clockid_t) clock_id;
   3175 	syscallarg(int) flags;
   3176 	syscallarg(struct timespec *) ts;
   3177 	syscallarg(lwpid_t) unpark;
   3178 	syscallarg(const void *) hint;
   3179 	syscallarg(const void *) unparkhint;
   3180 };
   3181 check_syscall_args(sys____lwp_park60)
   3182 #endif /* !RUMP_CLIENT */
   3183 
   3184 struct sys_posix_fallocate_args {
   3185 	syscallarg(int) fd;
   3186 	syscallarg(int) PAD;
   3187 	syscallarg(off_t) pos;
   3188 	syscallarg(off_t) len;
   3189 };
   3190 check_syscall_args(sys_posix_fallocate)
   3191 
   3192 struct sys_fdiscard_args {
   3193 	syscallarg(int) fd;
   3194 	syscallarg(int) PAD;
   3195 	syscallarg(off_t) pos;
   3196 	syscallarg(off_t) len;
   3197 };
   3198 check_syscall_args(sys_fdiscard)
   3199 
   3200 #ifndef RUMP_CLIENT
   3201 struct sys_wait6_args {
   3202 	syscallarg(idtype_t) idtype;
   3203 	syscallarg(id_t) id;
   3204 	syscallarg(int *) status;
   3205 	syscallarg(int) options;
   3206 	syscallarg(struct wrusage *) wru;
   3207 	syscallarg(siginfo_t *) info;
   3208 };
   3209 check_syscall_args(sys_wait6)
   3210 #endif /* !RUMP_CLIENT */
   3211 
   3212 struct sys_clock_getcpuclockid2_args {
   3213 	syscallarg(idtype_t) idtype;
   3214 	syscallarg(id_t) id;
   3215 	syscallarg(clockid_t *) clock_id;
   3216 };
   3217 check_syscall_args(sys_clock_getcpuclockid2)
   3218 
   3219 struct sys___getvfsstat90_args {
   3220 	syscallarg(struct statvfs *) buf;
   3221 	syscallarg(size_t) bufsize;
   3222 	syscallarg(int) flags;
   3223 };
   3224 check_syscall_args(sys___getvfsstat90)
   3225 
   3226 struct sys___statvfs190_args {
   3227 	syscallarg(const char *) path;
   3228 	syscallarg(struct statvfs *) buf;
   3229 	syscallarg(int) flags;
   3230 };
   3231 check_syscall_args(sys___statvfs190)
   3232 
   3233 struct sys___fstatvfs190_args {
   3234 	syscallarg(int) fd;
   3235 	syscallarg(struct statvfs *) buf;
   3236 	syscallarg(int) flags;
   3237 };
   3238 check_syscall_args(sys___fstatvfs190)
   3239 
   3240 struct sys___fhstatvfs190_args {
   3241 	syscallarg(const void *) fhp;
   3242 	syscallarg(size_t) fh_size;
   3243 	syscallarg(struct statvfs *) buf;
   3244 	syscallarg(int) flags;
   3245 };
   3246 check_syscall_args(sys___fhstatvfs190)
   3247 
   3248 #ifndef RUMP_CLIENT
   3249 struct sys___acl_get_link_args {
   3250 	syscallarg(const char *) path;
   3251 	syscallarg(acl_type_t) type;
   3252 	syscallarg(struct acl *) aclp;
   3253 };
   3254 check_syscall_args(sys___acl_get_link)
   3255 #endif /* !RUMP_CLIENT */
   3256 
   3257 #ifndef RUMP_CLIENT
   3258 struct sys___acl_set_link_args {
   3259 	syscallarg(const char *) path;
   3260 	syscallarg(acl_type_t) type;
   3261 	syscallarg(struct acl *) aclp;
   3262 };
   3263 check_syscall_args(sys___acl_set_link)
   3264 #endif /* !RUMP_CLIENT */
   3265 
   3266 #ifndef RUMP_CLIENT
   3267 struct sys___acl_delete_link_args {
   3268 	syscallarg(const char *) path;
   3269 	syscallarg(acl_type_t) type;
   3270 };
   3271 check_syscall_args(sys___acl_delete_link)
   3272 #endif /* !RUMP_CLIENT */
   3273 
   3274 #ifndef RUMP_CLIENT
   3275 struct sys___acl_aclcheck_link_args {
   3276 	syscallarg(const char *) path;
   3277 	syscallarg(acl_type_t) type;
   3278 	syscallarg(struct acl *) aclp;
   3279 };
   3280 check_syscall_args(sys___acl_aclcheck_link)
   3281 #endif /* !RUMP_CLIENT */
   3282 
   3283 #ifndef RUMP_CLIENT
   3284 struct sys___acl_get_file_args {
   3285 	syscallarg(const char *) path;
   3286 	syscallarg(acl_type_t) type;
   3287 	syscallarg(struct acl *) aclp;
   3288 };
   3289 check_syscall_args(sys___acl_get_file)
   3290 #endif /* !RUMP_CLIENT */
   3291 
   3292 #ifndef RUMP_CLIENT
   3293 struct sys___acl_set_file_args {
   3294 	syscallarg(const char *) path;
   3295 	syscallarg(acl_type_t) type;
   3296 	syscallarg(struct acl *) aclp;
   3297 };
   3298 check_syscall_args(sys___acl_set_file)
   3299 #endif /* !RUMP_CLIENT */
   3300 
   3301 #ifndef RUMP_CLIENT
   3302 struct sys___acl_get_fd_args {
   3303 	syscallarg(int) filedes;
   3304 	syscallarg(acl_type_t) type;
   3305 	syscallarg(struct acl *) aclp;
   3306 };
   3307 check_syscall_args(sys___acl_get_fd)
   3308 #endif /* !RUMP_CLIENT */
   3309 
   3310 #ifndef RUMP_CLIENT
   3311 struct sys___acl_set_fd_args {
   3312 	syscallarg(int) filedes;
   3313 	syscallarg(acl_type_t) type;
   3314 	syscallarg(struct acl *) aclp;
   3315 };
   3316 check_syscall_args(sys___acl_set_fd)
   3317 #endif /* !RUMP_CLIENT */
   3318 
   3319 #ifndef RUMP_CLIENT
   3320 struct sys___acl_delete_file_args {
   3321 	syscallarg(const char *) path;
   3322 	syscallarg(acl_type_t) type;
   3323 };
   3324 check_syscall_args(sys___acl_delete_file)
   3325 #endif /* !RUMP_CLIENT */
   3326 
   3327 #ifndef RUMP_CLIENT
   3328 struct sys___acl_delete_fd_args {
   3329 	syscallarg(int) filedes;
   3330 	syscallarg(acl_type_t) type;
   3331 };
   3332 check_syscall_args(sys___acl_delete_fd)
   3333 #endif /* !RUMP_CLIENT */
   3334 
   3335 #ifndef RUMP_CLIENT
   3336 struct sys___acl_aclcheck_file_args {
   3337 	syscallarg(const char *) path;
   3338 	syscallarg(acl_type_t) type;
   3339 	syscallarg(struct acl *) aclp;
   3340 };
   3341 check_syscall_args(sys___acl_aclcheck_file)
   3342 #endif /* !RUMP_CLIENT */
   3343 
   3344 #ifndef RUMP_CLIENT
   3345 struct sys___acl_aclcheck_fd_args {
   3346 	syscallarg(int) filedes;
   3347 	syscallarg(acl_type_t) type;
   3348 	syscallarg(struct acl *) aclp;
   3349 };
   3350 check_syscall_args(sys___acl_aclcheck_fd)
   3351 #endif /* !RUMP_CLIENT */
   3352 
   3353 struct sys_lpathconf_args {
   3354 	syscallarg(const char *) path;
   3355 	syscallarg(int) name;
   3356 };
   3357 check_syscall_args(sys_lpathconf)
   3358 
   3359 #ifndef RUMP_CLIENT
   3360 struct sys_memfd_create_args {
   3361 	syscallarg(const char *) name;
   3362 	syscallarg(unsigned int) flags;
   3363 };
   3364 check_syscall_args(sys_memfd_create)
   3365 #endif /* !RUMP_CLIENT */
   3366 
   3367 struct sys___kevent100_args {
   3368 	syscallarg(int) fd;
   3369 	syscallarg(const struct kevent *) changelist;
   3370 	syscallarg(size_t) nchanges;
   3371 	syscallarg(struct kevent *) eventlist;
   3372 	syscallarg(size_t) nevents;
   3373 	syscallarg(const struct timespec *) timeout;
   3374 };
   3375 check_syscall_args(sys___kevent100)
   3376 
   3377 #ifndef RUMP_CLIENT
   3378 struct sys_epoll_create1_args {
   3379 	syscallarg(int) flags;
   3380 };
   3381 check_syscall_args(sys_epoll_create1)
   3382 #endif /* !RUMP_CLIENT */
   3383 
   3384 #ifndef RUMP_CLIENT
   3385 struct sys_epoll_ctl_args {
   3386 	syscallarg(int) epfd;
   3387 	syscallarg(int) op;
   3388 	syscallarg(int) fd;
   3389 	syscallarg(struct epoll_event *) event;
   3390 };
   3391 check_syscall_args(sys_epoll_ctl)
   3392 #endif /* !RUMP_CLIENT */
   3393 
   3394 #ifndef RUMP_CLIENT
   3395 struct sys_epoll_pwait2_args {
   3396 	syscallarg(int) epfd;
   3397 	syscallarg(struct epoll_event *) events;
   3398 	syscallarg(int) maxevents;
   3399 	syscallarg(const struct timespec *) timeout;
   3400 	syscallarg(const sigset_t *) sigmask;
   3401 };
   3402 check_syscall_args(sys_epoll_pwait2)
   3403 #endif /* !RUMP_CLIENT */
   3404 
   3405 struct sys___dup3100_args {
   3406 	syscallarg(int) from;
   3407 	syscallarg(int) to;
   3408 	syscallarg(int) flags;
   3409 };
   3410 check_syscall_args(sys___dup3100)
   3411 
   3412 #ifndef RUMP_CLIENT
   3413 struct sys_semtimedop_args {
   3414 	syscallarg(int) semid;
   3415 	syscallarg(struct sembuf *) sops;
   3416 	syscallarg(size_t) nsops;
   3417 	syscallarg(struct timespec *) timeout;
   3418 };
   3419 check_syscall_args(sys_semtimedop)
   3420 #endif /* !RUMP_CLIENT */
   3421 
   3422 /*
   3423  * System call prototypes.
   3424  */
   3425 
   3426 #ifndef RUMP_CLIENT
   3427 int	sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *);
   3428 
   3429 int	sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
   3430 
   3431 int	sys_fork(struct lwp *, const void *, register_t *);
   3432 
   3433 int	sys_read(struct lwp *, const struct sys_read_args *, register_t *);
   3434 
   3435 int	sys_write(struct lwp *, const struct sys_write_args *, register_t *);
   3436 
   3437 int	sys_open(struct lwp *, const struct sys_open_args *, register_t *);
   3438 
   3439 int	sys_close(struct lwp *, const struct sys_close_args *, register_t *);
   3440 
   3441 int	compat_50_sys_wait4(struct lwp *, const struct compat_50_sys_wait4_args *, register_t *);
   3442 
   3443 int	compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *);
   3444 
   3445 int	sys_link(struct lwp *, const struct sys_link_args *, register_t *);
   3446 
   3447 int	sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
   3448 
   3449 int	sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
   3450 
   3451 int	sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
   3452 
   3453 int	compat_50_sys_mknod(struct lwp *, const struct compat_50_sys_mknod_args *, register_t *);
   3454 
   3455 int	sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
   3456 
   3457 int	sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
   3458 
   3459 int	sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
   3460 
   3461 int	compat_20_sys_getfsstat(struct lwp *, const struct compat_20_sys_getfsstat_args *, register_t *);
   3462 
   3463 int	compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
   3464 
   3465 int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
   3466 
   3467 int	compat_40_sys_mount(struct lwp *, const struct compat_40_sys_mount_args *, register_t *);
   3468 
   3469 int	sys_unmount(struct lwp *, const struct sys_unmount_args *, register_t *);
   3470 
   3471 int	sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
   3472 
   3473 int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
   3474 
   3475 int	sys_geteuid(struct lwp *, const void *, register_t *);
   3476 
   3477 int	sys_ptrace(struct lwp *, const struct sys_ptrace_args *, register_t *);
   3478 
   3479 int	sys_recvmsg(struct lwp *, const struct sys_recvmsg_args *, register_t *);
   3480 
   3481 int	sys_sendmsg(struct lwp *, const struct sys_sendmsg_args *, register_t *);
   3482 
   3483 int	sys_recvfrom(struct lwp *, const struct sys_recvfrom_args *, register_t *);
   3484 
   3485 int	sys_accept(struct lwp *, const struct sys_accept_args *, register_t *);
   3486 
   3487 int	sys_getpeername(struct lwp *, const struct sys_getpeername_args *, register_t *);
   3488 
   3489 int	sys_getsockname(struct lwp *, const struct sys_getsockname_args *, register_t *);
   3490 
   3491 int	sys_access(struct lwp *, const struct sys_access_args *, register_t *);
   3492 
   3493 int	sys_chflags(struct lwp *, const struct sys_chflags_args *, register_t *);
   3494 
   3495 int	sys_fchflags(struct lwp *, const struct sys_fchflags_args *, register_t *);
   3496 
   3497 int	sys_sync(struct lwp *, const void *, register_t *);
   3498 
   3499 int	sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
   3500 
   3501 int	compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
   3502 
   3503 int	sys_getppid(struct lwp *, const void *, register_t *);
   3504 
   3505 int	compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
   3506 
   3507 int	sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
   3508 
   3509 int	sys_pipe(struct lwp *, const void *, register_t *);
   3510 
   3511 int	sys_getegid(struct lwp *, const void *, register_t *);
   3512 
   3513 int	sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
   3514 
   3515 int	sys_ktrace(struct lwp *, const struct sys_ktrace_args *, register_t *);
   3516 
   3517 int	compat_13_sys_sigaction(struct lwp *, const struct compat_13_sys_sigaction_args *, register_t *);
   3518 
   3519 int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
   3520 
   3521 int	compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *);
   3522 
   3523 int	sys___getlogin(struct lwp *, const struct sys___getlogin_args *, register_t *);
   3524 
   3525 int	sys___setlogin(struct lwp *, const struct sys___setlogin_args *, register_t *);
   3526 
   3527 int	sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
   3528 
   3529 int	compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
   3530 
   3531 int	compat_13_sys_sigaltstack(struct lwp *, const struct compat_13_sys_sigaltstack_args *, register_t *);
   3532 
   3533 int	sys_ioctl(struct lwp *, const struct sys_ioctl_args *, register_t *);
   3534 
   3535 int	compat_12_sys_reboot(struct lwp *, const struct compat_12_sys_reboot_args *, register_t *);
   3536 
   3537 int	sys_revoke(struct lwp *, const struct sys_revoke_args *, register_t *);
   3538 
   3539 int	sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
   3540 
   3541 int	sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
   3542 
   3543 int	sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
   3544 
   3545 int	sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
   3546 
   3547 int	sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
   3548 
   3549 int	compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
   3550 
   3551 int	compat_43_sys_getkerninfo(struct lwp *, const struct compat_43_sys_getkerninfo_args *, register_t *);
   3552 
   3553 int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
   3554 
   3555 int	compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *);
   3556 
   3557 int	sys_vfork(struct lwp *, const void *, register_t *);
   3558 
   3559 int	compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, register_t *);
   3560 
   3561 int	sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
   3562 
   3563 int	sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
   3564 
   3565 int	sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
   3566 
   3567 int	sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
   3568 
   3569 int	sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
   3570 
   3571 int	sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
   3572 
   3573 int	sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
   3574 
   3575 int	sys_getpgrp(struct lwp *, const void *, register_t *);
   3576 
   3577 int	sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
   3578 
   3579 int	compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
   3580 
   3581 int	compat_43_sys_wait(struct lwp *, const void *, register_t *);
   3582 
   3583 int	compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
   3584 
   3585 int	compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
   3586 
   3587 int	compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
   3588 
   3589 int	compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
   3590 
   3591 int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
   3592 
   3593 int	sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
   3594 
   3595 int	sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *);
   3596 
   3597 int	sys_fcntl(struct lwp *, const struct sys_fcntl_args *, register_t *);
   3598 
   3599 int	compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
   3600 
   3601 int	sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
   3602 
   3603 int	sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
   3604 
   3605 int	compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *);
   3606 
   3607 int	sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
   3608 
   3609 int	compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
   3610 
   3611 int	sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
   3612 
   3613 int	compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
   3614 
   3615 int	compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
   3616 
   3617 int	compat_13_sys_sigreturn(struct lwp *, const struct compat_13_sys_sigreturn_args *, register_t *);
   3618 
   3619 int	sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
   3620 
   3621 int	sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
   3622 
   3623 int	sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
   3624 
   3625 int	compat_43_sys_sigvec(struct lwp *, const struct compat_43_sys_sigvec_args *, register_t *);
   3626 
   3627 int	compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
   3628 
   3629 int	compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
   3630 
   3631 int	compat_13_sys_sigsuspend(struct lwp *, const struct compat_13_sys_sigsuspend_args *, register_t *);
   3632 
   3633 int	compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
   3634 
   3635 int	compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
   3636 
   3637 int	compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
   3638 
   3639 int	compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
   3640 
   3641 int	compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
   3642 
   3643 int	sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
   3644 
   3645 int	sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
   3646 
   3647 int	sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
   3648 
   3649 int	compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
   3650 
   3651 int	sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
   3652 
   3653 int	sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
   3654 
   3655 int	compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
   3656 
   3657 int	sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
   3658 
   3659 int	sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
   3660 
   3661 int	sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
   3662 
   3663 int	compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
   3664 
   3665 int	compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
   3666 
   3667 int	sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
   3668 
   3669 int	sys_mkfifo(struct lwp *, const struct sys_mkfifo_args *, register_t *);
   3670 
   3671 int	sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
   3672 
   3673 int	sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
   3674 
   3675 int	sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
   3676 
   3677 int	sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
   3678 
   3679 int	sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
   3680 
   3681 int	compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
   3682 
   3683 int	compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
   3684 
   3685 int	compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
   3686 
   3687 int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
   3688 
   3689 int	compat_43_sys_sethostid(struct lwp *, const struct compat_43_sys_sethostid_args *, register_t *);
   3690 
   3691 int	compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
   3692 
   3693 int	compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
   3694 
   3695 int	compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
   3696 
   3697 int	sys_setsid(struct lwp *, const void *, register_t *);
   3698 
   3699 int	compat_50_sys_quotactl(struct lwp *, const struct compat_50_sys_quotactl_args *, register_t *);
   3700 
   3701 int	compat_43_sys_quota(struct lwp *, const void *, register_t *);
   3702 
   3703 int	compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
   3704 
   3705 int	sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
   3706 
   3707 int	compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
   3708 
   3709 int	compat_20_sys_statfs(struct lwp *, const struct compat_20_sys_statfs_args *, register_t *);
   3710 
   3711 int	compat_20_sys_fstatfs(struct lwp *, const struct compat_20_sys_fstatfs_args *, register_t *);
   3712 
   3713 int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
   3714 
   3715 int	compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
   3716 
   3717 int	compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
   3718 
   3719 int	compat_09_sys_uname(struct lwp *, const struct compat_09_sys_uname_args *, register_t *);
   3720 
   3721 int	sys_sysarch(struct lwp *, const struct sys_sysarch_args *, register_t *);
   3722 
   3723 int	sys___futex(struct lwp *, const struct sys___futex_args *, register_t *);
   3724 
   3725 int	sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
   3726 
   3727 int	sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
   3728 
   3729 #if !defined(_LP64)
   3730 int	compat_10_sys_semsys(struct lwp *, const struct compat_10_sys_semsys_args *, register_t *);
   3731 
   3732 #else
   3733 #endif
   3734 #if !defined(_LP64)
   3735 int	compat_10_sys_msgsys(struct lwp *, const struct compat_10_sys_msgsys_args *, register_t *);
   3736 
   3737 #else
   3738 #endif
   3739 #if !defined(_LP64)
   3740 int	compat_10_sys_shmsys(struct lwp *, const struct compat_10_sys_shmsys_args *, register_t *);
   3741 
   3742 #else
   3743 #endif
   3744 int	sys_pread(struct lwp *, const struct sys_pread_args *, register_t *);
   3745 
   3746 int	sys_pwrite(struct lwp *, const struct sys_pwrite_args *, register_t *);
   3747 
   3748 int	compat_30_sys_ntp_gettime(struct lwp *, const struct compat_30_sys_ntp_gettime_args *, register_t *);
   3749 
   3750 #if defined(NTP) || !defined(_KERNEL_OPT)
   3751 int	sys_ntp_adjtime(struct lwp *, const struct sys_ntp_adjtime_args *, register_t *);
   3752 
   3753 #else
   3754 #endif
   3755 int	sys_timerfd_create(struct lwp *, const struct sys_timerfd_create_args *, register_t *);
   3756 
   3757 int	sys_timerfd_settime(struct lwp *, const struct sys_timerfd_settime_args *, register_t *);
   3758 
   3759 int	sys_timerfd_gettime(struct lwp *, const struct sys_timerfd_gettime_args *, register_t *);
   3760 
   3761 int	sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
   3762 
   3763 int	sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
   3764 
   3765 int	sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
   3766 
   3767 int	sys_lfs_bmapv(struct lwp *, const struct sys_lfs_bmapv_args *, register_t *);
   3768 
   3769 int	sys_lfs_markv(struct lwp *, const struct sys_lfs_markv_args *, register_t *);
   3770 
   3771 int	sys_lfs_segclean(struct lwp *, const struct sys_lfs_segclean_args *, register_t *);
   3772 
   3773 int	compat_50_sys_lfs_segwait(struct lwp *, const struct compat_50_sys_lfs_segwait_args *, register_t *);
   3774 
   3775 int	compat_12_sys_stat(struct lwp *, const struct compat_12_sys_stat_args *, register_t *);
   3776 
   3777 int	compat_12_sys_fstat(struct lwp *, const struct compat_12_sys_fstat_args *, register_t *);
   3778 
   3779 int	compat_12_sys_lstat(struct lwp *, const struct compat_12_sys_lstat_args *, register_t *);
   3780 
   3781 int	sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
   3782 
   3783 int	sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
   3784 
   3785 int	sys_getsockopt2(struct lwp *, const struct sys_getsockopt2_args *, register_t *);
   3786 
   3787 int	sys_getrlimit(struct lwp *, const struct sys_getrlimit_args *, register_t *);
   3788 
   3789 int	sys_setrlimit(struct lwp *, const struct sys_setrlimit_args *, register_t *);
   3790 
   3791 int	compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
   3792 
   3793 int	sys_mmap(struct lwp *, const struct sys_mmap_args *, register_t *);
   3794 
   3795 int	sys___syscall(struct lwp *, const struct sys___syscall_args *, register_t *);
   3796 
   3797 int	sys_lseek(struct lwp *, const struct sys_lseek_args *, register_t *);
   3798 
   3799 int	sys_truncate(struct lwp *, const struct sys_truncate_args *, register_t *);
   3800 
   3801 int	sys_ftruncate(struct lwp *, const struct sys_ftruncate_args *, register_t *);
   3802 
   3803 int	sys___sysctl(struct lwp *, const struct sys___sysctl_args *, register_t *);
   3804 
   3805 int	sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
   3806 
   3807 int	sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
   3808 
   3809 int	sys_undelete(struct lwp *, const struct sys_undelete_args *, register_t *);
   3810 
   3811 int	compat_50_sys_futimes(struct lwp *, const struct compat_50_sys_futimes_args *, register_t *);
   3812 
   3813 int	sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
   3814 
   3815 int	sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
   3816 
   3817 int	sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
   3818 
   3819 int	sys_afssys(struct lwp *, const struct sys_afssys_args *, register_t *);
   3820 
   3821 int	compat_14_sys___semctl(struct lwp *, const struct compat_14_sys___semctl_args *, register_t *);
   3822 
   3823 int	sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
   3824 
   3825 int	sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
   3826 
   3827 int	sys_semconfig(struct lwp *, const struct sys_semconfig_args *, register_t *);
   3828 
   3829 int	compat_14_sys_msgctl(struct lwp *, const struct compat_14_sys_msgctl_args *, register_t *);
   3830 
   3831 int	sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
   3832 
   3833 int	sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
   3834 
   3835 int	sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
   3836 
   3837 int	sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
   3838 
   3839 int	compat_14_sys_shmctl(struct lwp *, const struct compat_14_sys_shmctl_args *, register_t *);
   3840 
   3841 int	sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
   3842 
   3843 int	sys_shmget(struct lwp *, const struct sys_shmget_args *, register_t *);
   3844 
   3845 int	compat_50_sys_clock_gettime(struct lwp *, const struct compat_50_sys_clock_gettime_args *, register_t *);
   3846 
   3847 int	compat_50_sys_clock_settime(struct lwp *, const struct compat_50_sys_clock_settime_args *, register_t *);
   3848 
   3849 int	compat_50_sys_clock_getres(struct lwp *, const struct compat_50_sys_clock_getres_args *, register_t *);
   3850 
   3851 int	sys_timer_create(struct lwp *, const struct sys_timer_create_args *, register_t *);
   3852 
   3853 int	sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *);
   3854 
   3855 int	compat_50_sys_timer_settime(struct lwp *, const struct compat_50_sys_timer_settime_args *, register_t *);
   3856 
   3857 int	compat_50_sys_timer_gettime(struct lwp *, const struct compat_50_sys_timer_gettime_args *, register_t *);
   3858 
   3859 int	sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *);
   3860 
   3861 int	compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
   3862 
   3863 int	sys_fdatasync(struct lwp *, const struct sys_fdatasync_args *, register_t *);
   3864 
   3865 int	sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
   3866 
   3867 int	sys_munlockall(struct lwp *, const void *, register_t *);
   3868 
   3869 int	compat_50_sys___sigtimedwait(struct lwp *, const struct compat_50_sys___sigtimedwait_args *, register_t *);
   3870 
   3871 int	sys_sigqueueinfo(struct lwp *, const struct sys_sigqueueinfo_args *, register_t *);
   3872 
   3873 int	sys_modctl(struct lwp *, const struct sys_modctl_args *, register_t *);
   3874 
   3875 int	sys__ksem_init(struct lwp *, const struct sys__ksem_init_args *, register_t *);
   3876 
   3877 int	sys__ksem_open(struct lwp *, const struct sys__ksem_open_args *, register_t *);
   3878 
   3879 int	sys__ksem_unlink(struct lwp *, const struct sys__ksem_unlink_args *, register_t *);
   3880 
   3881 int	sys__ksem_close(struct lwp *, const struct sys__ksem_close_args *, register_t *);
   3882 
   3883 int	sys__ksem_post(struct lwp *, const struct sys__ksem_post_args *, register_t *);
   3884 
   3885 int	sys__ksem_wait(struct lwp *, const struct sys__ksem_wait_args *, register_t *);
   3886 
   3887 int	sys__ksem_trywait(struct lwp *, const struct sys__ksem_trywait_args *, register_t *);
   3888 
   3889 int	sys__ksem_getvalue(struct lwp *, const struct sys__ksem_getvalue_args *, register_t *);
   3890 
   3891 int	sys__ksem_destroy(struct lwp *, const struct sys__ksem_destroy_args *, register_t *);
   3892 
   3893 int	sys__ksem_timedwait(struct lwp *, const struct sys__ksem_timedwait_args *, register_t *);
   3894 
   3895 int	sys_mq_open(struct lwp *, const struct sys_mq_open_args *, register_t *);
   3896 
   3897 int	sys_mq_close(struct lwp *, const struct sys_mq_close_args *, register_t *);
   3898 
   3899 int	sys_mq_unlink(struct lwp *, const struct sys_mq_unlink_args *, register_t *);
   3900 
   3901 int	sys_mq_getattr(struct lwp *, const struct sys_mq_getattr_args *, register_t *);
   3902 
   3903 int	sys_mq_setattr(struct lwp *, const struct sys_mq_setattr_args *, register_t *);
   3904 
   3905 int	sys_mq_notify(struct lwp *, const struct sys_mq_notify_args *, register_t *);
   3906 
   3907 int	sys_mq_send(struct lwp *, const struct sys_mq_send_args *, register_t *);
   3908 
   3909 int	sys_mq_receive(struct lwp *, const struct sys_mq_receive_args *, register_t *);
   3910 
   3911 int	compat_50_sys_mq_timedsend(struct lwp *, const struct compat_50_sys_mq_timedsend_args *, register_t *);
   3912 
   3913 int	compat_50_sys_mq_timedreceive(struct lwp *, const struct compat_50_sys_mq_timedreceive_args *, register_t *);
   3914 
   3915 int	sys_eventfd(struct lwp *, const struct sys_eventfd_args *, register_t *);
   3916 
   3917 int	sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
   3918 
   3919 int	sys_swapctl(struct lwp *, const struct sys_swapctl_args *, register_t *);
   3920 
   3921 int	compat_30_sys_getdents(struct lwp *, const struct compat_30_sys_getdents_args *, register_t *);
   3922 
   3923 int	sys_minherit(struct lwp *, const struct sys_minherit_args *, register_t *);
   3924 
   3925 int	sys_lchmod(struct lwp *, const struct sys_lchmod_args *, register_t *);
   3926 
   3927 int	sys_lchown(struct lwp *, const struct sys_lchown_args *, register_t *);
   3928 
   3929 int	compat_50_sys_lutimes(struct lwp *, const struct compat_50_sys_lutimes_args *, register_t *);
   3930 
   3931 int	sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
   3932 
   3933 int	compat_30_sys___stat13(struct lwp *, const struct compat_30_sys___stat13_args *, register_t *);
   3934 
   3935 int	compat_30_sys___fstat13(struct lwp *, const struct compat_30_sys___fstat13_args *, register_t *);
   3936 
   3937 int	compat_30_sys___lstat13(struct lwp *, const struct compat_30_sys___lstat13_args *, register_t *);
   3938 
   3939 int	sys___sigaltstack14(struct lwp *, const struct sys___sigaltstack14_args *, register_t *);
   3940 
   3941 int	sys___vfork14(struct lwp *, const void *, register_t *);
   3942 
   3943 int	sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
   3944 
   3945 int	sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
   3946 
   3947 int	sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
   3948 
   3949 int	sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
   3950 
   3951 int	sys___clone(struct lwp *, const struct sys___clone_args *, register_t *);
   3952 
   3953 int	sys_fktrace(struct lwp *, const struct sys_fktrace_args *, register_t *);
   3954 
   3955 int	sys_preadv(struct lwp *, const struct sys_preadv_args *, register_t *);
   3956 
   3957 int	sys_pwritev(struct lwp *, const struct sys_pwritev_args *, register_t *);
   3958 
   3959 int	compat_16_sys___sigaction14(struct lwp *, const struct compat_16_sys___sigaction14_args *, register_t *);
   3960 
   3961 int	sys___sigpending14(struct lwp *, const struct sys___sigpending14_args *, register_t *);
   3962 
   3963 int	sys___sigprocmask14(struct lwp *, const struct sys___sigprocmask14_args *, register_t *);
   3964 
   3965 int	sys___sigsuspend14(struct lwp *, const struct sys___sigsuspend14_args *, register_t *);
   3966 
   3967 int	compat_16_sys___sigreturn14(struct lwp *, const struct compat_16_sys___sigreturn14_args *, register_t *);
   3968 
   3969 int	sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
   3970 
   3971 int	sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
   3972 
   3973 int	compat_30_sys_fhopen(struct lwp *, const struct compat_30_sys_fhopen_args *, register_t *);
   3974 
   3975 int	compat_30_sys_fhstat(struct lwp *, const struct compat_30_sys_fhstat_args *, register_t *);
   3976 
   3977 int	compat_20_sys_fhstatfs(struct lwp *, const struct compat_20_sys_fhstatfs_args *, register_t *);
   3978 
   3979 int	compat_50_sys_____semctl13(struct lwp *, const struct compat_50_sys_____semctl13_args *, register_t *);
   3980 
   3981 int	compat_50_sys___msgctl13(struct lwp *, const struct compat_50_sys___msgctl13_args *, register_t *);
   3982 
   3983 int	compat_50_sys___shmctl13(struct lwp *, const struct compat_50_sys___shmctl13_args *, register_t *);
   3984 
   3985 int	sys_lchflags(struct lwp *, const struct sys_lchflags_args *, register_t *);
   3986 
   3987 int	sys_issetugid(struct lwp *, const void *, register_t *);
   3988 
   3989 int	sys_utrace(struct lwp *, const struct sys_utrace_args *, register_t *);
   3990 
   3991 int	sys_getcontext(struct lwp *, const struct sys_getcontext_args *, register_t *);
   3992 
   3993 int	sys_setcontext(struct lwp *, const struct sys_setcontext_args *, register_t *);
   3994 
   3995 int	sys__lwp_create(struct lwp *, const struct sys__lwp_create_args *, register_t *);
   3996 
   3997 int	sys__lwp_exit(struct lwp *, const void *, register_t *);
   3998 
   3999 int	sys__lwp_self(struct lwp *, const void *, register_t *);
   4000 
   4001 int	sys__lwp_wait(struct lwp *, const struct sys__lwp_wait_args *, register_t *);
   4002 
   4003 int	sys__lwp_suspend(struct lwp *, const struct sys__lwp_suspend_args *, register_t *);
   4004 
   4005 int	sys__lwp_continue(struct lwp *, const struct sys__lwp_continue_args *, register_t *);
   4006 
   4007 int	sys__lwp_wakeup(struct lwp *, const struct sys__lwp_wakeup_args *, register_t *);
   4008 
   4009 int	sys__lwp_getprivate(struct lwp *, const void *, register_t *);
   4010 
   4011 int	sys__lwp_setprivate(struct lwp *, const struct sys__lwp_setprivate_args *, register_t *);
   4012 
   4013 int	sys__lwp_kill(struct lwp *, const struct sys__lwp_kill_args *, register_t *);
   4014 
   4015 int	sys__lwp_detach(struct lwp *, const struct sys__lwp_detach_args *, register_t *);
   4016 
   4017 int	compat_50_sys__lwp_park(struct lwp *, const struct compat_50_sys__lwp_park_args *, register_t *);
   4018 
   4019 int	sys__lwp_unpark(struct lwp *, const struct sys__lwp_unpark_args *, register_t *);
   4020 
   4021 int	sys__lwp_unpark_all(struct lwp *, const struct sys__lwp_unpark_all_args *, register_t *);
   4022 
   4023 int	sys__lwp_setname(struct lwp *, const struct sys__lwp_setname_args *, register_t *);
   4024 
   4025 int	sys__lwp_getname(struct lwp *, const struct sys__lwp_getname_args *, register_t *);
   4026 
   4027 int	sys__lwp_ctl(struct lwp *, const struct sys__lwp_ctl_args *, register_t *);
   4028 
   4029 int	compat_60_sys_sa_register(struct lwp *, const struct compat_60_sys_sa_register_args *, register_t *);
   4030 
   4031 int	compat_60_sys_sa_stacks(struct lwp *, const struct compat_60_sys_sa_stacks_args *, register_t *);
   4032 
   4033 int	compat_60_sys_sa_enable(struct lwp *, const void *, register_t *);
   4034 
   4035 int	compat_60_sys_sa_setconcurrency(struct lwp *, const struct compat_60_sys_sa_setconcurrency_args *, register_t *);
   4036 
   4037 int	compat_60_sys_sa_yield(struct lwp *, const void *, register_t *);
   4038 
   4039 int	compat_60_sys_sa_preempt(struct lwp *, const struct compat_60_sys_sa_preempt_args *, register_t *);
   4040 
   4041 int	sys___sigaction_sigtramp(struct lwp *, const struct sys___sigaction_sigtramp_args *, register_t *);
   4042 
   4043 int	sys_rasctl(struct lwp *, const struct sys_rasctl_args *, register_t *);
   4044 
   4045 int	sys_kqueue(struct lwp *, const void *, register_t *);
   4046 
   4047 int	compat_50_sys_kevent(struct lwp *, const struct compat_50_sys_kevent_args *, register_t *);
   4048 
   4049 int	sys__sched_setparam(struct lwp *, const struct sys__sched_setparam_args *, register_t *);
   4050 
   4051 int	sys__sched_getparam(struct lwp *, const struct sys__sched_getparam_args *, register_t *);
   4052 
   4053 int	sys__sched_setaffinity(struct lwp *, const struct sys__sched_setaffinity_args *, register_t *);
   4054 
   4055 int	sys__sched_getaffinity(struct lwp *, const struct sys__sched_getaffinity_args *, register_t *);
   4056 
   4057 int	sys_sched_yield(struct lwp *, const void *, register_t *);
   4058 
   4059 int	sys__sched_protect(struct lwp *, const struct sys__sched_protect_args *, register_t *);
   4060 
   4061 int	sys_fsync_range(struct lwp *, const struct sys_fsync_range_args *, register_t *);
   4062 
   4063 int	sys_uuidgen(struct lwp *, const struct sys_uuidgen_args *, register_t *);
   4064 
   4065 int	compat_90_sys_getvfsstat(struct lwp *, const struct compat_90_sys_getvfsstat_args *, register_t *);
   4066 
   4067 int	compat_90_sys_statvfs1(struct lwp *, const struct compat_90_sys_statvfs1_args *, register_t *);
   4068 
   4069 int	compat_90_sys_fstatvfs1(struct lwp *, const struct compat_90_sys_fstatvfs1_args *, register_t *);
   4070 
   4071 int	compat_30_sys_fhstatvfs1(struct lwp *, const struct compat_30_sys_fhstatvfs1_args *, register_t *);
   4072 
   4073 int	sys_extattrctl(struct lwp *, const struct sys_extattrctl_args *, register_t *);
   4074 
   4075 int	sys_extattr_set_file(struct lwp *, const struct sys_extattr_set_file_args *, register_t *);
   4076 
   4077 int	sys_extattr_get_file(struct lwp *, const struct sys_extattr_get_file_args *, register_t *);
   4078 
   4079 int	sys_extattr_delete_file(struct lwp *, const struct sys_extattr_delete_file_args *, register_t *);
   4080 
   4081 int	sys_extattr_set_fd(struct lwp *, const struct sys_extattr_set_fd_args *, register_t *);
   4082 
   4083 int	sys_extattr_get_fd(struct lwp *, const struct sys_extattr_get_fd_args *, register_t *);
   4084 
   4085 int	sys_extattr_delete_fd(struct lwp *, const struct sys_extattr_delete_fd_args *, register_t *);
   4086 
   4087 int	sys_extattr_set_link(struct lwp *, const struct sys_extattr_set_link_args *, register_t *);
   4088 
   4089 int	sys_extattr_get_link(struct lwp *, const struct sys_extattr_get_link_args *, register_t *);
   4090 
   4091 int	sys_extattr_delete_link(struct lwp *, const struct sys_extattr_delete_link_args *, register_t *);
   4092 
   4093 int	sys_extattr_list_fd(struct lwp *, const struct sys_extattr_list_fd_args *, register_t *);
   4094 
   4095 int	sys_extattr_list_file(struct lwp *, const struct sys_extattr_list_file_args *, register_t *);
   4096 
   4097 int	sys_extattr_list_link(struct lwp *, const struct sys_extattr_list_link_args *, register_t *);
   4098 
   4099 int	compat_50_sys_pselect(struct lwp *, const struct compat_50_sys_pselect_args *, register_t *);
   4100 
   4101 int	compat_50_sys_pollts(struct lwp *, const struct compat_50_sys_pollts_args *, register_t *);
   4102 
   4103 int	sys_setxattr(struct lwp *, const struct sys_setxattr_args *, register_t *);
   4104 
   4105 int	sys_lsetxattr(struct lwp *, const struct sys_lsetxattr_args *, register_t *);
   4106 
   4107 int	sys_fsetxattr(struct lwp *, const struct sys_fsetxattr_args *, register_t *);
   4108 
   4109 int	sys_getxattr(struct lwp *, const struct sys_getxattr_args *, register_t *);
   4110 
   4111 int	sys_lgetxattr(struct lwp *, const struct sys_lgetxattr_args *, register_t *);
   4112 
   4113 int	sys_fgetxattr(struct lwp *, const struct sys_fgetxattr_args *, register_t *);
   4114 
   4115 int	sys_listxattr(struct lwp *, const struct sys_listxattr_args *, register_t *);
   4116 
   4117 int	sys_llistxattr(struct lwp *, const struct sys_llistxattr_args *, register_t *);
   4118 
   4119 int	sys_flistxattr(struct lwp *, const struct sys_flistxattr_args *, register_t *);
   4120 
   4121 int	sys_removexattr(struct lwp *, const struct sys_removexattr_args *, register_t *);
   4122 
   4123 int	sys_lremovexattr(struct lwp *, const struct sys_lremovexattr_args *, register_t *);
   4124 
   4125 int	sys_fremovexattr(struct lwp *, const struct sys_fremovexattr_args *, register_t *);
   4126 
   4127 int	compat_50_sys___stat30(struct lwp *, const struct compat_50_sys___stat30_args *, register_t *);
   4128 
   4129 int	compat_50_sys___fstat30(struct lwp *, const struct compat_50_sys___fstat30_args *, register_t *);
   4130 
   4131 int	compat_50_sys___lstat30(struct lwp *, const struct compat_50_sys___lstat30_args *, register_t *);
   4132 
   4133 int	sys___getdents30(struct lwp *, const struct sys___getdents30_args *, register_t *);
   4134 
   4135 int	compat_30_sys___fhstat30(struct lwp *, const struct compat_30_sys___fhstat30_args *, register_t *);
   4136 
   4137 int	compat_50_sys___ntp_gettime30(struct lwp *, const struct compat_50_sys___ntp_gettime30_args *, register_t *);
   4138 
   4139 int	sys___socket30(struct lwp *, const struct sys___socket30_args *, register_t *);
   4140 
   4141 int	sys___getfh30(struct lwp *, const struct sys___getfh30_args *, register_t *);
   4142 
   4143 int	sys___fhopen40(struct lwp *, const struct sys___fhopen40_args *, register_t *);
   4144 
   4145 int	compat_90_sys_fhstatvfs1(struct lwp *, const struct compat_90_sys_fhstatvfs1_args *, register_t *);
   4146 
   4147 int	compat_50_sys___fhstat40(struct lwp *, const struct compat_50_sys___fhstat40_args *, register_t *);
   4148 
   4149 int	sys_aio_cancel(struct lwp *, const struct sys_aio_cancel_args *, register_t *);
   4150 
   4151 int	sys_aio_error(struct lwp *, const struct sys_aio_error_args *, register_t *);
   4152 
   4153 int	sys_aio_fsync(struct lwp *, const struct sys_aio_fsync_args *, register_t *);
   4154 
   4155 int	sys_aio_read(struct lwp *, const struct sys_aio_read_args *, register_t *);
   4156 
   4157 int	sys_aio_return(struct lwp *, const struct sys_aio_return_args *, register_t *);
   4158 
   4159 int	compat_50_sys_aio_suspend(struct lwp *, const struct compat_50_sys_aio_suspend_args *, register_t *);
   4160 
   4161 int	sys_aio_write(struct lwp *, const struct sys_aio_write_args *, register_t *);
   4162 
   4163 int	sys_lio_listio(struct lwp *, const struct sys_lio_listio_args *, register_t *);
   4164 
   4165 int	sys___mount50(struct lwp *, const struct sys___mount50_args *, register_t *);
   4166 
   4167 int	sys_mremap(struct lwp *, const struct sys_mremap_args *, register_t *);
   4168 
   4169 int	sys_pset_create(struct lwp *, const struct sys_pset_create_args *, register_t *);
   4170 
   4171 int	sys_pset_destroy(struct lwp *, const struct sys_pset_destroy_args *, register_t *);
   4172 
   4173 int	sys_pset_assign(struct lwp *, const struct sys_pset_assign_args *, register_t *);
   4174 
   4175 int	sys__pset_bind(struct lwp *, const struct sys__pset_bind_args *, register_t *);
   4176 
   4177 int	sys___posix_fadvise50(struct lwp *, const struct sys___posix_fadvise50_args *, register_t *);
   4178 
   4179 int	sys___select50(struct lwp *, const struct sys___select50_args *, register_t *);
   4180 
   4181 int	sys___gettimeofday50(struct lwp *, const struct sys___gettimeofday50_args *, register_t *);
   4182 
   4183 int	sys___settimeofday50(struct lwp *, const struct sys___settimeofday50_args *, register_t *);
   4184 
   4185 int	sys___utimes50(struct lwp *, const struct sys___utimes50_args *, register_t *);
   4186 
   4187 int	sys___adjtime50(struct lwp *, const struct sys___adjtime50_args *, register_t *);
   4188 
   4189 int	sys___lfs_segwait50(struct lwp *, const struct sys___lfs_segwait50_args *, register_t *);
   4190 
   4191 int	sys___futimes50(struct lwp *, const struct sys___futimes50_args *, register_t *);
   4192 
   4193 int	sys___lutimes50(struct lwp *, const struct sys___lutimes50_args *, register_t *);
   4194 
   4195 int	sys___setitimer50(struct lwp *, const struct sys___setitimer50_args *, register_t *);
   4196 
   4197 int	sys___getitimer50(struct lwp *, const struct sys___getitimer50_args *, register_t *);
   4198 
   4199 int	sys___clock_gettime50(struct lwp *, const struct sys___clock_gettime50_args *, register_t *);
   4200 
   4201 int	sys___clock_settime50(struct lwp *, const struct sys___clock_settime50_args *, register_t *);
   4202 
   4203 int	sys___clock_getres50(struct lwp *, const struct sys___clock_getres50_args *, register_t *);
   4204 
   4205 int	sys___nanosleep50(struct lwp *, const struct sys___nanosleep50_args *, register_t *);
   4206 
   4207 int	sys_____sigtimedwait50(struct lwp *, const struct sys_____sigtimedwait50_args *, register_t *);
   4208 
   4209 int	sys___mq_timedsend50(struct lwp *, const struct sys___mq_timedsend50_args *, register_t *);
   4210 
   4211 int	sys___mq_timedreceive50(struct lwp *, const struct sys___mq_timedreceive50_args *, register_t *);
   4212 
   4213 int	compat_60_sys__lwp_park(struct lwp *, const struct compat_60_sys__lwp_park_args *, register_t *);
   4214 
   4215 int	compat_100_sys___kevent50(struct lwp *, const struct compat_100_sys___kevent50_args *, register_t *);
   4216 
   4217 int	sys___pselect50(struct lwp *, const struct sys___pselect50_args *, register_t *);
   4218 
   4219 int	sys___pollts50(struct lwp *, const struct sys___pollts50_args *, register_t *);
   4220 
   4221 int	sys___aio_suspend50(struct lwp *, const struct sys___aio_suspend50_args *, register_t *);
   4222 
   4223 int	sys___stat50(struct lwp *, const struct sys___stat50_args *, register_t *);
   4224 
   4225 int	sys___fstat50(struct lwp *, const struct sys___fstat50_args *, register_t *);
   4226 
   4227 int	sys___lstat50(struct lwp *, const struct sys___lstat50_args *, register_t *);
   4228 
   4229 int	sys_____semctl50(struct lwp *, const struct sys_____semctl50_args *, register_t *);
   4230 
   4231 int	sys___shmctl50(struct lwp *, const struct sys___shmctl50_args *, register_t *);
   4232 
   4233 int	sys___msgctl50(struct lwp *, const struct sys___msgctl50_args *, register_t *);
   4234 
   4235 int	sys___getrusage50(struct lwp *, const struct sys___getrusage50_args *, register_t *);
   4236 
   4237 int	sys___timer_settime50(struct lwp *, const struct sys___timer_settime50_args *, register_t *);
   4238 
   4239 int	sys___timer_gettime50(struct lwp *, const struct sys___timer_gettime50_args *, register_t *);
   4240 
   4241 #if defined(NTP) || !defined(_KERNEL_OPT)
   4242 int	sys___ntp_gettime50(struct lwp *, const struct sys___ntp_gettime50_args *, register_t *);
   4243 
   4244 #else
   4245 #endif
   4246 int	sys___wait450(struct lwp *, const struct sys___wait450_args *, register_t *);
   4247 
   4248 int	sys___mknod50(struct lwp *, const struct sys___mknod50_args *, register_t *);
   4249 
   4250 int	sys___fhstat50(struct lwp *, const struct sys___fhstat50_args *, register_t *);
   4251 
   4252 int	sys_pipe2(struct lwp *, const struct sys_pipe2_args *, register_t *);
   4253 
   4254 int	compat_100_sys_dup3(struct lwp *, const struct compat_100_sys_dup3_args *, register_t *);
   4255 
   4256 int	sys_kqueue1(struct lwp *, const struct sys_kqueue1_args *, register_t *);
   4257 
   4258 int	sys_paccept(struct lwp *, const struct sys_paccept_args *, register_t *);
   4259 
   4260 int	sys_linkat(struct lwp *, const struct sys_linkat_args *, register_t *);
   4261 
   4262 int	sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
   4263 
   4264 int	sys_mkfifoat(struct lwp *, const struct sys_mkfifoat_args *, register_t *);
   4265 
   4266 int	sys_mknodat(struct lwp *, const struct sys_mknodat_args *, register_t *);
   4267 
   4268 int	sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
   4269 
   4270 int	sys_faccessat(struct lwp *, const struct sys_faccessat_args *, register_t *);
   4271 
   4272 int	sys_fchmodat(struct lwp *, const struct sys_fchmodat_args *, register_t *);
   4273 
   4274 int	sys_fchownat(struct lwp *, const struct sys_fchownat_args *, register_t *);
   4275 
   4276 int	sys_fexecve(struct lwp *, const struct sys_fexecve_args *, register_t *);
   4277 
   4278 int	sys_fstatat(struct lwp *, const struct sys_fstatat_args *, register_t *);
   4279 
   4280 int	sys_utimensat(struct lwp *, const struct sys_utimensat_args *, register_t *);
   4281 
   4282 int	sys_openat(struct lwp *, const struct sys_openat_args *, register_t *);
   4283 
   4284 int	sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
   4285 
   4286 int	sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
   4287 
   4288 int	sys_unlinkat(struct lwp *, const struct sys_unlinkat_args *, register_t *);
   4289 
   4290 int	sys_futimens(struct lwp *, const struct sys_futimens_args *, register_t *);
   4291 
   4292 int	sys___quotactl(struct lwp *, const struct sys___quotactl_args *, register_t *);
   4293 
   4294 int	sys_posix_spawn(struct lwp *, const struct sys_posix_spawn_args *, register_t *);
   4295 
   4296 int	sys_recvmmsg(struct lwp *, const struct sys_recvmmsg_args *, register_t *);
   4297 
   4298 int	sys_sendmmsg(struct lwp *, const struct sys_sendmmsg_args *, register_t *);
   4299 
   4300 int	sys_clock_nanosleep(struct lwp *, const struct sys_clock_nanosleep_args *, register_t *);
   4301 
   4302 int	sys____lwp_park60(struct lwp *, const struct sys____lwp_park60_args *, register_t *);
   4303 
   4304 int	sys_posix_fallocate(struct lwp *, const struct sys_posix_fallocate_args *, register_t *);
   4305 
   4306 int	sys_fdiscard(struct lwp *, const struct sys_fdiscard_args *, register_t *);
   4307 
   4308 int	sys_wait6(struct lwp *, const struct sys_wait6_args *, register_t *);
   4309 
   4310 int	sys_clock_getcpuclockid2(struct lwp *, const struct sys_clock_getcpuclockid2_args *, register_t *);
   4311 
   4312 int	sys___getvfsstat90(struct lwp *, const struct sys___getvfsstat90_args *, register_t *);
   4313 
   4314 int	sys___statvfs190(struct lwp *, const struct sys___statvfs190_args *, register_t *);
   4315 
   4316 int	sys___fstatvfs190(struct lwp *, const struct sys___fstatvfs190_args *, register_t *);
   4317 
   4318 int	sys___fhstatvfs190(struct lwp *, const struct sys___fhstatvfs190_args *, register_t *);
   4319 
   4320 int	sys___acl_get_link(struct lwp *, const struct sys___acl_get_link_args *, register_t *);
   4321 
   4322 int	sys___acl_set_link(struct lwp *, const struct sys___acl_set_link_args *, register_t *);
   4323 
   4324 int	sys___acl_delete_link(struct lwp *, const struct sys___acl_delete_link_args *, register_t *);
   4325 
   4326 int	sys___acl_aclcheck_link(struct lwp *, const struct sys___acl_aclcheck_link_args *, register_t *);
   4327 
   4328 int	sys___acl_get_file(struct lwp *, const struct sys___acl_get_file_args *, register_t *);
   4329 
   4330 int	sys___acl_set_file(struct lwp *, const struct sys___acl_set_file_args *, register_t *);
   4331 
   4332 int	sys___acl_get_fd(struct lwp *, const struct sys___acl_get_fd_args *, register_t *);
   4333 
   4334 int	sys___acl_set_fd(struct lwp *, const struct sys___acl_set_fd_args *, register_t *);
   4335 
   4336 int	sys___acl_delete_file(struct lwp *, const struct sys___acl_delete_file_args *, register_t *);
   4337 
   4338 int	sys___acl_delete_fd(struct lwp *, const struct sys___acl_delete_fd_args *, register_t *);
   4339 
   4340 int	sys___acl_aclcheck_file(struct lwp *, const struct sys___acl_aclcheck_file_args *, register_t *);
   4341 
   4342 int	sys___acl_aclcheck_fd(struct lwp *, const struct sys___acl_aclcheck_fd_args *, register_t *);
   4343 
   4344 int	sys_lpathconf(struct lwp *, const struct sys_lpathconf_args *, register_t *);
   4345 
   4346 int	sys_memfd_create(struct lwp *, const struct sys_memfd_create_args *, register_t *);
   4347 
   4348 int	sys___kevent100(struct lwp *, const struct sys___kevent100_args *, register_t *);
   4349 
   4350 int	sys_epoll_create1(struct lwp *, const struct sys_epoll_create1_args *, register_t *);
   4351 
   4352 int	sys_epoll_ctl(struct lwp *, const struct sys_epoll_ctl_args *, register_t *);
   4353 
   4354 int	sys_epoll_pwait2(struct lwp *, const struct sys_epoll_pwait2_args *, register_t *);
   4355 
   4356 int	sys___dup3100(struct lwp *, const struct sys___dup3100_args *, register_t *);
   4357 
   4358 int	sys_semtimedop(struct lwp *, const struct sys_semtimedop_args *, register_t *);
   4359 
   4360 #endif /* !RUMP_CLIENT */
   4361 #endif /* _SYS_SYSCALLARGS_H_ */
   4362