X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=box%2Fbox.c;h=1394a85d5f62d95b6d581d48d4ca14acd2a2a519;hb=e6f07a3c51c1117f3f95fa846dd042b5a4a1e201;hp=1aa3084db6555c2c0cfbe185b60e5c9ab15e9745;hpb=4629c28f968371e218ee1e89c957a93e94864fbd;p=eval.git diff --git a/box/box.c b/box/box.c index 1aa3084..1394a85 100644 --- a/box/box.c +++ b/box/box.c @@ -262,12 +262,14 @@ static unsigned char syscall_action[NUM_ACTIONS] = { S(fcntl) = A_YES, S(fcntl64) = A_YES, S(mmap) = A_YES, + S(mmap2) = A_YES, S(munmap) = A_YES, S(ioctl) = A_YES, S(uname) = A_YES, S(gettid) = A_YES, S(set_thread_area) = A_YES, S(get_thread_area) = A_YES, + S(set_tid_address) = A_YES, S(exit_group) = A_YES, // Syscalls permitted only in liberal mode @@ -307,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 };