aboutsummaryrefslogtreecommitdiff
path: root/src/pseccomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pseccomp.c')
-rw-r--r--src/pseccomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pseccomp.c b/src/pseccomp.c
index 97504d2..c794fdb 100644
--- a/src/pseccomp.c
+++ b/src/pseccomp.c
@@ -36,7 +36,8 @@ static const int default_allowed_syscalls[] = {
SCMP_SYS(getpgrp), SCMP_SYS(setpgid), SCMP_SYS(getpid), SCMP_SYS(kill),
SCMP_SYS(unshare), SCMP_SYS(chroot), SCMP_SYS(chdir), SCMP_SYS(mount),
SCMP_SYS(umount2),
- SCMP_SYS(mknod), SCMP_SYS(mkdir), SCMP_SYS(statfs), SCMP_SYS(ioctl),
+ SCMP_SYS(mknod), SCMP_SYS(mkdir), SCMP_SYS(rmdir),
+ SCMP_SYS(statfs), SCMP_SYS(ioctl),
SCMP_SYS(chown), SCMP_SYS(chmod), SCMP_SYS(setsid), SCMP_SYS(dup2),
SCMP_SYS(sethostname), SCMP_SYS(uname), SCMP_SYS(arch_prctl)
};