summaryrefslogtreecommitdiff
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api.c b/src/api.c
index 843b6a3..7c95e48 100644
--- a/src/api.c
+++ b/src/api.c
@@ -107,7 +107,8 @@ static unsigned int _seccomp_api_update(void)
/* level 3 */
if (level == 2 &&
sys_chk_seccomp_flag(SECCOMP_FILTER_FLAG_LOG) == 1 &&
- sys_chk_seccomp_action(SCMP_ACT_LOG) == 1)
+ sys_chk_seccomp_action(SCMP_ACT_LOG) == 1 &&
+ sys_chk_seccomp_action(SCMP_ACT_KILL_PROCESS) == 1)
level = 3;
if (level == 3 &&