Files
SukiSU-Ultra/kernel
Prslc d17960d9ec kernel: define ksu_core_exit() for <4.1 devices without LSM hooks (#360)
* kernel: define ksu_core_exit() for <4.1 devices without LSM hooks

Ensure ksu_core_exit() is defined even if CONFIG_KSU_LSM_SECURITY_HOOKS
is disabled, which is mostly relevant for kernels 4.1 and older, preventing
build failures due to missing exit function.

Signed-off-by: Prslc <prslc113@gmail.com>

* kernel: consolidate ksu_core_exit() definition

Move ksu_core_exit() out of the CONFIG_KSU_LSM_SECURITY_HOOKS
conditional branches to remove redundant empty definitions
and ensure the exit function is always available.

Signed-off-by: Prslc <prslc113@gmail.com>

---------

Signed-off-by: Prslc <prslc113@gmail.com>
2025-08-28 10:16:41 +08:00
..
2025-08-27 15:15:17 +08:00
2023-06-16 19:53:15 +08:00
2025-07-05 16:29:40 +08:00
2023-06-16 19:53:15 +08:00
2023-06-16 19:53:15 +08:00
2023-02-02 09:04:07 +08:00
2025-08-27 15:15:17 +08:00
2025-08-27 15:22:27 +08:00
2025-08-27 15:22:27 +08:00