From f0fec480504020a96f4629a53f3b0f71b222f08a Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Tue, 23 Sep 2025 00:07:39 +0800 Subject: [PATCH] kernel: Add the missing endif --- kernel/core_hook.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 2f8f9e78..abd82b48 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -903,6 +903,7 @@ static struct security_hook_list ksu_hooks[] = { #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) || \ defined(CONFIG_IS_HW_HISI) || defined(CONFIG_KSU_ALLOWLIST_WORKAROUND) LSM_HOOK_INIT(key_permission, ksu_key_permission) +#endif }; void __init ksu_lsm_hook_init(void)