syscallargs.h revision 1.154
1/* $NetBSD: syscallargs.h,v 1.154 2006/08/30 11:35:21 matt 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.157 2006/08/29 23:34:48 matt Exp 8 */ 9 10#ifndef _SYS_SYSCALLARGS_H_ 11#define _SYS_SYSCALLARGS_H_ 12 13#ifdef syscallarg 14#undef syscallarg 15#endif 16 17#define syscallarg(x) \ 18 union { \ 19 register_t pad; \ 20 struct { x datum; } le; \ 21 struct { /* LINTED zero array dimension */ \ 22 int8_t pad[ /* CONSTCOND */ \ 23 (sizeof (register_t) < sizeof (x)) \ 24 ? 0 \ 25 : sizeof (register_t) - sizeof (x)]; \ 26 x datum; \ 27 } be; \ 28 } 29 30struct sys_exit_args { 31 syscallarg(int) rval; 32}; 33 34struct sys_read_args { 35 syscallarg(int) fd; 36 syscallarg(void *) buf; 37 syscallarg(size_t) nbyte; 38}; 39 40struct sys_write_args { 41 syscallarg(int) fd; 42 syscallarg(const void *) buf; 43 syscallarg(size_t) nbyte; 44}; 45 46struct sys_open_args { 47 syscallarg(const char *) path; 48 syscallarg(int) flags; 49 syscallarg(mode_t) mode; 50}; 51 52struct sys_close_args { 53 syscallarg(int) fd; 54}; 55 56struct sys_wait4_args { 57 syscallarg(int) pid; 58 syscallarg(int *) status; 59 syscallarg(int) options; 60 syscallarg(struct rusage *) rusage; 61}; 62 63struct compat_43_sys_creat_args { 64 syscallarg(const char *) path; 65 syscallarg(mode_t) mode; 66}; 67 68struct sys_link_args { 69 syscallarg(const char *) path; 70 syscallarg(const char *) link; 71}; 72 73struct sys_unlink_args { 74 syscallarg(const char *) path; 75}; 76 77struct sys_chdir_args { 78 syscallarg(const char *) path; 79}; 80 81struct sys_fchdir_args { 82 syscallarg(int) fd; 83}; 84 85struct sys_mknod_args { 86 syscallarg(const char *) path; 87 syscallarg(mode_t) mode; 88 syscallarg(dev_t) dev; 89}; 90 91struct sys_chmod_args { 92 syscallarg(const char *) path; 93 syscallarg(mode_t) mode; 94}; 95 96struct sys_chown_args { 97 syscallarg(const char *) path; 98 syscallarg(uid_t) uid; 99 syscallarg(gid_t) gid; 100}; 101 102struct sys_obreak_args { 103 syscallarg(char *) nsize; 104}; 105 106struct compat_20_sys_getfsstat_args { 107 syscallarg(struct statfs12 *) buf; 108 syscallarg(long) bufsize; 109 syscallarg(int) flags; 110}; 111 112struct compat_43_sys_lseek_args { 113 syscallarg(int) fd; 114 syscallarg(long) offset; 115 syscallarg(int) whence; 116}; 117#ifdef COMPAT_43 118#else 119#endif 120 121struct sys_mount_args { 122 syscallarg(const char *) type; 123 syscallarg(const char *) path; 124 syscallarg(int) flags; 125 syscallarg(void *) data; 126}; 127 128struct sys_unmount_args { 129 syscallarg(const char *) path; 130 syscallarg(int) flags; 131}; 132 133struct sys_setuid_args { 134 syscallarg(uid_t) uid; 135}; 136#ifdef COMPAT_43 137#else 138#endif 139#if defined(KTRACE) || !defined(_KERNEL) 140 141struct sys_ptrace_args { 142 syscallarg(int) req; 143 syscallarg(pid_t) pid; 144 syscallarg(caddr_t) addr; 145 syscallarg(int) data; 146}; 147#else 148#endif 149 150struct sys_recvmsg_args { 151 syscallarg(int) s; 152 syscallarg(struct msghdr *) msg; 153 syscallarg(int) flags; 154}; 155 156struct sys_sendmsg_args { 157 syscallarg(int) s; 158 syscallarg(const struct msghdr *) msg; 159 syscallarg(int) flags; 160}; 161 162struct sys_recvfrom_args { 163 syscallarg(int) s; 164 syscallarg(void *) buf; 165 syscallarg(size_t) len; 166 syscallarg(int) flags; 167 syscallarg(struct sockaddr *) from; 168 syscallarg(unsigned int *) fromlenaddr; 169}; 170 171struct sys_accept_args { 172 syscallarg(int) s; 173 syscallarg(struct sockaddr *) name; 174 syscallarg(unsigned int *) anamelen; 175}; 176 177struct sys_getpeername_args { 178 syscallarg(int) fdes; 179 syscallarg(struct sockaddr *) asa; 180 syscallarg(unsigned int *) alen; 181}; 182 183struct sys_getsockname_args { 184 syscallarg(int) fdes; 185 syscallarg(struct sockaddr *) asa; 186 syscallarg(unsigned int *) alen; 187}; 188 189struct sys_access_args { 190 syscallarg(const char *) path; 191 syscallarg(int) flags; 192}; 193 194struct sys_chflags_args { 195 syscallarg(const char *) path; 196 syscallarg(u_long) flags; 197}; 198 199struct sys_fchflags_args { 200 syscallarg(int) fd; 201 syscallarg(u_long) flags; 202}; 203 204struct sys_kill_args { 205 syscallarg(int) pid; 206 syscallarg(int) signum; 207}; 208 209struct compat_43_sys_stat_args { 210 syscallarg(const char *) path; 211 syscallarg(struct stat43 *) ub; 212}; 213 214struct compat_43_sys_lstat_args { 215 syscallarg(const char *) path; 216 syscallarg(struct stat43 *) ub; 217}; 218 219struct sys_dup_args { 220 syscallarg(int) fd; 221}; 222 223struct sys_profil_args { 224 syscallarg(caddr_t) samples; 225 syscallarg(size_t) size; 226 syscallarg(u_long) offset; 227 syscallarg(u_int) scale; 228}; 229#if defined(KTRACE) || !defined(_KERNEL) 230 231struct sys_ktrace_args { 232 syscallarg(const char *) fname; 233 syscallarg(int) ops; 234 syscallarg(int) facs; 235 syscallarg(int) pid; 236}; 237#else 238#endif 239 240struct compat_13_sys_sigaction_args { 241 syscallarg(int) signum; 242 syscallarg(const struct sigaction13 *) nsa; 243 syscallarg(struct sigaction13 *) osa; 244}; 245#ifdef COMPAT_43 246#else 247#endif 248 249struct compat_13_sys_sigprocmask_args { 250 syscallarg(int) how; 251 syscallarg(int) mask; 252}; 253 254struct sys___getlogin_args { 255 syscallarg(char *) namebuf; 256 syscallarg(size_t) namelen; 257}; 258 259struct sys___setlogin_args { 260 syscallarg(const char *) namebuf; 261}; 262 263struct sys_acct_args { 264 syscallarg(const char *) path; 265}; 266 267struct compat_13_sys_sigaltstack_args { 268 syscallarg(const struct sigaltstack13 *) nss; 269 syscallarg(struct sigaltstack13 *) oss; 270}; 271 272struct sys_ioctl_args { 273 syscallarg(int) fd; 274 syscallarg(u_long) com; 275 syscallarg(void *) data; 276}; 277 278struct compat_12_sys_reboot_args { 279 syscallarg(int) opt; 280}; 281 282struct sys_revoke_args { 283 syscallarg(const char *) path; 284}; 285 286struct sys_symlink_args { 287 syscallarg(const char *) path; 288 syscallarg(const char *) link; 289}; 290 291struct sys_readlink_args { 292 syscallarg(const char *) path; 293 syscallarg(char *) buf; 294 syscallarg(size_t) count; 295}; 296 297struct sys_execve_args { 298 syscallarg(const char *) path; 299 syscallarg(char *const *) argp; 300 syscallarg(char *const *) envp; 301}; 302 303struct sys_umask_args { 304 syscallarg(mode_t) newmask; 305}; 306 307struct sys_chroot_args { 308 syscallarg(const char *) path; 309}; 310 311struct compat_43_sys_fstat_args { 312 syscallarg(int) fd; 313 syscallarg(struct stat43 *) sb; 314}; 315 316struct compat_43_sys_getkerninfo_args { 317 syscallarg(int) op; 318 syscallarg(char *) where; 319 syscallarg(int *) size; 320 syscallarg(int) arg; 321}; 322 323struct compat_12_sys_msync_args { 324 syscallarg(caddr_t) addr; 325 syscallarg(size_t) len; 326}; 327 328struct sys_sbrk_args { 329 syscallarg(intptr_t) incr; 330}; 331 332struct sys_sstk_args { 333 syscallarg(int) incr; 334}; 335 336struct compat_43_sys_mmap_args { 337 syscallarg(caddr_t) addr; 338 syscallarg(size_t) len; 339 syscallarg(int) prot; 340 syscallarg(int) flags; 341 syscallarg(int) fd; 342 syscallarg(long) pos; 343}; 344 345struct sys_ovadvise_args { 346 syscallarg(int) anom; 347}; 348 349struct sys_munmap_args { 350 syscallarg(void *) addr; 351 syscallarg(size_t) len; 352}; 353 354struct sys_mprotect_args { 355 syscallarg(void *) addr; 356 syscallarg(size_t) len; 357 syscallarg(int) prot; 358}; 359 360struct sys_madvise_args { 361 syscallarg(void *) addr; 362 syscallarg(size_t) len; 363 syscallarg(int) behav; 364}; 365 366struct sys_mincore_args { 367 syscallarg(void *) addr; 368 syscallarg(size_t) len; 369 syscallarg(char *) vec; 370}; 371 372struct sys_getgroups_args { 373 syscallarg(int) gidsetsize; 374 syscallarg(gid_t *) gidset; 375}; 376 377struct sys_setgroups_args { 378 syscallarg(int) gidsetsize; 379 syscallarg(const gid_t *) gidset; 380}; 381 382struct sys_setpgid_args { 383 syscallarg(int) pid; 384 syscallarg(int) pgid; 385}; 386 387struct sys_setitimer_args { 388 syscallarg(int) which; 389 syscallarg(const struct itimerval *) itv; 390 syscallarg(struct itimerval *) oitv; 391}; 392 393struct compat_12_sys_swapon_args { 394 syscallarg(const char *) name; 395}; 396 397struct sys_getitimer_args { 398 syscallarg(int) which; 399 syscallarg(struct itimerval *) itv; 400}; 401 402struct compat_43_sys_gethostname_args { 403 syscallarg(char *) hostname; 404 syscallarg(u_int) len; 405}; 406 407struct compat_43_sys_sethostname_args { 408 syscallarg(char *) hostname; 409 syscallarg(u_int) len; 410}; 411 412struct sys_dup2_args { 413 syscallarg(int) from; 414 syscallarg(int) to; 415}; 416 417struct sys_fcntl_args { 418 syscallarg(int) fd; 419 syscallarg(int) cmd; 420 syscallarg(void *) arg; 421}; 422 423struct sys_select_args { 424 syscallarg(int) nd; 425 syscallarg(fd_set *) in; 426 syscallarg(fd_set *) ou; 427 syscallarg(fd_set *) ex; 428 syscallarg(struct timeval *) tv; 429}; 430 431struct sys_fsync_args { 432 syscallarg(int) fd; 433}; 434 435struct sys_setpriority_args { 436 syscallarg(int) which; 437 syscallarg(id_t) who; 438 syscallarg(int) prio; 439}; 440 441struct compat_30_sys_socket_args { 442 syscallarg(int) domain; 443 syscallarg(int) type; 444 syscallarg(int) protocol; 445}; 446 447struct sys_connect_args { 448 syscallarg(int) s; 449 syscallarg(const struct sockaddr *) name; 450 syscallarg(unsigned int) namelen; 451}; 452 453struct compat_43_sys_accept_args { 454 syscallarg(int) s; 455 syscallarg(caddr_t) name; 456 syscallarg(int *) anamelen; 457}; 458 459struct sys_getpriority_args { 460 syscallarg(int) which; 461 syscallarg(id_t) who; 462}; 463 464struct compat_43_sys_send_args { 465 syscallarg(int) s; 466 syscallarg(caddr_t) buf; 467 syscallarg(int) len; 468 syscallarg(int) flags; 469}; 470 471struct compat_43_sys_recv_args { 472 syscallarg(int) s; 473 syscallarg(caddr_t) buf; 474 syscallarg(int) len; 475 syscallarg(int) flags; 476}; 477 478struct compat_13_sys_sigreturn_args { 479 syscallarg(struct sigcontext13 *) sigcntxp; 480}; 481 482struct sys_bind_args { 483 syscallarg(int) s; 484 syscallarg(const struct sockaddr *) name; 485 syscallarg(unsigned int) namelen; 486}; 487 488struct sys_setsockopt_args { 489 syscallarg(int) s; 490 syscallarg(int) level; 491 syscallarg(int) name; 492 syscallarg(const void *) val; 493 syscallarg(unsigned int) valsize; 494}; 495 496struct sys_listen_args { 497 syscallarg(int) s; 498 syscallarg(int) backlog; 499}; 500 501struct compat_43_sys_sigvec_args { 502 syscallarg(int) signum; 503 syscallarg(struct sigvec *) nsv; 504 syscallarg(struct sigvec *) osv; 505}; 506 507struct compat_43_sys_sigblock_args { 508 syscallarg(int) mask; 509}; 510 511struct compat_43_sys_sigsetmask_args { 512 syscallarg(int) mask; 513}; 514 515struct compat_13_sys_sigsuspend_args { 516 syscallarg(int) mask; 517}; 518 519struct compat_43_sys_sigstack_args { 520 syscallarg(struct sigstack *) nss; 521 syscallarg(struct sigstack *) oss; 522}; 523 524struct compat_43_sys_recvmsg_args { 525 syscallarg(int) s; 526 syscallarg(struct omsghdr *) msg; 527 syscallarg(int) flags; 528}; 529 530struct compat_43_sys_sendmsg_args { 531 syscallarg(int) s; 532 syscallarg(caddr_t) msg; 533 syscallarg(int) flags; 534}; 535 536struct sys_gettimeofday_args { 537 syscallarg(struct timeval *) tp; 538 syscallarg(void *) tzp; 539}; 540 541struct sys_getrusage_args { 542 syscallarg(int) who; 543 syscallarg(struct rusage *) rusage; 544}; 545 546struct sys_getsockopt_args { 547 syscallarg(int) s; 548 syscallarg(int) level; 549 syscallarg(int) name; 550 syscallarg(void *) val; 551 syscallarg(unsigned int *) avalsize; 552}; 553 554struct sys_readv_args { 555 syscallarg(int) fd; 556 syscallarg(const struct iovec *) iovp; 557 syscallarg(int) iovcnt; 558}; 559 560struct sys_writev_args { 561 syscallarg(int) fd; 562 syscallarg(const struct iovec *) iovp; 563 syscallarg(int) iovcnt; 564}; 565 566struct sys_settimeofday_args { 567 syscallarg(const struct timeval *) tv; 568 syscallarg(const void *) tzp; 569}; 570 571struct sys_fchown_args { 572 syscallarg(int) fd; 573 syscallarg(uid_t) uid; 574 syscallarg(gid_t) gid; 575}; 576 577struct sys_fchmod_args { 578 syscallarg(int) fd; 579 syscallarg(mode_t) mode; 580}; 581 582struct compat_43_sys_recvfrom_args { 583 syscallarg(int) s; 584 syscallarg(caddr_t) buf; 585 syscallarg(size_t) len; 586 syscallarg(int) flags; 587 syscallarg(caddr_t) from; 588 syscallarg(int *) fromlenaddr; 589}; 590 591struct sys_setreuid_args { 592 syscallarg(uid_t) ruid; 593 syscallarg(uid_t) euid; 594}; 595 596struct sys_setregid_args { 597 syscallarg(gid_t) rgid; 598 syscallarg(gid_t) egid; 599}; 600 601struct sys_rename_args { 602 syscallarg(const char *) from; 603 syscallarg(const char *) to; 604}; 605 606struct compat_43_sys_truncate_args { 607 syscallarg(const char *) path; 608 syscallarg(long) length; 609}; 610 611struct compat_43_sys_ftruncate_args { 612 syscallarg(int) fd; 613 syscallarg(long) length; 614}; 615 616struct sys_flock_args { 617 syscallarg(int) fd; 618 syscallarg(int) how; 619}; 620 621struct sys_mkfifo_args { 622 syscallarg(const char *) path; 623 syscallarg(mode_t) mode; 624}; 625 626struct sys_sendto_args { 627 syscallarg(int) s; 628 syscallarg(const void *) buf; 629 syscallarg(size_t) len; 630 syscallarg(int) flags; 631 syscallarg(const struct sockaddr *) to; 632 syscallarg(unsigned int) tolen; 633}; 634 635struct sys_shutdown_args { 636 syscallarg(int) s; 637 syscallarg(int) how; 638}; 639 640struct sys_socketpair_args { 641 syscallarg(int) domain; 642 syscallarg(int) type; 643 syscallarg(int) protocol; 644 syscallarg(int *) rsv; 645}; 646 647struct sys_mkdir_args { 648 syscallarg(const char *) path; 649 syscallarg(mode_t) mode; 650}; 651 652struct sys_rmdir_args { 653 syscallarg(const char *) path; 654}; 655 656struct sys_utimes_args { 657 syscallarg(const char *) path; 658 syscallarg(const struct timeval *) tptr; 659}; 660 661struct sys_adjtime_args { 662 syscallarg(const struct timeval *) delta; 663 syscallarg(struct timeval *) olddelta; 664}; 665 666struct compat_43_sys_getpeername_args { 667 syscallarg(int) fdes; 668 syscallarg(caddr_t) asa; 669 syscallarg(int *) alen; 670}; 671 672struct compat_43_sys_sethostid_args { 673 syscallarg(int32_t) hostid; 674}; 675 676struct compat_43_sys_getrlimit_args { 677 syscallarg(int) which; 678 syscallarg(struct orlimit *) rlp; 679}; 680 681struct compat_43_sys_setrlimit_args { 682 syscallarg(int) which; 683 syscallarg(const struct orlimit *) rlp; 684}; 685 686struct compat_43_sys_killpg_args { 687 syscallarg(int) pgid; 688 syscallarg(int) signum; 689}; 690 691struct sys_quotactl_args { 692 syscallarg(const char *) path; 693 syscallarg(int) cmd; 694 syscallarg(int) uid; 695 syscallarg(caddr_t) arg; 696}; 697 698struct compat_43_sys_getsockname_args { 699 syscallarg(int) fdec; 700 syscallarg(caddr_t) asa; 701 syscallarg(int *) alen; 702}; 703#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 704 705struct sys_nfssvc_args { 706 syscallarg(int) flag; 707 syscallarg(void *) argp; 708}; 709#else 710#endif 711 712struct compat_43_sys_getdirentries_args { 713 syscallarg(int) fd; 714 syscallarg(char *) buf; 715 syscallarg(u_int) count; 716 syscallarg(long *) basep; 717}; 718 719struct compat_20_sys_statfs_args { 720 syscallarg(const char *) path; 721 syscallarg(struct statfs12 *) buf; 722}; 723 724struct compat_20_sys_fstatfs_args { 725 syscallarg(int) fd; 726 syscallarg(struct statfs12 *) buf; 727}; 728 729struct compat_30_sys_getfh_args { 730 syscallarg(const char *) fname; 731 syscallarg(struct compat_30_fhandle *) fhp; 732}; 733 734struct compat_09_sys_getdomainname_args { 735 syscallarg(char *) domainname; 736 syscallarg(int) len; 737}; 738 739struct compat_09_sys_setdomainname_args { 740 syscallarg(char *) domainname; 741 syscallarg(int) len; 742}; 743 744struct compat_09_sys_uname_args { 745 syscallarg(struct outsname *) name; 746}; 747 748struct sys_sysarch_args { 749 syscallarg(int) op; 750 syscallarg(void *) parms; 751}; 752#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) 753 754struct compat_10_sys_semsys_args { 755 syscallarg(int) which; 756 syscallarg(int) a2; 757 syscallarg(int) a3; 758 syscallarg(int) a4; 759 syscallarg(int) a5; 760}; 761#else 762#endif 763#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) 764 765struct compat_10_sys_msgsys_args { 766 syscallarg(int) which; 767 syscallarg(int) a2; 768 syscallarg(int) a3; 769 syscallarg(int) a4; 770 syscallarg(int) a5; 771 syscallarg(int) a6; 772}; 773#else 774#endif 775#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) 776 777struct compat_10_sys_shmsys_args { 778 syscallarg(int) which; 779 syscallarg(int) a2; 780 syscallarg(int) a3; 781 syscallarg(int) a4; 782}; 783#else 784#endif 785 786struct sys_pread_args { 787 syscallarg(int) fd; 788 syscallarg(void *) buf; 789 syscallarg(size_t) nbyte; 790 syscallarg(int) pad; 791 syscallarg(off_t) offset; 792}; 793 794struct sys_pwrite_args { 795 syscallarg(int) fd; 796 syscallarg(const void *) buf; 797 syscallarg(size_t) nbyte; 798 syscallarg(int) pad; 799 syscallarg(off_t) offset; 800}; 801 802struct compat_30_sys_ntp_gettime_args { 803 syscallarg(struct ntptimeval30 *) ntvp; 804}; 805#if defined(NTP) || !defined(_KERNEL) 806 807struct sys_ntp_adjtime_args { 808 syscallarg(struct timex *) tp; 809}; 810#else 811#endif 812 813struct sys_setgid_args { 814 syscallarg(gid_t) gid; 815}; 816 817struct sys_setegid_args { 818 syscallarg(gid_t) egid; 819}; 820 821struct sys_seteuid_args { 822 syscallarg(uid_t) euid; 823}; 824#if defined(LFS) || !defined(_KERNEL) 825 826struct sys_lfs_bmapv_args { 827 syscallarg(fsid_t *) fsidp; 828 syscallarg(struct block_info *) blkiov; 829 syscallarg(int) blkcnt; 830}; 831 832struct sys_lfs_markv_args { 833 syscallarg(fsid_t *) fsidp; 834 syscallarg(struct block_info *) blkiov; 835 syscallarg(int) blkcnt; 836}; 837 838struct sys_lfs_segclean_args { 839 syscallarg(fsid_t *) fsidp; 840 syscallarg(u_long) segment; 841}; 842 843struct sys_lfs_segwait_args { 844 syscallarg(fsid_t *) fsidp; 845 syscallarg(struct timeval *) tv; 846}; 847#else 848#endif 849 850struct compat_12_sys_stat_args { 851 syscallarg(const char *) path; 852 syscallarg(struct stat12 *) ub; 853}; 854 855struct compat_12_sys_fstat_args { 856 syscallarg(int) fd; 857 syscallarg(struct stat12 *) sb; 858}; 859 860struct compat_12_sys_lstat_args { 861 syscallarg(const char *) path; 862 syscallarg(struct stat12 *) ub; 863}; 864 865struct sys_pathconf_args { 866 syscallarg(const char *) path; 867 syscallarg(int) name; 868}; 869 870struct sys_fpathconf_args { 871 syscallarg(int) fd; 872 syscallarg(int) name; 873}; 874 875struct sys_getrlimit_args { 876 syscallarg(int) which; 877 syscallarg(struct rlimit *) rlp; 878}; 879 880struct sys_setrlimit_args { 881 syscallarg(int) which; 882 syscallarg(const struct rlimit *) rlp; 883}; 884 885struct compat_12_sys_getdirentries_args { 886 syscallarg(int) fd; 887 syscallarg(char *) buf; 888 syscallarg(u_int) count; 889 syscallarg(long *) basep; 890}; 891 892struct sys_mmap_args { 893 syscallarg(void *) addr; 894 syscallarg(size_t) len; 895 syscallarg(int) prot; 896 syscallarg(int) flags; 897 syscallarg(int) fd; 898 syscallarg(long) pad; 899 syscallarg(off_t) pos; 900}; 901 902struct sys_lseek_args { 903 syscallarg(int) fd; 904 syscallarg(int) pad; 905 syscallarg(off_t) offset; 906 syscallarg(int) whence; 907}; 908 909struct sys_truncate_args { 910 syscallarg(const char *) path; 911 syscallarg(int) pad; 912 syscallarg(off_t) length; 913}; 914 915struct sys_ftruncate_args { 916 syscallarg(int) fd; 917 syscallarg(int) pad; 918 syscallarg(off_t) length; 919}; 920 921struct sys___sysctl_args { 922 syscallarg(const int *) name; 923 syscallarg(u_int) namelen; 924 syscallarg(void *) old; 925 syscallarg(size_t *) oldlenp; 926 syscallarg(const void *) new; 927 syscallarg(size_t) newlen; 928}; 929 930struct sys_mlock_args { 931 syscallarg(const void *) addr; 932 syscallarg(size_t) len; 933}; 934 935struct sys_munlock_args { 936 syscallarg(const void *) addr; 937 syscallarg(size_t) len; 938}; 939 940struct sys_undelete_args { 941 syscallarg(const char *) path; 942}; 943 944struct sys_futimes_args { 945 syscallarg(int) fd; 946 syscallarg(const struct timeval *) tptr; 947}; 948 949struct sys_getpgid_args { 950 syscallarg(pid_t) pid; 951}; 952 953struct sys_reboot_args { 954 syscallarg(int) opt; 955 syscallarg(char *) bootstr; 956}; 957 958struct sys_poll_args { 959 syscallarg(struct pollfd *) fds; 960 syscallarg(u_int) nfds; 961 syscallarg(int) timeout; 962}; 963#if defined(LKM) || !defined(_KERNEL) 964#else /* !LKM */ 965#endif /* !LKM */ 966#if defined(SYSVSEM) || !defined(_KERNEL) 967 968struct compat_14_sys___semctl_args { 969 syscallarg(int) semid; 970 syscallarg(int) semnum; 971 syscallarg(int) cmd; 972 syscallarg(union __semun *) arg; 973}; 974 975struct sys_semget_args { 976 syscallarg(key_t) key; 977 syscallarg(int) nsems; 978 syscallarg(int) semflg; 979}; 980 981struct sys_semop_args { 982 syscallarg(int) semid; 983 syscallarg(struct sembuf *) sops; 984 syscallarg(size_t) nsops; 985}; 986 987struct sys_semconfig_args { 988 syscallarg(int) flag; 989}; 990#else 991#endif 992#if defined(SYSVMSG) || !defined(_KERNEL) 993 994struct compat_14_sys_msgctl_args { 995 syscallarg(int) msqid; 996 syscallarg(int) cmd; 997 syscallarg(struct msqid_ds14 *) buf; 998}; 999 1000struct sys_msgget_args { 1001 syscallarg(key_t) key; 1002 syscallarg(int) msgflg; 1003}; 1004 1005struct sys_msgsnd_args { 1006 syscallarg(int) msqid; 1007 syscallarg(const void *) msgp; 1008 syscallarg(size_t) msgsz; 1009 syscallarg(int) msgflg; 1010}; 1011 1012struct sys_msgrcv_args { 1013 syscallarg(int) msqid; 1014 syscallarg(void *) msgp; 1015 syscallarg(size_t) msgsz; 1016 syscallarg(long) msgtyp; 1017 syscallarg(int) msgflg; 1018}; 1019#else 1020#endif 1021#if defined(SYSVSHM) || !defined(_KERNEL) 1022 1023struct sys_shmat_args { 1024 syscallarg(int) shmid; 1025 syscallarg(const void *) shmaddr; 1026 syscallarg(int) shmflg; 1027}; 1028 1029struct compat_14_sys_shmctl_args { 1030 syscallarg(int) shmid; 1031 syscallarg(int) cmd; 1032 syscallarg(struct shmid_ds14 *) buf; 1033}; 1034 1035struct sys_shmdt_args { 1036 syscallarg(const void *) shmaddr; 1037}; 1038 1039struct sys_shmget_args { 1040 syscallarg(key_t) key; 1041 syscallarg(size_t) size; 1042 syscallarg(int) shmflg; 1043}; 1044#else 1045#endif 1046 1047struct sys_clock_gettime_args { 1048 syscallarg(clockid_t) clock_id; 1049 syscallarg(struct timespec *) tp; 1050}; 1051 1052struct sys_clock_settime_args { 1053 syscallarg(clockid_t) clock_id; 1054 syscallarg(const struct timespec *) tp; 1055}; 1056 1057struct sys_clock_getres_args { 1058 syscallarg(clockid_t) clock_id; 1059 syscallarg(struct timespec *) tp; 1060}; 1061 1062struct sys_timer_create_args { 1063 syscallarg(clockid_t) clock_id; 1064 syscallarg(struct sigevent *) evp; 1065 syscallarg(timer_t *) timerid; 1066}; 1067 1068struct sys_timer_delete_args { 1069 syscallarg(timer_t) timerid; 1070}; 1071 1072struct sys_timer_settime_args { 1073 syscallarg(timer_t) timerid; 1074 syscallarg(int) flags; 1075 syscallarg(const struct itimerspec *) value; 1076 syscallarg(struct itimerspec *) ovalue; 1077}; 1078 1079struct sys_timer_gettime_args { 1080 syscallarg(timer_t) timerid; 1081 syscallarg(struct itimerspec *) value; 1082}; 1083 1084struct sys_timer_getoverrun_args { 1085 syscallarg(timer_t) timerid; 1086}; 1087 1088struct sys_nanosleep_args { 1089 syscallarg(const struct timespec *) rqtp; 1090 syscallarg(struct timespec *) rmtp; 1091}; 1092 1093struct sys_fdatasync_args { 1094 syscallarg(int) fd; 1095}; 1096 1097struct sys_mlockall_args { 1098 syscallarg(int) flags; 1099}; 1100 1101struct sys___sigtimedwait_args { 1102 syscallarg(const sigset_t *) set; 1103 syscallarg(siginfo_t *) info; 1104 syscallarg(struct timespec *) timeout; 1105}; 1106#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 1107 1108struct sys__ksem_init_args { 1109 syscallarg(unsigned int) value; 1110 syscallarg(semid_t *) idp; 1111}; 1112 1113struct sys__ksem_open_args { 1114 syscallarg(const char *) name; 1115 syscallarg(int) oflag; 1116 syscallarg(mode_t) mode; 1117 syscallarg(unsigned int) value; 1118 syscallarg(semid_t *) idp; 1119}; 1120 1121struct sys__ksem_unlink_args { 1122 syscallarg(const char *) name; 1123}; 1124 1125struct sys__ksem_close_args { 1126 syscallarg(semid_t) id; 1127}; 1128 1129struct sys__ksem_post_args { 1130 syscallarg(semid_t) id; 1131}; 1132 1133struct sys__ksem_wait_args { 1134 syscallarg(semid_t) id; 1135}; 1136 1137struct sys__ksem_trywait_args { 1138 syscallarg(semid_t) id; 1139}; 1140 1141struct sys__ksem_getvalue_args { 1142 syscallarg(semid_t) id; 1143 syscallarg(unsigned int *) value; 1144}; 1145 1146struct sys__ksem_destroy_args { 1147 syscallarg(semid_t) id; 1148}; 1149#else 1150#endif 1151 1152struct sys___posix_rename_args { 1153 syscallarg(const char *) from; 1154 syscallarg(const char *) to; 1155}; 1156 1157struct sys_swapctl_args { 1158 syscallarg(int) cmd; 1159 syscallarg(void *) arg; 1160 syscallarg(int) misc; 1161}; 1162 1163struct compat_30_sys_getdents_args { 1164 syscallarg(int) fd; 1165 syscallarg(char *) buf; 1166 syscallarg(size_t) count; 1167}; 1168 1169struct sys_minherit_args { 1170 syscallarg(void *) addr; 1171 syscallarg(size_t) len; 1172 syscallarg(int) inherit; 1173}; 1174 1175struct sys_lchmod_args { 1176 syscallarg(const char *) path; 1177 syscallarg(mode_t) mode; 1178}; 1179 1180struct sys_lchown_args { 1181 syscallarg(const char *) path; 1182 syscallarg(uid_t) uid; 1183 syscallarg(gid_t) gid; 1184}; 1185 1186struct sys_lutimes_args { 1187 syscallarg(const char *) path; 1188 syscallarg(const struct timeval *) tptr; 1189}; 1190 1191struct sys___msync13_args { 1192 syscallarg(void *) addr; 1193 syscallarg(size_t) len; 1194 syscallarg(int) flags; 1195}; 1196 1197struct compat_30_sys___stat13_args { 1198 syscallarg(const char *) path; 1199 syscallarg(struct stat13 *) ub; 1200}; 1201 1202struct compat_30_sys___fstat13_args { 1203 syscallarg(int) fd; 1204 syscallarg(struct stat13 *) sb; 1205}; 1206 1207struct compat_30_sys___lstat13_args { 1208 syscallarg(const char *) path; 1209 syscallarg(struct stat13 *) ub; 1210}; 1211 1212struct sys___sigaltstack14_args { 1213 syscallarg(const struct sigaltstack *) nss; 1214 syscallarg(struct sigaltstack *) oss; 1215}; 1216 1217struct sys___posix_chown_args { 1218 syscallarg(const char *) path; 1219 syscallarg(uid_t) uid; 1220 syscallarg(gid_t) gid; 1221}; 1222 1223struct sys___posix_fchown_args { 1224 syscallarg(int) fd; 1225 syscallarg(uid_t) uid; 1226 syscallarg(gid_t) gid; 1227}; 1228 1229struct sys___posix_lchown_args { 1230 syscallarg(const char *) path; 1231 syscallarg(uid_t) uid; 1232 syscallarg(gid_t) gid; 1233}; 1234 1235struct sys_getsid_args { 1236 syscallarg(pid_t) pid; 1237}; 1238 1239struct sys___clone_args { 1240 syscallarg(int) flags; 1241 syscallarg(void *) stack; 1242}; 1243#if defined(KTRACE) || !defined(_KERNEL) 1244 1245struct sys_fktrace_args { 1246 syscallarg(const int) fd; 1247 syscallarg(int) ops; 1248 syscallarg(int) facs; 1249 syscallarg(int) pid; 1250}; 1251#else 1252#endif 1253 1254struct sys_preadv_args { 1255 syscallarg(int) fd; 1256 syscallarg(const struct iovec *) iovp; 1257 syscallarg(int) iovcnt; 1258 syscallarg(int) pad; 1259 syscallarg(off_t) offset; 1260}; 1261 1262struct sys_pwritev_args { 1263 syscallarg(int) fd; 1264 syscallarg(const struct iovec *) iovp; 1265 syscallarg(int) iovcnt; 1266 syscallarg(int) pad; 1267 syscallarg(off_t) offset; 1268}; 1269 1270struct compat_16_sys___sigaction14_args { 1271 syscallarg(int) signum; 1272 syscallarg(const struct sigaction *) nsa; 1273 syscallarg(struct sigaction *) osa; 1274}; 1275 1276struct sys___sigpending14_args { 1277 syscallarg(sigset_t *) set; 1278}; 1279 1280struct sys___sigprocmask14_args { 1281 syscallarg(int) how; 1282 syscallarg(const sigset_t *) set; 1283 syscallarg(sigset_t *) oset; 1284}; 1285 1286struct sys___sigsuspend14_args { 1287 syscallarg(const sigset_t *) set; 1288}; 1289 1290struct compat_16_sys___sigreturn14_args { 1291 syscallarg(struct sigcontext *) sigcntxp; 1292}; 1293 1294struct sys___getcwd_args { 1295 syscallarg(char *) bufp; 1296 syscallarg(size_t) length; 1297}; 1298 1299struct sys_fchroot_args { 1300 syscallarg(int) fd; 1301}; 1302 1303struct compat_30_sys_fhopen_args { 1304 syscallarg(const struct compat_30_fhandle *) fhp; 1305 syscallarg(int) flags; 1306}; 1307 1308struct compat_30_sys_fhstat_args { 1309 syscallarg(const struct compat_30_fhandle *) fhp; 1310 syscallarg(struct stat13 *) sb; 1311}; 1312 1313struct compat_20_sys_fhstatfs_args { 1314 syscallarg(const struct compat_30_fhandle *) fhp; 1315 syscallarg(struct statfs12 *) buf; 1316}; 1317#if defined(SYSVSEM) || !defined(_KERNEL) 1318 1319struct sys_____semctl13_args { 1320 syscallarg(int) semid; 1321 syscallarg(int) semnum; 1322 syscallarg(int) cmd; 1323 syscallarg(union __semun *) arg; 1324}; 1325#else 1326#endif 1327#if defined(SYSVMSG) || !defined(_KERNEL) 1328 1329struct sys___msgctl13_args { 1330 syscallarg(int) msqid; 1331 syscallarg(int) cmd; 1332 syscallarg(struct msqid_ds *) buf; 1333}; 1334#else 1335#endif 1336#if defined(SYSVSHM) || !defined(_KERNEL) 1337 1338struct sys___shmctl13_args { 1339 syscallarg(int) shmid; 1340 syscallarg(int) cmd; 1341 syscallarg(struct shmid_ds *) buf; 1342}; 1343#else 1344#endif 1345 1346struct sys_lchflags_args { 1347 syscallarg(const char *) path; 1348 syscallarg(u_long) flags; 1349}; 1350 1351struct sys_utrace_args { 1352 syscallarg(const char *) label; 1353 syscallarg(void *) addr; 1354 syscallarg(size_t) len; 1355}; 1356 1357struct sys_getcontext_args { 1358 syscallarg(struct __ucontext *) ucp; 1359}; 1360 1361struct sys_setcontext_args { 1362 syscallarg(const struct __ucontext *) ucp; 1363}; 1364 1365struct sys__lwp_create_args { 1366 syscallarg(const struct __ucontext *) ucp; 1367 syscallarg(u_long) flags; 1368 syscallarg(lwpid_t *) new_lwp; 1369}; 1370 1371struct sys__lwp_wait_args { 1372 syscallarg(lwpid_t) wait_for; 1373 syscallarg(lwpid_t *) departed; 1374}; 1375 1376struct sys__lwp_suspend_args { 1377 syscallarg(lwpid_t) target; 1378}; 1379 1380struct sys__lwp_continue_args { 1381 syscallarg(lwpid_t) target; 1382}; 1383 1384struct sys__lwp_wakeup_args { 1385 syscallarg(lwpid_t) target; 1386}; 1387 1388struct sys__lwp_setprivate_args { 1389 syscallarg(void *) ptr; 1390}; 1391 1392struct sys_sa_register_args { 1393 syscallarg(sa_upcall_t) new; 1394 syscallarg(sa_upcall_t *) old; 1395 syscallarg(int) flags; 1396 syscallarg(ssize_t) stackinfo_offset; 1397}; 1398 1399struct sys_sa_stacks_args { 1400 syscallarg(int) num; 1401 syscallarg(stack_t *) stacks; 1402}; 1403 1404struct sys_sa_setconcurrency_args { 1405 syscallarg(int) concurrency; 1406}; 1407 1408struct sys_sa_preempt_args { 1409 syscallarg(int) sa_id; 1410}; 1411 1412struct sys___sigaction_sigtramp_args { 1413 syscallarg(int) signum; 1414 syscallarg(const struct sigaction *) nsa; 1415 syscallarg(struct sigaction *) osa; 1416 syscallarg(const void *) tramp; 1417 syscallarg(int) vers; 1418}; 1419 1420struct sys_pmc_get_info_args { 1421 syscallarg(int) ctr; 1422 syscallarg(int) op; 1423 syscallarg(void *) args; 1424}; 1425 1426struct sys_pmc_control_args { 1427 syscallarg(int) ctr; 1428 syscallarg(int) op; 1429 syscallarg(void *) args; 1430}; 1431 1432struct sys_rasctl_args { 1433 syscallarg(caddr_t) addr; 1434 syscallarg(size_t) len; 1435 syscallarg(int) op; 1436}; 1437 1438struct sys_kevent_args { 1439 syscallarg(int) fd; 1440 syscallarg(const struct kevent *) changelist; 1441 syscallarg(size_t) nchanges; 1442 syscallarg(struct kevent *) eventlist; 1443 syscallarg(size_t) nevents; 1444 syscallarg(const struct timespec *) timeout; 1445}; 1446 1447struct sys_fsync_range_args { 1448 syscallarg(int) fd; 1449 syscallarg(int) flags; 1450 syscallarg(off_t) start; 1451 syscallarg(off_t) length; 1452}; 1453 1454struct sys_uuidgen_args { 1455 syscallarg(struct uuid *) store; 1456 syscallarg(int) count; 1457}; 1458 1459struct sys_getvfsstat_args { 1460 syscallarg(struct statvfs *) buf; 1461 syscallarg(size_t) bufsize; 1462 syscallarg(int) flags; 1463}; 1464 1465struct sys_statvfs1_args { 1466 syscallarg(const char *) path; 1467 syscallarg(struct statvfs *) buf; 1468 syscallarg(int) flags; 1469}; 1470 1471struct sys_fstatvfs1_args { 1472 syscallarg(int) fd; 1473 syscallarg(struct statvfs *) buf; 1474 syscallarg(int) flags; 1475}; 1476 1477struct compat_30_sys_fhstatvfs1_args { 1478 syscallarg(const struct compat_30_fhandle *) fhp; 1479 syscallarg(struct statvfs *) buf; 1480 syscallarg(int) flags; 1481}; 1482 1483struct sys_extattrctl_args { 1484 syscallarg(const char *) path; 1485 syscallarg(int) cmd; 1486 syscallarg(const char *) filename; 1487 syscallarg(int) attrnamespace; 1488 syscallarg(const char *) attrname; 1489}; 1490 1491struct sys_extattr_set_file_args { 1492 syscallarg(const char *) path; 1493 syscallarg(int) attrnamespace; 1494 syscallarg(const char *) attrname; 1495 syscallarg(const void *) data; 1496 syscallarg(size_t) nbytes; 1497}; 1498 1499struct sys_extattr_get_file_args { 1500 syscallarg(const char *) path; 1501 syscallarg(int) attrnamespace; 1502 syscallarg(const char *) attrname; 1503 syscallarg(void *) data; 1504 syscallarg(size_t) nbytes; 1505}; 1506 1507struct sys_extattr_delete_file_args { 1508 syscallarg(const char *) path; 1509 syscallarg(int) attrnamespace; 1510 syscallarg(const char *) attrname; 1511}; 1512 1513struct sys_extattr_set_fd_args { 1514 syscallarg(int) fd; 1515 syscallarg(int) attrnamespace; 1516 syscallarg(const char *) attrname; 1517 syscallarg(const void *) data; 1518 syscallarg(size_t) nbytes; 1519}; 1520 1521struct sys_extattr_get_fd_args { 1522 syscallarg(int) fd; 1523 syscallarg(int) attrnamespace; 1524 syscallarg(const char *) attrname; 1525 syscallarg(void *) data; 1526 syscallarg(size_t) nbytes; 1527}; 1528 1529struct sys_extattr_delete_fd_args { 1530 syscallarg(int) fd; 1531 syscallarg(int) attrnamespace; 1532 syscallarg(const char *) attrname; 1533}; 1534 1535struct sys_extattr_set_link_args { 1536 syscallarg(const char *) path; 1537 syscallarg(int) attrnamespace; 1538 syscallarg(const char *) attrname; 1539 syscallarg(const void *) data; 1540 syscallarg(size_t) nbytes; 1541}; 1542 1543struct sys_extattr_get_link_args { 1544 syscallarg(const char *) path; 1545 syscallarg(int) attrnamespace; 1546 syscallarg(const char *) attrname; 1547 syscallarg(void *) data; 1548 syscallarg(size_t) nbytes; 1549}; 1550 1551struct sys_extattr_delete_link_args { 1552 syscallarg(const char *) path; 1553 syscallarg(int) attrnamespace; 1554 syscallarg(const char *) attrname; 1555}; 1556 1557struct sys_extattr_list_fd_args { 1558 syscallarg(int) fd; 1559 syscallarg(int) attrnamespace; 1560 syscallarg(void *) data; 1561 syscallarg(size_t) nbytes; 1562}; 1563 1564struct sys_extattr_list_file_args { 1565 syscallarg(const char *) path; 1566 syscallarg(int) attrnamespace; 1567 syscallarg(void *) data; 1568 syscallarg(size_t) nbytes; 1569}; 1570 1571struct sys_extattr_list_link_args { 1572 syscallarg(const char *) path; 1573 syscallarg(int) attrnamespace; 1574 syscallarg(void *) data; 1575 syscallarg(size_t) nbytes; 1576}; 1577 1578struct sys_pselect_args { 1579 syscallarg(int) nd; 1580 syscallarg(fd_set *) in; 1581 syscallarg(fd_set *) ou; 1582 syscallarg(fd_set *) ex; 1583 syscallarg(const struct timespec *) ts; 1584 syscallarg(const sigset_t *) mask; 1585}; 1586 1587struct sys_pollts_args { 1588 syscallarg(struct pollfd *) fds; 1589 syscallarg(u_int) nfds; 1590 syscallarg(const struct timespec *) ts; 1591 syscallarg(const sigset_t *) mask; 1592}; 1593 1594struct sys_setxattr_args { 1595 syscallarg(const char *) path; 1596 syscallarg(const char *) name; 1597 syscallarg(void *) value; 1598 syscallarg(size_t) size; 1599 syscallarg(int) flags; 1600}; 1601 1602struct sys_lsetxattr_args { 1603 syscallarg(const char *) path; 1604 syscallarg(const char *) name; 1605 syscallarg(void *) value; 1606 syscallarg(size_t) size; 1607 syscallarg(int) flags; 1608}; 1609 1610struct sys_fsetxattr_args { 1611 syscallarg(int) fd; 1612 syscallarg(const char *) name; 1613 syscallarg(void *) value; 1614 syscallarg(size_t) size; 1615 syscallarg(int) flags; 1616}; 1617 1618struct sys_getxattr_args { 1619 syscallarg(const char *) path; 1620 syscallarg(const char *) name; 1621 syscallarg(void *) value; 1622 syscallarg(size_t) size; 1623}; 1624 1625struct sys_lgetxattr_args { 1626 syscallarg(const char *) path; 1627 syscallarg(const char *) name; 1628 syscallarg(void *) value; 1629 syscallarg(size_t) size; 1630}; 1631 1632struct sys_fgetxattr_args { 1633 syscallarg(int) fd; 1634 syscallarg(const char *) name; 1635 syscallarg(void *) value; 1636 syscallarg(size_t) size; 1637}; 1638 1639struct sys_listxattr_args { 1640 syscallarg(const char *) path; 1641 syscallarg(char *) list; 1642 syscallarg(size_t) size; 1643}; 1644 1645struct sys_llistxattr_args { 1646 syscallarg(const char *) path; 1647 syscallarg(char *) list; 1648 syscallarg(size_t) size; 1649}; 1650 1651struct sys_flistxattr_args { 1652 syscallarg(int) fd; 1653 syscallarg(char *) list; 1654 syscallarg(size_t) size; 1655}; 1656 1657struct sys_removexattr_args { 1658 syscallarg(const char *) path; 1659 syscallarg(const char *) name; 1660}; 1661 1662struct sys_lremovexattr_args { 1663 syscallarg(const char *) path; 1664 syscallarg(const char *) name; 1665}; 1666 1667struct sys_fremovexattr_args { 1668 syscallarg(int) fd; 1669 syscallarg(const char *) name; 1670}; 1671 1672struct sys___stat30_args { 1673 syscallarg(const char *) path; 1674 syscallarg(struct stat *) ub; 1675}; 1676 1677struct sys___fstat30_args { 1678 syscallarg(int) fd; 1679 syscallarg(struct stat *) sb; 1680}; 1681 1682struct sys___lstat30_args { 1683 syscallarg(const char *) path; 1684 syscallarg(struct stat *) ub; 1685}; 1686 1687struct sys___getdents30_args { 1688 syscallarg(int) fd; 1689 syscallarg(char *) buf; 1690 syscallarg(size_t) count; 1691}; 1692 1693struct sys_posix_fadvise_args { 1694 syscallarg(int) fd; 1695 syscallarg(off_t) offset; 1696 syscallarg(off_t) len; 1697 syscallarg(int) advice; 1698}; 1699 1700struct compat_30_sys___fhstat30_args { 1701 syscallarg(const struct compat_30_fhandle *) fhp; 1702 syscallarg(struct stat *) sb; 1703}; 1704 1705struct sys___ntp_gettime30_args { 1706 syscallarg(struct ntptimeval *) ntvp; 1707}; 1708 1709struct sys___socket30_args { 1710 syscallarg(int) domain; 1711 syscallarg(int) type; 1712 syscallarg(int) protocol; 1713}; 1714 1715struct sys___getfh30_args { 1716 syscallarg(const char *) fname; 1717 syscallarg(void *) fhp; 1718 syscallarg(size_t *) fh_size; 1719}; 1720 1721struct sys___fhopen40_args { 1722 syscallarg(const void *) fhp; 1723 syscallarg(size_t) fh_size; 1724 syscallarg(int) flags; 1725}; 1726 1727struct sys___fhstatvfs140_args { 1728 syscallarg(const void *) fhp; 1729 syscallarg(size_t) fh_size; 1730 syscallarg(struct statvfs *) buf; 1731 syscallarg(int) flags; 1732}; 1733 1734struct sys___fhstat40_args { 1735 syscallarg(const void *) fhp; 1736 syscallarg(size_t) fh_size; 1737 syscallarg(struct stat *) sb; 1738}; 1739 1740/* 1741 * System call prototypes. 1742 */ 1743 1744int sys_exit(struct lwp *, void *, register_t *); 1745 1746int sys_fork(struct lwp *, void *, register_t *); 1747 1748int sys_read(struct lwp *, void *, register_t *); 1749 1750int sys_write(struct lwp *, void *, register_t *); 1751 1752int sys_open(struct lwp *, void *, register_t *); 1753 1754int sys_close(struct lwp *, void *, register_t *); 1755 1756int sys_wait4(struct lwp *, void *, register_t *); 1757 1758int compat_43_sys_creat(struct lwp *, void *, register_t *); 1759 1760int sys_link(struct lwp *, void *, register_t *); 1761 1762int sys_unlink(struct lwp *, void *, register_t *); 1763 1764int sys_chdir(struct lwp *, void *, register_t *); 1765 1766int sys_fchdir(struct lwp *, void *, register_t *); 1767 1768int sys_mknod(struct lwp *, void *, register_t *); 1769 1770int sys_chmod(struct lwp *, void *, register_t *); 1771 1772int sys_chown(struct lwp *, void *, register_t *); 1773 1774int sys_obreak(struct lwp *, void *, register_t *); 1775 1776int compat_20_sys_getfsstat(struct lwp *, void *, register_t *); 1777 1778int compat_43_sys_lseek(struct lwp *, void *, register_t *); 1779 1780#ifdef COMPAT_43 1781int sys_getpid_with_ppid(struct lwp *, void *, register_t *); 1782 1783#else 1784int sys_getpid(struct lwp *, void *, register_t *); 1785 1786#endif 1787int sys_mount(struct lwp *, void *, register_t *); 1788 1789int sys_unmount(struct lwp *, void *, register_t *); 1790 1791int sys_setuid(struct lwp *, void *, register_t *); 1792 1793#ifdef COMPAT_43 1794int sys_getuid_with_euid(struct lwp *, void *, register_t *); 1795 1796#else 1797int sys_getuid(struct lwp *, void *, register_t *); 1798 1799#endif 1800int sys_geteuid(struct lwp *, void *, register_t *); 1801 1802#if defined(KTRACE) || !defined(_KERNEL) 1803int sys_ptrace(struct lwp *, void *, register_t *); 1804 1805#else 1806#endif 1807int sys_recvmsg(struct lwp *, void *, register_t *); 1808 1809int sys_sendmsg(struct lwp *, void *, register_t *); 1810 1811int sys_recvfrom(struct lwp *, void *, register_t *); 1812 1813int sys_accept(struct lwp *, void *, register_t *); 1814 1815int sys_getpeername(struct lwp *, void *, register_t *); 1816 1817int sys_getsockname(struct lwp *, void *, register_t *); 1818 1819int sys_access(struct lwp *, void *, register_t *); 1820 1821int sys_chflags(struct lwp *, void *, register_t *); 1822 1823int sys_fchflags(struct lwp *, void *, register_t *); 1824 1825int sys_sync(struct lwp *, void *, register_t *); 1826 1827int sys_kill(struct lwp *, void *, register_t *); 1828 1829int compat_43_sys_stat(struct lwp *, void *, register_t *); 1830 1831int sys_getppid(struct lwp *, void *, register_t *); 1832 1833int compat_43_sys_lstat(struct lwp *, void *, register_t *); 1834 1835int sys_dup(struct lwp *, void *, register_t *); 1836 1837int sys_pipe(struct lwp *, void *, register_t *); 1838 1839int sys_getegid(struct lwp *, void *, register_t *); 1840 1841int sys_profil(struct lwp *, void *, register_t *); 1842 1843#if defined(KTRACE) || !defined(_KERNEL) 1844int sys_ktrace(struct lwp *, void *, register_t *); 1845 1846#else 1847#endif 1848int compat_13_sys_sigaction(struct lwp *, void *, register_t *); 1849 1850#ifdef COMPAT_43 1851int sys_getgid_with_egid(struct lwp *, void *, register_t *); 1852 1853#else 1854int sys_getgid(struct lwp *, void *, register_t *); 1855 1856#endif 1857int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *); 1858 1859int sys___getlogin(struct lwp *, void *, register_t *); 1860 1861int sys___setlogin(struct lwp *, void *, register_t *); 1862 1863int sys_acct(struct lwp *, void *, register_t *); 1864 1865int compat_13_sys_sigpending(struct lwp *, void *, register_t *); 1866 1867int compat_13_sys_sigaltstack(struct lwp *, void *, register_t *); 1868 1869int sys_ioctl(struct lwp *, void *, register_t *); 1870 1871int compat_12_sys_reboot(struct lwp *, void *, register_t *); 1872 1873int sys_revoke(struct lwp *, void *, register_t *); 1874 1875int sys_symlink(struct lwp *, void *, register_t *); 1876 1877int sys_readlink(struct lwp *, void *, register_t *); 1878 1879int sys_execve(struct lwp *, void *, register_t *); 1880 1881int sys_umask(struct lwp *, void *, register_t *); 1882 1883int sys_chroot(struct lwp *, void *, register_t *); 1884 1885int compat_43_sys_fstat(struct lwp *, void *, register_t *); 1886 1887int compat_43_sys_getkerninfo(struct lwp *, void *, register_t *); 1888 1889int compat_43_sys_getpagesize(struct lwp *, void *, register_t *); 1890 1891int compat_12_sys_msync(struct lwp *, void *, register_t *); 1892 1893int sys_vfork(struct lwp *, void *, register_t *); 1894 1895int sys_sbrk(struct lwp *, void *, register_t *); 1896 1897int sys_sstk(struct lwp *, void *, register_t *); 1898 1899int compat_43_sys_mmap(struct lwp *, void *, register_t *); 1900 1901int sys_ovadvise(struct lwp *, void *, register_t *); 1902 1903int sys_munmap(struct lwp *, void *, register_t *); 1904 1905int sys_mprotect(struct lwp *, void *, register_t *); 1906 1907int sys_madvise(struct lwp *, void *, register_t *); 1908 1909int sys_mincore(struct lwp *, void *, register_t *); 1910 1911int sys_getgroups(struct lwp *, void *, register_t *); 1912 1913int sys_setgroups(struct lwp *, void *, register_t *); 1914 1915int sys_getpgrp(struct lwp *, void *, register_t *); 1916 1917int sys_setpgid(struct lwp *, void *, register_t *); 1918 1919int sys_setitimer(struct lwp *, void *, register_t *); 1920 1921int compat_43_sys_wait(struct lwp *, void *, register_t *); 1922 1923int compat_12_sys_swapon(struct lwp *, void *, register_t *); 1924 1925int sys_getitimer(struct lwp *, void *, register_t *); 1926 1927int compat_43_sys_gethostname(struct lwp *, void *, register_t *); 1928 1929int compat_43_sys_sethostname(struct lwp *, void *, register_t *); 1930 1931int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *); 1932 1933int sys_dup2(struct lwp *, void *, register_t *); 1934 1935int sys_fcntl(struct lwp *, void *, register_t *); 1936 1937int sys_select(struct lwp *, void *, register_t *); 1938 1939int sys_fsync(struct lwp *, void *, register_t *); 1940 1941int sys_setpriority(struct lwp *, void *, register_t *); 1942 1943int compat_30_sys_socket(struct lwp *, void *, register_t *); 1944 1945int sys_connect(struct lwp *, void *, register_t *); 1946 1947int compat_43_sys_accept(struct lwp *, void *, register_t *); 1948 1949int sys_getpriority(struct lwp *, void *, register_t *); 1950 1951int compat_43_sys_send(struct lwp *, void *, register_t *); 1952 1953int compat_43_sys_recv(struct lwp *, void *, register_t *); 1954 1955int compat_13_sys_sigreturn(struct lwp *, void *, register_t *); 1956 1957int sys_bind(struct lwp *, void *, register_t *); 1958 1959int sys_setsockopt(struct lwp *, void *, register_t *); 1960 1961int sys_listen(struct lwp *, void *, register_t *); 1962 1963int compat_43_sys_sigvec(struct lwp *, void *, register_t *); 1964 1965int compat_43_sys_sigblock(struct lwp *, void *, register_t *); 1966 1967int compat_43_sys_sigsetmask(struct lwp *, void *, register_t *); 1968 1969int compat_13_sys_sigsuspend(struct lwp *, void *, register_t *); 1970 1971int compat_43_sys_sigstack(struct lwp *, void *, register_t *); 1972 1973int compat_43_sys_recvmsg(struct lwp *, void *, register_t *); 1974 1975int compat_43_sys_sendmsg(struct lwp *, void *, register_t *); 1976 1977int sys_gettimeofday(struct lwp *, void *, register_t *); 1978 1979int sys_getrusage(struct lwp *, void *, register_t *); 1980 1981int sys_getsockopt(struct lwp *, void *, register_t *); 1982 1983int sys_readv(struct lwp *, void *, register_t *); 1984 1985int sys_writev(struct lwp *, void *, register_t *); 1986 1987int sys_settimeofday(struct lwp *, void *, register_t *); 1988 1989int sys_fchown(struct lwp *, void *, register_t *); 1990 1991int sys_fchmod(struct lwp *, void *, register_t *); 1992 1993int compat_43_sys_recvfrom(struct lwp *, void *, register_t *); 1994 1995int sys_setreuid(struct lwp *, void *, register_t *); 1996 1997int sys_setregid(struct lwp *, void *, register_t *); 1998 1999int sys_rename(struct lwp *, void *, register_t *); 2000 2001int compat_43_sys_truncate(struct lwp *, void *, register_t *); 2002 2003int compat_43_sys_ftruncate(struct lwp *, void *, register_t *); 2004 2005int sys_flock(struct lwp *, void *, register_t *); 2006 2007int sys_mkfifo(struct lwp *, void *, register_t *); 2008 2009int sys_sendto(struct lwp *, void *, register_t *); 2010 2011int sys_shutdown(struct lwp *, void *, register_t *); 2012 2013int sys_socketpair(struct lwp *, void *, register_t *); 2014 2015int sys_mkdir(struct lwp *, void *, register_t *); 2016 2017int sys_rmdir(struct lwp *, void *, register_t *); 2018 2019int sys_utimes(struct lwp *, void *, register_t *); 2020 2021int sys_adjtime(struct lwp *, void *, register_t *); 2022 2023int compat_43_sys_getpeername(struct lwp *, void *, register_t *); 2024 2025int compat_43_sys_gethostid(struct lwp *, void *, register_t *); 2026 2027int compat_43_sys_sethostid(struct lwp *, void *, register_t *); 2028 2029int compat_43_sys_getrlimit(struct lwp *, void *, register_t *); 2030 2031int compat_43_sys_setrlimit(struct lwp *, void *, register_t *); 2032 2033int compat_43_sys_killpg(struct lwp *, void *, register_t *); 2034 2035int sys_setsid(struct lwp *, void *, register_t *); 2036 2037int sys_quotactl(struct lwp *, void *, register_t *); 2038 2039int compat_43_sys_quota(struct lwp *, void *, register_t *); 2040 2041int compat_43_sys_getsockname(struct lwp *, void *, register_t *); 2042 2043#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 2044int sys_nfssvc(struct lwp *, void *, register_t *); 2045 2046#else 2047#endif 2048int compat_43_sys_getdirentries(struct lwp *, void *, register_t *); 2049 2050int compat_20_sys_statfs(struct lwp *, void *, register_t *); 2051 2052int compat_20_sys_fstatfs(struct lwp *, void *, register_t *); 2053 2054int compat_30_sys_getfh(struct lwp *, void *, register_t *); 2055 2056int compat_09_sys_getdomainname(struct lwp *, void *, register_t *); 2057 2058int compat_09_sys_setdomainname(struct lwp *, void *, register_t *); 2059 2060int compat_09_sys_uname(struct lwp *, void *, register_t *); 2061 2062int sys_sysarch(struct lwp *, void *, register_t *); 2063 2064#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) 2065int compat_10_sys_semsys(struct lwp *, void *, register_t *); 2066 2067#else 2068#endif 2069#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) 2070int compat_10_sys_msgsys(struct lwp *, void *, register_t *); 2071 2072#else 2073#endif 2074#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) 2075int compat_10_sys_shmsys(struct lwp *, void *, register_t *); 2076 2077#else 2078#endif 2079int sys_pread(struct lwp *, void *, register_t *); 2080 2081int sys_pwrite(struct lwp *, void *, register_t *); 2082 2083int compat_30_sys_ntp_gettime(struct lwp *, void *, register_t *); 2084 2085#if defined(NTP) || !defined(_KERNEL) 2086int sys_ntp_adjtime(struct lwp *, void *, register_t *); 2087 2088#else 2089#endif 2090int sys_setgid(struct lwp *, void *, register_t *); 2091 2092int sys_setegid(struct lwp *, void *, register_t *); 2093 2094int sys_seteuid(struct lwp *, void *, register_t *); 2095 2096#if defined(LFS) || !defined(_KERNEL) 2097int sys_lfs_bmapv(struct lwp *, void *, register_t *); 2098 2099int sys_lfs_markv(struct lwp *, void *, register_t *); 2100 2101int sys_lfs_segclean(struct lwp *, void *, register_t *); 2102 2103int sys_lfs_segwait(struct lwp *, void *, register_t *); 2104 2105#else 2106#endif 2107int compat_12_sys_stat(struct lwp *, void *, register_t *); 2108 2109int compat_12_sys_fstat(struct lwp *, void *, register_t *); 2110 2111int compat_12_sys_lstat(struct lwp *, void *, register_t *); 2112 2113int sys_pathconf(struct lwp *, void *, register_t *); 2114 2115int sys_fpathconf(struct lwp *, void *, register_t *); 2116 2117int sys_getrlimit(struct lwp *, void *, register_t *); 2118 2119int sys_setrlimit(struct lwp *, void *, register_t *); 2120 2121int compat_12_sys_getdirentries(struct lwp *, void *, register_t *); 2122 2123int sys_mmap(struct lwp *, void *, register_t *); 2124 2125int sys_lseek(struct lwp *, void *, register_t *); 2126 2127int sys_truncate(struct lwp *, void *, register_t *); 2128 2129int sys_ftruncate(struct lwp *, void *, register_t *); 2130 2131int sys___sysctl(struct lwp *, void *, register_t *); 2132 2133int sys_mlock(struct lwp *, void *, register_t *); 2134 2135int sys_munlock(struct lwp *, void *, register_t *); 2136 2137int sys_undelete(struct lwp *, void *, register_t *); 2138 2139int sys_futimes(struct lwp *, void *, register_t *); 2140 2141int sys_getpgid(struct lwp *, void *, register_t *); 2142 2143int sys_reboot(struct lwp *, void *, register_t *); 2144 2145int sys_poll(struct lwp *, void *, register_t *); 2146 2147#if defined(LKM) || !defined(_KERNEL) 2148int sys_lkmnosys(struct lwp *, void *, register_t *); 2149 2150#else /* !LKM */ 2151#endif /* !LKM */ 2152#if defined(SYSVSEM) || !defined(_KERNEL) 2153int compat_14_sys___semctl(struct lwp *, void *, register_t *); 2154 2155int sys_semget(struct lwp *, void *, register_t *); 2156 2157int sys_semop(struct lwp *, void *, register_t *); 2158 2159int sys_semconfig(struct lwp *, void *, register_t *); 2160 2161#else 2162#endif 2163#if defined(SYSVMSG) || !defined(_KERNEL) 2164int compat_14_sys_msgctl(struct lwp *, void *, register_t *); 2165 2166int sys_msgget(struct lwp *, void *, register_t *); 2167 2168int sys_msgsnd(struct lwp *, void *, register_t *); 2169 2170int sys_msgrcv(struct lwp *, void *, register_t *); 2171 2172#else 2173#endif 2174#if defined(SYSVSHM) || !defined(_KERNEL) 2175int sys_shmat(struct lwp *, void *, register_t *); 2176 2177int compat_14_sys_shmctl(struct lwp *, void *, register_t *); 2178 2179int sys_shmdt(struct lwp *, void *, register_t *); 2180 2181int sys_shmget(struct lwp *, void *, register_t *); 2182 2183#else 2184#endif 2185int sys_clock_gettime(struct lwp *, void *, register_t *); 2186 2187int sys_clock_settime(struct lwp *, void *, register_t *); 2188 2189int sys_clock_getres(struct lwp *, void *, register_t *); 2190 2191int sys_timer_create(struct lwp *, void *, register_t *); 2192 2193int sys_timer_delete(struct lwp *, void *, register_t *); 2194 2195int sys_timer_settime(struct lwp *, void *, register_t *); 2196 2197int sys_timer_gettime(struct lwp *, void *, register_t *); 2198 2199int sys_timer_getoverrun(struct lwp *, void *, register_t *); 2200 2201int sys_nanosleep(struct lwp *, void *, register_t *); 2202 2203int sys_fdatasync(struct lwp *, void *, register_t *); 2204 2205int sys_mlockall(struct lwp *, void *, register_t *); 2206 2207int sys_munlockall(struct lwp *, void *, register_t *); 2208 2209int sys___sigtimedwait(struct lwp *, void *, register_t *); 2210 2211#if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 2212int sys__ksem_init(struct lwp *, void *, register_t *); 2213 2214int sys__ksem_open(struct lwp *, void *, register_t *); 2215 2216int sys__ksem_unlink(struct lwp *, void *, register_t *); 2217 2218int sys__ksem_close(struct lwp *, void *, register_t *); 2219 2220int sys__ksem_post(struct lwp *, void *, register_t *); 2221 2222int sys__ksem_wait(struct lwp *, void *, register_t *); 2223 2224int sys__ksem_trywait(struct lwp *, void *, register_t *); 2225 2226int sys__ksem_getvalue(struct lwp *, void *, register_t *); 2227 2228int sys__ksem_destroy(struct lwp *, void *, register_t *); 2229 2230#else 2231#endif 2232int sys___posix_rename(struct lwp *, void *, register_t *); 2233 2234int sys_swapctl(struct lwp *, void *, register_t *); 2235 2236int compat_30_sys_getdents(struct lwp *, void *, register_t *); 2237 2238int sys_minherit(struct lwp *, void *, register_t *); 2239 2240int sys_lchmod(struct lwp *, void *, register_t *); 2241 2242int sys_lchown(struct lwp *, void *, register_t *); 2243 2244int sys_lutimes(struct lwp *, void *, register_t *); 2245 2246int sys___msync13(struct lwp *, void *, register_t *); 2247 2248int compat_30_sys___stat13(struct lwp *, void *, register_t *); 2249 2250int compat_30_sys___fstat13(struct lwp *, void *, register_t *); 2251 2252int compat_30_sys___lstat13(struct lwp *, void *, register_t *); 2253 2254int sys___sigaltstack14(struct lwp *, void *, register_t *); 2255 2256int sys___vfork14(struct lwp *, void *, register_t *); 2257 2258int sys___posix_chown(struct lwp *, void *, register_t *); 2259 2260int sys___posix_fchown(struct lwp *, void *, register_t *); 2261 2262int sys___posix_lchown(struct lwp *, void *, register_t *); 2263 2264int sys_getsid(struct lwp *, void *, register_t *); 2265 2266int sys___clone(struct lwp *, void *, register_t *); 2267 2268#if defined(KTRACE) || !defined(_KERNEL) 2269int sys_fktrace(struct lwp *, void *, register_t *); 2270 2271#else 2272#endif 2273int sys_preadv(struct lwp *, void *, register_t *); 2274 2275int sys_pwritev(struct lwp *, void *, register_t *); 2276 2277int compat_16_sys___sigaction14(struct lwp *, void *, register_t *); 2278 2279int sys___sigpending14(struct lwp *, void *, register_t *); 2280 2281int sys___sigprocmask14(struct lwp *, void *, register_t *); 2282 2283int sys___sigsuspend14(struct lwp *, void *, register_t *); 2284 2285int compat_16_sys___sigreturn14(struct lwp *, void *, register_t *); 2286 2287int sys___getcwd(struct lwp *, void *, register_t *); 2288 2289int sys_fchroot(struct lwp *, void *, register_t *); 2290 2291int compat_30_sys_fhopen(struct lwp *, void *, register_t *); 2292 2293int compat_30_sys_fhstat(struct lwp *, void *, register_t *); 2294 2295int compat_20_sys_fhstatfs(struct lwp *, void *, register_t *); 2296 2297#if defined(SYSVSEM) || !defined(_KERNEL) 2298int sys_____semctl13(struct lwp *, void *, register_t *); 2299 2300#else 2301#endif 2302#if defined(SYSVMSG) || !defined(_KERNEL) 2303int sys___msgctl13(struct lwp *, void *, register_t *); 2304 2305#else 2306#endif 2307#if defined(SYSVSHM) || !defined(_KERNEL) 2308int sys___shmctl13(struct lwp *, void *, register_t *); 2309 2310#else 2311#endif 2312int sys_lchflags(struct lwp *, void *, register_t *); 2313 2314int sys_issetugid(struct lwp *, void *, register_t *); 2315 2316int sys_utrace(struct lwp *, void *, register_t *); 2317 2318int sys_getcontext(struct lwp *, void *, register_t *); 2319 2320int sys_setcontext(struct lwp *, void *, register_t *); 2321 2322int sys__lwp_create(struct lwp *, void *, register_t *); 2323 2324int sys__lwp_exit(struct lwp *, void *, register_t *); 2325 2326int sys__lwp_self(struct lwp *, void *, register_t *); 2327 2328int sys__lwp_wait(struct lwp *, void *, register_t *); 2329 2330int sys__lwp_suspend(struct lwp *, void *, register_t *); 2331 2332int sys__lwp_continue(struct lwp *, void *, register_t *); 2333 2334int sys__lwp_wakeup(struct lwp *, void *, register_t *); 2335 2336int sys__lwp_getprivate(struct lwp *, void *, register_t *); 2337 2338int sys__lwp_setprivate(struct lwp *, void *, register_t *); 2339 2340int sys_sa_register(struct lwp *, void *, register_t *); 2341 2342int sys_sa_stacks(struct lwp *, void *, register_t *); 2343 2344int sys_sa_enable(struct lwp *, void *, register_t *); 2345 2346int sys_sa_setconcurrency(struct lwp *, void *, register_t *); 2347 2348int sys_sa_yield(struct lwp *, void *, register_t *); 2349 2350int sys_sa_preempt(struct lwp *, void *, register_t *); 2351 2352int sys___sigaction_sigtramp(struct lwp *, void *, register_t *); 2353 2354int sys_pmc_get_info(struct lwp *, void *, register_t *); 2355 2356int sys_pmc_control(struct lwp *, void *, register_t *); 2357 2358int sys_rasctl(struct lwp *, void *, register_t *); 2359 2360int sys_kqueue(struct lwp *, void *, register_t *); 2361 2362int sys_kevent(struct lwp *, void *, register_t *); 2363 2364int sys_fsync_range(struct lwp *, void *, register_t *); 2365 2366int sys_uuidgen(struct lwp *, void *, register_t *); 2367 2368int sys_getvfsstat(struct lwp *, void *, register_t *); 2369 2370int sys_statvfs1(struct lwp *, void *, register_t *); 2371 2372int sys_fstatvfs1(struct lwp *, void *, register_t *); 2373 2374int compat_30_sys_fhstatvfs1(struct lwp *, void *, register_t *); 2375 2376int sys_extattrctl(struct lwp *, void *, register_t *); 2377 2378int sys_extattr_set_file(struct lwp *, void *, register_t *); 2379 2380int sys_extattr_get_file(struct lwp *, void *, register_t *); 2381 2382int sys_extattr_delete_file(struct lwp *, void *, register_t *); 2383 2384int sys_extattr_set_fd(struct lwp *, void *, register_t *); 2385 2386int sys_extattr_get_fd(struct lwp *, void *, register_t *); 2387 2388int sys_extattr_delete_fd(struct lwp *, void *, register_t *); 2389 2390int sys_extattr_set_link(struct lwp *, void *, register_t *); 2391 2392int sys_extattr_get_link(struct lwp *, void *, register_t *); 2393 2394int sys_extattr_delete_link(struct lwp *, void *, register_t *); 2395 2396int sys_extattr_list_fd(struct lwp *, void *, register_t *); 2397 2398int sys_extattr_list_file(struct lwp *, void *, register_t *); 2399 2400int sys_extattr_list_link(struct lwp *, void *, register_t *); 2401 2402int sys_pselect(struct lwp *, void *, register_t *); 2403 2404int sys_pollts(struct lwp *, void *, register_t *); 2405 2406int sys_setxattr(struct lwp *, void *, register_t *); 2407 2408int sys_lsetxattr(struct lwp *, void *, register_t *); 2409 2410int sys_fsetxattr(struct lwp *, void *, register_t *); 2411 2412int sys_getxattr(struct lwp *, void *, register_t *); 2413 2414int sys_lgetxattr(struct lwp *, void *, register_t *); 2415 2416int sys_fgetxattr(struct lwp *, void *, register_t *); 2417 2418int sys_listxattr(struct lwp *, void *, register_t *); 2419 2420int sys_llistxattr(struct lwp *, void *, register_t *); 2421 2422int sys_flistxattr(struct lwp *, void *, register_t *); 2423 2424int sys_removexattr(struct lwp *, void *, register_t *); 2425 2426int sys_lremovexattr(struct lwp *, void *, register_t *); 2427 2428int sys_fremovexattr(struct lwp *, void *, register_t *); 2429 2430int sys___stat30(struct lwp *, void *, register_t *); 2431 2432int sys___fstat30(struct lwp *, void *, register_t *); 2433 2434int sys___lstat30(struct lwp *, void *, register_t *); 2435 2436int sys___getdents30(struct lwp *, void *, register_t *); 2437 2438int sys_posix_fadvise(struct lwp *, void *, register_t *); 2439 2440int compat_30_sys___fhstat30(struct lwp *, void *, register_t *); 2441 2442int sys___ntp_gettime30(struct lwp *, void *, register_t *); 2443 2444int sys___socket30(struct lwp *, void *, register_t *); 2445 2446int sys___getfh30(struct lwp *, void *, register_t *); 2447 2448int sys___fhopen40(struct lwp *, void *, register_t *); 2449 2450int sys___fhstatvfs140(struct lwp *, void *, register_t *); 2451 2452int sys___fhstat40(struct lwp *, void *, register_t *); 2453 2454#endif /* _SYS_SYSCALLARGS_H_ */ 2455