diff --git a/src/exec_ptrace.c b/src/exec_ptrace.c index 89c10389c..201c5f8a9 100644 --- a/src/exec_ptrace.c +++ b/src/exec_ptrace.c @@ -1936,7 +1936,7 @@ ptrace_intercept_execve(pid_t pid, struct intercept_closure *closure) } } if (closure->state == POLICY_ACCEPT) { - if (ISSET(closure->details->flags, CD_INTERCEPT_VERIFY)) { + if (ISSET(closure->details->flags, CD_INTERCEPT|CD_INTERCEPT_VERIFY)) { /* Verify execve(2) args post-exec. */ if (!ptrace_verify_post_exec(pid, ®s, closure)) { if (errno != ESRCH)