From 6b56155679bcfffc1449b70a4ecd777059a43388 Mon Sep 17 00:00:00 2001 From: RobinChen Date: Sat, 6 Jul 2024 13:37:00 +0800 Subject: [PATCH] ksud: [Fix] grant root to the shell in debug mode (#1853) Failed to check app_profile version --- kernel/allowlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/allowlist.c b/kernel/allowlist.c index 4fbba9355949..a21c6d8a1ef5 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -110,6 +110,7 @@ void ksu_show_allow_list(void) static void ksu_grant_root_to_shell() { struct app_profile profile = { + .version = KSU_APP_PROFILE_VER; .allow_su = true, .current_uid = 2000, };