From: Miroslav Lichvar Date: Fri, 4 Dec 2015 11:51:28 +0000 (+0100) Subject: sys_linux: allow mremap in seccomp filter X-Git-Tag: 2.3-pre1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e32de09a2bafaa690bab160209bac0f39d9af6d;p=thirdparty%2Fchrony.git sys_linux: allow mremap in seccomp filter --- diff --git a/sys_linux.c b/sys_linux.c index 8ac73028..1a3f1be7 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -465,7 +465,7 @@ SYS_Linux_EnableSystemCallFilter(int level) SCMP_SYS(set_tid_address), SCMP_SYS(sigreturn), /* Memory */ SCMP_SYS(brk), SCMP_SYS(madvise), SCMP_SYS(mmap), SCMP_SYS(mmap2), - SCMP_SYS(mprotect), SCMP_SYS(munmap), SCMP_SYS(shmdt), + SCMP_SYS(mprotect), SCMP_SYS(mremap), SCMP_SYS(munmap), SCMP_SYS(shmdt), /* Filesystem */ SCMP_SYS(access), SCMP_SYS(chmod), SCMP_SYS(chown), SCMP_SYS(chown32), SCMP_SYS(fstat), SCMP_SYS(fstat64), SCMP_SYS(lseek), SCMP_SYS(rename),