/* $NetBSD: linux_syscallargs.h,v 1.13 2024/09/28 19:36:19 christos Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. * created from NetBSD: syscalls.master,v 1.14 2024/09/28 19:35:55 christos Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ #define _LINUX_SYS_SYSCALLARGS_H_ /* Forward declaration */ struct lwp; #define LINUX_SYS_MAXSYSARGS 8 #undef syscallarg #define syscallarg(x) \ union { \ register_t pad; \ struct { x datum; } le; \ struct { /* LINTED zero array dimension */ \ int8_t pad[ /* CONSTCOND */ \ (sizeof (register_t) < sizeof (x)) \ ? 0 \ : sizeof (register_t) - sizeof (x)]; \ x datum; \ } be; \ } #undef check_syscall_args #define check_syscall_args(call) /*LINTED*/ \ typedef char call##_check_args[sizeof (struct call##_args) \ <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; struct linux_sys_setxattr_args { syscallarg(char *) path; syscallarg(char *) name; syscallarg(void *) value; syscallarg(size_t) size; syscallarg(int) flags; }; check_syscall_args(linux_sys_setxattr) struct linux_sys_lsetxattr_args { syscallarg(char *) path; syscallarg(char *) name; syscallarg(void *) value; syscallarg(size_t) size; syscallarg(int) flags; }; check_syscall_args(linux_sys_lsetxattr) struct linux_sys_fsetxattr_args { syscallarg(int) fd; syscallarg(char *) name; syscallarg(void *) value; syscallarg(size_t) size; syscallarg(int) flags; }; check_syscall_args(linux_sys_fsetxattr) struct linux_sys_getxattr_args { syscallarg(char *) path; syscallarg(char *) name; syscallarg(void *) value; syscallarg(size_t) size; }; check_syscall_args(linux_sys_getxattr) struct linux_sys_lgetxattr_args { syscallarg(char *) path; syscallarg(char *) name; syscallarg(void *) value; syscallarg(size_t) size; }; check_syscall_args(linux_sys_lgetxattr) struct linux_sys_fgetxattr_args { syscallarg(int) fd; syscallarg(char *) name; syscallarg(void *) value; syscallarg(size_t) size; }; check_syscall_args(linux_sys_fgetxattr) struct linux_sys_listxattr_args { syscallarg(char *) path; syscallarg(char *) list; syscallarg(size_t) size; }; check_syscall_args(linux_sys_listxattr) struct linux_sys_llistxattr_args { syscallarg(char *) path; syscallarg(char *) list; syscallarg(size_t) size; }; check_syscall_args(linux_sys_llistxattr) struct linux_sys_flistxattr_args { syscallarg(int) fd; syscallarg(char *) list; syscallarg(size_t) size; }; check_syscall_args(linux_sys_flistxattr) struct linux_sys_removexattr_args { syscallarg(char *) path; syscallarg(char *) name; }; check_syscall_args(linux_sys_removexattr) struct linux_sys_lremovexattr_args { syscallarg(char *) path; syscallarg(char *) name; }; check_syscall_args(linux_sys_lremovexattr) struct linux_sys_fremovexattr_args { syscallarg(int) fd; syscallarg(char *) name; }; check_syscall_args(linux_sys_fremovexattr) struct sys___getcwd_args; struct linux_sys_eventfd2_args { syscallarg(unsigned int) initval; syscallarg(int) flags; }; check_syscall_args(linux_sys_eventfd2) struct linux_sys_epoll_create1_args { syscallarg(int) flags; }; check_syscall_args(linux_sys_epoll_create1) struct linux_sys_epoll_ctl_args { syscallarg(int) epfd; syscallarg(int) op; syscallarg(int) fd; syscallarg(struct linux_epoll_event *) event; }; check_syscall_args(linux_sys_epoll_ctl) struct linux_sys_epoll_pwait_args { syscallarg(int) epfd; syscallarg(struct linux_epoll_event *) events; syscallarg(int) maxevents; syscallarg(int) timeout; syscallarg(const linux_sigset_t *) sigmask; }; check_syscall_args(linux_sys_epoll_pwait) struct sys_dup_args; struct linux_sys_dup3_args { syscallarg(int) from; syscallarg(int) to; syscallarg(int) flags; }; check_syscall_args(linux_sys_dup3) struct linux_sys_fcntl_args { syscallarg(int) fd; syscallarg(int) cmd; syscallarg(void *) arg; }; check_syscall_args(linux_sys_fcntl) struct linux_sys_inotify_init1_args { syscallarg(int) flags; }; check_syscall_args(linux_sys_inotify_init1) struct linux_sys_inotify_add_watch_args { syscallarg(int) fd; syscallarg(const char *) pathname; syscallarg(uint32_t) mask; }; check_syscall_args(linux_sys_inotify_add_watch) struct linux_sys_inotify_rm_watch_args { syscallarg(int) fd; syscallarg(int) wd; }; check_syscall_args(linux_sys_inotify_rm_watch) struct linux_sys_ioctl_args { syscallarg(int) fd; syscallarg(u_long) com; syscallarg(void *) data; }; check_syscall_args(linux_sys_ioctl) struct sys_flock_args; struct linux_sys_mknodat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(linux_umode_t) mode; syscallarg(unsigned) dev; }; check_syscall_args(linux_sys_mknodat) struct sys_mkdirat_args; struct linux_sys_unlinkat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(int) flag; }; check_syscall_args(linux_sys_unlinkat) struct sys_symlinkat_args; struct linux_sys_linkat_args { syscallarg(int) fd1; syscallarg(const char *) name1; syscallarg(int) fd2; syscallarg(const char *) name2; syscallarg(int) flags; }; check_syscall_args(linux_sys_linkat) struct sys_renameat_args; struct linux_sys_statfs_args { syscallarg(const char *) path; syscallarg(struct linux_statfs *) sp; }; check_syscall_args(linux_sys_statfs) struct linux_sys_fstatfs_args { syscallarg(int) fd; syscallarg(struct linux_statfs *) sp; }; check_syscall_args(linux_sys_fstatfs) struct linux_sys_truncate64_args { syscallarg(const char *) path; syscallarg(off_t) length; }; check_syscall_args(linux_sys_truncate64) struct linux_sys_ftruncate64_args { syscallarg(unsigned int) fd; syscallarg(off_t) length; }; check_syscall_args(linux_sys_ftruncate64) struct linux_sys_fallocate_args { syscallarg(int) fd; syscallarg(int) mode; syscallarg(off_t) offset; syscallarg(off_t) len; }; check_syscall_args(linux_sys_fallocate) struct linux_sys_faccessat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(int) amode; }; check_syscall_args(linux_sys_faccessat) struct sys_chdir_args; struct sys_fchdir_args; struct sys_chroot_args; struct sys_fchmod_args; struct linux_sys_fchmodat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(linux_umode_t) mode; }; check_syscall_args(linux_sys_fchmodat) struct linux_sys_fchownat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(uid_t) owner; syscallarg(gid_t) group; syscallarg(int) flag; }; check_syscall_args(linux_sys_fchownat) struct sys___posix_fchown_args; struct linux_sys_openat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(int) flags; syscallarg(linux_umode_t) mode; }; check_syscall_args(linux_sys_openat) struct sys_close_args; struct linux_sys_pipe2_args { syscallarg(int *) pfds; syscallarg(int) flags; }; check_syscall_args(linux_sys_pipe2) struct linux_sys_getdents64_args { syscallarg(int) fd; syscallarg(struct linux_dirent64 *) dent; syscallarg(unsigned int) count; }; check_syscall_args(linux_sys_getdents64) struct compat_43_sys_lseek_args; struct sys_read_args; struct sys_write_args; struct sys_readv_args; struct sys_writev_args; struct linux_sys_pread_args { syscallarg(int) fd; syscallarg(char *) buf; syscallarg(size_t) nbyte; syscallarg(off_t) offset; }; check_syscall_args(linux_sys_pread) struct linux_sys_pwrite_args { syscallarg(int) fd; syscallarg(char *) buf; syscallarg(size_t) nbyte; syscallarg(off_t) offset; }; check_syscall_args(linux_sys_pwrite) struct linux_sys_preadv_args { syscallarg(int) fd; syscallarg(const struct iovec *) iovp; syscallarg(int) iovcnt; syscallarg(unsigned long) off_lo; syscallarg(unsigned long) off_hi; }; check_syscall_args(linux_sys_preadv) struct linux_sys_pwritev_args { syscallarg(int) fd; syscallarg(const struct iovcnt *) iovp; syscallarg(int) iovcnt; syscallarg(unsigned long) off_lo; syscallarg(unsigned long) off_hi; }; check_syscall_args(linux_sys_pwritev) struct linux_sys_pselect6_args { syscallarg(int) nfds; syscallarg(fd_set *) readfds; syscallarg(fd_set *) writefds; syscallarg(fd_set *) exceptfds; syscallarg(struct linux_timespec *) timeout; syscallarg(linux_sized_sigset_t *) ss; }; check_syscall_args(linux_sys_pselect6) struct linux_sys_ppoll_args { syscallarg(struct pollfd *) fds; syscallarg(u_int) nfds; syscallarg(struct linux_timespec *) timeout; syscallarg(linux_sigset_t *) sigset; }; check_syscall_args(linux_sys_ppoll) struct sys_readlinkat_args; struct linux_sys_fstatat64_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(struct linux_stat *) sp; syscallarg(int) flag; }; check_syscall_args(linux_sys_fstatat64) struct linux_sys_fstat64_args { syscallarg(int) fd; syscallarg(struct linux_stat *) sp; }; check_syscall_args(linux_sys_fstat64) struct sys_fsync_args; struct linux_sys_fdatasync_args { syscallarg(int) fd; }; check_syscall_args(linux_sys_fdatasync) struct linux_sys_sync_file_range_args { syscallarg(int) fd; syscallarg(off_t) offset; syscallarg(off_t) nbytes; syscallarg(unsigned int) flags; }; check_syscall_args(linux_sys_sync_file_range) struct linux_sys_timerfd_create_args { syscallarg(clockid_t) clock_id; syscallarg(int) flags; }; check_syscall_args(linux_sys_timerfd_create) struct linux_sys_timerfd_settime_args { syscallarg(int) fd; syscallarg(int) flags; syscallarg(const struct linux_itimerspec *) tim; syscallarg(struct linux_itimerspec *) otim; }; check_syscall_args(linux_sys_timerfd_settime) struct linux_sys_timerfd_gettime_args { syscallarg(int) fd; syscallarg(struct linux_itimerspec *) tim; }; check_syscall_args(linux_sys_timerfd_gettime) struct linux_sys_utimensat_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(struct linux_timespec *) times; syscallarg(int) flag; }; check_syscall_args(linux_sys_utimensat) struct sys_acct_args; struct linux_sys_personality_args { syscallarg(unsigned long) per; }; check_syscall_args(linux_sys_personality) struct linux_sys_exit_args { syscallarg(int) rval; }; check_syscall_args(linux_sys_exit) struct linux_sys_exit_group_args { syscallarg(int) error_code; }; check_syscall_args(linux_sys_exit_group) struct linux_sys_waitid_args { syscallarg(int) idtype; syscallarg(id_t) id; syscallarg(linux_siginfo_t *) infop; syscallarg(int) options; syscallarg(struct rusage50 *) rusage; }; check_syscall_args(linux_sys_waitid) struct linux_sys_set_tid_address_args { syscallarg(int *) tid; }; check_syscall_args(linux_sys_set_tid_address) struct linux_sys_futex_args { syscallarg(int *) uaddr; syscallarg(int) op; syscallarg(int) val; syscallarg(const struct linux_timespec *) timeout; syscallarg(int *) uaddr2; syscallarg(int) val3; }; check_syscall_args(linux_sys_futex) struct sys___futex_set_robust_list_args; struct sys___futex_get_robust_list_args; struct linux_sys_nanosleep_args { syscallarg(const struct linux_timespec *) rqtp; syscallarg(struct linux_timespec *) rmtp; }; check_syscall_args(linux_sys_nanosleep) struct compat_50_sys_getitimer_args; struct compat_50_sys_setitimer_args; struct linux_sys_timer_create_args { syscallarg(clockid_t) clockid; syscallarg(struct linux_sigevent *) evp; syscallarg(timer_t *) timerid; }; check_syscall_args(linux_sys_timer_create) struct linux_sys_timer_gettime_args { syscallarg(timer_t) timerid; syscallarg(struct linux_itimerspec *) tim; }; check_syscall_args(linux_sys_timer_gettime) struct sys_timer_getoverrun_args; struct linux_sys_timer_settime_args { syscallarg(timer_t) timerid; syscallarg(int) flags; syscallarg(const struct linux_itimerspec *) tim; syscallarg(struct linux_itimerspec *) otim; }; check_syscall_args(linux_sys_timer_settime) struct sys_timer_delete_args; struct linux_sys_clock_settime_args { syscallarg(clockid_t) which; syscallarg(struct linux_timespec *) tp; }; check_syscall_args(linux_sys_clock_settime) struct linux_sys_clock_gettime_args { syscallarg(clockid_t) which; syscallarg(struct linux_timespec *) tp; }; check_syscall_args(linux_sys_clock_gettime) struct linux_sys_clock_getres_args { syscallarg(clockid_t) which; syscallarg(struct linux_timespec *) tp; }; check_syscall_args(linux_sys_clock_getres) struct linux_sys_clock_nanosleep_args { syscallarg(clockid_t) which; syscallarg(int) flags; syscallarg(struct linux_timespec *) rqtp; syscallarg(struct linux_timespec *) rmtp; }; check_syscall_args(linux_sys_clock_nanosleep) struct linux_sys_ptrace_args { syscallarg(long) request; syscallarg(long) pid; syscallarg(long) addr; syscallarg(long) data; }; check_syscall_args(linux_sys_ptrace) struct linux_sys_sched_setparam_args { syscallarg(pid_t) pid; syscallarg(const struct linux_sched_param *) sp; }; check_syscall_args(linux_sys_sched_setparam) struct linux_sys_sched_setscheduler_args { syscallarg(pid_t) pid; syscallarg(int) policy; syscallarg(const struct linux_sched_param *) sp; }; check_syscall_args(linux_sys_sched_setscheduler) struct linux_sys_sched_getscheduler_args { syscallarg(pid_t) pid; }; check_syscall_args(linux_sys_sched_getscheduler) struct linux_sys_sched_getparam_args { syscallarg(pid_t) pid; syscallarg(struct linux_sched_param *) sp; }; check_syscall_args(linux_sys_sched_getparam) struct linux_sys_sched_setaffinity_args { syscallarg(pid_t) pid; syscallarg(unsigned int) len; syscallarg(unsigned long *) mask; }; check_syscall_args(linux_sys_sched_setaffinity) struct linux_sys_sched_getaffinity_args { syscallarg(pid_t) pid; syscallarg(unsigned int) len; syscallarg(unsigned long *) mask; }; check_syscall_args(linux_sys_sched_getaffinity) struct linux_sys_sched_get_priority_max_args { syscallarg(int) policy; }; check_syscall_args(linux_sys_sched_get_priority_max) struct linux_sys_sched_get_priority_min_args { syscallarg(int) policy; }; check_syscall_args(linux_sys_sched_get_priority_min) struct linux_sys_kill_args { syscallarg(int) pid; syscallarg(int) signum; }; check_syscall_args(linux_sys_kill) struct linux_sys_tkill_args { syscallarg(int) tid; syscallarg(int) sig; }; check_syscall_args(linux_sys_tkill) struct linux_sys_tgkill_args { syscallarg(int) tgid; syscallarg(int) tid; syscallarg(int) sig; }; check_syscall_args(linux_sys_tgkill) struct linux_sys_sigaltstack_args { syscallarg(const struct linux_sigaltstack *) ss; syscallarg(struct linux_sigaltstack *) oss; }; check_syscall_args(linux_sys_sigaltstack) struct linux_sys_rt_sigsuspend_args { syscallarg(linux_sigset_t *) unewset; syscallarg(size_t) sigsetsize; }; check_syscall_args(linux_sys_rt_sigsuspend) struct linux_sys_rt_sigaction_args { syscallarg(int) signum; syscallarg(const struct linux_sigaction *) nsa; syscallarg(struct linux_sigaction *) osa; syscallarg(size_t) sigsetsize; }; check_syscall_args(linux_sys_rt_sigaction) struct linux_sys_rt_sigprocmask_args { syscallarg(int) how; syscallarg(const linux_sigset_t *) set; syscallarg(linux_sigset_t *) oset; syscallarg(size_t) sigsetsize; }; check_syscall_args(linux_sys_rt_sigprocmask) struct linux_sys_rt_sigpending_args { syscallarg(linux_sigset_t *) set; syscallarg(size_t) sigsetsize; }; check_syscall_args(linux_sys_rt_sigpending) struct linux_sys_rt_sigtimedwait_args { syscallarg(const linux_sigset_t *) set; syscallarg(linux_siginfo_t *) info; syscallarg(const struct linux_timespec *) timeout; }; check_syscall_args(linux_sys_rt_sigtimedwait) struct sys_setpriority_args; struct linux_sys_getpriority_args { syscallarg(int) which; syscallarg(int) who; }; check_syscall_args(linux_sys_getpriority) struct linux_sys_reboot_args { syscallarg(int) magic1; syscallarg(int) magic2; syscallarg(int) cmd; syscallarg(void *) arg; }; check_syscall_args(linux_sys_reboot) struct sys_setregid_args; struct sys_setgid_args; struct sys_setreuid_args; struct sys_setuid_args; struct linux_sys_setresuid_args { syscallarg(uid_t) ruid; syscallarg(uid_t) euid; syscallarg(uid_t) suid; }; check_syscall_args(linux_sys_setresuid) struct linux_sys_getresuid_args { syscallarg(uid_t *) ruid; syscallarg(uid_t *) euid; syscallarg(uid_t *) suid; }; check_syscall_args(linux_sys_getresuid) struct linux_sys_setresgid_args { syscallarg(gid_t) rgid; syscallarg(gid_t) egid; syscallarg(gid_t) sgid; }; check_syscall_args(linux_sys_setresgid) struct linux_sys_getresgid_args { syscallarg(gid_t *) rgid; syscallarg(gid_t *) egid; syscallarg(gid_t *) sgid; }; check_syscall_args(linux_sys_getresgid) struct linux_sys_setfsuid_args { syscallarg(uid_t) uid; }; check_syscall_args(linux_sys_setfsuid) struct linux_sys_setfsgid_args { syscallarg(gid_t) gid; }; check_syscall_args(linux_sys_setfsgid) struct linux_sys_times_args { syscallarg(struct times *) tms; }; check_syscall_args(linux_sys_times) struct sys_setpgid_args; struct sys_getpgid_args; struct sys_getsid_args; struct sys_getgroups_args; struct sys_setgroups_args; struct linux_sys_uname_args { syscallarg(struct linux_utsname *) up; }; check_syscall_args(linux_sys_uname) struct compat_43_sys_sethostname_args; struct linux_sys_setdomainname_args { syscallarg(char *) domainname; syscallarg(int) len; }; check_syscall_args(linux_sys_setdomainname) struct linux_sys_getrlimit_args { syscallarg(int) which; syscallarg(struct rlimit *) rlp; }; check_syscall_args(linux_sys_getrlimit) struct linux_sys_setrlimit_args { syscallarg(u_int) which; syscallarg(struct rlimit *) rlp; }; check_syscall_args(linux_sys_setrlimit) struct compat_50_sys_getrusage_args; struct sys_umask_args; struct linux_sys_getcpu_args { syscallarg(unsigned int *) cpu; syscallarg(unsigned int *) node; syscallarg(struct linux_getcpu_cache *) tcache; }; check_syscall_args(linux_sys_getcpu) struct linux_sys_gettimeofday_args { syscallarg(struct timeval50 *) tp; syscallarg(struct timezone *) tzp; }; check_syscall_args(linux_sys_gettimeofday) struct linux_sys_settimeofday_args { syscallarg(struct timeval50 *) tp; syscallarg(struct timezone *) tzp; }; check_syscall_args(linux_sys_settimeofday) struct linux_sys_sysinfo_args { syscallarg(struct linux_sysinfo *) arg; }; check_syscall_args(linux_sys_sysinfo) struct linux_sys_mq_open_args { syscallarg(const char *) name; syscallarg(int) oflag; syscallarg(linux_umode_t) mode; syscallarg(struct linux_mq_attr *) attr; }; check_syscall_args(linux_sys_mq_open) struct linux_sys_mq_unlink_args { syscallarg(const char *) name; }; check_syscall_args(linux_sys_mq_unlink) struct linux_sys_mq_timedsend_args { syscallarg(linux_mqd_t) mqdes; syscallarg(const char *) msg_ptr; syscallarg(size_t) msg_len; syscallarg(unsigned int) msg_prio; syscallarg(const struct linux_timespec *) abs_timeout; }; check_syscall_args(linux_sys_mq_timedsend) struct linux_sys_mq_timedreceive_args { syscallarg(linux_mqd_t) mqdes; syscallarg(char *) msg_ptr; syscallarg(size_t) msg_len; syscallarg(unsigned int *) msg_prio; syscallarg(const struct linux_timespec *) abs_timeout; }; check_syscall_args(linux_sys_mq_timedreceive) struct linux_sys_mq_notify_args { syscallarg(linux_mqd_t) mqdes; syscallarg(const struct linux_sigevent *) sevp; }; check_syscall_args(linux_sys_mq_notify) struct linux_sys_mq_getsetattr_args { syscallarg(linux_mqd_t) mqdes; syscallarg(const struct linux_mq_attr *) newattr; syscallarg(struct linux_mq_attr *) oldattr; }; check_syscall_args(linux_sys_mq_getsetattr) #ifdef SYSVMSG struct sys_msgget_args; struct linux_sys_msgctl_args; struct sys_msgrcv_args; struct sys_msgsnd_args; #else #endif #ifdef SYSVSEM struct sys_semget_args; struct linux_sys_semctl_args { syscallarg(int) semid; syscallarg(int) semnum; syscallarg(int) cmd; syscallarg(union linux_semun) arg; }; check_syscall_args(linux_sys_semctl) struct sys_semop_args; #else #endif #ifdef SYSVSEM struct linux_sys_shmget_args; struct linux_sys_shmctl_args; struct sys_shmat_args; struct sys_shmdt_args; #else #endif struct linux_sys_socket_args { syscallarg(int) domain; syscallarg(int) type; syscallarg(int) protocol; }; check_syscall_args(linux_sys_socket) struct linux_sys_socketpair_args { syscallarg(int) domain; syscallarg(int) type; syscallarg(int) protocol; syscallarg(int *) rsv; }; check_syscall_args(linux_sys_socketpair) struct linux_sys_bind_args { syscallarg(int) s; syscallarg(const struct osockaddr *) name; syscallarg(unsigned int) namelen; }; check_syscall_args(linux_sys_bind) struct sys_listen_args; struct linux_sys_accept_args { syscallarg(int) s; syscallarg(struct osockaddr *) name; syscallarg(int *) anamelen; }; check_syscall_args(linux_sys_accept) struct linux_sys_connect_args { syscallarg(int) s; syscallarg(const struct osockaddr *) name; syscallarg(unsigned int) namelen; }; check_syscall_args(linux_sys_connect) struct linux_sys_getsockname_args { syscallarg(int) fdec; syscallarg(void *) asa; syscallarg(int *) alen; }; check_syscall_args(linux_sys_getsockname) struct linux_sys_getpeername_args { syscallarg(int) fdes; syscallarg(struct sockaddr *) asa; syscallarg(unsigned int *) alen; }; check_syscall_args(linux_sys_getpeername) struct linux_sys_sendto_args { syscallarg(int) s; syscallarg(void *) msg; syscallarg(int) len; syscallarg(int) flags; syscallarg(struct osockaddr *) to; syscallarg(int) tolen; }; check_syscall_args(linux_sys_sendto) struct linux_sys_recvfrom_args { syscallarg(int) s; syscallarg(void *) buf; syscallarg(size_t) len; syscallarg(int) flags; syscallarg(struct osockaddr *) from; syscallarg(unsigned int *) fromlenaddr; }; check_syscall_args(linux_sys_recvfrom) struct linux_sys_setsockopt_args { syscallarg(int) s; syscallarg(int) level; syscallarg(int) optname; syscallarg(void *) optval; syscallarg(int) optlen; }; check_syscall_args(linux_sys_setsockopt) struct linux_sys_getsockopt_args { syscallarg(int) s; syscallarg(int) level; syscallarg(int) optname; syscallarg(void *) optval; syscallarg(int *) optlen; }; check_syscall_args(linux_sys_getsockopt) struct sys_shutdown_args; struct linux_sys_sendmsg_args { syscallarg(int) s; syscallarg(const struct linux_msghdr *) msg; syscallarg(int) flags; }; check_syscall_args(linux_sys_sendmsg) struct linux_sys_recvmsg_args { syscallarg(int) s; syscallarg(struct linux_msghdr *) msg; syscallarg(int) flags; }; check_syscall_args(linux_sys_recvmsg) struct linux_sys_readahead_args { syscallarg(int) fd; syscallarg(off_t) offset; syscallarg(size_t) count; }; check_syscall_args(linux_sys_readahead) struct linux_sys_brk_args { syscallarg(char *) nsize; }; check_syscall_args(linux_sys_brk) struct sys_munmap_args; struct linux_sys_mremap_args { syscallarg(void *) old_address; syscallarg(size_t) old_size; syscallarg(size_t) new_size; syscallarg(u_long) flags; }; check_syscall_args(linux_sys_mremap) struct linux_sys_clone_args { syscallarg(int) flags; syscallarg(void *) stack; syscallarg(void *) parent_tidptr; syscallarg(void *) child_tidptr; syscallarg(void *) tls; }; check_syscall_args(linux_sys_clone) struct sys_execve_args; struct linux_sys_mmap_args; struct linux_sys_fadvise64_args { syscallarg(int) fd; syscallarg(off_t) offset; syscallarg(size_t) len; syscallarg(int) advice; }; check_syscall_args(linux_sys_fadvise64) struct linux_sys_swapon_args { syscallarg(char *) name; }; check_syscall_args(linux_sys_swapon) struct linux_sys_swapoff_args { syscallarg(const char *) path; }; check_syscall_args(linux_sys_swapoff) struct linux_sys_mprotect_args { syscallarg(const void *) start; syscallarg(unsigned long) len; syscallarg(int) prot; }; check_syscall_args(linux_sys_mprotect) struct sys___msync13_args; struct sys_mlock_args; struct sys_munlock_args; struct sys_mlockall_args; struct sys_mincore_args; struct sys_madvise_args; struct linux_sys_accept4_args { syscallarg(int) s; syscallarg(struct osockaddr *) name; syscallarg(int *) anamelen; syscallarg(int) flags; }; check_syscall_args(linux_sys_accept4) struct linux_sys_recvmmsg_args { syscallarg(int) s; syscallarg(struct linux_mmsghdr *) msgvec; syscallarg(unsigned int) vlen; syscallarg(unsigned int) flags; syscallarg(struct timespec *) timeout; }; check_syscall_args(linux_sys_recvmmsg) struct linux_sys_wait4_args { syscallarg(int) pid; syscallarg(int *) status; syscallarg(int) options; syscallarg(struct rusage50 *) rusage; }; check_syscall_args(linux_sys_wait4) struct linux_sys_prlimit64_args { syscallarg(pid_t) pid; syscallarg(int) which; syscallarg(struct rlimit *) new_rlp; syscallarg(struct rlimit *) old_rlp; }; check_syscall_args(linux_sys_prlimit64) struct linux_sys_syncfs_args { syscallarg(int) fd; }; check_syscall_args(linux_sys_syncfs) struct linux_sys_sendmmsg_args { syscallarg(int) s; syscallarg(struct linux_mmsghdr *) msgvec; syscallarg(unsigned int) vlen; syscallarg(unsigned int) flags; }; check_syscall_args(linux_sys_sendmmsg) struct linux_sys_renameat2_args { syscallarg(int) fromfd; syscallarg(const char *) from; syscallarg(int) tofd; syscallarg(const char *) to; syscallarg(unsigned int) flags; }; check_syscall_args(linux_sys_renameat2) struct sys_getrandom_args; struct linux_sys_memfd_create_args { syscallarg(const char *) name; syscallarg(unsigned int) flags; }; check_syscall_args(linux_sys_memfd_create) struct linux_sys_copy_file_range_args { syscallarg(int) fd_in; syscallarg(off_t *) off_in; syscallarg(int) fd_out; syscallarg(off_t *) off_out; syscallarg(size_t) len; syscallarg(unsigned int) flags; }; check_syscall_args(linux_sys_copy_file_range) struct linux_sys_statx_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(int) flag; syscallarg(unsigned int) mask; syscallarg(struct linux_statx *) sp; }; check_syscall_args(linux_sys_statx) struct linux_sys_clone3_args { syscallarg(struct linux_user_clone3_args *) cl_args; syscallarg(size_t) size; }; check_syscall_args(linux_sys_clone3) struct linux_sys_close_range_args { syscallarg(unsigned int) first; syscallarg(unsigned int) last; syscallarg(unsigned int) flags; }; check_syscall_args(linux_sys_close_range) struct linux_sys_faccessat2_args { syscallarg(int) fd; syscallarg(const char *) path; syscallarg(int) amode; syscallarg(int) flags; }; check_syscall_args(linux_sys_faccessat2) struct linux_sys_epoll_pwait2_args { syscallarg(int) epfd; syscallarg(struct linux_epoll_event *) events; syscallarg(int) maxevents; syscallarg(const struct linux_timespec *) timeout; syscallarg(const linux_sigset_t *) sigmask; }; check_syscall_args(linux_sys_epoll_pwait2) /* * System call prototypes. */ int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *); int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *); int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *); int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *); int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *); int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *); int linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *); int linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *); int linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *); int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *); int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *); int linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *); int linux_sys_epoll_create1(struct lwp *, const struct linux_sys_epoll_create1_args *, register_t *); int linux_sys_epoll_ctl(struct lwp *, const struct linux_sys_epoll_ctl_args *, register_t *); int linux_sys_epoll_pwait(struct lwp *, const struct linux_sys_epoll_pwait_args *, register_t *); int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *); int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *); int linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *); int linux_sys_inotify_init1(struct lwp *, const struct linux_sys_inotify_init1_args *, register_t *); int linux_sys_inotify_add_watch(struct lwp *, const struct linux_sys_inotify_add_watch_args *, register_t *); int linux_sys_inotify_rm_watch(struct lwp *, const struct linux_sys_inotify_rm_watch_args *, register_t *); int linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *); int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *); int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *); int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *); int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *); int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *); int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *); int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *); int linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *); int linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *); int linux_sys_truncate64(struct lwp *, const struct linux_sys_truncate64_args *, register_t *); int linux_sys_ftruncate64(struct lwp *, const struct linux_sys_ftruncate64_args *, register_t *); int linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *); int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *); int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *); int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *); int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *); int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *); int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *); int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *); int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *); int sys_close(struct lwp *, const struct sys_close_args *, register_t *); int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *); int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *); int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *); int sys_read(struct lwp *, const struct sys_read_args *, register_t *); int sys_write(struct lwp *, const struct sys_write_args *, register_t *); int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *); int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *); int linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *); int linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *); int linux_sys_preadv(struct lwp *, const struct linux_sys_preadv_args *, register_t *); int linux_sys_pwritev(struct lwp *, const struct linux_sys_pwritev_args *, register_t *); int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *); int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *); int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *); int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *); int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *); int sys_sync(struct lwp *, const void *, register_t *); int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *); int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *); int linux_sys_sync_file_range(struct lwp *, const struct linux_sys_sync_file_range_args *, register_t *); int linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *); int linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *); int linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *); int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *); int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *); int linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *); int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *); int linux_sys_waitid(struct lwp *, const struct linux_sys_waitid_args *, register_t *); int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *); int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *); int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *); int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *); int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *); int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *); int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *); int linux_sys_timer_create(struct lwp *, const struct linux_sys_timer_create_args *, register_t *); int linux_sys_timer_gettime(struct lwp *, const struct linux_sys_timer_gettime_args *, register_t *); int sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *); int linux_sys_timer_settime(struct lwp *, const struct linux_sys_timer_settime_args *, register_t *); int sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *); int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *); int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *); int linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *); int linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *); int linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *); int linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *); int linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *); int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *); int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *); int linux_sys_sched_yield(struct lwp *, const void *, register_t *); int linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *); int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *); int linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *); int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *); int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *); int linux_sys_sigaltstack(struct lwp *, const struct linux_sys_sigaltstack_args *, register_t *); int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *); int linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *); int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *); int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *); int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *); int linux_sys_rt_sigreturn(struct lwp *, const void *, register_t *); int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *); int linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *); int linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *); int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *); int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *); int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *); int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *); int linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *); int linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *); int linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, register_t *); int linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *); int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *); int linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *); int linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *); int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *); int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *); int sys_setsid(struct lwp *, const void *, register_t *); int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *); int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *); int linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *); int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *); int linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *); int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *); int linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *); int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *); int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *); int linux_sys_getcpu(struct lwp *, const struct linux_sys_getcpu_args *, register_t *); int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *); int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *); int sys_getpid(struct lwp *, const void *, register_t *); int sys_getppid(struct lwp *, const void *, register_t *); int sys_getuid(struct lwp *, const void *, register_t *); int sys_geteuid(struct lwp *, const void *, register_t *); int sys_getgid(struct lwp *, const void *, register_t *); int sys_getegid(struct lwp *, const void *, register_t *); int linux_sys_gettid(struct lwp *, const void *, register_t *); int linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *); int linux_sys_mq_open(struct lwp *, const struct linux_sys_mq_open_args *, register_t *); int linux_sys_mq_unlink(struct lwp *, const struct linux_sys_mq_unlink_args *, register_t *); int linux_sys_mq_timedsend(struct lwp *, const struct linux_sys_mq_timedsend_args *, register_t *); int linux_sys_mq_timedreceive(struct lwp *, const struct linux_sys_mq_timedreceive_args *, register_t *); int linux_sys_mq_notify(struct lwp *, const struct linux_sys_mq_notify_args *, register_t *); int linux_sys_mq_getsetattr(struct lwp *, const struct linux_sys_mq_getsetattr_args *, register_t *); #ifdef SYSVMSG int sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *); int linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *); int sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *); int sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *); #else #endif #ifdef SYSVSEM int sys_semget(struct lwp *, const struct sys_semget_args *, register_t *); int linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *); int sys_semop(struct lwp *, const struct sys_semop_args *, register_t *); #else #endif #ifdef SYSVSEM int linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *); int linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *); int sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *); int sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *); #else #endif int linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *); int linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *); int linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *); int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *); int linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *); int linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *); int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *); int linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *); int linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *); int linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *); int linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *); int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *); int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *); int linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *); int linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *); int linux_sys_readahead(struct lwp *, const struct linux_sys_readahead_args *, register_t *); int linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *); int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *); int linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *); int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *); int linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *); int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *); int linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *); int linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *); int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *); int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *); int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *); int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *); int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *); int sys_munlockall(struct lwp *, const void *, register_t *); int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *); int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *); int linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *); int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *); int linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *); int linux_sys_syncfs(struct lwp *, const struct linux_sys_syncfs_args *, register_t *); int linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *); int linux_sys_renameat2(struct lwp *, const struct linux_sys_renameat2_args *, register_t *); int sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *); int linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *); int linux_sys_copy_file_range(struct lwp *, const struct linux_sys_copy_file_range_args *, register_t *); int linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *); int linux_sys_clone3(struct lwp *, const struct linux_sys_clone3_args *, register_t *); int linux_sys_close_range(struct lwp *, const struct linux_sys_close_range_args *, register_t *); int linux_sys_faccessat2(struct lwp *, const struct linux_sys_faccessat2_args *, register_t *); int linux_sys_nosys(struct lwp *, const void *, register_t *); int linux_sys_epoll_pwait2(struct lwp *, const struct linux_sys_epoll_pwait2_args *, register_t *); #endif /* _LINUX_SYS_SYSCALLARGS_H_ */