From 56c3954524ab34672fc63e369730546ce22779aa 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 9daceef2..136cd58d 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -108,6 +108,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, };