From: Lennart Poettering Date: Fri, 10 Feb 2017 02:29:33 +0000 (+0100) Subject: seccomp: add forgotten munmap() syscall to @file-system (#5291) X-Git-Tag: v233~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7961116e2c5bd12ef8c6ddb574239d60a10b5622;p=thirdparty%2Fsystemd.git seccomp: add forgotten munmap() syscall to @file-system (#5291) We added mmap() and mmap2(), but forgot munmap(). Fix that. Pointed out by @lucaswerkmeister: https://github.com/systemd/systemd/pull/4537#issuecomment-273275298 --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index e35f18471ca..b6b44e7f561 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -344,6 +344,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "mknodat\0" "mmap2\0" "mmap\0" + "munmap\0" "newfstatat\0" "open\0" "openat\0"