1 /* $NetBSD: linux_syscallargs.h,v 1.31 2005/12/11 12:20:16 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.25 2005/10/18 19:51:47 christos 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 linux_sys_open_args { 31 syscallarg(const char *) path; 32 syscallarg(int) flags; 33 syscallarg(int) mode; 34 }; 35 36 struct linux_sys_waitpid_args { 37 syscallarg(int) pid; 38 syscallarg(int *) status; 39 syscallarg(int) options; 40 }; 41 42 struct linux_sys_creat_args { 43 syscallarg(const char *) path; 44 syscallarg(int) mode; 45 }; 46 47 struct linux_sys_link_args { 48 syscallarg(const char *) path; 49 syscallarg(const char *) link; 50 }; 51 52 struct linux_sys_unlink_args { 53 syscallarg(const char *) path; 54 }; 55 56 struct linux_sys_execve_args { 57 syscallarg(const char *) path; 58 syscallarg(char **) argp; 59 syscallarg(char **) envp; 60 }; 61 62 struct linux_sys_chdir_args { 63 syscallarg(const char *) path; 64 }; 65 66 struct linux_sys_time_args { 67 syscallarg(linux_time_t *) t; 68 }; 69 70 struct linux_sys_mknod_args { 71 syscallarg(const char *) path; 72 syscallarg(int) mode; 73 syscallarg(int) dev; 74 }; 75 76 struct linux_sys_chmod_args { 77 syscallarg(const char *) path; 78 syscallarg(int) mode; 79 }; 80 81 struct linux_sys_lchown_args { 82 syscallarg(const char *) path; 83 syscallarg(int) uid; 84 syscallarg(int) gid; 85 }; 86 87 struct linux_sys_stime_args { 88 syscallarg(linux_time_t *) t; 89 }; 90 91 struct linux_sys_ptrace_args { 92 syscallarg(int) request; 93 syscallarg(int) pid; 94 syscallarg(int) addr; 95 syscallarg(int) data; 96 }; 97 98 struct linux_sys_alarm_args { 99 syscallarg(unsigned int) secs; 100 }; 101 102 struct linux_sys_utime_args { 103 syscallarg(const char *) path; 104 syscallarg(struct linux_utimbuf *) times; 105 }; 106 107 struct linux_sys_access_args { 108 syscallarg(const char *) path; 109 syscallarg(int) flags; 110 }; 111 112 struct linux_sys_nice_args { 113 syscallarg(int) incr; 114 }; 115 116 struct linux_sys_kill_args { 117 syscallarg(int) pid; 118 syscallarg(int) signum; 119 }; 120 121 struct linux_sys_rename_args { 122 syscallarg(const char *) from; 123 syscallarg(const char *) to; 124 }; 125 126 struct linux_sys_mkdir_args { 127 syscallarg(const char *) path; 128 syscallarg(int) mode; 129 }; 130 131 struct linux_sys_rmdir_args { 132 syscallarg(const char *) path; 133 }; 134 135 struct linux_sys_pipe_args { 136 syscallarg(int *) pfds; 137 }; 138 139 struct linux_sys_times_args { 140 syscallarg(struct times *) tms; 141 }; 142 143 struct linux_sys_brk_args { 144 syscallarg(char *) nsize; 145 }; 146 147 struct linux_sys_signal_args { 148 syscallarg(int) signum; 149 syscallarg(linux_handler_t) handler; 150 }; 151 152 struct linux_sys_ioctl_args { 153 syscallarg(int) fd; 154 syscallarg(u_long) com; 155 syscallarg(caddr_t) data; 156 }; 157 158 struct linux_sys_fcntl_args { 159 syscallarg(int) fd; 160 syscallarg(int) cmd; 161 syscallarg(void *) arg; 162 }; 163 164 struct linux_sys_olduname_args { 165 syscallarg(struct linux_old_utsname *) up; 166 }; 167 168 struct linux_sys_sigaction_args { 169 syscallarg(int) signum; 170 syscallarg(const struct linux_old_sigaction *) nsa; 171 syscallarg(struct linux_old_sigaction *) osa; 172 }; 173 174 struct linux_sys_sigsetmask_args { 175 syscallarg(linux_old_sigset_t) mask; 176 }; 177 178 struct linux_sys_sigsuspend_args { 179 syscallarg(caddr_t) restart; 180 syscallarg(int) oldmask; 181 syscallarg(int) mask; 182 }; 183 184 struct linux_sys_sigpending_args { 185 syscallarg(linux_old_sigset_t *) set; 186 }; 187 188 struct linux_sys_setrlimit_args { 189 syscallarg(u_int) which; 190 syscallarg(struct orlimit *) rlp; 191 }; 192 193 struct linux_sys_getrlimit_args { 194 syscallarg(u_int) which; 195 syscallarg(struct orlimit *) rlp; 196 }; 197 198 struct linux_sys_gettimeofday_args { 199 syscallarg(struct timeval *) tp; 200 syscallarg(struct timezone *) tzp; 201 }; 202 203 struct linux_sys_settimeofday_args { 204 syscallarg(struct timeval *) tp; 205 syscallarg(struct timezone *) tzp; 206 }; 207 208 struct linux_sys_select_args { 209 syscallarg(int) nfds; 210 syscallarg(fd_set *) readfds; 211 syscallarg(fd_set *) writefds; 212 syscallarg(fd_set *) exceptfds; 213 syscallarg(struct timeval *) timeout; 214 }; 215 216 struct linux_sys_symlink_args { 217 syscallarg(const char *) path; 218 syscallarg(const char *) to; 219 }; 220 221 struct linux_sys_readlink_args { 222 syscallarg(const char *) name; 223 syscallarg(char *) buf; 224 syscallarg(int) count; 225 }; 226 #ifdef EXEC_AOUT 227 228 struct linux_sys_uselib_args { 229 syscallarg(const char *) path; 230 }; 231 #else 232 #endif 233 234 struct linux_sys_swapon_args { 235 syscallarg(char *) name; 236 }; 237 238 struct linux_sys_reboot_args { 239 syscallarg(int) magic1; 240 syscallarg(int) magic2; 241 syscallarg(int) cmd; 242 syscallarg(void *) arg; 243 }; 244 245 struct linux_sys_readdir_args { 246 syscallarg(int) fd; 247 syscallarg(caddr_t) dent; 248 syscallarg(unsigned int) count; 249 }; 250 251 struct linux_sys_truncate_args { 252 syscallarg(const char *) path; 253 syscallarg(long) length; 254 }; 255 256 struct linux_sys_statfs_args { 257 syscallarg(const char *) path; 258 syscallarg(struct linux_statfs *) sp; 259 }; 260 261 struct linux_sys_fstatfs_args { 262 syscallarg(int) fd; 263 syscallarg(struct linux_statfs *) sp; 264 }; 265 266 struct linux_sys_ioperm_args { 267 syscallarg(unsigned int) lo; 268 syscallarg(unsigned int) hi; 269 syscallarg(int) val; 270 }; 271 272 struct linux_sys_socketcall_args { 273 syscallarg(int) what; 274 syscallarg(void *) args; 275 }; 276 277 struct linux_sys_stat_args { 278 syscallarg(const char *) path; 279 syscallarg(struct linux_stat *) sp; 280 }; 281 282 struct linux_sys_lstat_args { 283 syscallarg(const char *) path; 284 syscallarg(struct linux_stat *) sp; 285 }; 286 287 struct linux_sys_fstat_args { 288 syscallarg(int) fd; 289 syscallarg(struct linux_stat *) sp; 290 }; 291 292 struct linux_sys_uname_args { 293 syscallarg(struct linux_utsname *) up; 294 }; 295 296 struct linux_sys_wait4_args { 297 syscallarg(int) pid; 298 syscallarg(int *) status; 299 syscallarg(int) options; 300 syscallarg(struct rusage *) rusage; 301 }; 302 303 struct linux_sys_swapoff_args { 304 syscallarg(const char *) path; 305 }; 306 307 struct linux_sys_sysinfo_args { 308 syscallarg(struct linux_sysinfo *) arg; 309 }; 310 311 struct linux_sys_ipc_args { 312 syscallarg(int) what; 313 syscallarg(int) a1; 314 syscallarg(int) a2; 315 syscallarg(int) a3; 316 syscallarg(caddr_t) ptr; 317 }; 318 319 struct linux_sys_sigreturn_args { 320 syscallarg(struct linux_sigcontext *) scp; 321 }; 322 323 struct linux_sys_clone_args { 324 syscallarg(int) flags; 325 syscallarg(void *) stack; 326 }; 327 328 struct linux_sys_setdomainname_args { 329 syscallarg(char *) domainname; 330 syscallarg(int) len; 331 }; 332 333 struct linux_sys_new_uname_args { 334 syscallarg(struct linux_utsname *) up; 335 }; 336 337 struct linux_sys_mprotect_args { 338 syscallarg(const void *) start; 339 syscallarg(unsigned long) len; 340 syscallarg(int) prot; 341 }; 342 343 struct linux_sys_sigprocmask_args { 344 syscallarg(int) how; 345 syscallarg(const linux_old_sigset_t *) set; 346 syscallarg(linux_old_sigset_t *) oset; 347 }; 348 349 struct linux_sys_getpgid_args { 350 syscallarg(int) pid; 351 }; 352 353 struct linux_sys_personality_args { 354 syscallarg(int) per; 355 }; 356 357 struct linux_sys_setfsuid_args { 358 syscallarg(uid_t) uid; 359 }; 360 361 struct linux_sys_llseek_args { 362 syscallarg(int) fd; 363 syscallarg(u_int32_t) ohigh; 364 syscallarg(u_int32_t) olow; 365 syscallarg(caddr_t) res; 366 syscallarg(int) whence; 367 }; 368 369 struct linux_sys_getdents_args { 370 syscallarg(int) fd; 371 syscallarg(struct linux_dirent *) dent; 372 syscallarg(unsigned int) count; 373 }; 374 375 struct linux_sys_new_select_args { 376 syscallarg(int) nfds; 377 syscallarg(fd_set *) readfds; 378 syscallarg(fd_set *) writefds; 379 syscallarg(fd_set *) exceptfds; 380 syscallarg(struct timeval *) timeout; 381 }; 382 383 struct linux_sys_msync_args { 384 syscallarg(caddr_t) addr; 385 syscallarg(int) len; 386 syscallarg(int) fl; 387 }; 388 389 struct linux_sys_fdatasync_args { 390 syscallarg(int) fd; 391 }; 392 393 struct linux_sys___sysctl_args { 394 syscallarg(struct linux___sysctl *) lsp; 395 }; 396 397 struct linux_sys_sched_setparam_args { 398 syscallarg(pid_t) pid; 399 syscallarg(const struct linux_sched_param *) sp; 400 }; 401 402 struct linux_sys_sched_getparam_args { 403 syscallarg(pid_t) pid; 404 syscallarg(struct linux_sched_param *) sp; 405 }; 406 407 struct linux_sys_sched_setscheduler_args { 408 syscallarg(pid_t) pid; 409 syscallarg(int) policy; 410 syscallarg(const struct linux_sched_param *) sp; 411 }; 412 413 struct linux_sys_sched_getscheduler_args { 414 syscallarg(pid_t) pid; 415 }; 416 417 struct linux_sys_sched_get_priority_max_args { 418 syscallarg(int) policy; 419 }; 420 421 struct linux_sys_sched_get_priority_min_args { 422 syscallarg(int) policy; 423 }; 424 425 struct linux_sys_mremap_args { 426 syscallarg(void *) old_address; 427 syscallarg(size_t) old_size; 428 syscallarg(size_t) new_size; 429 syscallarg(u_long) flags; 430 }; 431 432 struct linux_sys_setresuid_args { 433 syscallarg(uid_t) ruid; 434 syscallarg(uid_t) euid; 435 syscallarg(uid_t) suid; 436 }; 437 438 struct linux_sys_getresuid_args { 439 syscallarg(uid_t *) ruid; 440 syscallarg(uid_t *) euid; 441 syscallarg(uid_t *) suid; 442 }; 443 444 struct linux_sys_setresgid_args { 445 syscallarg(gid_t) rgid; 446 syscallarg(gid_t) egid; 447 syscallarg(gid_t) sgid; 448 }; 449 450 struct linux_sys_getresgid_args { 451 syscallarg(gid_t *) rgid; 452 syscallarg(gid_t *) egid; 453 syscallarg(gid_t *) sgid; 454 }; 455 456 struct linux_sys_rt_sigreturn_args { 457 syscallarg(struct linux_rt_sigframe *) sfp; 458 }; 459 460 struct linux_sys_rt_sigaction_args { 461 syscallarg(int) signum; 462 syscallarg(const struct linux_sigaction *) nsa; 463 syscallarg(struct linux_sigaction *) osa; 464 syscallarg(size_t) sigsetsize; 465 }; 466 467 struct linux_sys_rt_sigprocmask_args { 468 syscallarg(int) how; 469 syscallarg(const linux_sigset_t *) set; 470 syscallarg(linux_sigset_t *) oset; 471 syscallarg(size_t) sigsetsize; 472 }; 473 474 struct linux_sys_rt_sigpending_args { 475 syscallarg(linux_sigset_t *) set; 476 syscallarg(size_t) sigsetsize; 477 }; 478 479 struct linux_sys_rt_queueinfo_args { 480 syscallarg(int) pid; 481 syscallarg(int) signum; 482 syscallarg(void *) uinfo; 483 }; 484 485 struct linux_sys_rt_sigsuspend_args { 486 syscallarg(linux_sigset_t *) unewset; 487 syscallarg(size_t) sigsetsize; 488 }; 489 490 struct linux_sys_pread_args { 491 syscallarg(int) fd; 492 syscallarg(char *) buf; 493 syscallarg(size_t) nbyte; 494 syscallarg(linux_off_t) offset; 495 }; 496 497 struct linux_sys_pwrite_args { 498 syscallarg(int) fd; 499 syscallarg(char *) buf; 500 syscallarg(size_t) nbyte; 501 syscallarg(linux_off_t) offset; 502 }; 503 504 struct linux_sys_chown_args { 505 syscallarg(const char *) path; 506 syscallarg(int) uid; 507 syscallarg(int) gid; 508 }; 509 510 struct linux_sys_sigaltstack_args { 511 syscallarg(const struct linux_sigaltstack *) ss; 512 syscallarg(struct linux_sigaltstack *) oss; 513 }; 514 515 struct linux_sys_ugetrlimit_args { 516 syscallarg(int) which; 517 syscallarg(struct rlimit *) rlp; 518 }; 519 520 struct linux_sys_truncate64_args { 521 syscallarg(const char *) path; 522 syscallarg(off_t) length; 523 }; 524 525 struct linux_sys_ftruncate64_args { 526 syscallarg(unsigned int) fd; 527 syscallarg(off_t) length; 528 }; 529 530 struct linux_sys_stat64_args { 531 syscallarg(const char *) path; 532 syscallarg(struct linux_stat64 *) sp; 533 }; 534 535 struct linux_sys_lstat64_args { 536 syscallarg(const char *) path; 537 syscallarg(struct linux_stat64 *) sp; 538 }; 539 540 struct linux_sys_fstat64_args { 541 syscallarg(int) fd; 542 syscallarg(struct linux_stat64 *) sp; 543 }; 544 545 struct linux_sys_getdents64_args { 546 syscallarg(int) fd; 547 syscallarg(struct linux_dirent64 *) dent; 548 syscallarg(unsigned int) count; 549 }; 550 551 struct linux_sys_fcntl64_args { 552 syscallarg(int) fd; 553 syscallarg(int) cmd; 554 syscallarg(void *) arg; 555 }; 556 557 struct linux_sys_setxattr_args { 558 syscallarg(char *) path; 559 syscallarg(char *) name; 560 syscallarg(void *) value; 561 syscallarg(size_t) size; 562 syscallarg(int) flags; 563 }; 564 565 struct linux_sys_lsetxattr_args { 566 syscallarg(char *) path; 567 syscallarg(char *) name; 568 syscallarg(void *) value; 569 syscallarg(size_t) size; 570 syscallarg(int) flags; 571 }; 572 573 struct linux_sys_fsetxattr_args { 574 syscallarg(int) fd; 575 syscallarg(char *) name; 576 syscallarg(void *) value; 577 syscallarg(size_t) size; 578 syscallarg(int) flags; 579 }; 580 581 struct linux_sys_getxattr_args { 582 syscallarg(char *) path; 583 syscallarg(char *) name; 584 syscallarg(void *) value; 585 syscallarg(size_t) size; 586 }; 587 588 struct linux_sys_lgetxattr_args { 589 syscallarg(char *) path; 590 syscallarg(char *) name; 591 syscallarg(void *) value; 592 syscallarg(size_t) size; 593 }; 594 595 struct linux_sys_fgetxattr_args { 596 syscallarg(int) fd; 597 syscallarg(char *) name; 598 syscallarg(void *) value; 599 syscallarg(size_t) size; 600 }; 601 602 struct linux_sys_listxattr_args { 603 syscallarg(char *) path; 604 syscallarg(char *) list; 605 syscallarg(size_t) size; 606 }; 607 608 struct linux_sys_llistxattr_args { 609 syscallarg(char *) path; 610 syscallarg(char *) list; 611 syscallarg(size_t) size; 612 }; 613 614 struct linux_sys_flistxattr_args { 615 syscallarg(int) fd; 616 syscallarg(char *) list; 617 syscallarg(size_t) size; 618 }; 619 620 struct linux_sys_removexattr_args { 621 syscallarg(char *) path; 622 syscallarg(char *) name; 623 }; 624 625 struct linux_sys_lremovexattr_args { 626 syscallarg(char *) path; 627 syscallarg(char *) name; 628 }; 629 630 struct linux_sys_fremovexattr_args { 631 syscallarg(int) fd; 632 syscallarg(char *) name; 633 }; 634 635 struct linux_sys_exit_group_args { 636 syscallarg(int) error_code; 637 }; 638 639 struct linux_sys_clock_settime_args { 640 syscallarg(clockid_t) which; 641 syscallarg(struct linux_timespec *) tp; 642 }; 643 644 struct linux_sys_clock_gettime_args { 645 syscallarg(clockid_t) which; 646 syscallarg(struct linux_timespec *) tp; 647 }; 648 649 struct linux_sys_clock_getres_args { 650 syscallarg(clockid_t) which; 651 syscallarg(struct linux_timespec *) tp; 652 }; 653 654 struct linux_sys_clock_nanosleep_args { 655 syscallarg(clockid_t) which; 656 syscallarg(int) flags; 657 syscallarg(struct linux_timespec *) rqtp; 658 syscallarg(struct linux_timespec *) rmtp; 659 }; 660 661 struct linux_sys_statfs64_args { 662 syscallarg(const char *) path; 663 syscallarg(size_t) sz; 664 syscallarg(struct linux_statfs64 *) sp; 665 }; 666 667 struct linux_sys_fstatfs64_args { 668 syscallarg(int) fd; 669 syscallarg(size_t) sz; 670 syscallarg(struct linux_statfs64 *) sp; 671 }; 672 673 /* 674 * System call prototypes. 675 */ 676 677 int linux_sys_nosys(struct lwp *, void *, register_t *); 678 679 int sys_exit(struct lwp *, void *, register_t *); 680 681 int sys_fork(struct lwp *, void *, register_t *); 682 683 int sys_read(struct lwp *, void *, register_t *); 684 685 int sys_write(struct lwp *, void *, register_t *); 686 687 int linux_sys_open(struct lwp *, void *, register_t *); 688 689 int sys_close(struct lwp *, void *, register_t *); 690 691 int linux_sys_waitpid(struct lwp *, void *, register_t *); 692 693 int linux_sys_creat(struct lwp *, void *, register_t *); 694 695 int linux_sys_link(struct lwp *, void *, register_t *); 696 697 int linux_sys_unlink(struct lwp *, void *, register_t *); 698 699 int linux_sys_execve(struct lwp *, void *, register_t *); 700 701 int linux_sys_chdir(struct lwp *, void *, register_t *); 702 703 int linux_sys_time(struct lwp *, void *, register_t *); 704 705 int linux_sys_mknod(struct lwp *, void *, register_t *); 706 707 int linux_sys_chmod(struct lwp *, void *, register_t *); 708 709 int linux_sys_lchown(struct lwp *, void *, register_t *); 710 711 int compat_43_sys_lseek(struct lwp *, void *, register_t *); 712 713 int sys_getpid(struct lwp *, void *, register_t *); 714 715 int sys_setuid(struct lwp *, void *, register_t *); 716 717 int sys_getuid(struct lwp *, void *, register_t *); 718 719 int linux_sys_stime(struct lwp *, void *, register_t *); 720 721 int linux_sys_ptrace(struct lwp *, void *, register_t *); 722 723 int linux_sys_alarm(struct lwp *, void *, register_t *); 724 725 int linux_sys_pause(struct lwp *, void *, register_t *); 726 727 int linux_sys_utime(struct lwp *, void *, register_t *); 728 729 int linux_sys_access(struct lwp *, void *, register_t *); 730 731 int linux_sys_nice(struct lwp *, void *, register_t *); 732 733 int sys_sync(struct lwp *, void *, register_t *); 734 735 int linux_sys_kill(struct lwp *, void *, register_t *); 736 737 int linux_sys_rename(struct lwp *, void *, register_t *); 738 739 int linux_sys_mkdir(struct lwp *, void *, register_t *); 740 741 int linux_sys_rmdir(struct lwp *, void *, register_t *); 742 743 int sys_dup(struct lwp *, void *, register_t *); 744 745 int linux_sys_pipe(struct lwp *, void *, register_t *); 746 747 int linux_sys_times(struct lwp *, void *, register_t *); 748 749 int linux_sys_brk(struct lwp *, void *, register_t *); 750 751 int sys_setgid(struct lwp *, void *, register_t *); 752 753 int sys_getgid(struct lwp *, void *, register_t *); 754 755 int linux_sys_signal(struct lwp *, void *, register_t *); 756 757 int sys_geteuid(struct lwp *, void *, register_t *); 758 759 int sys_getegid(struct lwp *, void *, register_t *); 760 761 int sys_acct(struct lwp *, void *, register_t *); 762 763 int linux_sys_ioctl(struct lwp *, void *, register_t *); 764 765 int linux_sys_fcntl(struct lwp *, void *, register_t *); 766 767 int sys_setpgid(struct lwp *, void *, register_t *); 768 769 int linux_sys_olduname(struct lwp *, void *, register_t *); 770 771 int sys_umask(struct lwp *, void *, register_t *); 772 773 int sys_chroot(struct lwp *, void *, register_t *); 774 775 int sys_dup2(struct lwp *, void *, register_t *); 776 777 int sys_getppid(struct lwp *, void *, register_t *); 778 779 int sys_getpgrp(struct lwp *, void *, register_t *); 780 781 int sys_setsid(struct lwp *, void *, register_t *); 782 783 int linux_sys_sigaction(struct lwp *, void *, register_t *); 784 785 int linux_sys_siggetmask(struct lwp *, void *, register_t *); 786 787 int linux_sys_sigsetmask(struct lwp *, void *, register_t *); 788 789 int sys_setreuid(struct lwp *, void *, register_t *); 790 791 int sys_setregid(struct lwp *, void *, register_t *); 792 793 int linux_sys_sigsuspend(struct lwp *, void *, register_t *); 794 795 int linux_sys_sigpending(struct lwp *, void *, register_t *); 796 797 int compat_43_sys_sethostname(struct lwp *, void *, register_t *); 798 799 int linux_sys_setrlimit(struct lwp *, void *, register_t *); 800 801 int linux_sys_getrlimit(struct lwp *, void *, register_t *); 802 803 int sys_getrusage(struct lwp *, void *, register_t *); 804 805 int linux_sys_gettimeofday(struct lwp *, void *, register_t *); 806 807 int linux_sys_settimeofday(struct lwp *, void *, register_t *); 808 809 int sys_getgroups(struct lwp *, void *, register_t *); 810 811 int sys_setgroups(struct lwp *, void *, register_t *); 812 813 int linux_sys_select(struct lwp *, void *, register_t *); 814 815 int linux_sys_symlink(struct lwp *, void *, register_t *); 816 817 int compat_43_sys_lstat(struct lwp *, void *, register_t *); 818 819 int linux_sys_readlink(struct lwp *, void *, register_t *); 820 821 #ifdef EXEC_AOUT 822 int linux_sys_uselib(struct lwp *, void *, register_t *); 823 824 #else 825 #endif 826 int linux_sys_swapon(struct lwp *, void *, register_t *); 827 828 int linux_sys_reboot(struct lwp *, void *, register_t *); 829 830 int linux_sys_readdir(struct lwp *, void *, register_t *); 831 832 int linux_sys_mmap(struct lwp *, void *, register_t *); 833 834 int sys_munmap(struct lwp *, void *, register_t *); 835 836 int linux_sys_truncate(struct lwp *, void *, register_t *); 837 838 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *); 839 840 int sys_fchmod(struct lwp *, void *, register_t *); 841 842 int sys___posix_fchown(struct lwp *, void *, register_t *); 843 844 int sys_getpriority(struct lwp *, void *, register_t *); 845 846 int sys_setpriority(struct lwp *, void *, register_t *); 847 848 int sys_profil(struct lwp *, void *, register_t *); 849 850 int linux_sys_statfs(struct lwp *, void *, register_t *); 851 852 int linux_sys_fstatfs(struct lwp *, void *, register_t *); 853 854 int linux_sys_ioperm(struct lwp *, void *, register_t *); 855 856 int linux_sys_socketcall(struct lwp *, void *, register_t *); 857 858 int sys_setitimer(struct lwp *, void *, register_t *); 859 860 int sys_getitimer(struct lwp *, void *, register_t *); 861 862 int linux_sys_stat(struct lwp *, void *, register_t *); 863 864 int linux_sys_lstat(struct lwp *, void *, register_t *); 865 866 int linux_sys_fstat(struct lwp *, void *, register_t *); 867 868 int linux_sys_uname(struct lwp *, void *, register_t *); 869 870 int linux_sys_wait4(struct lwp *, void *, register_t *); 871 872 int linux_sys_swapoff(struct lwp *, void *, register_t *); 873 874 int linux_sys_sysinfo(struct lwp *, void *, register_t *); 875 876 int linux_sys_ipc(struct lwp *, void *, register_t *); 877 878 int sys_fsync(struct lwp *, void *, register_t *); 879 880 int linux_sys_sigreturn(struct lwp *, void *, register_t *); 881 882 int linux_sys_clone(struct lwp *, void *, register_t *); 883 884 int linux_sys_setdomainname(struct lwp *, void *, register_t *); 885 886 int linux_sys_new_uname(struct lwp *, void *, register_t *); 887 888 int linux_sys_mprotect(struct lwp *, void *, register_t *); 889 890 int linux_sys_sigprocmask(struct lwp *, void *, register_t *); 891 892 int linux_sys_getpgid(struct lwp *, void *, register_t *); 893 894 int sys_fchdir(struct lwp *, void *, register_t *); 895 896 int linux_sys_personality(struct lwp *, void *, register_t *); 897 898 int linux_sys_setfsuid(struct lwp *, void *, register_t *); 899 900 int linux_sys_getfsuid(struct lwp *, void *, register_t *); 901 902 int linux_sys_llseek(struct lwp *, void *, register_t *); 903 904 int linux_sys_getdents(struct lwp *, void *, register_t *); 905 906 int linux_sys_new_select(struct lwp *, void *, register_t *); 907 908 int sys_flock(struct lwp *, void *, register_t *); 909 910 int linux_sys_msync(struct lwp *, void *, register_t *); 911 912 int sys_readv(struct lwp *, void *, register_t *); 913 914 int sys_writev(struct lwp *, void *, register_t *); 915 916 int sys_getsid(struct lwp *, void *, register_t *); 917 918 int linux_sys_fdatasync(struct lwp *, void *, register_t *); 919 920 int linux_sys___sysctl(struct lwp *, void *, register_t *); 921 922 int sys_mlock(struct lwp *, void *, register_t *); 923 924 int sys_munlock(struct lwp *, void *, register_t *); 925 926 int sys_mlockall(struct lwp *, void *, register_t *); 927 928 int sys_munlockall(struct lwp *, void *, register_t *); 929 930 int linux_sys_sched_setparam(struct lwp *, void *, register_t *); 931 932 int linux_sys_sched_getparam(struct lwp *, void *, register_t *); 933 934 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *); 935 936 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *); 937 938 int linux_sys_sched_yield(struct lwp *, void *, register_t *); 939 940 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *); 941 942 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *); 943 944 int sys_nanosleep(struct lwp *, void *, register_t *); 945 946 int linux_sys_mremap(struct lwp *, void *, register_t *); 947 948 int linux_sys_setresuid(struct lwp *, void *, register_t *); 949 950 int linux_sys_getresuid(struct lwp *, void *, register_t *); 951 952 int sys_poll(struct lwp *, void *, register_t *); 953 954 int linux_sys_setresgid(struct lwp *, void *, register_t *); 955 956 int linux_sys_getresgid(struct lwp *, void *, register_t *); 957 958 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *); 959 960 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *); 961 962 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *); 963 964 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *); 965 966 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *); 967 968 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *); 969 970 int linux_sys_pread(struct lwp *, void *, register_t *); 971 972 int linux_sys_pwrite(struct lwp *, void *, register_t *); 973 974 int linux_sys_chown(struct lwp *, void *, register_t *); 975 976 int sys___getcwd(struct lwp *, void *, register_t *); 977 978 int linux_sys_sigaltstack(struct lwp *, void *, register_t *); 979 980 int sys___vfork14(struct lwp *, void *, register_t *); 981 982 int linux_sys_ugetrlimit(struct lwp *, void *, register_t *); 983 984 int linux_sys_mmap2(struct lwp *, void *, register_t *); 985 986 int linux_sys_truncate64(struct lwp *, void *, register_t *); 987 988 int linux_sys_ftruncate64(struct lwp *, void *, register_t *); 989 990 int linux_sys_stat64(struct lwp *, void *, register_t *); 991 992 int linux_sys_lstat64(struct lwp *, void *, register_t *); 993 994 int linux_sys_fstat64(struct lwp *, void *, register_t *); 995 996 int linux_sys_getdents64(struct lwp *, void *, register_t *); 997 998 int linux_sys_fcntl64(struct lwp *, void *, register_t *); 999 1000 int sys_mincore(struct lwp *, void *, register_t *); 1001 1002 int sys_madvise(struct lwp *, void *, register_t *); 1003 1004 int linux_sys_setxattr(struct lwp *, void *, register_t *); 1005 1006 int linux_sys_lsetxattr(struct lwp *, void *, register_t *); 1007 1008 int linux_sys_fsetxattr(struct lwp *, void *, register_t *); 1009 1010 int linux_sys_getxattr(struct lwp *, void *, register_t *); 1011 1012 int linux_sys_lgetxattr(struct lwp *, void *, register_t *); 1013 1014 int linux_sys_fgetxattr(struct lwp *, void *, register_t *); 1015 1016 int linux_sys_listxattr(struct lwp *, void *, register_t *); 1017 1018 int linux_sys_llistxattr(struct lwp *, void *, register_t *); 1019 1020 int linux_sys_flistxattr(struct lwp *, void *, register_t *); 1021 1022 int linux_sys_removexattr(struct lwp *, void *, register_t *); 1023 1024 int linux_sys_lremovexattr(struct lwp *, void *, register_t *); 1025 1026 int linux_sys_fremovexattr(struct lwp *, void *, register_t *); 1027 1028 int linux_sys_exit_group(struct lwp *, void *, register_t *); 1029 1030 int linux_sys_clock_settime(struct lwp *, void *, register_t *); 1031 1032 int linux_sys_clock_gettime(struct lwp *, void *, register_t *); 1033 1034 int linux_sys_clock_getres(struct lwp *, void *, register_t *); 1035 1036 int linux_sys_clock_nanosleep(struct lwp *, void *, register_t *); 1037 1038 int linux_sys_statfs64(struct lwp *, void *, register_t *); 1039 1040 int linux_sys_fstatfs64(struct lwp *, void *, register_t *); 1041 1042 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */ 1043