1 /* $NetBSD: linux_syscallargs.h,v 1.57 2005/12/11 12:20:12 christos Exp $ */ 2 3 /* 4 * System call argument lists. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp 8 */ 9 10 #ifndef _LINUX_SYS__SYSCALLARGS_H_ 11 #define _LINUX_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 30 struct osf1_sys_wait4_args { 31 syscallarg(int) pid; 32 syscallarg(int *) status; 33 syscallarg(int) options; 34 syscallarg(struct osf1_rusage *) rusage; 35 }; 36 37 struct linux_sys_creat_args { 38 syscallarg(const char *) path; 39 syscallarg(mode_t) mode; 40 }; 41 42 struct linux_sys_link_args { 43 syscallarg(const char *) path; 44 syscallarg(const char *) link; 45 }; 46 47 struct linux_sys_unlink_args { 48 syscallarg(const char *) path; 49 }; 50 51 struct linux_sys_chdir_args { 52 syscallarg(const char *) path; 53 }; 54 55 struct linux_sys_mknod_args { 56 syscallarg(const char *) path; 57 syscallarg(int) mode; 58 syscallarg(int) dev; 59 }; 60 61 struct linux_sys_chmod_args { 62 syscallarg(const char *) path; 63 syscallarg(int) mode; 64 }; 65 66 struct linux_sys_brk_args { 67 syscallarg(char *) nsize; 68 }; 69 70 struct osf1_sys_mount_args { 71 syscallarg(int) type; 72 syscallarg(const char *) path; 73 syscallarg(int) flags; 74 syscallarg(caddr_t) data; 75 }; 76 77 struct linux_sys_ptrace_args { 78 syscallarg(long) request; 79 syscallarg(long) pid; 80 syscallarg(long) addr; 81 syscallarg(long) data; 82 }; 83 84 struct linux_sys_access_args { 85 syscallarg(const char *) path; 86 syscallarg(int) flags; 87 }; 88 89 struct linux_sys_kill_args { 90 syscallarg(int) pid; 91 syscallarg(int) signum; 92 }; 93 94 struct osf1_sys_set_program_attributes_args { 95 syscallarg(caddr_t) taddr; 96 syscallarg(unsigned long) tsize; 97 syscallarg(caddr_t) daddr; 98 syscallarg(unsigned long) dsize; 99 }; 100 101 struct linux_sys_open_args { 102 syscallarg(const char *) path; 103 syscallarg(int) flags; 104 syscallarg(int) mode; 105 }; 106 107 struct linux_sys_sigpending_args { 108 syscallarg(linux_old_sigset_t *) set; 109 }; 110 111 struct linux_sys_ioctl_args { 112 syscallarg(int) fd; 113 syscallarg(u_long) com; 114 syscallarg(caddr_t) data; 115 }; 116 117 struct linux_sys_symlink_args { 118 syscallarg(const char *) path; 119 syscallarg(const char *) to; 120 }; 121 122 struct linux_sys_readlink_args { 123 syscallarg(const char *) name; 124 syscallarg(char *) buf; 125 syscallarg(int) count; 126 }; 127 128 struct linux_sys_execve_args { 129 syscallarg(const char *) path; 130 syscallarg(char **) argp; 131 syscallarg(char **) envp; 132 }; 133 134 struct linux_sys_stat_args { 135 syscallarg(const char *) path; 136 syscallarg(struct linux_stat *) sp; 137 }; 138 139 struct linux_sys_lstat_args { 140 syscallarg(const char *) path; 141 syscallarg(struct linux_stat *) sp; 142 }; 143 144 struct linux_sys_mprotect_args { 145 syscallarg(const void *) start; 146 syscallarg(unsigned long) len; 147 syscallarg(int) prot; 148 }; 149 150 struct osf1_sys_setitimer_args { 151 syscallarg(u_int) which; 152 syscallarg(struct osf1_itimerval *) itv; 153 syscallarg(struct osf1_itimerval *) oitv; 154 }; 155 156 struct linux_sys_fstat_args { 157 syscallarg(int) fd; 158 syscallarg(struct linux_stat *) sp; 159 }; 160 161 struct linux_sys_fcntl_args { 162 syscallarg(int) fd; 163 syscallarg(int) cmd; 164 syscallarg(void *) arg; 165 }; 166 167 struct osf1_sys_select_args { 168 syscallarg(u_int) nd; 169 syscallarg(fd_set *) in; 170 syscallarg(fd_set *) ou; 171 syscallarg(fd_set *) ex; 172 syscallarg(struct osf1_timeval *) tv; 173 }; 174 175 struct linux_sys_socket_args { 176 syscallarg(int) domain; 177 syscallarg(int) type; 178 syscallarg(int) protocol; 179 }; 180 181 struct linux_sys_connect_args { 182 syscallarg(int) s; 183 syscallarg(const struct osockaddr *) name; 184 syscallarg(unsigned int) namelen; 185 }; 186 187 struct linux_sys_accept_args { 188 syscallarg(int) s; 189 syscallarg(struct osockaddr *) name; 190 syscallarg(int *) anamelen; 191 }; 192 193 struct linux_sys_send_args { 194 syscallarg(int) s; 195 syscallarg(caddr_t) buf; 196 syscallarg(int) len; 197 syscallarg(int) flags; 198 }; 199 200 struct linux_sys_recv_args { 201 syscallarg(int) s; 202 syscallarg(caddr_t) buf; 203 syscallarg(int) len; 204 syscallarg(int) flags; 205 }; 206 207 struct linux_sys_sigreturn_args { 208 syscallarg(struct linux_sigframe *) sfp; 209 }; 210 211 struct linux_sys_bind_args { 212 syscallarg(int) s; 213 syscallarg(const struct osockaddr *) name; 214 syscallarg(unsigned int) namelen; 215 }; 216 217 struct linux_sys_setsockopt_args { 218 syscallarg(int) s; 219 syscallarg(int) level; 220 syscallarg(int) optname; 221 syscallarg(void *) optval; 222 syscallarg(int) optlen; 223 }; 224 225 struct linux_sys_sigsuspend_args { 226 syscallarg(caddr_t) restart; 227 syscallarg(int) oldmask; 228 syscallarg(int) mask; 229 }; 230 231 struct linux_sys_recvmsg_args { 232 syscallarg(int) s; 233 syscallarg(struct msghdr *) msg; 234 syscallarg(int) flags; 235 }; 236 237 struct linux_sys_sendmsg_args { 238 syscallarg(int) s; 239 syscallarg(const struct msghdr *) msg; 240 syscallarg(int) flags; 241 }; 242 243 struct osf1_sys_gettimeofday_args { 244 syscallarg(struct osf1_timeval *) tv; 245 syscallarg(struct osf1_timezone *) tzp; 246 }; 247 248 struct osf1_sys_getrusage_args { 249 syscallarg(int) who; 250 syscallarg(struct osf1_rusage *) rusage; 251 }; 252 253 struct linux_sys_getsockopt_args { 254 syscallarg(int) s; 255 syscallarg(int) level; 256 syscallarg(int) optname; 257 syscallarg(void *) optval; 258 syscallarg(int *) optlen; 259 }; 260 261 struct osf1_sys_settimeofday_args { 262 syscallarg(struct osf1_timeval *) tv; 263 syscallarg(struct osf1_timezone *) tzp; 264 }; 265 266 struct linux_sys_recvfrom_args { 267 syscallarg(int) s; 268 syscallarg(void *) buf; 269 syscallarg(int) len; 270 syscallarg(int) flags; 271 syscallarg(struct osockaddr *) from; 272 syscallarg(int *) fromlenaddr; 273 }; 274 275 struct linux_sys_rename_args { 276 syscallarg(const char *) from; 277 syscallarg(const char *) to; 278 }; 279 280 struct linux_sys_truncate_args { 281 syscallarg(const char *) path; 282 syscallarg(long) length; 283 }; 284 285 struct linux_sys_sendto_args { 286 syscallarg(int) s; 287 syscallarg(void *) msg; 288 syscallarg(int) len; 289 syscallarg(int) flags; 290 syscallarg(struct osockaddr *) to; 291 syscallarg(int) tolen; 292 }; 293 294 struct linux_sys_socketpair_args { 295 syscallarg(int) domain; 296 syscallarg(int) type; 297 syscallarg(int) protocol; 298 syscallarg(int *) rsv; 299 }; 300 301 struct linux_sys_mkdir_args { 302 syscallarg(const char *) path; 303 syscallarg(int) mode; 304 }; 305 306 struct linux_sys_rmdir_args { 307 syscallarg(const char *) path; 308 }; 309 310 struct osf1_sys_utimes_args { 311 syscallarg(const char *) path; 312 syscallarg(const struct osf1_timeval *) tptr; 313 }; 314 315 struct linux_sys_getpeername_args { 316 syscallarg(int) fdes; 317 syscallarg(caddr_t) asa; 318 syscallarg(int *) alen; 319 }; 320 321 struct linux_sys_getrlimit_args { 322 syscallarg(int) which; 323 syscallarg(struct orlimit *) rlp; 324 }; 325 326 struct linux_sys_setrlimit_args { 327 syscallarg(int) which; 328 syscallarg(const struct orlimit *) rlp; 329 }; 330 331 struct linux_sys_getsockname_args { 332 syscallarg(int) fdec; 333 syscallarg(caddr_t) asa; 334 syscallarg(int *) alen; 335 }; 336 337 struct linux_sys_sigaction_args { 338 syscallarg(int) signum; 339 syscallarg(const struct linux_old_sigaction *) nsa; 340 syscallarg(struct linux_old_sigaction *) osa; 341 }; 342 343 struct osf1_sys_statfs_args { 344 syscallarg(const char *) path; 345 syscallarg(struct osf1_statfs *) buf; 346 syscallarg(int) len; 347 }; 348 349 struct osf1_sys_fstatfs_args { 350 syscallarg(int) fd; 351 syscallarg(struct osf1_statfs *) buf; 352 syscallarg(int) len; 353 }; 354 355 struct linux_sys_setdomainname_args { 356 syscallarg(char *) domainname; 357 syscallarg(int) len; 358 }; 359 360 struct linux_sys_ugetrlimit_args { 361 syscallarg(int) which; 362 syscallarg(struct rlimit *) rlp; 363 }; 364 #ifdef SYSVMSG 365 #else 366 #endif 367 #ifdef SYSVSEM 368 #else 369 #endif 370 371 struct linux_sys_olduname_args { 372 syscallarg(struct linux_old_utsname *) up; 373 }; 374 #ifdef SYSVSHM 375 376 struct linux_sys_shmget_args { 377 syscallarg(key_t) key; 378 syscallarg(size_t) size; 379 syscallarg(int) shmflg; 380 }; 381 #else 382 #endif 383 384 struct linux_sys_msync_args { 385 syscallarg(caddr_t) addr; 386 syscallarg(int) len; 387 syscallarg(int) fl; 388 }; 389 390 struct linux_sys_getpgid_args { 391 syscallarg(int) pid; 392 }; 393 394 struct osf1_sys_sysinfo_args { 395 syscallarg(int) cmd; 396 syscallarg(char) buf; 397 syscallarg(long) len; 398 }; 399 400 struct osf1_sys_usleep_thread_args { 401 syscallarg(struct osf1_timeval *) sleep; 402 syscallarg(struct osf1_timeval *) slept; 403 }; 404 405 struct osf1_sys_getsysinfo_args { 406 syscallarg(u_long) op; 407 syscallarg(caddr_t) buffer; 408 syscallarg(u_long) nbytes; 409 syscallarg(caddr_t) arg; 410 syscallarg(u_long) flag; 411 }; 412 413 struct osf1_sys_setsysinfo_args { 414 syscallarg(u_long) op; 415 syscallarg(caddr_t) buffer; 416 syscallarg(u_long) nbytes; 417 syscallarg(caddr_t) arg; 418 syscallarg(u_long) flag; 419 }; 420 421 struct linux_sys_fdatasync_args { 422 syscallarg(int) fd; 423 }; 424 425 struct linux_sys_swapoff_args { 426 syscallarg(const char *) path; 427 }; 428 429 struct linux_sys_getdents_args { 430 syscallarg(int) fd; 431 syscallarg(struct linux_dirent *) dent; 432 syscallarg(unsigned int) count; 433 }; 434 435 struct linux_sys_reboot_args { 436 syscallarg(int) magic1; 437 syscallarg(int) magic2; 438 syscallarg(int) cmd; 439 syscallarg(void *) arg; 440 }; 441 442 struct linux_sys_clone_args { 443 syscallarg(int) flags; 444 syscallarg(void *) stack; 445 }; 446 #ifdef EXEC_AOUT 447 448 struct linux_sys_uselib_args { 449 syscallarg(const char *) path; 450 }; 451 #else 452 #endif 453 454 struct linux_sys_sysinfo_args { 455 syscallarg(struct linux_sysinfo *) arg; 456 }; 457 458 struct linux_sys___sysctl_args { 459 syscallarg(struct linux___sysctl *) lsp; 460 }; 461 462 struct linux_sys_swapon_args { 463 syscallarg(const char *) name; 464 }; 465 466 struct linux_sys_times_args { 467 syscallarg(struct times *) tms; 468 }; 469 470 struct linux_sys_personality_args { 471 syscallarg(int) per; 472 }; 473 474 struct linux_sys_setfsuid_args { 475 syscallarg(uid_t) uid; 476 }; 477 478 struct linux_sys_statfs_args { 479 syscallarg(const char *) path; 480 syscallarg(struct linux_statfs *) sp; 481 }; 482 483 struct linux_sys_fstatfs_args { 484 syscallarg(int) fd; 485 syscallarg(struct linux_statfs *) sp; 486 }; 487 488 struct linux_sys_sched_setparam_args { 489 syscallarg(pid_t) pid; 490 syscallarg(const struct linux_sched_param *) sp; 491 }; 492 493 struct linux_sys_sched_getparam_args { 494 syscallarg(pid_t) pid; 495 syscallarg(struct linux_sched_param *) sp; 496 }; 497 498 struct linux_sys_sched_setscheduler_args { 499 syscallarg(pid_t) pid; 500 syscallarg(int) policy; 501 syscallarg(const struct linux_sched_param *) sp; 502 }; 503 504 struct linux_sys_sched_getscheduler_args { 505 syscallarg(pid_t) pid; 506 }; 507 508 struct linux_sys_sched_get_priority_max_args { 509 syscallarg(int) policy; 510 }; 511 512 struct linux_sys_sched_get_priority_min_args { 513 syscallarg(int) policy; 514 }; 515 516 struct linux_sys_uname_args { 517 syscallarg(struct linux_utsname *) up; 518 }; 519 520 struct linux_sys_mremap_args { 521 syscallarg(void *) old_address; 522 syscallarg(size_t) old_size; 523 syscallarg(size_t) new_size; 524 syscallarg(u_long) flags; 525 }; 526 527 struct linux_sys_setresuid_args { 528 syscallarg(uid_t) ruid; 529 syscallarg(uid_t) euid; 530 syscallarg(uid_t) suid; 531 }; 532 533 struct linux_sys_getresuid_args { 534 syscallarg(uid_t *) ruid; 535 syscallarg(uid_t *) euid; 536 syscallarg(uid_t *) suid; 537 }; 538 539 struct linux_sys_pread_args { 540 syscallarg(int) fd; 541 syscallarg(char *) buf; 542 syscallarg(size_t) nbyte; 543 syscallarg(linux_off_t) offset; 544 }; 545 546 struct linux_sys_pwrite_args { 547 syscallarg(int) fd; 548 syscallarg(char *) buf; 549 syscallarg(size_t) nbyte; 550 syscallarg(linux_off_t) offset; 551 }; 552 553 struct linux_sys_rt_sigreturn_args { 554 syscallarg(struct linux_rt_sigframe *) sfp; 555 }; 556 557 struct linux_sys_rt_sigaction_args { 558 syscallarg(int) signum; 559 syscallarg(const struct linux_sigaction *) nsa; 560 syscallarg(struct linux_sigaction *) osa; 561 syscallarg(size_t) sigsetsize; 562 }; 563 564 struct linux_sys_rt_sigprocmask_args { 565 syscallarg(int) how; 566 syscallarg(const linux_sigset_t *) set; 567 syscallarg(linux_sigset_t *) oset; 568 syscallarg(size_t) sigsetsize; 569 }; 570 571 struct linux_sys_rt_sigpending_args { 572 syscallarg(linux_sigset_t *) set; 573 syscallarg(size_t) sigsetsize; 574 }; 575 576 struct linux_sys_rt_queueinfo_args { 577 syscallarg(int) pid; 578 syscallarg(int) signum; 579 syscallarg(linux_siginfo_t *) uinfo; 580 }; 581 582 struct linux_sys_rt_sigsuspend_args { 583 syscallarg(linux_sigset_t *) unewset; 584 syscallarg(size_t) sigsetsize; 585 }; 586 587 struct linux_sys_select_args { 588 syscallarg(int) nfds; 589 syscallarg(fd_set *) readfds; 590 syscallarg(fd_set *) writefds; 591 syscallarg(fd_set *) exceptfds; 592 syscallarg(struct timeval *) timeout; 593 }; 594 595 struct linux_sys_wait4_args { 596 syscallarg(int) pid; 597 syscallarg(int *) status; 598 syscallarg(int) options; 599 syscallarg(struct rusage *) rusage; 600 }; 601 602 struct linux_sys_getdents64_args { 603 syscallarg(int) fd; 604 syscallarg(struct linux_dirent64 *) dent; 605 syscallarg(unsigned int) count; 606 }; 607 608 struct linux_sys_setxattr_args { 609 syscallarg(char *) path; 610 syscallarg(char *) name; 611 syscallarg(void *) value; 612 syscallarg(size_t) size; 613 syscallarg(int) flags; 614 }; 615 616 struct linux_sys_lsetxattr_args { 617 syscallarg(char *) path; 618 syscallarg(char *) name; 619 syscallarg(void *) value; 620 syscallarg(size_t) size; 621 syscallarg(int) flags; 622 }; 623 624 struct linux_sys_fsetxattr_args { 625 syscallarg(int) fd; 626 syscallarg(char *) name; 627 syscallarg(void *) value; 628 syscallarg(size_t) size; 629 syscallarg(int) flags; 630 }; 631 632 struct linux_sys_getxattr_args { 633 syscallarg(char *) path; 634 syscallarg(char *) name; 635 syscallarg(void *) value; 636 syscallarg(size_t) size; 637 }; 638 639 struct linux_sys_lgetxattr_args { 640 syscallarg(char *) path; 641 syscallarg(char *) name; 642 syscallarg(void *) value; 643 syscallarg(size_t) size; 644 }; 645 646 struct linux_sys_fgetxattr_args { 647 syscallarg(int) fd; 648 syscallarg(char *) name; 649 syscallarg(void *) value; 650 syscallarg(size_t) size; 651 }; 652 653 struct linux_sys_listxattr_args { 654 syscallarg(char *) path; 655 syscallarg(char *) list; 656 syscallarg(size_t) size; 657 }; 658 659 struct linux_sys_llistxattr_args { 660 syscallarg(char *) path; 661 syscallarg(char *) list; 662 syscallarg(size_t) size; 663 }; 664 665 struct linux_sys_flistxattr_args { 666 syscallarg(int) fd; 667 syscallarg(char *) list; 668 syscallarg(size_t) size; 669 }; 670 671 struct linux_sys_removexattr_args { 672 syscallarg(char *) path; 673 syscallarg(char *) name; 674 }; 675 676 struct linux_sys_lremovexattr_args { 677 syscallarg(char *) path; 678 syscallarg(char *) name; 679 }; 680 681 struct linux_sys_fremovexattr_args { 682 syscallarg(int) fd; 683 syscallarg(char *) name; 684 }; 685 686 struct linux_sys_exit_group_args { 687 syscallarg(int) error_code; 688 }; 689 690 struct linux_sys_clock_settime_args { 691 syscallarg(clockid_t) which; 692 syscallarg(struct linux_timespec *) tp; 693 }; 694 695 struct linux_sys_clock_gettime_args { 696 syscallarg(clockid_t) which; 697 syscallarg(struct linux_timespec *) tp; 698 }; 699 700 struct linux_sys_clock_getres_args { 701 syscallarg(clockid_t) which; 702 syscallarg(struct linux_timespec *) tp; 703 }; 704 705 struct linux_sys_clock_nanosleep_args { 706 syscallarg(clockid_t) which; 707 syscallarg(int) flags; 708 syscallarg(struct linux_timespec *) rqtp; 709 syscallarg(struct linux_timespec *) rmtp; 710 }; 711 712 /* 713 * System call prototypes. 714 */ 715 716 int linux_sys_nosys(struct lwp *, void *, register_t *); 717 718 int sys_exit(struct lwp *, void *, register_t *); 719 720 int sys_fork(struct lwp *, void *, register_t *); 721 722 int sys_read(struct lwp *, void *, register_t *); 723 724 int sys_write(struct lwp *, void *, register_t *); 725 726 int sys_close(struct lwp *, void *, register_t *); 727 728 int osf1_sys_wait4(struct lwp *, void *, register_t *); 729 730 int linux_sys_creat(struct lwp *, void *, register_t *); 731 732 int linux_sys_link(struct lwp *, void *, register_t *); 733 734 int linux_sys_unlink(struct lwp *, void *, register_t *); 735 736 int linux_sys_chdir(struct lwp *, void *, register_t *); 737 738 int sys_fchdir(struct lwp *, void *, register_t *); 739 740 int linux_sys_mknod(struct lwp *, void *, register_t *); 741 742 int linux_sys_chmod(struct lwp *, void *, register_t *); 743 744 int sys___posix_chown(struct lwp *, void *, register_t *); 745 746 int linux_sys_brk(struct lwp *, void *, register_t *); 747 748 int compat_43_sys_lseek(struct lwp *, void *, register_t *); 749 750 int sys_getpid_with_ppid(struct lwp *, void *, register_t *); 751 752 int osf1_sys_mount(struct lwp *, void *, register_t *); 753 754 int sys_setuid(struct lwp *, void *, register_t *); 755 756 int sys_getuid_with_euid(struct lwp *, void *, register_t *); 757 758 int linux_sys_ptrace(struct lwp *, void *, register_t *); 759 760 int linux_sys_access(struct lwp *, void *, register_t *); 761 762 int sys_sync(struct lwp *, void *, register_t *); 763 764 int linux_sys_kill(struct lwp *, void *, register_t *); 765 766 int sys_setpgid(struct lwp *, void *, register_t *); 767 768 int sys_dup(struct lwp *, void *, register_t *); 769 770 int linux_sys_pipe(struct lwp *, void *, register_t *); 771 772 int osf1_sys_set_program_attributes(struct lwp *, void *, register_t *); 773 774 int linux_sys_open(struct lwp *, void *, register_t *); 775 776 int sys_getgid_with_egid(struct lwp *, void *, register_t *); 777 778 int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *); 779 780 int sys_acct(struct lwp *, void *, register_t *); 781 782 int linux_sys_sigpending(struct lwp *, void *, register_t *); 783 784 int linux_sys_ioctl(struct lwp *, void *, register_t *); 785 786 int linux_sys_symlink(struct lwp *, void *, register_t *); 787 788 int linux_sys_readlink(struct lwp *, void *, register_t *); 789 790 int linux_sys_execve(struct lwp *, void *, register_t *); 791 792 int sys_umask(struct lwp *, void *, register_t *); 793 794 int sys_chroot(struct lwp *, void *, register_t *); 795 796 int sys_getpgrp(struct lwp *, void *, register_t *); 797 798 int compat_43_sys_getpagesize(struct lwp *, void *, register_t *); 799 800 int sys___vfork14(struct lwp *, void *, register_t *); 801 802 int linux_sys_stat(struct lwp *, void *, register_t *); 803 804 int linux_sys_lstat(struct lwp *, void *, register_t *); 805 806 int linux_sys_mmap(struct lwp *, void *, register_t *); 807 808 int sys_munmap(struct lwp *, void *, register_t *); 809 810 int linux_sys_mprotect(struct lwp *, void *, register_t *); 811 812 int sys_madvise(struct lwp *, void *, register_t *); 813 814 int sys_getgroups(struct lwp *, void *, register_t *); 815 816 int sys_setgroups(struct lwp *, void *, register_t *); 817 818 int osf1_sys_setitimer(struct lwp *, void *, register_t *); 819 820 int compat_43_sys_gethostname(struct lwp *, void *, register_t *); 821 822 int compat_43_sys_sethostname(struct lwp *, void *, register_t *); 823 824 int sys_dup2(struct lwp *, void *, register_t *); 825 826 int linux_sys_fstat(struct lwp *, void *, register_t *); 827 828 int linux_sys_fcntl(struct lwp *, void *, register_t *); 829 830 int osf1_sys_select(struct lwp *, void *, register_t *); 831 832 int sys_poll(struct lwp *, void *, register_t *); 833 834 int sys_fsync(struct lwp *, void *, register_t *); 835 836 int sys_setpriority(struct lwp *, void *, register_t *); 837 838 int linux_sys_socket(struct lwp *, void *, register_t *); 839 840 int linux_sys_connect(struct lwp *, void *, register_t *); 841 842 int linux_sys_accept(struct lwp *, void *, register_t *); 843 844 int sys_getpriority(struct lwp *, void *, register_t *); 845 846 int linux_sys_send(struct lwp *, void *, register_t *); 847 848 int linux_sys_recv(struct lwp *, void *, register_t *); 849 850 int linux_sys_sigreturn(struct lwp *, void *, register_t *); 851 852 int linux_sys_bind(struct lwp *, void *, register_t *); 853 854 int linux_sys_setsockopt(struct lwp *, void *, register_t *); 855 856 int sys_listen(struct lwp *, void *, register_t *); 857 858 int linux_sys_sigsuspend(struct lwp *, void *, register_t *); 859 860 int compat_43_sys_sigstack(struct lwp *, void *, register_t *); 861 862 int linux_sys_recvmsg(struct lwp *, void *, register_t *); 863 864 int linux_sys_sendmsg(struct lwp *, void *, register_t *); 865 866 int osf1_sys_gettimeofday(struct lwp *, void *, register_t *); 867 868 int osf1_sys_getrusage(struct lwp *, void *, register_t *); 869 870 int linux_sys_getsockopt(struct lwp *, void *, register_t *); 871 872 int sys_readv(struct lwp *, void *, register_t *); 873 874 int sys_writev(struct lwp *, void *, register_t *); 875 876 int osf1_sys_settimeofday(struct lwp *, void *, register_t *); 877 878 int sys___posix_fchown(struct lwp *, void *, register_t *); 879 880 int sys_fchmod(struct lwp *, void *, register_t *); 881 882 int linux_sys_recvfrom(struct lwp *, void *, register_t *); 883 884 int sys_setreuid(struct lwp *, void *, register_t *); 885 886 int sys_setregid(struct lwp *, void *, register_t *); 887 888 int linux_sys_rename(struct lwp *, void *, register_t *); 889 890 int linux_sys_truncate(struct lwp *, void *, register_t *); 891 892 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *); 893 894 int sys_flock(struct lwp *, void *, register_t *); 895 896 int sys_setgid(struct lwp *, void *, register_t *); 897 898 int linux_sys_sendto(struct lwp *, void *, register_t *); 899 900 int sys_shutdown(struct lwp *, void *, register_t *); 901 902 int linux_sys_socketpair(struct lwp *, void *, register_t *); 903 904 int linux_sys_mkdir(struct lwp *, void *, register_t *); 905 906 int linux_sys_rmdir(struct lwp *, void *, register_t *); 907 908 int osf1_sys_utimes(struct lwp *, void *, register_t *); 909 910 int linux_sys_getpeername(struct lwp *, void *, register_t *); 911 912 int linux_sys_getrlimit(struct lwp *, void *, register_t *); 913 914 int linux_sys_setrlimit(struct lwp *, void *, register_t *); 915 916 int sys_setsid(struct lwp *, void *, register_t *); 917 918 int linux_sys_getsockname(struct lwp *, void *, register_t *); 919 920 int linux_sys_sigaction(struct lwp *, void *, register_t *); 921 922 int compat_43_sys_getdirentries(struct lwp *, void *, register_t *); 923 924 int osf1_sys_statfs(struct lwp *, void *, register_t *); 925 926 int osf1_sys_fstatfs(struct lwp *, void *, register_t *); 927 928 int compat_09_sys_getdomainname(struct lwp *, void *, register_t *); 929 930 int linux_sys_setdomainname(struct lwp *, void *, register_t *); 931 932 int linux_sys_ugetrlimit(struct lwp *, void *, register_t *); 933 934 #ifdef SYSVMSG 935 int linux_sys_msgctl(struct lwp *, void *, register_t *); 936 937 int sys_msgget(struct lwp *, void *, register_t *); 938 939 int sys_msgrcv(struct lwp *, void *, register_t *); 940 941 int sys_msgsnd(struct lwp *, void *, register_t *); 942 943 #else 944 #endif 945 #ifdef SYSVSEM 946 int linux_sys_semctl(struct lwp *, void *, register_t *); 947 948 int sys_semget(struct lwp *, void *, register_t *); 949 950 int sys_semop(struct lwp *, void *, register_t *); 951 952 #else 953 #endif 954 int linux_sys_olduname(struct lwp *, void *, register_t *); 955 956 int sys___posix_lchown(struct lwp *, void *, register_t *); 957 958 #ifdef SYSVSHM 959 int linux_sys_shmat(struct lwp *, void *, register_t *); 960 961 int linux_sys_shmctl(struct lwp *, void *, register_t *); 962 963 int sys_shmdt(struct lwp *, void *, register_t *); 964 965 int linux_sys_shmget(struct lwp *, void *, register_t *); 966 967 #else 968 #endif 969 int linux_sys_msync(struct lwp *, void *, register_t *); 970 971 int linux_sys_getpgid(struct lwp *, void *, register_t *); 972 973 int sys_getsid(struct lwp *, void *, register_t *); 974 975 int osf1_sys_sysinfo(struct lwp *, void *, register_t *); 976 977 int osf1_sys_usleep_thread(struct lwp *, void *, register_t *); 978 979 int osf1_sys_getsysinfo(struct lwp *, void *, register_t *); 980 981 int osf1_sys_setsysinfo(struct lwp *, void *, register_t *); 982 983 int linux_sys_fdatasync(struct lwp *, void *, register_t *); 984 985 int linux_sys_swapoff(struct lwp *, void *, register_t *); 986 987 int linux_sys_getdents(struct lwp *, void *, register_t *); 988 989 int linux_sys_reboot(struct lwp *, void *, register_t *); 990 991 int linux_sys_clone(struct lwp *, void *, register_t *); 992 993 #ifdef EXEC_AOUT 994 int linux_sys_uselib(struct lwp *, void *, register_t *); 995 996 #else 997 #endif 998 int sys_mlock(struct lwp *, void *, register_t *); 999 1000 int sys_munlock(struct lwp *, void *, register_t *); 1001 1002 int sys_mlockall(struct lwp *, void *, register_t *); 1003 1004 int sys_munlockall(struct lwp *, void *, register_t *); 1005 1006 int linux_sys_sysinfo(struct lwp *, void *, register_t *); 1007 1008 int linux_sys___sysctl(struct lwp *, void *, register_t *); 1009 1010 int linux_sys_swapon(struct lwp *, void *, register_t *); 1011 1012 int linux_sys_times(struct lwp *, void *, register_t *); 1013 1014 int linux_sys_personality(struct lwp *, void *, register_t *); 1015 1016 int linux_sys_setfsuid(struct lwp *, void *, register_t *); 1017 1018 int linux_sys_statfs(struct lwp *, void *, register_t *); 1019 1020 int linux_sys_fstatfs(struct lwp *, void *, register_t *); 1021 1022 int linux_sys_sched_setparam(struct lwp *, void *, register_t *); 1023 1024 int linux_sys_sched_getparam(struct lwp *, void *, register_t *); 1025 1026 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *); 1027 1028 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *); 1029 1030 int linux_sys_sched_yield(struct lwp *, void *, register_t *); 1031 1032 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *); 1033 1034 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *); 1035 1036 int linux_sys_uname(struct lwp *, void *, register_t *); 1037 1038 int sys_nanosleep(struct lwp *, void *, register_t *); 1039 1040 int linux_sys_mremap(struct lwp *, void *, register_t *); 1041 1042 int linux_sys_setresuid(struct lwp *, void *, register_t *); 1043 1044 int linux_sys_getresuid(struct lwp *, void *, register_t *); 1045 1046 int linux_sys_pread(struct lwp *, void *, register_t *); 1047 1048 int linux_sys_pwrite(struct lwp *, void *, register_t *); 1049 1050 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *); 1051 1052 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *); 1053 1054 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *); 1055 1056 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *); 1057 1058 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *); 1059 1060 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *); 1061 1062 int linux_sys_select(struct lwp *, void *, register_t *); 1063 1064 int sys_gettimeofday(struct lwp *, void *, register_t *); 1065 1066 int sys_settimeofday(struct lwp *, void *, register_t *); 1067 1068 int sys_getitimer(struct lwp *, void *, register_t *); 1069 1070 int sys_setitimer(struct lwp *, void *, register_t *); 1071 1072 int sys_utimes(struct lwp *, void *, register_t *); 1073 1074 int sys_getrusage(struct lwp *, void *, register_t *); 1075 1076 int linux_sys_wait4(struct lwp *, void *, register_t *); 1077 1078 int sys___getcwd(struct lwp *, void *, register_t *); 1079 1080 int sys_mincore(struct lwp *, void *, register_t *); 1081 1082 int linux_sys_getdents64(struct lwp *, void *, register_t *); 1083 1084 int linux_sys_setxattr(struct lwp *, void *, register_t *); 1085 1086 int linux_sys_lsetxattr(struct lwp *, void *, register_t *); 1087 1088 int linux_sys_fsetxattr(struct lwp *, void *, register_t *); 1089 1090 int linux_sys_getxattr(struct lwp *, void *, register_t *); 1091 1092 int linux_sys_lgetxattr(struct lwp *, void *, register_t *); 1093 1094 int linux_sys_fgetxattr(struct lwp *, void *, register_t *); 1095 1096 int linux_sys_listxattr(struct lwp *, void *, register_t *); 1097 1098 int linux_sys_llistxattr(struct lwp *, void *, register_t *); 1099 1100 int linux_sys_flistxattr(struct lwp *, void *, register_t *); 1101 1102 int linux_sys_removexattr(struct lwp *, void *, register_t *); 1103 1104 int linux_sys_lremovexattr(struct lwp *, void *, register_t *); 1105 1106 int linux_sys_fremovexattr(struct lwp *, void *, register_t *); 1107 1108 int linux_sys_exit_group(struct lwp *, void *, register_t *); 1109 1110 int linux_sys_clock_settime(struct lwp *, void *, register_t *); 1111 1112 int linux_sys_clock_gettime(struct lwp *, void *, register_t *); 1113 1114 int linux_sys_clock_getres(struct lwp *, void *, register_t *); 1115 1116 int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *); 1117 1118 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */ 1119