You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
Reported-by: Trijal Saha <97483939+Trijal08@users.noreply.github.com>
This commit is contained in:
@@ -950,11 +950,16 @@ void __init ksu_lsm_hook_init(void)
|
||||
}
|
||||
smp_mb();
|
||||
}
|
||||
#endif
|
||||
#endif // MODULE
|
||||
#endif // CONFIG_KSU_LSM_SECURITY_HOOKS
|
||||
|
||||
void __init ksu_core_init(void)
|
||||
{
|
||||
#ifdef CONFIG_KSU_LSM_SECURITY_HOOKS
|
||||
ksu_lsm_hook_init();
|
||||
#else
|
||||
pr_info("ksu_core_init: LSM hooks not in use.\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
void ksu_core_exit(void)
|
||||
@@ -965,9 +970,3 @@ void ksu_core_exit(void)
|
||||
// ksu_kprobe_exit();
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
void __init ksu_core_init(void)
|
||||
{
|
||||
pr_info("ksu_core_init: LSM hooks not in use.\n");
|
||||
}
|
||||
#endif //CONFIG_KSU_LSM_SECURITY_HOOKS
|
||||
|
||||
Reference in New Issue
Block a user