kernel: Add the missing endif

This commit is contained in:
ShirkNeko
2025-09-23 00:07:39 +08:00
parent b4bdd17e4e
commit f0fec48050

View File

@@ -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)