aboutsummaryrefslogtreecommitdiff
path: root/src/pseccomp.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-06-24 00:51:06 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-06-24 00:51:06 +0200
commitdebece8085c59ed75e65cf1922660795935cd57a (patch)
tree06c302b32ed18955967f5d638aeb93389b461c16 /src/pseccomp.c
parent56edc16eb80a813473b3214d41ca0f808d566d6e (diff)
added seccomp blacklisted syscalls: ioperm, iopl
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/pseccomp.c')
-rw-r--r--src/pseccomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pseccomp.c b/src/pseccomp.c
index 07569f3..7b5dcf4 100644
--- a/src/pseccomp.c
+++ b/src/pseccomp.c
@@ -27,6 +27,8 @@ static const int minimum_disabled_syscalls[] = {
SCMP_SYS(finit_module),
SCMP_SYS(delete_module),
SCMP_SYS(iopl),
+ SCMP_SYS(ioperm),
+ SCMP_SYS(iopl),
SCMP_SYS(swapon),
SCMP_SYS(swapoff),
SCMP_SYS(syslog) /* Flawfinder: ignore */,