fix build
This commit is contained in:
@@ -34,39 +34,10 @@ config KPM
|
|||||||
select KALLSYMS
|
select KALLSYMS
|
||||||
select KALLSYMS_ALL
|
select KALLSYMS_ALL
|
||||||
|
|
||||||
config KSU_LSM_SECURITY_HOOKS
|
config KSU_MANUAL_HOOK
|
||||||
bool "use lsm security hooks"
|
bool "Hook KernelSU manually"
|
||||||
depends on KSU
|
depends on KSU != m
|
||||||
default y
|
help
|
||||||
help
|
If enabled, Hook required KernelSU syscalls with manually-patched function.
|
||||||
Disabling this is mostly only useful for kernel 4.1 and older.
|
|
||||||
Make sure to implement manual hooks on security/security.c.
|
|
||||||
|
|
||||||
choice
|
|
||||||
prompt "KernelSU hook type"
|
|
||||||
depends on KSU
|
|
||||||
default KSU_KPROBES_HOOK
|
|
||||||
help
|
|
||||||
Hook type for KernelSU
|
|
||||||
|
|
||||||
config KSU_KPROBES_HOOK
|
|
||||||
bool "Hook KernelSU with Kprobes"
|
|
||||||
depends on KPROBES
|
|
||||||
help
|
|
||||||
If enabled, Hook required KernelSU syscalls with Kernel-probe.
|
|
||||||
|
|
||||||
config KSU_TRACEPOINT_HOOK
|
|
||||||
bool "Hook KernelSU with Tracepoint"
|
|
||||||
depends on TRACEPOINTS
|
|
||||||
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
|
endmenu
|
||||||
|
|||||||
Reference in New Issue
Block a user