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