添加 KPM 状态信息输出,并更新支持的非官方管理器信息

This commit is contained in:
ShirkNeko
2025-03-30 19:45:10 +08:00
parent 3933d83d3e
commit 0db25f14f1
2 changed files with 9 additions and 1 deletions

View File

@@ -687,6 +687,7 @@ __maybe_unused int ksu_kprobe_init(void)
pr_info("renameat kp: %d\n", rc);
#ifdef CONFIG_KPM
// KPM初始化状态
kpm_cfi_bypass_init();
// kpm_stack_init();
#endif
@@ -699,6 +700,7 @@ __maybe_unused int ksu_kprobe_exit(void)
unregister_kprobe(&prctl_kp);
unregister_kprobe(&renameat_kp);
#ifdef CONFIG_KPM
// KPM取消状态
kpm_cfi_bypass_exit();
// kpm_stack_exit();
#endif