Revert "kernel: Remove CONFIG_KSU_MANUAL_SU protection"

This reverts commit fa229b23a4.
This commit is contained in:
ShirkNeko
2025-11-05 01:50:00 +08:00
parent 1e0590aeb2
commit ab3ff2699c
7 changed files with 55 additions and 0 deletions

View File

@@ -31,6 +31,13 @@ config KSU_THRONE_TRACKER_LEGACY
This is kept for Ultra-Legacy Linux 4.4-3.X kernels which are prone to deadlocks.
Enable this if default scanning deadlocks/crashes on you.
config KSU_MANUAL_SU
bool "Use manual su"
depends on KSU
default y
help
Use manual su and authorize the corresponding command line and application via prctl
config KSU_ALLOWLIST_WORKAROUND
bool "KernelSU Session Keyring Init workaround"
depends on KSU
@@ -62,6 +69,8 @@ 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"