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
4a37422af5
kernel: sucompat: sucompat toggle support for non-kp This is done like how vfs_read_hook, input_hook and execve_hook is disabled. While this is not exactly the same thing, this CAN achieve the same results. The complete disabling of all KernelSU hooks. While this is likely unneeded, It keeps feature parity to non-kprobe builds. adapted from upstream: kernel: Allow to re-enable sucompat - https://github.com/tiann/KernelSU/commit/4593ae81c78998dffbc81291eac15726a273a538 Rejected: https://github.com/tiann/KernelSU/pull/2506 Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com> kernel: sucompat: fix compile issue on kprobe builds, unused variable