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