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