1 /* $NetBSD: syscallargs.h,v 1.77 1999/03/22 17:13:35 sommerfe 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.89 1999/03/22 17:01:55 sommerfe 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 { \ 22 int8_t pad[ (sizeof (register_t) < sizeof (x)) \ 23 ? 0 \ 24 : sizeof (register_t) - sizeof (x)]; \ 25 x datum; \ 26 } be; \ 27 } 28 29 struct sys_exit_args { 30 syscallarg(int) rval; 31 }; 32 33 struct sys_read_args { 34 syscallarg(int) fd; 35 syscallarg(void *) buf; 36 syscallarg(size_t) nbyte; 37 }; 38 39 struct sys_write_args { 40 syscallarg(int) fd; 41 syscallarg(const void *) buf; 42 syscallarg(size_t) nbyte; 43 }; 44 45 struct sys_open_args { 46 syscallarg(const char *) path; 47 syscallarg(int) flags; 48 syscallarg(mode_t) mode; 49 }; 50 51 struct sys_close_args { 52 syscallarg(int) fd; 53 }; 54 55 struct sys_wait4_args { 56 syscallarg(int) pid; 57 syscallarg(int *) status; 58 syscallarg(int) options; 59 syscallarg(struct rusage *) rusage; 60 }; 61 62 struct compat_43_sys_creat_args { 63 syscallarg(const char *) path; 64 syscallarg(mode_t) mode; 65 }; 66 67 struct sys_link_args { 68 syscallarg(const char *) path; 69 syscallarg(const char *) link; 70 }; 71 72 struct sys_unlink_args { 73 syscallarg(const char *) path; 74 }; 75 76 struct sys_chdir_args { 77 syscallarg(const char *) path; 78 }; 79 80 struct sys_fchdir_args { 81 syscallarg(int) fd; 82 }; 83 84 struct sys_mknod_args { 85 syscallarg(const char *) path; 86 syscallarg(mode_t) mode; 87 syscallarg(dev_t) dev; 88 }; 89 90 struct sys_chmod_args { 91 syscallarg(const char *) path; 92 syscallarg(mode_t) mode; 93 }; 94 95 struct sys_chown_args { 96 syscallarg(const char *) path; 97 syscallarg(uid_t) uid; 98 syscallarg(gid_t) gid; 99 }; 100 101 struct sys_obreak_args { 102 syscallarg(char *) nsize; 103 }; 104 105 struct sys_getfsstat_args { 106 syscallarg(struct statfs *) buf; 107 syscallarg(long) bufsize; 108 syscallarg(int) flags; 109 }; 110 111 struct compat_43_sys_lseek_args { 112 syscallarg(int) fd; 113 syscallarg(long) offset; 114 syscallarg(int) whence; 115 }; 116 117 struct sys_mount_args { 118 syscallarg(const char *) type; 119 syscallarg(const char *) path; 120 syscallarg(int) flags; 121 syscallarg(void *) data; 122 }; 123 124 struct sys_unmount_args { 125 syscallarg(const char *) path; 126 syscallarg(int) flags; 127 }; 128 129 struct sys_setuid_args { 130 syscallarg(uid_t) uid; 131 }; 132 133 struct sys_ptrace_args { 134 syscallarg(int) req; 135 syscallarg(pid_t) pid; 136 syscallarg(caddr_t) addr; 137 syscallarg(int) data; 138 }; 139 140 struct sys_recvmsg_args { 141 syscallarg(int) s; 142 syscallarg(struct msghdr *) msg; 143 syscallarg(int) flags; 144 }; 145 146 struct sys_sendmsg_args { 147 syscallarg(int) s; 148 syscallarg(const struct msghdr *) msg; 149 syscallarg(int) flags; 150 }; 151 152 struct sys_recvfrom_args { 153 syscallarg(int) s; 154 syscallarg(void *) buf; 155 syscallarg(size_t) len; 156 syscallarg(int) flags; 157 syscallarg(struct sockaddr *) from; 158 syscallarg(unsigned int *) fromlenaddr; 159 }; 160 161 struct sys_accept_args { 162 syscallarg(int) s; 163 syscallarg(struct sockaddr *) name; 164 syscallarg(unsigned int *) anamelen; 165 }; 166 167 struct sys_getpeername_args { 168 syscallarg(int) fdes; 169 syscallarg(struct sockaddr *) asa; 170 syscallarg(unsigned int *) alen; 171 }; 172 173 struct sys_getsockname_args { 174 syscallarg(int) fdes; 175 syscallarg(struct sockaddr *) asa; 176 syscallarg(unsigned int *) alen; 177 }; 178 179 struct sys_access_args { 180 syscallarg(const char *) path; 181 syscallarg(int) flags; 182 }; 183 184 struct sys_chflags_args { 185 syscallarg(const char *) path; 186 syscallarg(u_long) flags; 187 }; 188 189 struct sys_fchflags_args { 190 syscallarg(int) fd; 191 syscallarg(u_long) flags; 192 }; 193 194 struct sys_kill_args { 195 syscallarg(int) pid; 196 syscallarg(int) signum; 197 }; 198 199 struct compat_43_sys_stat_args { 200 syscallarg(const char *) path; 201 syscallarg(struct stat43 *) ub; 202 }; 203 204 struct compat_43_sys_lstat_args { 205 syscallarg(const char *) path; 206 syscallarg(struct stat43 *) ub; 207 }; 208 209 struct sys_dup_args { 210 syscallarg(int) fd; 211 }; 212 213 struct sys_profil_args { 214 syscallarg(caddr_t) samples; 215 syscallarg(size_t) size; 216 syscallarg(u_long) offset; 217 syscallarg(u_int) scale; 218 }; 219 220 struct sys_ktrace_args { 221 syscallarg(const char *) fname; 222 syscallarg(int) ops; 223 syscallarg(int) facs; 224 syscallarg(int) pid; 225 }; 226 227 struct compat_13_sys_sigaction_args { 228 syscallarg(int) signum; 229 syscallarg(const struct sigaction13 *) nsa; 230 syscallarg(struct sigaction13 *) osa; 231 }; 232 233 struct compat_13_sys_sigprocmask_args { 234 syscallarg(int) how; 235 syscallarg(int) mask; 236 }; 237 238 struct sys___getlogin_args { 239 syscallarg(char *) namebuf; 240 syscallarg(u_int) namelen; 241 }; 242 243 struct sys_setlogin_args { 244 syscallarg(const char *) namebuf; 245 }; 246 247 struct sys_acct_args { 248 syscallarg(const char *) path; 249 }; 250 251 struct compat_13_sys_sigaltstack_args { 252 syscallarg(const struct sigaltstack13 *) nss; 253 syscallarg(struct sigaltstack13 *) oss; 254 }; 255 256 struct sys_ioctl_args { 257 syscallarg(int) fd; 258 syscallarg(u_long) com; 259 syscallarg(void *) data; 260 }; 261 262 struct compat_12_sys_reboot_args { 263 syscallarg(int) opt; 264 }; 265 266 struct sys_revoke_args { 267 syscallarg(const char *) path; 268 }; 269 270 struct sys_symlink_args { 271 syscallarg(const char *) path; 272 syscallarg(const char *) link; 273 }; 274 275 struct sys_readlink_args { 276 syscallarg(const char *) path; 277 syscallarg(char *) buf; 278 syscallarg(size_t) count; 279 }; 280 281 struct sys_execve_args { 282 syscallarg(const char *) path; 283 syscallarg(char *const *) argp; 284 syscallarg(char *const *) envp; 285 }; 286 287 struct sys_umask_args { 288 syscallarg(mode_t) newmask; 289 }; 290 291 struct sys_chroot_args { 292 syscallarg(const char *) path; 293 }; 294 295 struct compat_43_sys_fstat_args { 296 syscallarg(int) fd; 297 syscallarg(struct stat43 *) sb; 298 }; 299 300 struct compat_43_sys_getkerninfo_args { 301 syscallarg(int) op; 302 syscallarg(char *) where; 303 syscallarg(int *) size; 304 syscallarg(int) arg; 305 }; 306 307 struct compat_12_sys_msync_args { 308 syscallarg(caddr_t) addr; 309 syscallarg(size_t) len; 310 }; 311 312 struct sys_sbrk_args { 313 syscallarg(int) incr; 314 }; 315 316 struct sys_sstk_args { 317 syscallarg(int) incr; 318 }; 319 320 struct compat_43_sys_mmap_args { 321 syscallarg(caddr_t) addr; 322 syscallarg(size_t) len; 323 syscallarg(int) prot; 324 syscallarg(int) flags; 325 syscallarg(int) fd; 326 syscallarg(long) pos; 327 }; 328 329 struct sys_ovadvise_args { 330 syscallarg(int) anom; 331 }; 332 333 struct sys_munmap_args { 334 syscallarg(void *) addr; 335 syscallarg(size_t) len; 336 }; 337 338 struct sys_mprotect_args { 339 syscallarg(void *) addr; 340 syscallarg(size_t) len; 341 syscallarg(int) prot; 342 }; 343 344 struct sys_madvise_args { 345 syscallarg(void *) addr; 346 syscallarg(size_t) len; 347 syscallarg(int) behav; 348 }; 349 350 struct sys_mincore_args { 351 syscallarg(caddr_t) addr; 352 syscallarg(size_t) len; 353 syscallarg(char *) vec; 354 }; 355 356 struct sys_getgroups_args { 357 syscallarg(int) gidsetsize; 358 syscallarg(gid_t *) gidset; 359 }; 360 361 struct sys_setgroups_args { 362 syscallarg(int) gidsetsize; 363 syscallarg(const gid_t *) gidset; 364 }; 365 366 struct sys_setpgid_args { 367 syscallarg(int) pid; 368 syscallarg(int) pgid; 369 }; 370 371 struct sys_setitimer_args { 372 syscallarg(int) which; 373 syscallarg(const struct itimerval *) itv; 374 syscallarg(struct itimerval *) oitv; 375 }; 376 377 struct compat_12_sys_swapon_args { 378 syscallarg(const char *) name; 379 }; 380 381 struct sys_getitimer_args { 382 syscallarg(int) which; 383 syscallarg(struct itimerval *) itv; 384 }; 385 386 struct compat_43_sys_gethostname_args { 387 syscallarg(char *) hostname; 388 syscallarg(u_int) len; 389 }; 390 391 struct compat_43_sys_sethostname_args { 392 syscallarg(char *) hostname; 393 syscallarg(u_int) len; 394 }; 395 396 struct sys_dup2_args { 397 syscallarg(int) from; 398 syscallarg(int) to; 399 }; 400 401 struct sys_fcntl_args { 402 syscallarg(int) fd; 403 syscallarg(int) cmd; 404 syscallarg(void *) arg; 405 }; 406 407 struct sys_select_args { 408 syscallarg(int) nd; 409 syscallarg(fd_set *) in; 410 syscallarg(fd_set *) ou; 411 syscallarg(fd_set *) ex; 412 syscallarg(struct timeval *) tv; 413 }; 414 415 struct sys_fsync_args { 416 syscallarg(int) fd; 417 }; 418 419 struct sys_setpriority_args { 420 syscallarg(int) which; 421 syscallarg(int) who; 422 syscallarg(int) prio; 423 }; 424 425 struct sys_socket_args { 426 syscallarg(int) domain; 427 syscallarg(int) type; 428 syscallarg(int) protocol; 429 }; 430 431 struct sys_connect_args { 432 syscallarg(int) s; 433 syscallarg(const struct sockaddr *) name; 434 syscallarg(unsigned int) namelen; 435 }; 436 437 struct compat_43_sys_accept_args { 438 syscallarg(int) s; 439 syscallarg(caddr_t) name; 440 syscallarg(int *) anamelen; 441 }; 442 443 struct sys_getpriority_args { 444 syscallarg(int) which; 445 syscallarg(int) who; 446 }; 447 448 struct compat_43_sys_send_args { 449 syscallarg(int) s; 450 syscallarg(caddr_t) buf; 451 syscallarg(int) len; 452 syscallarg(int) flags; 453 }; 454 455 struct compat_43_sys_recv_args { 456 syscallarg(int) s; 457 syscallarg(caddr_t) buf; 458 syscallarg(int) len; 459 syscallarg(int) flags; 460 }; 461 462 struct compat_13_sys_sigreturn_args { 463 syscallarg(struct sigcontext13 *) sigcntxp; 464 }; 465 466 struct sys_bind_args { 467 syscallarg(int) s; 468 syscallarg(const struct sockaddr *) name; 469 syscallarg(unsigned int) namelen; 470 }; 471 472 struct sys_setsockopt_args { 473 syscallarg(int) s; 474 syscallarg(int) level; 475 syscallarg(int) name; 476 syscallarg(const void *) val; 477 syscallarg(unsigned int) valsize; 478 }; 479 480 struct sys_listen_args { 481 syscallarg(int) s; 482 syscallarg(int) backlog; 483 }; 484 485 struct compat_43_sys_sigvec_args { 486 syscallarg(int) signum; 487 syscallarg(struct sigvec *) nsv; 488 syscallarg(struct sigvec *) osv; 489 }; 490 491 struct compat_43_sys_sigblock_args { 492 syscallarg(int) mask; 493 }; 494 495 struct compat_43_sys_sigsetmask_args { 496 syscallarg(int) mask; 497 }; 498 499 struct compat_13_sys_sigsuspend_args { 500 syscallarg(int) mask; 501 }; 502 503 struct compat_43_sys_sigstack_args { 504 syscallarg(struct sigstack *) nss; 505 syscallarg(struct sigstack *) oss; 506 }; 507 508 struct compat_43_sys_recvmsg_args { 509 syscallarg(int) s; 510 syscallarg(struct omsghdr *) msg; 511 syscallarg(int) flags; 512 }; 513 514 struct compat_43_sys_sendmsg_args { 515 syscallarg(int) s; 516 syscallarg(caddr_t) msg; 517 syscallarg(int) flags; 518 }; 519 520 struct sys_vtrace_args { 521 syscallarg(int) request; 522 syscallarg(int) value; 523 }; 524 525 struct sys_gettimeofday_args { 526 syscallarg(struct timeval *) tp; 527 syscallarg(struct timezone *) tzp; 528 }; 529 530 struct sys_getrusage_args { 531 syscallarg(int) who; 532 syscallarg(struct rusage *) rusage; 533 }; 534 535 struct sys_getsockopt_args { 536 syscallarg(int) s; 537 syscallarg(int) level; 538 syscallarg(int) name; 539 syscallarg(void *) val; 540 syscallarg(unsigned int *) avalsize; 541 }; 542 543 struct sys_readv_args { 544 syscallarg(int) fd; 545 syscallarg(const struct iovec *) iovp; 546 syscallarg(int) iovcnt; 547 }; 548 549 struct sys_writev_args { 550 syscallarg(int) fd; 551 syscallarg(const struct iovec *) iovp; 552 syscallarg(int) iovcnt; 553 }; 554 555 struct sys_settimeofday_args { 556 syscallarg(const struct timeval *) tv; 557 syscallarg(const struct timezone *) tzp; 558 }; 559 560 struct sys_fchown_args { 561 syscallarg(int) fd; 562 syscallarg(uid_t) uid; 563 syscallarg(gid_t) gid; 564 }; 565 566 struct sys_fchmod_args { 567 syscallarg(int) fd; 568 syscallarg(mode_t) mode; 569 }; 570 571 struct compat_43_sys_recvfrom_args { 572 syscallarg(int) s; 573 syscallarg(caddr_t) buf; 574 syscallarg(size_t) len; 575 syscallarg(int) flags; 576 syscallarg(caddr_t) from; 577 syscallarg(int *) fromlenaddr; 578 }; 579 580 struct sys_setreuid_args { 581 syscallarg(uid_t) ruid; 582 syscallarg(uid_t) euid; 583 }; 584 585 struct sys_setregid_args { 586 syscallarg(gid_t) rgid; 587 syscallarg(gid_t) egid; 588 }; 589 590 struct sys_rename_args { 591 syscallarg(const char *) from; 592 syscallarg(const char *) to; 593 }; 594 595 struct compat_43_sys_truncate_args { 596 syscallarg(const char *) path; 597 syscallarg(long) length; 598 }; 599 600 struct compat_43_sys_ftruncate_args { 601 syscallarg(int) fd; 602 syscallarg(long) length; 603 }; 604 605 struct sys_flock_args { 606 syscallarg(int) fd; 607 syscallarg(int) how; 608 }; 609 610 struct sys_mkfifo_args { 611 syscallarg(const char *) path; 612 syscallarg(mode_t) mode; 613 }; 614 615 struct sys_sendto_args { 616 syscallarg(int) s; 617 syscallarg(const void *) buf; 618 syscallarg(size_t) len; 619 syscallarg(int) flags; 620 syscallarg(const struct sockaddr *) to; 621 syscallarg(unsigned int) tolen; 622 }; 623 624 struct sys_shutdown_args { 625 syscallarg(int) s; 626 syscallarg(int) how; 627 }; 628 629 struct sys_socketpair_args { 630 syscallarg(int) domain; 631 syscallarg(int) type; 632 syscallarg(int) protocol; 633 syscallarg(int *) rsv; 634 }; 635 636 struct sys_mkdir_args { 637 syscallarg(const char *) path; 638 syscallarg(mode_t) mode; 639 }; 640 641 struct sys_rmdir_args { 642 syscallarg(const char *) path; 643 }; 644 645 struct sys_utimes_args { 646 syscallarg(const char *) path; 647 syscallarg(const struct timeval *) tptr; 648 }; 649 650 struct sys_adjtime_args { 651 syscallarg(const struct timeval *) delta; 652 syscallarg(struct timeval *) olddelta; 653 }; 654 655 struct compat_43_sys_getpeername_args { 656 syscallarg(int) fdes; 657 syscallarg(caddr_t) asa; 658 syscallarg(int *) alen; 659 }; 660 661 struct compat_43_sys_sethostid_args { 662 syscallarg(int32_t) hostid; 663 }; 664 665 struct compat_43_sys_getrlimit_args { 666 syscallarg(int) which; 667 syscallarg(struct orlimit *) rlp; 668 }; 669 670 struct compat_43_sys_setrlimit_args { 671 syscallarg(int) which; 672 syscallarg(const struct orlimit *) rlp; 673 }; 674 675 struct compat_43_sys_killpg_args { 676 syscallarg(int) pgid; 677 syscallarg(int) signum; 678 }; 679 680 struct sys_quotactl_args { 681 syscallarg(const char *) path; 682 syscallarg(int) cmd; 683 syscallarg(int) uid; 684 syscallarg(caddr_t) arg; 685 }; 686 687 struct compat_43_sys_getsockname_args { 688 syscallarg(int) fdec; 689 syscallarg(caddr_t) asa; 690 syscallarg(int *) alen; 691 }; 692 693 struct sys_nfssvc_args { 694 syscallarg(int) flag; 695 syscallarg(void *) argp; 696 }; 697 698 struct compat_43_sys_getdirentries_args { 699 syscallarg(int) fd; 700 syscallarg(char *) buf; 701 syscallarg(u_int) count; 702 syscallarg(long *) basep; 703 }; 704 705 struct sys_statfs_args { 706 syscallarg(const char *) path; 707 syscallarg(struct statfs *) buf; 708 }; 709 710 struct sys_fstatfs_args { 711 syscallarg(int) fd; 712 syscallarg(struct statfs *) buf; 713 }; 714 715 struct sys_getfh_args { 716 syscallarg(const char *) fname; 717 syscallarg(fhandle_t *) fhp; 718 }; 719 720 struct compat_09_sys_getdomainname_args { 721 syscallarg(char *) domainname; 722 syscallarg(int) len; 723 }; 724 725 struct compat_09_sys_setdomainname_args { 726 syscallarg(char *) domainname; 727 syscallarg(int) len; 728 }; 729 730 struct compat_09_sys_uname_args { 731 syscallarg(struct outsname *) name; 732 }; 733 734 struct sys_sysarch_args { 735 syscallarg(int) op; 736 syscallarg(void *) parms; 737 }; 738 739 struct compat_10_sys_semsys_args { 740 syscallarg(int) which; 741 syscallarg(int) a2; 742 syscallarg(int) a3; 743 syscallarg(int) a4; 744 syscallarg(int) a5; 745 }; 746 747 struct compat_10_sys_msgsys_args { 748 syscallarg(int) which; 749 syscallarg(int) a2; 750 syscallarg(int) a3; 751 syscallarg(int) a4; 752 syscallarg(int) a5; 753 syscallarg(int) a6; 754 }; 755 756 struct compat_10_sys_shmsys_args { 757 syscallarg(int) which; 758 syscallarg(int) a2; 759 syscallarg(int) a3; 760 syscallarg(int) a4; 761 }; 762 763 struct sys_pread_args { 764 syscallarg(int) fd; 765 syscallarg(void *) buf; 766 syscallarg(size_t) nbyte; 767 syscallarg(int) pad; 768 syscallarg(off_t) offset; 769 }; 770 771 struct sys_pwrite_args { 772 syscallarg(int) fd; 773 syscallarg(const void *) buf; 774 syscallarg(size_t) nbyte; 775 syscallarg(int) pad; 776 syscallarg(off_t) offset; 777 }; 778 779 struct sys_ntp_gettime_args { 780 syscallarg(struct ntptimeval *) ntvp; 781 }; 782 783 struct sys_ntp_adjtime_args { 784 syscallarg(struct timex *) tp; 785 }; 786 787 struct sys_setgid_args { 788 syscallarg(gid_t) gid; 789 }; 790 791 struct sys_setegid_args { 792 syscallarg(gid_t) egid; 793 }; 794 795 struct sys_seteuid_args { 796 syscallarg(uid_t) euid; 797 }; 798 799 struct lfs_bmapv_args { 800 syscallarg(fsid_t *) fsidp; 801 syscallarg(struct block_info *) blkiov; 802 syscallarg(int) blkcnt; 803 }; 804 805 struct lfs_markv_args { 806 syscallarg(fsid_t *) fsidp; 807 syscallarg(struct block_info *) blkiov; 808 syscallarg(int) blkcnt; 809 }; 810 811 struct lfs_segclean_args { 812 syscallarg(fsid_t *) fsidp; 813 syscallarg(u_long) segment; 814 }; 815 816 struct lfs_segwait_args { 817 syscallarg(fsid_t *) fsidp; 818 syscallarg(struct timeval *) tv; 819 }; 820 821 struct compat_12_sys_stat_args { 822 syscallarg(const char *) path; 823 syscallarg(struct stat12 *) ub; 824 }; 825 826 struct compat_12_sys_fstat_args { 827 syscallarg(int) fd; 828 syscallarg(struct stat12 *) sb; 829 }; 830 831 struct compat_12_sys_lstat_args { 832 syscallarg(const char *) path; 833 syscallarg(struct stat12 *) ub; 834 }; 835 836 struct sys_pathconf_args { 837 syscallarg(const char *) path; 838 syscallarg(int) name; 839 }; 840 841 struct sys_fpathconf_args { 842 syscallarg(int) fd; 843 syscallarg(int) name; 844 }; 845 846 struct sys_getrlimit_args { 847 syscallarg(int) which; 848 syscallarg(struct rlimit *) rlp; 849 }; 850 851 struct sys_setrlimit_args { 852 syscallarg(int) which; 853 syscallarg(const struct rlimit *) rlp; 854 }; 855 856 struct compat_12_sys_getdirentries_args { 857 syscallarg(int) fd; 858 syscallarg(char *) buf; 859 syscallarg(u_int) count; 860 syscallarg(long *) basep; 861 }; 862 863 struct sys_mmap_args { 864 syscallarg(void *) addr; 865 syscallarg(size_t) len; 866 syscallarg(int) prot; 867 syscallarg(int) flags; 868 syscallarg(int) fd; 869 syscallarg(long) pad; 870 syscallarg(off_t) pos; 871 }; 872 873 struct sys_lseek_args { 874 syscallarg(int) fd; 875 syscallarg(int) pad; 876 syscallarg(off_t) offset; 877 syscallarg(int) whence; 878 }; 879 880 struct sys_truncate_args { 881 syscallarg(const char *) path; 882 syscallarg(int) pad; 883 syscallarg(off_t) length; 884 }; 885 886 struct sys_ftruncate_args { 887 syscallarg(int) fd; 888 syscallarg(int) pad; 889 syscallarg(off_t) length; 890 }; 891 892 struct sys___sysctl_args { 893 syscallarg(int *) name; 894 syscallarg(u_int) namelen; 895 syscallarg(void *) old; 896 syscallarg(size_t *) oldlenp; 897 syscallarg(void *) new; 898 syscallarg(size_t) newlen; 899 }; 900 901 struct sys_mlock_args { 902 syscallarg(const void *) addr; 903 syscallarg(size_t) len; 904 }; 905 906 struct sys_munlock_args { 907 syscallarg(const void *) addr; 908 syscallarg(size_t) len; 909 }; 910 911 struct sys_undelete_args { 912 syscallarg(const char *) path; 913 }; 914 915 struct sys_futimes_args { 916 syscallarg(int) fd; 917 syscallarg(const struct timeval *) tptr; 918 }; 919 920 struct sys_getpgid_args { 921 syscallarg(pid_t) pid; 922 }; 923 924 struct sys_reboot_args { 925 syscallarg(int) opt; 926 syscallarg(char *) bootstr; 927 }; 928 929 struct sys_poll_args { 930 syscallarg(struct pollfd *) fds; 931 syscallarg(u_int) nfds; 932 syscallarg(int) timeout; 933 }; 934 935 struct sys___semctl_args { 936 syscallarg(int) semid; 937 syscallarg(int) semnum; 938 syscallarg(int) cmd; 939 syscallarg(union semun *) arg; 940 }; 941 942 struct sys_semget_args { 943 syscallarg(key_t) key; 944 syscallarg(int) nsems; 945 syscallarg(int) semflg; 946 }; 947 948 struct sys_semop_args { 949 syscallarg(int) semid; 950 syscallarg(struct sembuf *) sops; 951 syscallarg(size_t) nsops; 952 }; 953 954 struct sys_semconfig_args { 955 syscallarg(int) flag; 956 }; 957 958 struct sys_msgctl_args { 959 syscallarg(int) msqid; 960 syscallarg(int) cmd; 961 syscallarg(struct msqid_ds *) buf; 962 }; 963 964 struct sys_msgget_args { 965 syscallarg(key_t) key; 966 syscallarg(int) msgflg; 967 }; 968 969 struct sys_msgsnd_args { 970 syscallarg(int) msqid; 971 syscallarg(const void *) msgp; 972 syscallarg(size_t) msgsz; 973 syscallarg(int) msgflg; 974 }; 975 976 struct sys_msgrcv_args { 977 syscallarg(int) msqid; 978 syscallarg(void *) msgp; 979 syscallarg(size_t) msgsz; 980 syscallarg(long) msgtyp; 981 syscallarg(int) msgflg; 982 }; 983 984 struct sys_shmat_args { 985 syscallarg(int) shmid; 986 syscallarg(const void *) shmaddr; 987 syscallarg(int) shmflg; 988 }; 989 990 struct sys_shmctl_args { 991 syscallarg(int) shmid; 992 syscallarg(int) cmd; 993 syscallarg(struct shmid_ds *) buf; 994 }; 995 996 struct sys_shmdt_args { 997 syscallarg(const void *) shmaddr; 998 }; 999 1000 struct sys_shmget_args { 1001 syscallarg(key_t) key; 1002 syscallarg(size_t) size; 1003 syscallarg(int) shmflg; 1004 }; 1005 1006 struct sys_clock_gettime_args { 1007 syscallarg(clockid_t) clock_id; 1008 syscallarg(struct timespec *) tp; 1009 }; 1010 1011 struct sys_clock_settime_args { 1012 syscallarg(clockid_t) clock_id; 1013 syscallarg(const struct timespec *) tp; 1014 }; 1015 1016 struct sys_clock_getres_args { 1017 syscallarg(clockid_t) clock_id; 1018 syscallarg(struct timespec *) tp; 1019 }; 1020 1021 struct sys_nanosleep_args { 1022 syscallarg(const struct timespec *) rqtp; 1023 syscallarg(struct timespec *) rmtp; 1024 }; 1025 1026 struct sys_fdatasync_args { 1027 syscallarg(int) fd; 1028 }; 1029 1030 struct sys___posix_rename_args { 1031 syscallarg(const char *) from; 1032 syscallarg(const char *) to; 1033 }; 1034 1035 struct sys_swapctl_args { 1036 syscallarg(int) cmd; 1037 syscallarg(const void *) arg; 1038 syscallarg(int) misc; 1039 }; 1040 1041 struct sys_getdents_args { 1042 syscallarg(int) fd; 1043 syscallarg(char *) buf; 1044 syscallarg(size_t) count; 1045 }; 1046 1047 struct sys_minherit_args { 1048 syscallarg(void *) addr; 1049 syscallarg(size_t) len; 1050 syscallarg(int) inherit; 1051 }; 1052 1053 struct sys_lchmod_args { 1054 syscallarg(const char *) path; 1055 syscallarg(mode_t) mode; 1056 }; 1057 1058 struct sys_lchown_args { 1059 syscallarg(const char *) path; 1060 syscallarg(uid_t) uid; 1061 syscallarg(gid_t) gid; 1062 }; 1063 1064 struct sys_lutimes_args { 1065 syscallarg(const char *) path; 1066 syscallarg(const struct timeval *) tptr; 1067 }; 1068 1069 struct sys___msync13_args { 1070 syscallarg(void *) addr; 1071 syscallarg(size_t) len; 1072 syscallarg(int) flags; 1073 }; 1074 1075 struct sys___stat13_args { 1076 syscallarg(const char *) path; 1077 syscallarg(struct stat *) ub; 1078 }; 1079 1080 struct sys___fstat13_args { 1081 syscallarg(int) fd; 1082 syscallarg(struct stat *) sb; 1083 }; 1084 1085 struct sys___lstat13_args { 1086 syscallarg(const char *) path; 1087 syscallarg(struct stat *) ub; 1088 }; 1089 1090 struct sys___sigaltstack14_args { 1091 syscallarg(const struct sigaltstack *) nss; 1092 syscallarg(struct sigaltstack *) oss; 1093 }; 1094 1095 struct sys___posix_chown_args { 1096 syscallarg(const char *) path; 1097 syscallarg(uid_t) uid; 1098 syscallarg(gid_t) gid; 1099 }; 1100 1101 struct sys___posix_fchown_args { 1102 syscallarg(int) fd; 1103 syscallarg(uid_t) uid; 1104 syscallarg(gid_t) gid; 1105 }; 1106 1107 struct sys___posix_lchown_args { 1108 syscallarg(const char *) path; 1109 syscallarg(uid_t) uid; 1110 syscallarg(gid_t) gid; 1111 }; 1112 1113 struct sys_getsid_args { 1114 syscallarg(pid_t) pid; 1115 }; 1116 1117 struct sys_fktrace_args { 1118 syscallarg(const int) fd; 1119 syscallarg(int) ops; 1120 syscallarg(int) facs; 1121 syscallarg(int) pid; 1122 }; 1123 1124 struct sys_preadv_args { 1125 syscallarg(int) fd; 1126 syscallarg(const struct iovec *) iovp; 1127 syscallarg(int) iovcnt; 1128 syscallarg(int) pad; 1129 syscallarg(off_t) offset; 1130 }; 1131 1132 struct sys_pwritev_args { 1133 syscallarg(int) fd; 1134 syscallarg(const struct iovec *) iovp; 1135 syscallarg(int) iovcnt; 1136 syscallarg(int) pad; 1137 syscallarg(off_t) offset; 1138 }; 1139 1140 struct sys___sigaction14_args { 1141 syscallarg(int) signum; 1142 syscallarg(const struct sigaction *) nsa; 1143 syscallarg(struct sigaction *) osa; 1144 }; 1145 1146 struct sys___sigpending14_args { 1147 syscallarg(sigset_t *) set; 1148 }; 1149 1150 struct sys___sigprocmask14_args { 1151 syscallarg(int) how; 1152 syscallarg(const sigset_t *) set; 1153 syscallarg(sigset_t *) oset; 1154 }; 1155 1156 struct sys___sigsuspend14_args { 1157 syscallarg(const sigset_t *) set; 1158 }; 1159 1160 struct sys___sigreturn14_args { 1161 syscallarg(struct sigcontext *) sigcntxp; 1162 }; 1163 1164 struct sys___getcwd_args { 1165 syscallarg(char *) bufp; 1166 syscallarg(size_t) length; 1167 }; 1168 1169 struct sys_fchroot_args { 1170 syscallarg(int) fd; 1171 }; 1172 1173 /* 1174 * System call prototypes. 1175 */ 1176 1177 int sys_exit __P((struct proc *, void *, register_t *)); 1178 int sys_fork __P((struct proc *, void *, register_t *)); 1179 int sys_read __P((struct proc *, void *, register_t *)); 1180 int sys_write __P((struct proc *, void *, register_t *)); 1181 int sys_open __P((struct proc *, void *, register_t *)); 1182 int sys_close __P((struct proc *, void *, register_t *)); 1183 int sys_wait4 __P((struct proc *, void *, register_t *)); 1184 int compat_43_sys_creat __P((struct proc *, void *, register_t *)); 1185 int sys_link __P((struct proc *, void *, register_t *)); 1186 int sys_unlink __P((struct proc *, void *, register_t *)); 1187 int sys_chdir __P((struct proc *, void *, register_t *)); 1188 int sys_fchdir __P((struct proc *, void *, register_t *)); 1189 int sys_mknod __P((struct proc *, void *, register_t *)); 1190 int sys_chmod __P((struct proc *, void *, register_t *)); 1191 int sys_chown __P((struct proc *, void *, register_t *)); 1192 int sys_obreak __P((struct proc *, void *, register_t *)); 1193 int sys_getfsstat __P((struct proc *, void *, register_t *)); 1194 int compat_43_sys_lseek __P((struct proc *, void *, register_t *)); 1195 int sys_getpid __P((struct proc *, void *, register_t *)); 1196 int sys_mount __P((struct proc *, void *, register_t *)); 1197 int sys_unmount __P((struct proc *, void *, register_t *)); 1198 int sys_setuid __P((struct proc *, void *, register_t *)); 1199 int sys_getuid __P((struct proc *, void *, register_t *)); 1200 int sys_geteuid __P((struct proc *, void *, register_t *)); 1201 int sys_ptrace __P((struct proc *, void *, register_t *)); 1202 int sys_recvmsg __P((struct proc *, void *, register_t *)); 1203 int sys_sendmsg __P((struct proc *, void *, register_t *)); 1204 int sys_recvfrom __P((struct proc *, void *, register_t *)); 1205 int sys_accept __P((struct proc *, void *, register_t *)); 1206 int sys_getpeername __P((struct proc *, void *, register_t *)); 1207 int sys_getsockname __P((struct proc *, void *, register_t *)); 1208 int sys_access __P((struct proc *, void *, register_t *)); 1209 int sys_chflags __P((struct proc *, void *, register_t *)); 1210 int sys_fchflags __P((struct proc *, void *, register_t *)); 1211 int sys_sync __P((struct proc *, void *, register_t *)); 1212 int sys_kill __P((struct proc *, void *, register_t *)); 1213 int compat_43_sys_stat __P((struct proc *, void *, register_t *)); 1214 int sys_getppid __P((struct proc *, void *, register_t *)); 1215 int compat_43_sys_lstat __P((struct proc *, void *, register_t *)); 1216 int sys_dup __P((struct proc *, void *, register_t *)); 1217 int sys_pipe __P((struct proc *, void *, register_t *)); 1218 int sys_getegid __P((struct proc *, void *, register_t *)); 1219 int sys_profil __P((struct proc *, void *, register_t *)); 1220 #ifdef KTRACE 1221 int sys_ktrace __P((struct proc *, void *, register_t *)); 1222 #else 1223 #endif 1224 int compat_13_sys_sigaction __P((struct proc *, void *, register_t *)); 1225 int sys_getgid __P((struct proc *, void *, register_t *)); 1226 int compat_13_sys_sigprocmask __P((struct proc *, void *, register_t *)); 1227 int sys___getlogin __P((struct proc *, void *, register_t *)); 1228 int sys_setlogin __P((struct proc *, void *, register_t *)); 1229 int sys_acct __P((struct proc *, void *, register_t *)); 1230 int compat_13_sys_sigpending __P((struct proc *, void *, register_t *)); 1231 int compat_13_sys_sigaltstack __P((struct proc *, void *, register_t *)); 1232 int sys_ioctl __P((struct proc *, void *, register_t *)); 1233 int compat_12_sys_reboot __P((struct proc *, void *, register_t *)); 1234 int sys_revoke __P((struct proc *, void *, register_t *)); 1235 int sys_symlink __P((struct proc *, void *, register_t *)); 1236 int sys_readlink __P((struct proc *, void *, register_t *)); 1237 int sys_execve __P((struct proc *, void *, register_t *)); 1238 int sys_umask __P((struct proc *, void *, register_t *)); 1239 int sys_chroot __P((struct proc *, void *, register_t *)); 1240 int compat_43_sys_fstat __P((struct proc *, void *, register_t *)); 1241 int compat_43_sys_getkerninfo __P((struct proc *, void *, register_t *)); 1242 int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *)); 1243 int compat_12_sys_msync __P((struct proc *, void *, register_t *)); 1244 int sys_vfork __P((struct proc *, void *, register_t *)); 1245 int sys_sbrk __P((struct proc *, void *, register_t *)); 1246 int sys_sstk __P((struct proc *, void *, register_t *)); 1247 int compat_43_sys_mmap __P((struct proc *, void *, register_t *)); 1248 int sys_ovadvise __P((struct proc *, void *, register_t *)); 1249 int sys_munmap __P((struct proc *, void *, register_t *)); 1250 int sys_mprotect __P((struct proc *, void *, register_t *)); 1251 int sys_madvise __P((struct proc *, void *, register_t *)); 1252 int sys_mincore __P((struct proc *, void *, register_t *)); 1253 int sys_getgroups __P((struct proc *, void *, register_t *)); 1254 int sys_setgroups __P((struct proc *, void *, register_t *)); 1255 int sys_getpgrp __P((struct proc *, void *, register_t *)); 1256 int sys_setpgid __P((struct proc *, void *, register_t *)); 1257 int sys_setitimer __P((struct proc *, void *, register_t *)); 1258 int compat_43_sys_wait __P((struct proc *, void *, register_t *)); 1259 int compat_12_sys_swapon __P((struct proc *, void *, register_t *)); 1260 int sys_getitimer __P((struct proc *, void *, register_t *)); 1261 int compat_43_sys_gethostname __P((struct proc *, void *, register_t *)); 1262 int compat_43_sys_sethostname __P((struct proc *, void *, register_t *)); 1263 int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *)); 1264 int sys_dup2 __P((struct proc *, void *, register_t *)); 1265 int sys_fcntl __P((struct proc *, void *, register_t *)); 1266 int sys_select __P((struct proc *, void *, register_t *)); 1267 int sys_fsync __P((struct proc *, void *, register_t *)); 1268 int sys_setpriority __P((struct proc *, void *, register_t *)); 1269 int sys_socket __P((struct proc *, void *, register_t *)); 1270 int sys_connect __P((struct proc *, void *, register_t *)); 1271 int compat_43_sys_accept __P((struct proc *, void *, register_t *)); 1272 int sys_getpriority __P((struct proc *, void *, register_t *)); 1273 int compat_43_sys_send __P((struct proc *, void *, register_t *)); 1274 int compat_43_sys_recv __P((struct proc *, void *, register_t *)); 1275 int compat_13_sys_sigreturn __P((struct proc *, void *, register_t *)); 1276 int sys_bind __P((struct proc *, void *, register_t *)); 1277 int sys_setsockopt __P((struct proc *, void *, register_t *)); 1278 int sys_listen __P((struct proc *, void *, register_t *)); 1279 int compat_43_sys_sigvec __P((struct proc *, void *, register_t *)); 1280 int compat_43_sys_sigblock __P((struct proc *, void *, register_t *)); 1281 int compat_43_sys_sigsetmask __P((struct proc *, void *, register_t *)); 1282 int compat_13_sys_sigsuspend __P((struct proc *, void *, register_t *)); 1283 int compat_43_sys_sigstack __P((struct proc *, void *, register_t *)); 1284 int compat_43_sys_recvmsg __P((struct proc *, void *, register_t *)); 1285 int compat_43_sys_sendmsg __P((struct proc *, void *, register_t *)); 1286 #ifdef TRACE 1287 int sys_vtrace __P((struct proc *, void *, register_t *)); 1288 #else 1289 #endif 1290 int sys_gettimeofday __P((struct proc *, void *, register_t *)); 1291 int sys_getrusage __P((struct proc *, void *, register_t *)); 1292 int sys_getsockopt __P((struct proc *, void *, register_t *)); 1293 int sys_readv __P((struct proc *, void *, register_t *)); 1294 int sys_writev __P((struct proc *, void *, register_t *)); 1295 int sys_settimeofday __P((struct proc *, void *, register_t *)); 1296 int sys_fchown __P((struct proc *, void *, register_t *)); 1297 int sys_fchmod __P((struct proc *, void *, register_t *)); 1298 int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *)); 1299 int sys_setreuid __P((struct proc *, void *, register_t *)); 1300 int sys_setregid __P((struct proc *, void *, register_t *)); 1301 int sys_rename __P((struct proc *, void *, register_t *)); 1302 int compat_43_sys_truncate __P((struct proc *, void *, register_t *)); 1303 int compat_43_sys_ftruncate __P((struct proc *, void *, register_t *)); 1304 int sys_flock __P((struct proc *, void *, register_t *)); 1305 int sys_mkfifo __P((struct proc *, void *, register_t *)); 1306 int sys_sendto __P((struct proc *, void *, register_t *)); 1307 int sys_shutdown __P((struct proc *, void *, register_t *)); 1308 int sys_socketpair __P((struct proc *, void *, register_t *)); 1309 int sys_mkdir __P((struct proc *, void *, register_t *)); 1310 int sys_rmdir __P((struct proc *, void *, register_t *)); 1311 int sys_utimes __P((struct proc *, void *, register_t *)); 1312 int sys_adjtime __P((struct proc *, void *, register_t *)); 1313 int compat_43_sys_getpeername __P((struct proc *, void *, register_t *)); 1314 int compat_43_sys_gethostid __P((struct proc *, void *, register_t *)); 1315 int compat_43_sys_sethostid __P((struct proc *, void *, register_t *)); 1316 int compat_43_sys_getrlimit __P((struct proc *, void *, register_t *)); 1317 int compat_43_sys_setrlimit __P((struct proc *, void *, register_t *)); 1318 int compat_43_sys_killpg __P((struct proc *, void *, register_t *)); 1319 int sys_setsid __P((struct proc *, void *, register_t *)); 1320 int sys_quotactl __P((struct proc *, void *, register_t *)); 1321 int compat_43_sys_quota __P((struct proc *, void *, register_t *)); 1322 int compat_43_sys_getsockname __P((struct proc *, void *, register_t *)); 1323 #if defined(NFS) || defined(NFSSERVER) 1324 int sys_nfssvc __P((struct proc *, void *, register_t *)); 1325 #else 1326 #endif 1327 int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *)); 1328 int sys_statfs __P((struct proc *, void *, register_t *)); 1329 int sys_fstatfs __P((struct proc *, void *, register_t *)); 1330 #if defined(NFS) || defined(NFSSERVER) 1331 int sys_getfh __P((struct proc *, void *, register_t *)); 1332 #else 1333 #endif 1334 int compat_09_sys_getdomainname __P((struct proc *, void *, register_t *)); 1335 int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *)); 1336 int compat_09_sys_uname __P((struct proc *, void *, register_t *)); 1337 int sys_sysarch __P((struct proc *, void *, register_t *)); 1338 #if defined(SYSVSEM) && !defined(alpha) 1339 int compat_10_sys_semsys __P((struct proc *, void *, register_t *)); 1340 #else 1341 #endif 1342 #if defined(SYSVMSG) && !defined(alpha) 1343 int compat_10_sys_msgsys __P((struct proc *, void *, register_t *)); 1344 #else 1345 #endif 1346 #if defined(SYSVSHM) && !defined(alpha) 1347 int compat_10_sys_shmsys __P((struct proc *, void *, register_t *)); 1348 #else 1349 #endif 1350 int sys_pread __P((struct proc *, void *, register_t *)); 1351 int sys_pwrite __P((struct proc *, void *, register_t *)); 1352 int sys_ntp_gettime __P((struct proc *, void *, register_t *)); 1353 int sys_ntp_adjtime __P((struct proc *, void *, register_t *)); 1354 int sys_setgid __P((struct proc *, void *, register_t *)); 1355 int sys_setegid __P((struct proc *, void *, register_t *)); 1356 int sys_seteuid __P((struct proc *, void *, register_t *)); 1357 #ifdef LFS 1358 int lfs_bmapv __P((struct proc *, void *, register_t *)); 1359 int lfs_markv __P((struct proc *, void *, register_t *)); 1360 int lfs_segclean __P((struct proc *, void *, register_t *)); 1361 int lfs_segwait __P((struct proc *, void *, register_t *)); 1362 #else 1363 #endif 1364 int compat_12_sys_stat __P((struct proc *, void *, register_t *)); 1365 int compat_12_sys_fstat __P((struct proc *, void *, register_t *)); 1366 int compat_12_sys_lstat __P((struct proc *, void *, register_t *)); 1367 int sys_pathconf __P((struct proc *, void *, register_t *)); 1368 int sys_fpathconf __P((struct proc *, void *, register_t *)); 1369 int sys_getrlimit __P((struct proc *, void *, register_t *)); 1370 int sys_setrlimit __P((struct proc *, void *, register_t *)); 1371 int compat_12_sys_getdirentries __P((struct proc *, void *, register_t *)); 1372 int sys_mmap __P((struct proc *, void *, register_t *)); 1373 int sys_lseek __P((struct proc *, void *, register_t *)); 1374 int sys_truncate __P((struct proc *, void *, register_t *)); 1375 int sys_ftruncate __P((struct proc *, void *, register_t *)); 1376 int sys___sysctl __P((struct proc *, void *, register_t *)); 1377 int sys_mlock __P((struct proc *, void *, register_t *)); 1378 int sys_munlock __P((struct proc *, void *, register_t *)); 1379 int sys_undelete __P((struct proc *, void *, register_t *)); 1380 int sys_futimes __P((struct proc *, void *, register_t *)); 1381 int sys_getpgid __P((struct proc *, void *, register_t *)); 1382 int sys_reboot __P((struct proc *, void *, register_t *)); 1383 int sys_poll __P((struct proc *, void *, register_t *)); 1384 #ifdef LKM 1385 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1386 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1387 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1388 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1389 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1390 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1391 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1392 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1393 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1394 int sys_lkmnosys __P((struct proc *, void *, register_t *)); 1395 #else /* !LKM */ 1396 #endif /* !LKM */ 1397 #ifdef SYSVSEM 1398 int sys___semctl __P((struct proc *, void *, register_t *)); 1399 int sys_semget __P((struct proc *, void *, register_t *)); 1400 int sys_semop __P((struct proc *, void *, register_t *)); 1401 int sys_semconfig __P((struct proc *, void *, register_t *)); 1402 #else 1403 #endif 1404 #ifdef SYSVMSG 1405 int sys_msgctl __P((struct proc *, void *, register_t *)); 1406 int sys_msgget __P((struct proc *, void *, register_t *)); 1407 int sys_msgsnd __P((struct proc *, void *, register_t *)); 1408 int sys_msgrcv __P((struct proc *, void *, register_t *)); 1409 #else 1410 #endif 1411 #ifdef SYSVSHM 1412 int sys_shmat __P((struct proc *, void *, register_t *)); 1413 int sys_shmctl __P((struct proc *, void *, register_t *)); 1414 int sys_shmdt __P((struct proc *, void *, register_t *)); 1415 int sys_shmget __P((struct proc *, void *, register_t *)); 1416 #else 1417 #endif 1418 int sys_clock_gettime __P((struct proc *, void *, register_t *)); 1419 int sys_clock_settime __P((struct proc *, void *, register_t *)); 1420 int sys_clock_getres __P((struct proc *, void *, register_t *)); 1421 int sys_nanosleep __P((struct proc *, void *, register_t *)); 1422 int sys_fdatasync __P((struct proc *, void *, register_t *)); 1423 int sys___posix_rename __P((struct proc *, void *, register_t *)); 1424 int sys_swapctl __P((struct proc *, void *, register_t *)); 1425 int sys_getdents __P((struct proc *, void *, register_t *)); 1426 int sys_minherit __P((struct proc *, void *, register_t *)); 1427 int sys_lchmod __P((struct proc *, void *, register_t *)); 1428 int sys_lchown __P((struct proc *, void *, register_t *)); 1429 int sys_lutimes __P((struct proc *, void *, register_t *)); 1430 int sys___msync13 __P((struct proc *, void *, register_t *)); 1431 int sys___stat13 __P((struct proc *, void *, register_t *)); 1432 int sys___fstat13 __P((struct proc *, void *, register_t *)); 1433 int sys___lstat13 __P((struct proc *, void *, register_t *)); 1434 int sys___sigaltstack14 __P((struct proc *, void *, register_t *)); 1435 int sys___vfork14 __P((struct proc *, void *, register_t *)); 1436 int sys___posix_chown __P((struct proc *, void *, register_t *)); 1437 int sys___posix_fchown __P((struct proc *, void *, register_t *)); 1438 int sys___posix_lchown __P((struct proc *, void *, register_t *)); 1439 int sys_getsid __P((struct proc *, void *, register_t *)); 1440 #ifdef KTRACE 1441 int sys_fktrace __P((struct proc *, void *, register_t *)); 1442 #else 1443 #endif 1444 int sys_preadv __P((struct proc *, void *, register_t *)); 1445 int sys_pwritev __P((struct proc *, void *, register_t *)); 1446 int sys___sigaction14 __P((struct proc *, void *, register_t *)); 1447 int sys___sigpending14 __P((struct proc *, void *, register_t *)); 1448 int sys___sigprocmask14 __P((struct proc *, void *, register_t *)); 1449 int sys___sigsuspend14 __P((struct proc *, void *, register_t *)); 1450 int sys___sigreturn14 __P((struct proc *, void *, register_t *)); 1451 int sys___getcwd __P((struct proc *, void *, register_t *)); 1452 int sys_fchroot __P((struct proc *, void *, register_t *)); 1453 #endif /* _SYS__SYSCALLARGS_H_ */ 1454