From 33ed1988770363005a821902ed6094e47c023cf4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 24 Aug 2008 23:08:40 +0200 Subject: [PATCH] The mmap2() syscall is available even in the strict mode. There is no reason to handle it differently from mmap(). --- box/box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/box/box.c b/box/box.c index 033152a..1a70774 100644 --- a/box/box.c +++ b/box/box.c @@ -262,6 +262,7 @@ static unsigned char syscall_action[NUM_ACTIONS] = { S(fcntl) = A_YES, S(fcntl64) = A_YES, S(mmap) = A_YES, + S(mmap) = A_YES, S(munmap) = A_YES, S(ioctl) = A_YES, S(uname) = A_YES, @@ -308,7 +309,6 @@ static unsigned char syscall_action[NUM_ACTIONS] = { S(rt_sigtimedwait) = A_YES | A_LIBERAL, S(rt_sigqueueinfo) = A_YES | A_LIBERAL, S(rt_sigsuspend) = A_YES | A_LIBERAL, - S(mmap2) = A_YES | A_LIBERAL, S(_sysctl) = A_YES | A_LIBERAL, #undef S }; -- 2.39.2