aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2018-05-22 00:04:30 +0200
committerlns <matzeton@googlemail.com>2018-05-22 00:04:30 +0200
commita9f75fa2f30e6c86e285f2a2fa302d7b0f1c1b1d (patch)
treeeae6081d4f210828d633763c757681a1600d8d09
parent72167a82f780f2ae11b70f89726df4e7705bd9f3 (diff)
POTD skeleton #75.
Signed-off-by: lns <matzeton@googlemail.com>
-rw-r--r--src/pseccomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pseccomp.c b/src/pseccomp.c
index ae7c718..7f08ab2 100644
--- a/src/pseccomp.c
+++ b/src/pseccomp.c
@@ -66,7 +66,7 @@ static const int jail_allowed_syscalls[] = {
SCMP_SYS(clone), SCMP_SYS(execve),
SCMP_SYS(mmap), SCMP_SYS(brk), SCMP_SYS(madvise),
SCMP_SYS(mprotect), SCMP_SYS(munmap), SCMP_SYS(futex),
- SCMP_SYS(open), SCMP_SYS(fstat), SCMP_SYS(access),
+ SCMP_SYS(open), SCMP_SYS(openat), SCMP_SYS(fstat), SCMP_SYS(access),
SCMP_SYS(poll),
SCMP_SYS(lseek), SCMP_SYS(stat), SCMP_SYS(readlink), SCMP_SYS(getcwd),
SCMP_SYS(lstat), SCMP_SYS(sysinfo),