From 0569b628d5c7c690e323aee1222c0a5407be8bd8 Mon Sep 17 00:00:00 2001 From: Nils Date: Thu, 22 Jul 2021 15:26:41 +0200 Subject: [PATCH] Allow mremap --- child_launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/child_launcher.cpp b/child_launcher.cpp index a1b1090..92c6dd9 100644 --- a/child_launcher.cpp +++ b/child_launcher.cpp @@ -42,7 +42,7 @@ void enable_limits(const Limits& limits) { if (limits.enable_seccomp) { scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ERRNO(EOPNOTSUPP)); for (const auto sysc : { - SCMP_SYS(mmap), SCMP_SYS(mmap2), SCMP_SYS(munmap), SCMP_SYS(brk), + SCMP_SYS(mmap), SCMP_SYS(mmap2), SCMP_SYS(munmap), SCMP_SYS(mremap), SCMP_SYS(brk), SCMP_SYS(write), SCMP_SYS(read), SCMP_SYS(close), SCMP_SYS(exit), SCMP_SYS(exit_group) }) {