summaryrefslogtreecommitdiff
path: root/sys/compat/linux/arch/amd64/linux_sysent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/arch/amd64/linux_sysent.c')
-rw-r--r--sys/compat/linux/arch/amd64/linux_sysent.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/compat/linux/arch/amd64/linux_sysent.c b/sys/compat/linux/arch/amd64/linux_sysent.c
index 544bc66d9fc..1692518073c 100644
--- a/sys/compat/linux/arch/amd64/linux_sysent.c
+++ b/sys/compat/linux/arch/amd64/linux_sysent.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.75 2021/09/20 02:20:30 thorpej Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.76 2021/12/02 04:39:44 ryo Exp $ */
/*
* System call switch table.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.75 2021/09/20 02:20:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.76 2021/12/02 04:39:44 ryo Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -1358,8 +1358,10 @@ struct sysent linux_sysent[] = {
.sy_call = linux_sys_nosys,
}, /* 301 = filler */
{
- .sy_call = linux_sys_nosys,
- }, /* 302 = filler */
+ ns(struct linux_sys_prlimit64_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_prlimit64
+ }, /* 302 = prlimit64 */
{
.sy_call = linux_sys_nosys,
}, /* 303 = filler */