aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pseccomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pseccomp.c b/src/pseccomp.c
index 89260c6..1aed9ce 100644
--- a/src/pseccomp.c
+++ b/src/pseccomp.c
@@ -181,10 +181,10 @@ static const int jail_allowed_syscalls[] = {
SCMP_SYS(umount2),
SCMP_SYS(ioctl),
SCMP_SYS(dup), SCMP_SYS(dup2), SCMP_SYS(dup3),
- SCMP_SYS(sethostname), SCMP_SYS(uname)
+ SCMP_SYS(sethostname), SCMP_SYS(uname), SCMP_SYS(arch_prctl),
#if ENABLE_PTRACE
,
- SCMP_SYS(arch_prctl), SCMP_SYS(prctl),
+ SCMP_SYS(prctl),
SCMP_SYS(ptrace)
#endif
};