From fcf2739cbcea2dc062cf82773108a627b6cc836a Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Sun, 30 Mar 2025 02:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20KPM=20=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E7=9A=84=E6=9D=A1=E4=BB=B6=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/core_hook.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 643fe497..2f2c090c 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -412,6 +412,7 @@ int ksu_handle_prctl(int option, unsigned long arg2, unsigned long arg3, return 0; } + #ifdef CONFIG_KPM // ADD: 添加KPM模块控制 if(sukisu_is_kpm_control_code(arg2)) { int res; @@ -425,6 +426,7 @@ int ksu_handle_prctl(int option, unsigned long arg2, unsigned long arg3, return 0; } + #endif // all other cmds are for 'root manager' if (!from_manager) {