diff --git a/kernel/ksud.c b/kernel/ksud.c index e54a0dec..fa86f255 100644 --- a/kernel/ksud.c +++ b/kernel/ksud.c @@ -645,9 +645,6 @@ bool __maybe_unused is_ksu_transition(const struct task_security_struct *old_tse u32 seclen; bool allowed = false; - if (!ksu_execveat_hook) // not needed anymore once ksud ran - return false; - if (!ksu_sid) security_secctx_to_secid("u:r:su:s0", strlen("u:r:su:s0"), &ksu_sid);