1 /* $NetBSD: linux_syscallargs.h,v 1.121 2024/09/28 19:36:19 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.109 2024/09/28 19:35:55 christos Exp 8 */ 9 10 #ifndef _LINUX_SYS_SYSCALLARGS_H_ 11 #define _LINUX_SYS_SYSCALLARGS_H_ 12 13 /* Forward declaration */ 14 struct lwp; 15 16 #define LINUX_SYS_MAXSYSARGS 8 17 18 #undef syscallarg 19 #define syscallarg(x) \ 20 union { \ 21 register_t pad; \ 22 struct { x datum; } le; \ 23 struct { /* LINTED zero array dimension */ \ 24 int8_t pad[ /* CONSTCOND */ \ 25 (sizeof (register_t) < sizeof (x)) \ 26 ? 0 \ 27 : sizeof (register_t) - sizeof (x)]; \ 28 x datum; \ 29 } be; \ 30 } 31 32 #undef check_syscall_args 33 #define check_syscall_args(call) /*LINTED*/ \ 34 typedef char call##_check_args[sizeof (struct call##_args) \ 35 <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; 36 37 struct linux_sys_exit_args { 38 syscallarg(int) rval; 39 }; 40 check_syscall_args(linux_sys_exit) 41 42 struct sys_read_args; 43 44 struct sys_write_args; 45 46 struct sys_close_args; 47 48 struct linux_sys_osf1_wait4_args { 49 syscallarg(int) pid; 50 syscallarg(int *) status; 51 syscallarg(int) options; 52 syscallarg(struct osf1_rusage *) rusage; 53 }; 54 check_syscall_args(linux_sys_osf1_wait4) 55 56 struct linux_sys_creat_args { 57 syscallarg(const char *) path; 58 syscallarg(linux_umode_t) mode; 59 }; 60 check_syscall_args(linux_sys_creat) 61 62 struct sys_link_args; 63 64 struct linux_sys_unlink_args { 65 syscallarg(const char *) path; 66 }; 67 check_syscall_args(linux_sys_unlink) 68 69 struct sys_chdir_args; 70 71 struct sys_fchdir_args; 72 73 struct linux_sys_mknod_args { 74 syscallarg(const char *) path; 75 syscallarg(linux_umode_t) mode; 76 syscallarg(unsigned) dev; 77 }; 78 check_syscall_args(linux_sys_mknod) 79 80 struct sys_chmod_args; 81 82 struct sys___posix_chown_args; 83 84 struct linux_sys_brk_args { 85 syscallarg(char *) nsize; 86 }; 87 check_syscall_args(linux_sys_brk) 88 89 struct compat_43_sys_lseek_args; 90 91 struct linux_sys_osf1_mount_args { 92 syscallarg(int) type; 93 syscallarg(const char *) path; 94 syscallarg(int) flags; 95 syscallarg(void *) data; 96 }; 97 check_syscall_args(linux_sys_osf1_mount) 98 99 struct sys_setuid_args; 100 101 struct linux_sys_ptrace_args { 102 syscallarg(long) request; 103 syscallarg(long) pid; 104 syscallarg(long) addr; 105 syscallarg(long) data; 106 }; 107 check_syscall_args(linux_sys_ptrace) 108 109 struct sys_access_args; 110 111 struct linux_sys_kill_args { 112 syscallarg(int) pid; 113 syscallarg(int) signum; 114 }; 115 check_syscall_args(linux_sys_kill) 116 117 struct sys_setpgid_args; 118 119 struct sys_dup_args; 120 121 struct linux_sys_osf1_set_program_attributes_args { 122 syscallarg(void *) taddr; 123 syscallarg(unsigned long) tsize; 124 syscallarg(void *) daddr; 125 syscallarg(unsigned long) dsize; 126 }; 127 check_syscall_args(linux_sys_osf1_set_program_attributes) 128 129 struct linux_sys_open_args { 130 syscallarg(const char *) path; 131 syscallarg(int) flags; 132 syscallarg(linux_umode_t) mode; 133 }; 134 check_syscall_args(linux_sys_open) 135 136 struct compat_13_sys_sigprocmask_args; 137 138 struct sys_acct_args; 139 140 struct linux_sys_sigpending_args { 141 syscallarg(linux_old_sigset_t *) set; 142 }; 143 check_syscall_args(linux_sys_sigpending) 144 145 struct linux_sys_ioctl_args { 146 syscallarg(int) fd; 147 syscallarg(u_long) com; 148 syscallarg(void *) data; 149 }; 150 check_syscall_args(linux_sys_ioctl) 151 152 struct sys_symlink_args; 153 154 struct sys_readlink_args; 155 156 struct sys_execve_args; 157 158 struct sys_umask_args; 159 160 struct sys_chroot_args; 161 162 struct linux_sys_stat_args { 163 syscallarg(const char *) path; 164 syscallarg(struct linux_stat *) sp; 165 }; 166 check_syscall_args(linux_sys_stat) 167 168 struct linux_sys_lstat_args { 169 syscallarg(const char *) path; 170 syscallarg(struct linux_stat *) sp; 171 }; 172 check_syscall_args(linux_sys_lstat) 173 174 struct linux_sys_mmap_args; 175 176 struct sys_munmap_args; 177 178 struct linux_sys_mprotect_args { 179 syscallarg(const void *) start; 180 syscallarg(unsigned long) len; 181 syscallarg(int) prot; 182 }; 183 check_syscall_args(linux_sys_mprotect) 184 185 struct sys_madvise_args; 186 187 struct sys_getgroups_args; 188 189 struct sys_setgroups_args; 190 191 struct linux_sys_osf1_setitimer_args { 192 syscallarg(int) which; 193 syscallarg(struct osf1_itimerval *) itv; 194 syscallarg(struct osf1_itimerval *) oitv; 195 }; 196 check_syscall_args(linux_sys_osf1_setitimer) 197 198 struct compat_43_sys_gethostname_args; 199 200 struct compat_43_sys_sethostname_args; 201 202 struct sys_dup2_args; 203 204 struct linux_sys_fstat_args { 205 syscallarg(int) fd; 206 syscallarg(struct linux_stat *) sp; 207 }; 208 check_syscall_args(linux_sys_fstat) 209 210 struct linux_sys_fcntl_args { 211 syscallarg(int) fd; 212 syscallarg(int) cmd; 213 syscallarg(void *) arg; 214 }; 215 check_syscall_args(linux_sys_fcntl) 216 217 struct linux_sys_osf1_select_args { 218 syscallarg(u_int) nd; 219 syscallarg(fd_set *) in; 220 syscallarg(fd_set *) ou; 221 syscallarg(fd_set *) ex; 222 syscallarg(struct osf1_timeval *) tv; 223 }; 224 check_syscall_args(linux_sys_osf1_select) 225 226 struct sys_poll_args; 227 228 struct sys_fsync_args; 229 230 struct sys_setpriority_args; 231 232 struct linux_sys_socket_args { 233 syscallarg(int) domain; 234 syscallarg(int) type; 235 syscallarg(int) protocol; 236 }; 237 check_syscall_args(linux_sys_socket) 238 239 struct linux_sys_connect_args { 240 syscallarg(int) s; 241 syscallarg(const struct osockaddr *) name; 242 syscallarg(unsigned int) namelen; 243 }; 244 check_syscall_args(linux_sys_connect) 245 246 struct linux_sys_accept_args { 247 syscallarg(int) s; 248 syscallarg(struct osockaddr *) name; 249 syscallarg(int *) anamelen; 250 }; 251 check_syscall_args(linux_sys_accept) 252 253 struct linux_sys_getpriority_args { 254 syscallarg(int) which; 255 syscallarg(int) who; 256 }; 257 check_syscall_args(linux_sys_getpriority) 258 259 struct linux_sys_send_args { 260 syscallarg(int) s; 261 syscallarg(void *) buf; 262 syscallarg(int) len; 263 syscallarg(int) flags; 264 }; 265 check_syscall_args(linux_sys_send) 266 267 struct linux_sys_recv_args { 268 syscallarg(int) s; 269 syscallarg(void *) buf; 270 syscallarg(int) len; 271 syscallarg(int) flags; 272 }; 273 check_syscall_args(linux_sys_recv) 274 275 struct linux_sys_sigreturn_args { 276 syscallarg(struct linux_sigframe *) sfp; 277 }; 278 check_syscall_args(linux_sys_sigreturn) 279 280 struct linux_sys_bind_args { 281 syscallarg(int) s; 282 syscallarg(const struct osockaddr *) name; 283 syscallarg(unsigned int) namelen; 284 }; 285 check_syscall_args(linux_sys_bind) 286 287 struct linux_sys_setsockopt_args { 288 syscallarg(int) s; 289 syscallarg(int) level; 290 syscallarg(int) optname; 291 syscallarg(void *) optval; 292 syscallarg(int) optlen; 293 }; 294 check_syscall_args(linux_sys_setsockopt) 295 296 struct sys_listen_args; 297 298 struct linux_sys_sigsuspend_args { 299 syscallarg(void *) restart; 300 syscallarg(int) oldmask; 301 syscallarg(int) mask; 302 }; 303 check_syscall_args(linux_sys_sigsuspend) 304 305 struct compat_43_sys_sigstack_args; 306 307 struct linux_sys_recvmsg_args { 308 syscallarg(int) s; 309 syscallarg(struct linux_msghdr *) msg; 310 syscallarg(int) flags; 311 }; 312 check_syscall_args(linux_sys_recvmsg) 313 314 struct linux_sys_sendmsg_args { 315 syscallarg(int) s; 316 syscallarg(const struct linux_msghdr *) msg; 317 syscallarg(int) flags; 318 }; 319 check_syscall_args(linux_sys_sendmsg) 320 321 struct linux_sys_osf1_gettimeofday_args { 322 syscallarg(struct osf1_timeval *) tv; 323 syscallarg(struct osf1_timezone *) tzp; 324 }; 325 check_syscall_args(linux_sys_osf1_gettimeofday) 326 327 struct linux_sys_osf1_getrusage_args { 328 syscallarg(int) who; 329 syscallarg(struct osf1_rusage *) rusage; 330 }; 331 check_syscall_args(linux_sys_osf1_getrusage) 332 333 struct linux_sys_getsockopt_args { 334 syscallarg(int) s; 335 syscallarg(int) level; 336 syscallarg(int) optname; 337 syscallarg(void *) optval; 338 syscallarg(int *) optlen; 339 }; 340 check_syscall_args(linux_sys_getsockopt) 341 342 struct sys_readv_args; 343 344 struct sys_writev_args; 345 346 struct linux_sys_osf1_settimeofday_args { 347 syscallarg(struct osf1_timeval *) tv; 348 syscallarg(struct osf1_timezone *) tzp; 349 }; 350 check_syscall_args(linux_sys_osf1_settimeofday) 351 352 struct sys___posix_fchown_args; 353 354 struct sys_fchmod_args; 355 356 struct linux_sys_recvfrom_args { 357 syscallarg(int) s; 358 syscallarg(void *) buf; 359 syscallarg(int) len; 360 syscallarg(int) flags; 361 syscallarg(struct osockaddr *) from; 362 syscallarg(int *) fromlenaddr; 363 }; 364 check_syscall_args(linux_sys_recvfrom) 365 366 struct sys_setreuid_args; 367 368 struct sys_setregid_args; 369 370 struct sys___posix_rename_args; 371 372 struct compat_43_sys_truncate_args; 373 374 struct compat_43_sys_ftruncate_args; 375 376 struct sys_flock_args; 377 378 struct sys_setgid_args; 379 380 struct linux_sys_sendto_args { 381 syscallarg(int) s; 382 syscallarg(void *) msg; 383 syscallarg(int) len; 384 syscallarg(int) flags; 385 syscallarg(struct osockaddr *) to; 386 syscallarg(int) tolen; 387 }; 388 check_syscall_args(linux_sys_sendto) 389 390 struct sys_shutdown_args; 391 392 struct linux_sys_socketpair_args { 393 syscallarg(int) domain; 394 syscallarg(int) type; 395 syscallarg(int) protocol; 396 syscallarg(int *) rsv; 397 }; 398 check_syscall_args(linux_sys_socketpair) 399 400 struct sys_mkdir_args; 401 402 struct sys_rmdir_args; 403 404 struct linux_sys_osf1_utimes_args { 405 syscallarg(const char *) path; 406 syscallarg(const struct osf1_timeval *) tptr; 407 }; 408 check_syscall_args(linux_sys_osf1_utimes) 409 410 struct linux_sys_getpeername_args { 411 syscallarg(int) fdes; 412 syscallarg(void *) asa; 413 syscallarg(int *) alen; 414 }; 415 check_syscall_args(linux_sys_getpeername) 416 417 struct linux_sys_getrlimit_args { 418 syscallarg(int) which; 419 syscallarg(struct orlimit *) rlp; 420 }; 421 check_syscall_args(linux_sys_getrlimit) 422 423 struct linux_sys_setrlimit_args { 424 syscallarg(int) which; 425 syscallarg(const struct orlimit *) rlp; 426 }; 427 check_syscall_args(linux_sys_setrlimit) 428 429 struct linux_sys_getsockname_args { 430 syscallarg(int) fdec; 431 syscallarg(void *) asa; 432 syscallarg(int *) alen; 433 }; 434 check_syscall_args(linux_sys_getsockname) 435 436 struct linux_sys_sigaction_args { 437 syscallarg(int) signum; 438 syscallarg(const struct linux_old_sigaction *) nsa; 439 syscallarg(struct linux_old_sigaction *) osa; 440 }; 441 check_syscall_args(linux_sys_sigaction) 442 443 struct compat_43_sys_getdirentries_args; 444 445 struct linux_sys_osf1_statfs_args { 446 syscallarg(const char *) path; 447 syscallarg(struct osf1_statfs *) buf; 448 syscallarg(int) len; 449 }; 450 check_syscall_args(linux_sys_osf1_statfs) 451 452 struct linux_sys_osf1_fstatfs_args { 453 syscallarg(int) fd; 454 syscallarg(struct osf1_statfs *) buf; 455 syscallarg(int) len; 456 }; 457 check_syscall_args(linux_sys_osf1_fstatfs) 458 459 struct compat_09_sys_getdomainname_args; 460 461 struct linux_sys_setdomainname_args { 462 syscallarg(char *) domainname; 463 syscallarg(int) len; 464 }; 465 check_syscall_args(linux_sys_setdomainname) 466 467 struct linux_sys_ugetrlimit_args { 468 syscallarg(int) which; 469 syscallarg(struct rlimit *) rlp; 470 }; 471 check_syscall_args(linux_sys_ugetrlimit) 472 #ifdef SYSVMSG 473 474 struct linux_sys_msgctl_args; 475 476 struct sys_msgget_args; 477 478 struct sys_msgrcv_args; 479 480 struct sys_msgsnd_args; 481 #else 482 #endif 483 #ifdef SYSVSEM 484 485 struct linux_sys_semctl_args; 486 487 struct sys_semget_args; 488 489 struct sys_semop_args; 490 #else 491 #endif 492 493 struct linux_sys_olduname_args { 494 syscallarg(struct linux_old_utsname *) up; 495 }; 496 check_syscall_args(linux_sys_olduname) 497 498 struct sys___posix_lchown_args; 499 #ifdef SYSVSHM 500 501 struct linux_sys_shmat_args; 502 503 struct linux_sys_shmctl_args; 504 505 struct sys_shmdt_args; 506 507 struct linux_sys_shmget_args; 508 #else 509 #endif 510 511 struct sys___msync13_args; 512 513 struct sys_getpgid_args; 514 515 struct sys_getsid_args; 516 517 struct linux_sys_osf1_sysinfo_args { 518 syscallarg(int) cmd; 519 syscallarg(char *) buf; 520 syscallarg(long) len; 521 }; 522 check_syscall_args(linux_sys_osf1_sysinfo) 523 524 struct linux_sys_osf1_usleep_thread_args { 525 syscallarg(struct osf1_timeval *) sleep; 526 syscallarg(struct osf1_timeval *) slept; 527 }; 528 check_syscall_args(linux_sys_osf1_usleep_thread) 529 530 struct linux_sys_osf1_getsysinfo_args { 531 syscallarg(u_long) op; 532 syscallarg(void *) buffer; 533 syscallarg(u_long) nbytes; 534 syscallarg(void *) arg; 535 syscallarg(u_long) flag; 536 }; 537 check_syscall_args(linux_sys_osf1_getsysinfo) 538 539 struct linux_sys_osf1_setsysinfo_args { 540 syscallarg(u_long) op; 541 syscallarg(void *) buffer; 542 syscallarg(u_long) nbytes; 543 syscallarg(void *) arg; 544 syscallarg(u_long) flag; 545 }; 546 check_syscall_args(linux_sys_osf1_setsysinfo) 547 548 struct linux_sys_fdatasync_args { 549 syscallarg(int) fd; 550 }; 551 check_syscall_args(linux_sys_fdatasync) 552 553 struct linux_sys_swapoff_args { 554 syscallarg(const char *) path; 555 }; 556 check_syscall_args(linux_sys_swapoff) 557 558 struct linux_sys_getdents_args { 559 syscallarg(int) fd; 560 syscallarg(struct linux_dirent *) dent; 561 syscallarg(unsigned int) count; 562 }; 563 check_syscall_args(linux_sys_getdents) 564 565 struct linux_sys_reboot_args { 566 syscallarg(int) magic1; 567 syscallarg(int) magic2; 568 syscallarg(int) cmd; 569 syscallarg(void *) arg; 570 }; 571 check_syscall_args(linux_sys_reboot) 572 573 struct linux_sys_clone_args { 574 syscallarg(int) flags; 575 syscallarg(void *) stack; 576 syscallarg(void *) parent_tidptr; 577 syscallarg(void *) child_tidptr; 578 syscallarg(void *) tls; 579 }; 580 check_syscall_args(linux_sys_clone) 581 #ifdef EXEC_AOUT 582 583 struct linux_sys_uselib_args { 584 syscallarg(const char *) path; 585 }; 586 check_syscall_args(linux_sys_uselib) 587 #else 588 #endif 589 590 struct sys_mlock_args; 591 592 struct sys_munlock_args; 593 594 struct sys_mlockall_args; 595 596 struct linux_sys_sysinfo_args { 597 syscallarg(struct linux_sysinfo *) arg; 598 }; 599 check_syscall_args(linux_sys_sysinfo) 600 601 struct linux_sys___sysctl_args { 602 syscallarg(struct linux___sysctl *) lsp; 603 }; 604 check_syscall_args(linux_sys___sysctl) 605 606 struct linux_sys_swapon_args { 607 syscallarg(const char *) name; 608 }; 609 check_syscall_args(linux_sys_swapon) 610 611 struct linux_sys_times_args { 612 syscallarg(struct times *) tms; 613 }; 614 check_syscall_args(linux_sys_times) 615 616 struct linux_sys_personality_args { 617 syscallarg(unsigned long) per; 618 }; 619 check_syscall_args(linux_sys_personality) 620 621 struct linux_sys_setfsuid_args { 622 syscallarg(uid_t) uid; 623 }; 624 check_syscall_args(linux_sys_setfsuid) 625 626 struct linux_sys_setfsgid_args { 627 syscallarg(gid_t) gid; 628 }; 629 check_syscall_args(linux_sys_setfsgid) 630 631 struct linux_sys_statfs_args { 632 syscallarg(const char *) path; 633 syscallarg(struct linux_statfs *) sp; 634 }; 635 check_syscall_args(linux_sys_statfs) 636 637 struct linux_sys_fstatfs_args { 638 syscallarg(int) fd; 639 syscallarg(struct linux_statfs *) sp; 640 }; 641 check_syscall_args(linux_sys_fstatfs) 642 643 struct linux_sys_sched_setparam_args { 644 syscallarg(pid_t) pid; 645 syscallarg(const struct linux_sched_param *) sp; 646 }; 647 check_syscall_args(linux_sys_sched_setparam) 648 649 struct linux_sys_sched_getparam_args { 650 syscallarg(pid_t) pid; 651 syscallarg(struct linux_sched_param *) sp; 652 }; 653 check_syscall_args(linux_sys_sched_getparam) 654 655 struct linux_sys_sched_setscheduler_args { 656 syscallarg(pid_t) pid; 657 syscallarg(int) policy; 658 syscallarg(const struct linux_sched_param *) sp; 659 }; 660 check_syscall_args(linux_sys_sched_setscheduler) 661 662 struct linux_sys_sched_getscheduler_args { 663 syscallarg(pid_t) pid; 664 }; 665 check_syscall_args(linux_sys_sched_getscheduler) 666 667 struct linux_sys_sched_get_priority_max_args { 668 syscallarg(int) policy; 669 }; 670 check_syscall_args(linux_sys_sched_get_priority_max) 671 672 struct linux_sys_sched_get_priority_min_args { 673 syscallarg(int) policy; 674 }; 675 check_syscall_args(linux_sys_sched_get_priority_min) 676 677 struct linux_sys_uname_args { 678 syscallarg(struct linux_utsname *) up; 679 }; 680 check_syscall_args(linux_sys_uname) 681 682 struct linux_sys_nanosleep_args { 683 syscallarg(const struct linux_timespec *) rqtp; 684 syscallarg(struct linux_timespec *) rmtp; 685 }; 686 check_syscall_args(linux_sys_nanosleep) 687 688 struct linux_sys_mremap_args { 689 syscallarg(void *) old_address; 690 syscallarg(size_t) old_size; 691 syscallarg(size_t) new_size; 692 syscallarg(u_long) flags; 693 }; 694 check_syscall_args(linux_sys_mremap) 695 696 struct linux_sys_setresuid_args { 697 syscallarg(uid_t) ruid; 698 syscallarg(uid_t) euid; 699 syscallarg(uid_t) suid; 700 }; 701 check_syscall_args(linux_sys_setresuid) 702 703 struct linux_sys_getresuid_args { 704 syscallarg(uid_t *) ruid; 705 syscallarg(uid_t *) euid; 706 syscallarg(uid_t *) suid; 707 }; 708 check_syscall_args(linux_sys_getresuid) 709 710 struct linux_sys_pread_args { 711 syscallarg(int) fd; 712 syscallarg(char *) buf; 713 syscallarg(size_t) nbyte; 714 syscallarg(off_t) offset; 715 }; 716 check_syscall_args(linux_sys_pread) 717 718 struct linux_sys_pwrite_args { 719 syscallarg(int) fd; 720 syscallarg(char *) buf; 721 syscallarg(size_t) nbyte; 722 syscallarg(off_t) offset; 723 }; 724 check_syscall_args(linux_sys_pwrite) 725 726 struct linux_sys_rt_sigreturn_args { 727 syscallarg(struct linux_rt_sigframe *) sfp; 728 }; 729 check_syscall_args(linux_sys_rt_sigreturn) 730 731 struct linux_sys_rt_sigaction_args { 732 syscallarg(int) signum; 733 syscallarg(const struct linux_sigaction *) nsa; 734 syscallarg(struct linux_sigaction *) osa; 735 syscallarg(size_t) sigsetsize; 736 }; 737 check_syscall_args(linux_sys_rt_sigaction) 738 739 struct linux_sys_rt_sigprocmask_args { 740 syscallarg(int) how; 741 syscallarg(const linux_sigset_t *) set; 742 syscallarg(linux_sigset_t *) oset; 743 syscallarg(size_t) sigsetsize; 744 }; 745 check_syscall_args(linux_sys_rt_sigprocmask) 746 747 struct linux_sys_rt_sigpending_args { 748 syscallarg(linux_sigset_t *) set; 749 syscallarg(size_t) sigsetsize; 750 }; 751 check_syscall_args(linux_sys_rt_sigpending) 752 753 struct linux_sys_rt_sigtimedwait_args { 754 syscallarg(const linux_sigset_t *) set; 755 syscallarg(linux_siginfo_t *) info; 756 syscallarg(const struct linux_timespec *) timeout; 757 }; 758 check_syscall_args(linux_sys_rt_sigtimedwait) 759 760 struct linux_sys_rt_queueinfo_args { 761 syscallarg(int) pid; 762 syscallarg(int) signum; 763 syscallarg(linux_siginfo_t *) uinfo; 764 }; 765 check_syscall_args(linux_sys_rt_queueinfo) 766 767 struct linux_sys_rt_sigsuspend_args { 768 syscallarg(linux_sigset_t *) unewset; 769 syscallarg(size_t) sigsetsize; 770 }; 771 check_syscall_args(linux_sys_rt_sigsuspend) 772 773 struct linux_sys_select_args { 774 syscallarg(int) nfds; 775 syscallarg(fd_set *) readfds; 776 syscallarg(fd_set *) writefds; 777 syscallarg(fd_set *) exceptfds; 778 syscallarg(struct timeval50 *) timeout; 779 }; 780 check_syscall_args(linux_sys_select) 781 782 struct linux_sys_gettimeofday_args { 783 syscallarg(struct timeval50 *) tp; 784 syscallarg(struct timezone *) tzp; 785 }; 786 check_syscall_args(linux_sys_gettimeofday) 787 788 struct linux_sys_settimeofday_args { 789 syscallarg(struct timeval50 *) tp; 790 syscallarg(struct timezone *) tzp; 791 }; 792 check_syscall_args(linux_sys_settimeofday) 793 794 struct compat_50_sys_getitimer_args; 795 796 struct compat_50_sys_setitimer_args; 797 798 struct compat_50_sys_utimes_args; 799 800 struct compat_50_sys_getrusage_args; 801 802 struct linux_sys_wait4_args { 803 syscallarg(int) pid; 804 syscallarg(int *) status; 805 syscallarg(int) options; 806 syscallarg(struct rusage50 *) rusage; 807 }; 808 check_syscall_args(linux_sys_wait4) 809 810 struct sys___getcwd_args; 811 812 struct sys_mincore_args; 813 814 struct linux_sys_getdents64_args { 815 syscallarg(int) fd; 816 syscallarg(struct linux_dirent64 *) dent; 817 syscallarg(unsigned int) count; 818 }; 819 check_syscall_args(linux_sys_getdents64) 820 821 struct linux_sys_readahead_args { 822 syscallarg(int) fd; 823 syscallarg(off_t) offset; 824 syscallarg(size_t) count; 825 }; 826 check_syscall_args(linux_sys_readahead) 827 828 struct linux_sys_tkill_args { 829 syscallarg(int) tid; 830 syscallarg(int) sig; 831 }; 832 check_syscall_args(linux_sys_tkill) 833 834 struct linux_sys_setxattr_args { 835 syscallarg(char *) path; 836 syscallarg(char *) name; 837 syscallarg(void *) value; 838 syscallarg(size_t) size; 839 syscallarg(int) flags; 840 }; 841 check_syscall_args(linux_sys_setxattr) 842 843 struct linux_sys_lsetxattr_args { 844 syscallarg(char *) path; 845 syscallarg(char *) name; 846 syscallarg(void *) value; 847 syscallarg(size_t) size; 848 syscallarg(int) flags; 849 }; 850 check_syscall_args(linux_sys_lsetxattr) 851 852 struct linux_sys_fsetxattr_args { 853 syscallarg(int) fd; 854 syscallarg(char *) name; 855 syscallarg(void *) value; 856 syscallarg(size_t) size; 857 syscallarg(int) flags; 858 }; 859 check_syscall_args(linux_sys_fsetxattr) 860 861 struct linux_sys_getxattr_args { 862 syscallarg(char *) path; 863 syscallarg(char *) name; 864 syscallarg(void *) value; 865 syscallarg(size_t) size; 866 }; 867 check_syscall_args(linux_sys_getxattr) 868 869 struct linux_sys_lgetxattr_args { 870 syscallarg(char *) path; 871 syscallarg(char *) name; 872 syscallarg(void *) value; 873 syscallarg(size_t) size; 874 }; 875 check_syscall_args(linux_sys_lgetxattr) 876 877 struct linux_sys_fgetxattr_args { 878 syscallarg(int) fd; 879 syscallarg(char *) name; 880 syscallarg(void *) value; 881 syscallarg(size_t) size; 882 }; 883 check_syscall_args(linux_sys_fgetxattr) 884 885 struct linux_sys_listxattr_args { 886 syscallarg(char *) path; 887 syscallarg(char *) list; 888 syscallarg(size_t) size; 889 }; 890 check_syscall_args(linux_sys_listxattr) 891 892 struct linux_sys_llistxattr_args { 893 syscallarg(char *) path; 894 syscallarg(char *) list; 895 syscallarg(size_t) size; 896 }; 897 check_syscall_args(linux_sys_llistxattr) 898 899 struct linux_sys_flistxattr_args { 900 syscallarg(int) fd; 901 syscallarg(char *) list; 902 syscallarg(size_t) size; 903 }; 904 check_syscall_args(linux_sys_flistxattr) 905 906 struct linux_sys_removexattr_args { 907 syscallarg(char *) path; 908 syscallarg(char *) name; 909 }; 910 check_syscall_args(linux_sys_removexattr) 911 912 struct linux_sys_lremovexattr_args { 913 syscallarg(char *) path; 914 syscallarg(char *) name; 915 }; 916 check_syscall_args(linux_sys_lremovexattr) 917 918 struct linux_sys_fremovexattr_args { 919 syscallarg(int) fd; 920 syscallarg(char *) name; 921 }; 922 check_syscall_args(linux_sys_fremovexattr) 923 924 struct linux_sys_futex_args { 925 syscallarg(int *) uaddr; 926 syscallarg(int) op; 927 syscallarg(int) val; 928 syscallarg(const struct linux_timespec *) timeout; 929 syscallarg(int *) uaddr2; 930 syscallarg(int) val3; 931 }; 932 check_syscall_args(linux_sys_futex) 933 934 struct linux_sys_sched_setaffinity_args { 935 syscallarg(pid_t) pid; 936 syscallarg(unsigned int) len; 937 syscallarg(unsigned long *) mask; 938 }; 939 check_syscall_args(linux_sys_sched_setaffinity) 940 941 struct linux_sys_sched_getaffinity_args { 942 syscallarg(pid_t) pid; 943 syscallarg(unsigned int) len; 944 syscallarg(unsigned long *) mask; 945 }; 946 check_syscall_args(linux_sys_sched_getaffinity) 947 948 struct linux_sys_exit_group_args { 949 syscallarg(int) error_code; 950 }; 951 check_syscall_args(linux_sys_exit_group) 952 953 struct linux_sys_epoll_create_args { 954 syscallarg(int) size; 955 }; 956 check_syscall_args(linux_sys_epoll_create) 957 958 struct linux_sys_epoll_ctl_args { 959 syscallarg(int) epfd; 960 syscallarg(int) op; 961 syscallarg(int) fd; 962 syscallarg(struct linux_epoll_event *) event; 963 }; 964 check_syscall_args(linux_sys_epoll_ctl) 965 966 struct linux_sys_epoll_wait_args { 967 syscallarg(int) epfd; 968 syscallarg(struct linux_epoll_event *) events; 969 syscallarg(int) maxevents; 970 syscallarg(int) timeout; 971 }; 972 check_syscall_args(linux_sys_epoll_wait) 973 974 struct linux_sys_set_tid_address_args { 975 syscallarg(int *) tid; 976 }; 977 check_syscall_args(linux_sys_set_tid_address) 978 979 struct linux_sys_fadvise64_args { 980 syscallarg(int) fd; 981 syscallarg(off_t) offset; 982 syscallarg(size_t) len; 983 syscallarg(int) advice; 984 }; 985 check_syscall_args(linux_sys_fadvise64) 986 987 struct linux_sys_timer_create_args { 988 syscallarg(clockid_t) clockid; 989 syscallarg(struct linux_sigevent *) evp; 990 syscallarg(timer_t *) timerid; 991 }; 992 check_syscall_args(linux_sys_timer_create) 993 994 struct linux_sys_timer_settime_args { 995 syscallarg(timer_t) timerid; 996 syscallarg(int) flags; 997 syscallarg(const struct linux_itimerspec *) tim; 998 syscallarg(struct linux_itimerspec *) otim; 999 }; 1000 check_syscall_args(linux_sys_timer_settime) 1001 1002 struct linux_sys_timer_gettime_args { 1003 syscallarg(timer_t) timerid; 1004 syscallarg(struct linux_itimerspec *) tim; 1005 }; 1006 check_syscall_args(linux_sys_timer_gettime) 1007 1008 struct sys_timer_getoverrun_args; 1009 1010 struct sys_timer_delete_args; 1011 1012 struct linux_sys_clock_settime_args { 1013 syscallarg(clockid_t) which; 1014 syscallarg(struct linux_timespec *) tp; 1015 }; 1016 check_syscall_args(linux_sys_clock_settime) 1017 1018 struct linux_sys_clock_gettime_args { 1019 syscallarg(clockid_t) which; 1020 syscallarg(struct linux_timespec *) tp; 1021 }; 1022 check_syscall_args(linux_sys_clock_gettime) 1023 1024 struct linux_sys_clock_getres_args { 1025 syscallarg(clockid_t) which; 1026 syscallarg(struct linux_timespec *) tp; 1027 }; 1028 check_syscall_args(linux_sys_clock_getres) 1029 1030 struct linux_sys_clock_nanosleep_args { 1031 syscallarg(clockid_t) which; 1032 syscallarg(int) flags; 1033 syscallarg(struct linux_timespec *) rqtp; 1034 syscallarg(struct linux_timespec *) rmtp; 1035 }; 1036 check_syscall_args(linux_sys_clock_nanosleep) 1037 1038 struct linux_sys_tgkill_args { 1039 syscallarg(int) tgid; 1040 syscallarg(int) tid; 1041 syscallarg(int) sig; 1042 }; 1043 check_syscall_args(linux_sys_tgkill) 1044 1045 struct linux_sys_stat64_args { 1046 syscallarg(const char *) path; 1047 syscallarg(struct linux_stat64 *) sp; 1048 }; 1049 check_syscall_args(linux_sys_stat64) 1050 1051 struct linux_sys_lstat64_args { 1052 syscallarg(const char *) path; 1053 syscallarg(struct linux_stat64 *) sp; 1054 }; 1055 check_syscall_args(linux_sys_lstat64) 1056 1057 struct linux_sys_fstat64_args { 1058 syscallarg(int) fd; 1059 syscallarg(struct linux_stat64 *) sp; 1060 }; 1061 check_syscall_args(linux_sys_fstat64) 1062 1063 struct linux_sys_mq_open_args { 1064 syscallarg(const char *) name; 1065 syscallarg(int) oflag; 1066 syscallarg(linux_umode_t) mode; 1067 syscallarg(struct linux_mq_attr *) attr; 1068 }; 1069 check_syscall_args(linux_sys_mq_open) 1070 1071 struct linux_sys_mq_unlink_args { 1072 syscallarg(const char *) name; 1073 }; 1074 check_syscall_args(linux_sys_mq_unlink) 1075 1076 struct linux_sys_mq_timedsend_args { 1077 syscallarg(linux_mqd_t) mqdes; 1078 syscallarg(const char *) msg_ptr; 1079 syscallarg(size_t) msg_len; 1080 syscallarg(unsigned int) msg_prio; 1081 syscallarg(const struct linux_timespec *) abs_timeout; 1082 }; 1083 check_syscall_args(linux_sys_mq_timedsend) 1084 1085 struct linux_sys_mq_timedreceive_args { 1086 syscallarg(linux_mqd_t) mqdes; 1087 syscallarg(char *) msg_ptr; 1088 syscallarg(size_t) msg_len; 1089 syscallarg(unsigned int *) msg_prio; 1090 syscallarg(const struct linux_timespec *) abs_timeout; 1091 }; 1092 check_syscall_args(linux_sys_mq_timedreceive) 1093 1094 struct linux_sys_mq_notify_args { 1095 syscallarg(linux_mqd_t) mqdes; 1096 syscallarg(const struct linux_sigevent *) sevp; 1097 }; 1098 check_syscall_args(linux_sys_mq_notify) 1099 1100 struct linux_sys_mq_getsetattr_args { 1101 syscallarg(linux_mqd_t) mqdes; 1102 syscallarg(const struct linux_mq_attr *) newattr; 1103 syscallarg(struct linux_mq_attr *) oldattr; 1104 }; 1105 check_syscall_args(linux_sys_mq_getsetattr) 1106 1107 struct linux_sys_waitid_args { 1108 syscallarg(int) idtype; 1109 syscallarg(id_t) id; 1110 syscallarg(linux_siginfo_t *) infop; 1111 syscallarg(int) options; 1112 syscallarg(struct rusage50 *) rusage; 1113 }; 1114 check_syscall_args(linux_sys_waitid) 1115 1116 struct linux_sys_inotify_add_watch_args { 1117 syscallarg(int) fd; 1118 syscallarg(const char *) pathname; 1119 syscallarg(uint32_t) mask; 1120 }; 1121 check_syscall_args(linux_sys_inotify_add_watch) 1122 1123 struct linux_sys_inotify_rm_watch_args { 1124 syscallarg(int) fd; 1125 syscallarg(int) wd; 1126 }; 1127 check_syscall_args(linux_sys_inotify_rm_watch) 1128 1129 struct linux_sys_openat_args { 1130 syscallarg(int) fd; 1131 syscallarg(const char *) path; 1132 syscallarg(int) flags; 1133 syscallarg(linux_umode_t) mode; 1134 }; 1135 check_syscall_args(linux_sys_openat) 1136 1137 struct sys_mkdirat_args; 1138 1139 struct linux_sys_mknodat_args { 1140 syscallarg(int) fd; 1141 syscallarg(const char *) path; 1142 syscallarg(linux_umode_t) mode; 1143 syscallarg(unsigned) dev; 1144 }; 1145 check_syscall_args(linux_sys_mknodat) 1146 1147 struct linux_sys_fchownat_args { 1148 syscallarg(int) fd; 1149 syscallarg(const char *) path; 1150 syscallarg(uid_t) owner; 1151 syscallarg(gid_t) group; 1152 syscallarg(int) flag; 1153 }; 1154 check_syscall_args(linux_sys_fchownat) 1155 1156 struct linux_sys_fstatat64_args { 1157 syscallarg(int) fd; 1158 syscallarg(const char *) path; 1159 syscallarg(struct linux_stat64 *) sp; 1160 syscallarg(int) flag; 1161 }; 1162 check_syscall_args(linux_sys_fstatat64) 1163 1164 struct linux_sys_unlinkat_args { 1165 syscallarg(int) fd; 1166 syscallarg(const char *) path; 1167 syscallarg(int) flag; 1168 }; 1169 check_syscall_args(linux_sys_unlinkat) 1170 1171 struct sys_renameat_args; 1172 1173 struct linux_sys_linkat_args { 1174 syscallarg(int) fd1; 1175 syscallarg(const char *) name1; 1176 syscallarg(int) fd2; 1177 syscallarg(const char *) name2; 1178 syscallarg(int) flags; 1179 }; 1180 check_syscall_args(linux_sys_linkat) 1181 1182 struct sys_symlinkat_args; 1183 1184 struct sys_readlinkat_args; 1185 1186 struct linux_sys_fchmodat_args { 1187 syscallarg(int) fd; 1188 syscallarg(const char *) path; 1189 syscallarg(linux_umode_t) mode; 1190 }; 1191 check_syscall_args(linux_sys_fchmodat) 1192 1193 struct linux_sys_faccessat_args { 1194 syscallarg(int) fd; 1195 syscallarg(const char *) path; 1196 syscallarg(int) amode; 1197 }; 1198 check_syscall_args(linux_sys_faccessat) 1199 1200 struct linux_sys_pselect6_args { 1201 syscallarg(int) nfds; 1202 syscallarg(fd_set *) readfds; 1203 syscallarg(fd_set *) writefds; 1204 syscallarg(fd_set *) exceptfds; 1205 syscallarg(struct linux_timespec *) timeout; 1206 syscallarg(linux_sized_sigset_t *) ss; 1207 }; 1208 check_syscall_args(linux_sys_pselect6) 1209 1210 struct linux_sys_ppoll_args { 1211 syscallarg(struct pollfd *) fds; 1212 syscallarg(u_int) nfds; 1213 syscallarg(struct linux_timespec *) timeout; 1214 syscallarg(linux_sigset_t *) sigset; 1215 }; 1216 check_syscall_args(linux_sys_ppoll) 1217 1218 struct sys___futex_set_robust_list_args; 1219 1220 struct sys___futex_get_robust_list_args; 1221 1222 struct linux_sys_sync_file_range_args { 1223 syscallarg(int) fd; 1224 syscallarg(off_t) offset; 1225 syscallarg(off_t) nbytes; 1226 syscallarg(unsigned int) flags; 1227 }; 1228 check_syscall_args(linux_sys_sync_file_range) 1229 1230 struct linux_sys_getcpu_args { 1231 syscallarg(unsigned int *) cpu; 1232 syscallarg(unsigned int *) node; 1233 syscallarg(struct linux_getcpu_cache *) tcache; 1234 }; 1235 check_syscall_args(linux_sys_getcpu) 1236 1237 struct linux_sys_epoll_pwait_args { 1238 syscallarg(int) epfd; 1239 syscallarg(struct linux_epoll_event *) events; 1240 syscallarg(int) maxevents; 1241 syscallarg(int) timeout; 1242 syscallarg(const linux_sigset_t *) sigmask; 1243 }; 1244 check_syscall_args(linux_sys_epoll_pwait) 1245 1246 struct linux_sys_utimensat_args { 1247 syscallarg(int) fd; 1248 syscallarg(const char *) path; 1249 syscallarg(struct linux_timespec *) times; 1250 syscallarg(int) flag; 1251 }; 1252 check_syscall_args(linux_sys_utimensat) 1253 1254 struct linux_sys_eventfd_args { 1255 syscallarg(unsigned int) initval; 1256 }; 1257 check_syscall_args(linux_sys_eventfd) 1258 1259 struct linux_sys_recvmmsg_args { 1260 syscallarg(int) s; 1261 syscallarg(struct linux_mmsghdr *) msgvec; 1262 syscallarg(unsigned int) vlen; 1263 syscallarg(unsigned int) flags; 1264 syscallarg(struct timespec *) timeout; 1265 }; 1266 check_syscall_args(linux_sys_recvmmsg) 1267 1268 struct linux_sys_fallocate_args { 1269 syscallarg(int) fd; 1270 syscallarg(int) mode; 1271 syscallarg(off_t) offset; 1272 syscallarg(off_t) len; 1273 }; 1274 check_syscall_args(linux_sys_fallocate) 1275 1276 struct linux_sys_timerfd_create_args { 1277 syscallarg(clockid_t) clock_id; 1278 syscallarg(int) flags; 1279 }; 1280 check_syscall_args(linux_sys_timerfd_create) 1281 1282 struct linux_sys_timerfd_settime_args { 1283 syscallarg(int) fd; 1284 syscallarg(int) flags; 1285 syscallarg(const struct linux_itimerspec *) tim; 1286 syscallarg(struct linux_itimerspec *) otim; 1287 }; 1288 check_syscall_args(linux_sys_timerfd_settime) 1289 1290 struct linux_sys_timerfd_gettime_args { 1291 syscallarg(int) fd; 1292 syscallarg(struct linux_itimerspec *) tim; 1293 }; 1294 check_syscall_args(linux_sys_timerfd_gettime) 1295 1296 struct linux_sys_eventfd2_args { 1297 syscallarg(unsigned int) initval; 1298 syscallarg(int) flags; 1299 }; 1300 check_syscall_args(linux_sys_eventfd2) 1301 1302 struct linux_sys_epoll_create1_args { 1303 syscallarg(int) flags; 1304 }; 1305 check_syscall_args(linux_sys_epoll_create1) 1306 1307 struct linux_sys_dup3_args { 1308 syscallarg(int) from; 1309 syscallarg(int) to; 1310 syscallarg(int) flags; 1311 }; 1312 check_syscall_args(linux_sys_dup3) 1313 1314 struct linux_sys_pipe2_args { 1315 syscallarg(int *) pfds; 1316 syscallarg(int) flags; 1317 }; 1318 check_syscall_args(linux_sys_pipe2) 1319 1320 struct linux_sys_inotify_init1_args { 1321 syscallarg(int) flags; 1322 }; 1323 check_syscall_args(linux_sys_inotify_init1) 1324 1325 struct linux_sys_preadv_args { 1326 syscallarg(int) fd; 1327 syscallarg(const struct iovec *) iovp; 1328 syscallarg(int) iovcnt; 1329 syscallarg(unsigned long) off_lo; 1330 syscallarg(unsigned long) off_hi; 1331 }; 1332 check_syscall_args(linux_sys_preadv) 1333 1334 struct linux_sys_pwritev_args { 1335 syscallarg(int) fd; 1336 syscallarg(const struct iovcnt *) iovp; 1337 syscallarg(int) iovcnt; 1338 syscallarg(unsigned long) off_lo; 1339 syscallarg(unsigned long) off_hi; 1340 }; 1341 check_syscall_args(linux_sys_pwritev) 1342 1343 struct linux_sys_prlimit64_args { 1344 syscallarg(pid_t) pid; 1345 syscallarg(int) which; 1346 syscallarg(struct rlimit *) new_rlp; 1347 syscallarg(struct rlimit *) old_rlp; 1348 }; 1349 check_syscall_args(linux_sys_prlimit64) 1350 1351 struct linux_sys_syncfs_args { 1352 syscallarg(int) fd; 1353 }; 1354 check_syscall_args(linux_sys_syncfs) 1355 1356 struct linux_sys_accept4_args { 1357 syscallarg(int) s; 1358 syscallarg(struct osockaddr *) name; 1359 syscallarg(int *) anamelen; 1360 syscallarg(int) flags; 1361 }; 1362 check_syscall_args(linux_sys_accept4) 1363 1364 struct linux_sys_sendmmsg_args { 1365 syscallarg(int) s; 1366 syscallarg(struct linux_mmsghdr *) msgvec; 1367 syscallarg(unsigned int) vlen; 1368 syscallarg(unsigned int) flags; 1369 }; 1370 check_syscall_args(linux_sys_sendmmsg) 1371 1372 struct linux_sys_renameat2_args { 1373 syscallarg(int) fromfd; 1374 syscallarg(const char *) from; 1375 syscallarg(int) tofd; 1376 syscallarg(const char *) to; 1377 syscallarg(unsigned int) flags; 1378 }; 1379 check_syscall_args(linux_sys_renameat2) 1380 1381 struct linux_sys_copy_file_range_args { 1382 syscallarg(int) fd_in; 1383 syscallarg(off_t *) off_in; 1384 syscallarg(int) fd_out; 1385 syscallarg(off_t *) off_out; 1386 syscallarg(size_t) len; 1387 syscallarg(unsigned int) flags; 1388 }; 1389 check_syscall_args(linux_sys_copy_file_range) 1390 1391 struct linux_sys_statx_args { 1392 syscallarg(int) fd; 1393 syscallarg(const char *) path; 1394 syscallarg(int) flag; 1395 syscallarg(unsigned int) mask; 1396 syscallarg(struct linux_statx *) sp; 1397 }; 1398 check_syscall_args(linux_sys_statx) 1399 1400 struct linux_sys_clone3_args { 1401 syscallarg(struct linux_user_clone3_args *) cl_args; 1402 syscallarg(size_t) size; 1403 }; 1404 check_syscall_args(linux_sys_clone3) 1405 1406 struct linux_sys_close_range_args { 1407 syscallarg(unsigned int) first; 1408 syscallarg(unsigned int) last; 1409 syscallarg(unsigned int) flags; 1410 }; 1411 check_syscall_args(linux_sys_close_range) 1412 1413 struct linux_sys_faccessat2_args { 1414 syscallarg(int) fd; 1415 syscallarg(const char *) path; 1416 syscallarg(int) amode; 1417 syscallarg(int) flags; 1418 }; 1419 check_syscall_args(linux_sys_faccessat2) 1420 1421 struct linux_sys_epoll_pwait2_args { 1422 syscallarg(int) epfd; 1423 syscallarg(struct linux_epoll_event *) events; 1424 syscallarg(int) maxevents; 1425 syscallarg(const struct linux_timespec *) timeout; 1426 syscallarg(const linux_sigset_t *) sigmask; 1427 }; 1428 check_syscall_args(linux_sys_epoll_pwait2) 1429 1430 /* 1431 * System call prototypes. 1432 */ 1433 1434 int linux_sys_nosys(struct lwp *, const void *, register_t *); 1435 1436 int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1437 1438 int sys_fork(struct lwp *, const void *, register_t *); 1439 1440 int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1441 1442 int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1443 1444 int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1445 1446 int linux_sys_osf1_wait4(struct lwp *, const struct linux_sys_osf1_wait4_args *, register_t *); 1447 1448 int linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *); 1449 1450 int sys_link(struct lwp *, const struct sys_link_args *, register_t *); 1451 1452 int linux_sys_unlink(struct lwp *, const struct linux_sys_unlink_args *, register_t *); 1453 1454 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *); 1455 1456 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); 1457 1458 int linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *); 1459 1460 int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *); 1461 1462 int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *); 1463 1464 int linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *); 1465 1466 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *); 1467 1468 int sys_getpid_with_ppid(struct lwp *, const void *, register_t *); 1469 1470 int linux_sys_osf1_mount(struct lwp *, const struct linux_sys_osf1_mount_args *, register_t *); 1471 1472 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *); 1473 1474 int sys_getuid_with_euid(struct lwp *, const void *, register_t *); 1475 1476 int linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *); 1477 1478 int sys_access(struct lwp *, const struct sys_access_args *, register_t *); 1479 1480 int sys_sync(struct lwp *, const void *, register_t *); 1481 1482 int linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *); 1483 1484 int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *); 1485 1486 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *); 1487 1488 int linux_sys_pipe(struct lwp *, const void *, register_t *); 1489 1490 int linux_sys_osf1_set_program_attributes(struct lwp *, const struct linux_sys_osf1_set_program_attributes_args *, register_t *); 1491 1492 int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1493 1494 int sys_getgid_with_egid(struct lwp *, const void *, register_t *); 1495 1496 int compat_13_sys_sigprocmask(struct lwp *, const struct compat_13_sys_sigprocmask_args *, register_t *); 1497 1498 int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *); 1499 1500 int linux_sys_sigpending(struct lwp *, const struct linux_sys_sigpending_args *, register_t *); 1501 1502 int linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *); 1503 1504 int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *); 1505 1506 int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *); 1507 1508 int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *); 1509 1510 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *); 1511 1512 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *); 1513 1514 int sys_getpgrp(struct lwp *, const void *, register_t *); 1515 1516 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *); 1517 1518 int sys___vfork14(struct lwp *, const void *, register_t *); 1519 1520 int linux_sys_stat(struct lwp *, const struct linux_sys_stat_args *, register_t *); 1521 1522 int linux_sys_lstat(struct lwp *, const struct linux_sys_lstat_args *, register_t *); 1523 1524 int linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *); 1525 1526 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); 1527 1528 int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *); 1529 1530 int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); 1531 1532 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *); 1533 1534 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *); 1535 1536 int linux_sys_osf1_setitimer(struct lwp *, const struct linux_sys_osf1_setitimer_args *, register_t *); 1537 1538 int compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *); 1539 1540 int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *); 1541 1542 int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *); 1543 1544 int linux_sys_fstat(struct lwp *, const struct linux_sys_fstat_args *, register_t *); 1545 1546 int linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *); 1547 1548 int linux_sys_osf1_select(struct lwp *, const struct linux_sys_osf1_select_args *, register_t *); 1549 1550 int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *); 1551 1552 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *); 1553 1554 int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *); 1555 1556 int linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *); 1557 1558 int linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *); 1559 1560 int linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *); 1561 1562 int linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *); 1563 1564 int linux_sys_send(struct lwp *, const struct linux_sys_send_args *, register_t *); 1565 1566 int linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *); 1567 1568 int linux_sys_sigreturn(struct lwp *, const struct linux_sys_sigreturn_args *, register_t *); 1569 1570 int linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *); 1571 1572 int linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *); 1573 1574 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *); 1575 1576 int linux_sys_sigsuspend(struct lwp *, const struct linux_sys_sigsuspend_args *, register_t *); 1577 1578 int compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *); 1579 1580 int linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *); 1581 1582 int linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *); 1583 1584 int linux_sys_osf1_gettimeofday(struct lwp *, const struct linux_sys_osf1_gettimeofday_args *, register_t *); 1585 1586 int linux_sys_osf1_getrusage(struct lwp *, const struct linux_sys_osf1_getrusage_args *, register_t *); 1587 1588 int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *); 1589 1590 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *); 1591 1592 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *); 1593 1594 int linux_sys_osf1_settimeofday(struct lwp *, const struct linux_sys_osf1_settimeofday_args *, register_t *); 1595 1596 int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *); 1597 1598 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *); 1599 1600 int linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *); 1601 1602 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *); 1603 1604 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *); 1605 1606 int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *); 1607 1608 int compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *); 1609 1610 int compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *); 1611 1612 int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *); 1613 1614 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *); 1615 1616 int linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *); 1617 1618 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *); 1619 1620 int linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *); 1621 1622 int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *); 1623 1624 int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *); 1625 1626 int linux_sys_osf1_utimes(struct lwp *, const struct linux_sys_osf1_utimes_args *, register_t *); 1627 1628 int linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *); 1629 1630 int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *); 1631 1632 int linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *); 1633 1634 int sys_setsid(struct lwp *, const void *, register_t *); 1635 1636 int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *); 1637 1638 int linux_sys_sigaction(struct lwp *, const struct linux_sys_sigaction_args *, register_t *); 1639 1640 int compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *); 1641 1642 int linux_sys_osf1_statfs(struct lwp *, const struct linux_sys_osf1_statfs_args *, register_t *); 1643 1644 int linux_sys_osf1_fstatfs(struct lwp *, const struct linux_sys_osf1_fstatfs_args *, register_t *); 1645 1646 int compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *); 1647 1648 int linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *); 1649 1650 int linux_sys_ugetrlimit(struct lwp *, const struct linux_sys_ugetrlimit_args *, register_t *); 1651 1652 #ifdef SYSVMSG 1653 int linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *); 1654 1655 int sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *); 1656 1657 int sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *); 1658 1659 int sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *); 1660 1661 #else 1662 #endif 1663 #ifdef SYSVSEM 1664 int linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *); 1665 1666 int sys_semget(struct lwp *, const struct sys_semget_args *, register_t *); 1667 1668 int sys_semop(struct lwp *, const struct sys_semop_args *, register_t *); 1669 1670 #else 1671 #endif 1672 int linux_sys_olduname(struct lwp *, const struct linux_sys_olduname_args *, register_t *); 1673 1674 int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *); 1675 1676 #ifdef SYSVSHM 1677 int linux_sys_shmat(struct lwp *, const struct linux_sys_shmat_args *, register_t *); 1678 1679 int linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *); 1680 1681 int sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *); 1682 1683 int linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *); 1684 1685 #else 1686 #endif 1687 int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *); 1688 1689 int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); 1690 1691 int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *); 1692 1693 int linux_sys_osf1_sysinfo(struct lwp *, const struct linux_sys_osf1_sysinfo_args *, register_t *); 1694 1695 int linux_sys_osf1_usleep_thread(struct lwp *, const struct linux_sys_osf1_usleep_thread_args *, register_t *); 1696 1697 int linux_sys_osf1_getsysinfo(struct lwp *, const struct linux_sys_osf1_getsysinfo_args *, register_t *); 1698 1699 int linux_sys_osf1_setsysinfo(struct lwp *, const struct linux_sys_osf1_setsysinfo_args *, register_t *); 1700 1701 int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *); 1702 1703 int linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *); 1704 1705 int linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *); 1706 1707 int linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *); 1708 1709 int linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *); 1710 1711 #ifdef EXEC_AOUT 1712 int linux_sys_uselib(struct lwp *, const struct linux_sys_uselib_args *, register_t *); 1713 1714 #else 1715 #endif 1716 int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *); 1717 1718 int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *); 1719 1720 int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *); 1721 1722 int sys_munlockall(struct lwp *, const void *, register_t *); 1723 1724 int linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *); 1725 1726 int linux_sys___sysctl(struct lwp *, const struct linux_sys___sysctl_args *, register_t *); 1727 1728 int linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *); 1729 1730 int linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *); 1731 1732 int linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *); 1733 1734 int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *); 1735 1736 int linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *); 1737 1738 int linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *); 1739 1740 int linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *); 1741 1742 int linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *); 1743 1744 int linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *); 1745 1746 int linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *); 1747 1748 int linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *); 1749 1750 int linux_sys_sched_yield(struct lwp *, const void *, register_t *); 1751 1752 int linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *); 1753 1754 int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *); 1755 1756 int linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *); 1757 1758 int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *); 1759 1760 int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *); 1761 1762 int linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *); 1763 1764 int linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *); 1765 1766 int linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *); 1767 1768 int linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *); 1769 1770 int linux_sys_rt_sigreturn(struct lwp *, const struct linux_sys_rt_sigreturn_args *, register_t *); 1771 1772 int linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *); 1773 1774 int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *); 1775 1776 int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *); 1777 1778 int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *); 1779 1780 int linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *); 1781 1782 int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *); 1783 1784 int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *); 1785 1786 int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *); 1787 1788 int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *); 1789 1790 int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *); 1791 1792 int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *); 1793 1794 int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *); 1795 1796 int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *); 1797 1798 int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *); 1799 1800 int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *); 1801 1802 int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *); 1803 1804 int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *); 1805 1806 int linux_sys_gettid(struct lwp *, const void *, register_t *); 1807 1808 int linux_sys_readahead(struct lwp *, const struct linux_sys_readahead_args *, register_t *); 1809 1810 int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *); 1811 1812 int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); 1813 1814 int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); 1815 1816 int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *); 1817 1818 int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *); 1819 1820 int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *); 1821 1822 int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *); 1823 1824 int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *); 1825 1826 int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *); 1827 1828 int linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *); 1829 1830 int linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *); 1831 1832 int linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *); 1833 1834 int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *); 1835 1836 int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *); 1837 1838 int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *); 1839 1840 int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *); 1841 1842 int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *); 1843 1844 int linux_sys_epoll_create(struct lwp *, const struct linux_sys_epoll_create_args *, register_t *); 1845 1846 int linux_sys_epoll_ctl(struct lwp *, const struct linux_sys_epoll_ctl_args *, register_t *); 1847 1848 int linux_sys_epoll_wait(struct lwp *, const struct linux_sys_epoll_wait_args *, register_t *); 1849 1850 int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *); 1851 1852 int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *); 1853 1854 int linux_sys_timer_create(struct lwp *, const struct linux_sys_timer_create_args *, register_t *); 1855 1856 int linux_sys_timer_settime(struct lwp *, const struct linux_sys_timer_settime_args *, register_t *); 1857 1858 int linux_sys_timer_gettime(struct lwp *, const struct linux_sys_timer_gettime_args *, register_t *); 1859 1860 int sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *); 1861 1862 int sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *); 1863 1864 int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); 1865 1866 int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); 1867 1868 int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *); 1869 1870 int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *); 1871 1872 int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *); 1873 1874 int linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *); 1875 1876 int linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *); 1877 1878 int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *); 1879 1880 int linux_sys_mq_open(struct lwp *, const struct linux_sys_mq_open_args *, register_t *); 1881 1882 int linux_sys_mq_unlink(struct lwp *, const struct linux_sys_mq_unlink_args *, register_t *); 1883 1884 int linux_sys_mq_timedsend(struct lwp *, const struct linux_sys_mq_timedsend_args *, register_t *); 1885 1886 int linux_sys_mq_timedreceive(struct lwp *, const struct linux_sys_mq_timedreceive_args *, register_t *); 1887 1888 int linux_sys_mq_notify(struct lwp *, const struct linux_sys_mq_notify_args *, register_t *); 1889 1890 int linux_sys_mq_getsetattr(struct lwp *, const struct linux_sys_mq_getsetattr_args *, register_t *); 1891 1892 int linux_sys_waitid(struct lwp *, const struct linux_sys_waitid_args *, register_t *); 1893 1894 int linux_sys_inotify_init(struct lwp *, const void *, register_t *); 1895 1896 int linux_sys_inotify_add_watch(struct lwp *, const struct linux_sys_inotify_add_watch_args *, register_t *); 1897 1898 int linux_sys_inotify_rm_watch(struct lwp *, const struct linux_sys_inotify_rm_watch_args *, register_t *); 1899 1900 int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *); 1901 1902 int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *); 1903 1904 int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *); 1905 1906 int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *); 1907 1908 int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *); 1909 1910 int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *); 1911 1912 int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *); 1913 1914 int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *); 1915 1916 int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *); 1917 1918 int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *); 1919 1920 int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *); 1921 1922 int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *); 1923 1924 int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *); 1925 1926 int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *); 1927 1928 int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *); 1929 1930 int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *); 1931 1932 int linux_sys_sync_file_range(struct lwp *, const struct linux_sys_sync_file_range_args *, register_t *); 1933 1934 int linux_sys_getcpu(struct lwp *, const struct linux_sys_getcpu_args *, register_t *); 1935 1936 int linux_sys_epoll_pwait(struct lwp *, const struct linux_sys_epoll_pwait_args *, register_t *); 1937 1938 int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *); 1939 1940 int linux_sys_eventfd(struct lwp *, const struct linux_sys_eventfd_args *, register_t *); 1941 1942 int linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *); 1943 1944 int linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *); 1945 1946 int linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *); 1947 1948 int linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *); 1949 1950 int linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *); 1951 1952 int linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *); 1953 1954 int linux_sys_epoll_create1(struct lwp *, const struct linux_sys_epoll_create1_args *, register_t *); 1955 1956 int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *); 1957 1958 int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *); 1959 1960 int linux_sys_inotify_init1(struct lwp *, const struct linux_sys_inotify_init1_args *, register_t *); 1961 1962 int linux_sys_preadv(struct lwp *, const struct linux_sys_preadv_args *, register_t *); 1963 1964 int linux_sys_pwritev(struct lwp *, const struct linux_sys_pwritev_args *, register_t *); 1965 1966 int linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *); 1967 1968 int linux_sys_syncfs(struct lwp *, const struct linux_sys_syncfs_args *, register_t *); 1969 1970 int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *); 1971 1972 int linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *); 1973 1974 int linux_sys_renameat2(struct lwp *, const struct linux_sys_renameat2_args *, register_t *); 1975 1976 int linux_sys_copy_file_range(struct lwp *, const struct linux_sys_copy_file_range_args *, register_t *); 1977 1978 int linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *); 1979 1980 int linux_sys_clone3(struct lwp *, const struct linux_sys_clone3_args *, register_t *); 1981 1982 int linux_sys_close_range(struct lwp *, const struct linux_sys_close_range_args *, register_t *); 1983 1984 int linux_sys_faccessat2(struct lwp *, const struct linux_sys_faccessat2_args *, register_t *); 1985 1986 int linux_sys_epoll_pwait2(struct lwp *, const struct linux_sys_epoll_pwait2_args *, register_t *); 1987 1988 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */ 1989