1 /* $NetBSD: linux_syscallargs.h,v 1.52 2004/10/05 06:02:36 jdolecek 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.48 2004/10/05 06:01:20 jdolecek 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_exit_group_args { 609 syscallarg(int) error_code; 610 }; 611 612 /* 613 * System call prototypes. 614 */ 615 616 int linux_sys_nosys(struct lwp *, void *, register_t *); 617 618 int sys_exit(struct lwp *, void *, register_t *); 619 620 int sys_fork(struct lwp *, void *, register_t *); 621 622 int sys_read(struct lwp *, void *, register_t *); 623 624 int sys_write(struct lwp *, void *, register_t *); 625 626 int sys_close(struct lwp *, void *, register_t *); 627 628 int osf1_sys_wait4(struct lwp *, void *, register_t *); 629 630 int linux_sys_creat(struct lwp *, void *, register_t *); 631 632 int linux_sys_link(struct lwp *, void *, register_t *); 633 634 int linux_sys_unlink(struct lwp *, void *, register_t *); 635 636 int linux_sys_chdir(struct lwp *, void *, register_t *); 637 638 int sys_fchdir(struct lwp *, void *, register_t *); 639 640 int linux_sys_mknod(struct lwp *, void *, register_t *); 641 642 int linux_sys_chmod(struct lwp *, void *, register_t *); 643 644 int sys___posix_chown(struct lwp *, void *, register_t *); 645 646 int linux_sys_brk(struct lwp *, void *, register_t *); 647 648 int compat_43_sys_lseek(struct lwp *, void *, register_t *); 649 650 int sys_getpid_with_ppid(struct lwp *, void *, register_t *); 651 652 int osf1_sys_mount(struct lwp *, void *, register_t *); 653 654 int sys_setuid(struct lwp *, void *, register_t *); 655 656 int sys_getuid_with_euid(struct lwp *, void *, register_t *); 657 658 int linux_sys_ptrace(struct lwp *, void *, register_t *); 659 660 int linux_sys_access(struct lwp *, void *, register_t *); 661 662 int sys_sync(struct lwp *, void *, register_t *); 663 664 int linux_sys_kill(struct lwp *, void *, register_t *); 665 666 int sys_setpgid(struct lwp *, void *, register_t *); 667 668 int sys_dup(struct lwp *, void *, register_t *); 669 670 int linux_sys_pipe(struct lwp *, void *, register_t *); 671 672 int osf1_sys_set_program_attributes(struct lwp *, void *, register_t *); 673 674 int linux_sys_open(struct lwp *, void *, register_t *); 675 676 int sys_getgid_with_egid(struct lwp *, void *, register_t *); 677 678 int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *); 679 680 int sys_acct(struct lwp *, void *, register_t *); 681 682 int linux_sys_sigpending(struct lwp *, void *, register_t *); 683 684 int linux_sys_ioctl(struct lwp *, void *, register_t *); 685 686 int linux_sys_symlink(struct lwp *, void *, register_t *); 687 688 int linux_sys_readlink(struct lwp *, void *, register_t *); 689 690 int linux_sys_execve(struct lwp *, void *, register_t *); 691 692 int sys_umask(struct lwp *, void *, register_t *); 693 694 int sys_chroot(struct lwp *, void *, register_t *); 695 696 int sys_getpgrp(struct lwp *, void *, register_t *); 697 698 int compat_43_sys_getpagesize(struct lwp *, void *, register_t *); 699 700 int sys___vfork14(struct lwp *, void *, register_t *); 701 702 int linux_sys_stat(struct lwp *, void *, register_t *); 703 704 int linux_sys_lstat(struct lwp *, void *, register_t *); 705 706 int linux_sys_mmap(struct lwp *, void *, register_t *); 707 708 int sys_munmap(struct lwp *, void *, register_t *); 709 710 int linux_sys_mprotect(struct lwp *, void *, register_t *); 711 712 int sys_madvise(struct lwp *, void *, register_t *); 713 714 int sys_getgroups(struct lwp *, void *, register_t *); 715 716 int sys_setgroups(struct lwp *, void *, register_t *); 717 718 int osf1_sys_setitimer(struct lwp *, void *, register_t *); 719 720 int compat_43_sys_gethostname(struct lwp *, void *, register_t *); 721 722 int compat_43_sys_sethostname(struct lwp *, void *, register_t *); 723 724 int sys_dup2(struct lwp *, void *, register_t *); 725 726 int linux_sys_fstat(struct lwp *, void *, register_t *); 727 728 int linux_sys_fcntl(struct lwp *, void *, register_t *); 729 730 int osf1_sys_select(struct lwp *, void *, register_t *); 731 732 int sys_poll(struct lwp *, void *, register_t *); 733 734 int sys_fsync(struct lwp *, void *, register_t *); 735 736 int sys_setpriority(struct lwp *, void *, register_t *); 737 738 int linux_sys_socket(struct lwp *, void *, register_t *); 739 740 int linux_sys_connect(struct lwp *, void *, register_t *); 741 742 int linux_sys_accept(struct lwp *, void *, register_t *); 743 744 int sys_getpriority(struct lwp *, void *, register_t *); 745 746 int linux_sys_send(struct lwp *, void *, register_t *); 747 748 int linux_sys_recv(struct lwp *, void *, register_t *); 749 750 int linux_sys_sigreturn(struct lwp *, void *, register_t *); 751 752 int linux_sys_bind(struct lwp *, void *, register_t *); 753 754 int linux_sys_setsockopt(struct lwp *, void *, register_t *); 755 756 int sys_listen(struct lwp *, void *, register_t *); 757 758 int linux_sys_sigsuspend(struct lwp *, void *, register_t *); 759 760 int compat_43_sys_sigstack(struct lwp *, void *, register_t *); 761 762 int linux_sys_recvmsg(struct lwp *, void *, register_t *); 763 764 int linux_sys_sendmsg(struct lwp *, void *, register_t *); 765 766 int osf1_sys_gettimeofday(struct lwp *, void *, register_t *); 767 768 int osf1_sys_getrusage(struct lwp *, void *, register_t *); 769 770 int linux_sys_getsockopt(struct lwp *, void *, register_t *); 771 772 int sys_readv(struct lwp *, void *, register_t *); 773 774 int sys_writev(struct lwp *, void *, register_t *); 775 776 int osf1_sys_settimeofday(struct lwp *, void *, register_t *); 777 778 int sys___posix_fchown(struct lwp *, void *, register_t *); 779 780 int sys_fchmod(struct lwp *, void *, register_t *); 781 782 int linux_sys_recvfrom(struct lwp *, void *, register_t *); 783 784 int sys_setreuid(struct lwp *, void *, register_t *); 785 786 int sys_setregid(struct lwp *, void *, register_t *); 787 788 int linux_sys_rename(struct lwp *, void *, register_t *); 789 790 int linux_sys_truncate(struct lwp *, void *, register_t *); 791 792 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *); 793 794 int sys_flock(struct lwp *, void *, register_t *); 795 796 int sys_setgid(struct lwp *, void *, register_t *); 797 798 int linux_sys_sendto(struct lwp *, void *, register_t *); 799 800 int sys_shutdown(struct lwp *, void *, register_t *); 801 802 int linux_sys_socketpair(struct lwp *, void *, register_t *); 803 804 int linux_sys_mkdir(struct lwp *, void *, register_t *); 805 806 int linux_sys_rmdir(struct lwp *, void *, register_t *); 807 808 int osf1_sys_utimes(struct lwp *, void *, register_t *); 809 810 int linux_sys_getpeername(struct lwp *, void *, register_t *); 811 812 int linux_sys_getrlimit(struct lwp *, void *, register_t *); 813 814 int linux_sys_setrlimit(struct lwp *, void *, register_t *); 815 816 int sys_setsid(struct lwp *, void *, register_t *); 817 818 int linux_sys_getsockname(struct lwp *, void *, register_t *); 819 820 int linux_sys_sigaction(struct lwp *, void *, register_t *); 821 822 int compat_43_sys_getdirentries(struct lwp *, void *, register_t *); 823 824 int osf1_sys_statfs(struct lwp *, void *, register_t *); 825 826 int osf1_sys_fstatfs(struct lwp *, void *, register_t *); 827 828 int compat_09_sys_getdomainname(struct lwp *, void *, register_t *); 829 830 int linux_sys_setdomainname(struct lwp *, void *, register_t *); 831 832 int linux_sys_ugetrlimit(struct lwp *, void *, register_t *); 833 834 #ifdef SYSVMSG 835 int linux_sys_msgctl(struct lwp *, void *, register_t *); 836 837 int sys_msgget(struct lwp *, void *, register_t *); 838 839 int sys_msgrcv(struct lwp *, void *, register_t *); 840 841 int sys_msgsnd(struct lwp *, void *, register_t *); 842 843 #else 844 #endif 845 #ifdef SYSVSEM 846 int linux_sys_semctl(struct lwp *, void *, register_t *); 847 848 int sys_semget(struct lwp *, void *, register_t *); 849 850 int sys_semop(struct lwp *, void *, register_t *); 851 852 #else 853 #endif 854 int linux_sys_olduname(struct lwp *, void *, register_t *); 855 856 int sys___posix_lchown(struct lwp *, void *, register_t *); 857 858 #ifdef SYSVSHM 859 int linux_sys_shmat(struct lwp *, void *, register_t *); 860 861 int linux_sys_shmctl(struct lwp *, void *, register_t *); 862 863 int sys_shmdt(struct lwp *, void *, register_t *); 864 865 int linux_sys_shmget(struct lwp *, void *, register_t *); 866 867 #else 868 #endif 869 int linux_sys_msync(struct lwp *, void *, register_t *); 870 871 int linux_sys_getpgid(struct lwp *, void *, register_t *); 872 873 int sys_getsid(struct lwp *, void *, register_t *); 874 875 int osf1_sys_sysinfo(struct lwp *, void *, register_t *); 876 877 int osf1_sys_usleep_thread(struct lwp *, void *, register_t *); 878 879 int osf1_sys_getsysinfo(struct lwp *, void *, register_t *); 880 881 int osf1_sys_setsysinfo(struct lwp *, void *, register_t *); 882 883 int linux_sys_fdatasync(struct lwp *, void *, register_t *); 884 885 int linux_sys_swapoff(struct lwp *, void *, register_t *); 886 887 int linux_sys_getdents(struct lwp *, void *, register_t *); 888 889 int linux_sys_reboot(struct lwp *, void *, register_t *); 890 891 int linux_sys_clone(struct lwp *, void *, register_t *); 892 893 #ifdef EXEC_AOUT 894 int linux_sys_uselib(struct lwp *, void *, register_t *); 895 896 #else 897 #endif 898 int sys_mlock(struct lwp *, void *, register_t *); 899 900 int sys_munlock(struct lwp *, void *, register_t *); 901 902 int sys_mlockall(struct lwp *, void *, register_t *); 903 904 int sys_munlockall(struct lwp *, void *, register_t *); 905 906 int linux_sys_sysinfo(struct lwp *, void *, register_t *); 907 908 int linux_sys___sysctl(struct lwp *, void *, register_t *); 909 910 int linux_sys_swapon(struct lwp *, void *, register_t *); 911 912 int linux_sys_times(struct lwp *, void *, register_t *); 913 914 int linux_sys_personality(struct lwp *, void *, register_t *); 915 916 int linux_sys_setfsuid(struct lwp *, void *, register_t *); 917 918 int linux_sys_statfs(struct lwp *, void *, register_t *); 919 920 int linux_sys_fstatfs(struct lwp *, void *, register_t *); 921 922 int linux_sys_sched_setparam(struct lwp *, void *, register_t *); 923 924 int linux_sys_sched_getparam(struct lwp *, void *, register_t *); 925 926 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *); 927 928 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *); 929 930 int linux_sys_sched_yield(struct lwp *, void *, register_t *); 931 932 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *); 933 934 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *); 935 936 int linux_sys_uname(struct lwp *, void *, register_t *); 937 938 int sys_nanosleep(struct lwp *, void *, register_t *); 939 940 int linux_sys_mremap(struct lwp *, void *, register_t *); 941 942 int linux_sys_setresuid(struct lwp *, void *, register_t *); 943 944 int linux_sys_getresuid(struct lwp *, void *, register_t *); 945 946 int linux_sys_pread(struct lwp *, void *, register_t *); 947 948 int linux_sys_pwrite(struct lwp *, void *, register_t *); 949 950 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *); 951 952 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *); 953 954 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *); 955 956 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *); 957 958 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *); 959 960 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *); 961 962 int linux_sys_select(struct lwp *, void *, register_t *); 963 964 int sys_gettimeofday(struct lwp *, void *, register_t *); 965 966 int sys_settimeofday(struct lwp *, void *, register_t *); 967 968 int sys_getitimer(struct lwp *, void *, register_t *); 969 970 int sys_setitimer(struct lwp *, void *, register_t *); 971 972 int sys_utimes(struct lwp *, void *, register_t *); 973 974 int sys_getrusage(struct lwp *, void *, register_t *); 975 976 int linux_sys_wait4(struct lwp *, void *, register_t *); 977 978 int sys___getcwd(struct lwp *, void *, register_t *); 979 980 int sys_mincore(struct lwp *, void *, register_t *); 981 982 int linux_sys_getdents64(struct lwp *, void *, register_t *); 983 984 int linux_sys_exit_group(struct lwp *, void *, register_t *); 985 986 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */ 987