From 43590fc350f7199303ad4de273f278a3a8480521 Mon Sep 17 00:00:00 2001 From: rsuntk Date: Sun, 8 Jun 2025 07:19:43 +0700 Subject: [PATCH] kernel: mark is_ksu_transition as maybe_unused * Probably this hook is not needed much Signed-off-by: rsuntk --- kernel/ksud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/ksud.c b/kernel/ksud.c index 9e47ba9c..e62a6675 100644 --- a/kernel/ksud.c +++ b/kernel/ksud.c @@ -637,7 +637,7 @@ __maybe_unused int ksu_handle_execve_ksud(const char __user *filename_user, #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) #include "objsec.h" // task_security_struct -bool is_ksu_transition(const struct task_security_struct *old_tsec, +bool __maybe_unused is_ksu_transition(const struct task_security_struct *old_tsec, const struct task_security_struct *new_tsec) { static u32 ksu_sid;