summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux32/arch/amd64/linux32_syscallargs.h')
-rw-r--r--sys/compat/linux32/arch/amd64/linux32_syscallargs.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
index 1301ee64e1a..8f8c027e15c 100644
--- a/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
+++ b/sys/compat/linux32/arch/amd64/linux32_syscallargs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_syscallargs.h,v 1.86 2021/11/27 21:15:53 ryo Exp $ */
+/* $NetBSD: linux32_syscallargs.h,v 1.87 2021/12/02 04:39:45 ryo Exp $ */
/*
* System call argument lists.
@@ -1105,6 +1105,14 @@ struct linux32_sys_pwritev_args {
};
check_syscall_args(linux32_sys_pwritev)
+struct linux32_sys_prlimit64_args {
+ syscallarg(pid_t) pid;
+ syscallarg(int) which;
+ syscallarg(netbsd32_rlimitp_t) new_rlp;
+ syscallarg(netbsd32_rlimitp_t) old_rlp;
+};
+check_syscall_args(linux32_sys_prlimit64)
+
/*
* System call prototypes.
*/
@@ -1579,4 +1587,6 @@ int linux32_sys_preadv(struct lwp *, const struct linux32_sys_preadv_args *, reg
int linux32_sys_pwritev(struct lwp *, const struct linux32_sys_pwritev_args *, register_t *);
+int linux32_sys_prlimit64(struct lwp *, const struct linux32_sys_prlimit64_args *, register_t *);
+
#endif /* _LINUX32_SYS_SYSCALLARGS_H_ */