添加 KPM 模块支持,包括 KPM 配置选项、核心功能实现及相关头文件

This commit is contained in:
ShirkNeko
2025-03-30 02:54:23 +08:00
parent ba5b3dde88
commit 743ddce9f7
10 changed files with 1519 additions and 2 deletions

View File

@@ -16,6 +16,13 @@ config KSU_DEBUG
help
Enable KernelSU debug mode.
config KPM
bool "Enable KernelSU KPM"
default n
help
This option enables the KernelSU KPM feature. If enabled, it will
override the kernel version check and enable the hook functionality.
config KSU_ALLOWLIST_WORKAROUND
bool "KernelSU Session Keyring Init workaround"
depends on KSU