From cde1ada5cb373aba0d1192b536bf3695c85d1892 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Sat, 1 Mar 2025 15:59:44 +0800 Subject: [PATCH] Set KSU_APP_PROFILE_VER for shell (#2481) This reverts commit bd24044ec3c8c14fd9efba209a9a1b73c328d4d5. --- kernel/allowlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/allowlist.c b/kernel/allowlist.c index 2cd47dfcc7a6..97455675e48f 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -111,6 +111,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, };