kernel: Add KSU_MANUAL_HOOK configuration for manual KernelSU syscall hooking

This commit is contained in:
ShirkNeko
2025-08-15 23:00:11 +08:00
parent ec6991f98b
commit 6bb83fdb07
3 changed files with 13 additions and 6 deletions

View File

@@ -46,6 +46,12 @@ config KSU_TRACEPOINT_HOOK
help
If enabled, Hook required KernelSU syscalls with Tracepoint.
config KSU_MANUAL_HOOK
bool "Hook KernelSU manually"
depends on KSU != m
help
If enabled, Hook required KernelSU syscalls with manually-patched function.
endchoice
endmenu