Set KSU_APP_PROFILE_VER for shell (#2481)

This reverts commit bd24044ec3.
This commit is contained in:
Wang Han
2025-03-01 15:59:44 +08:00
committed by GitHub
parent 931ababd14
commit 4d37b8735c

View File

@@ -111,6 +111,7 @@ void ksu_show_allow_list(void)
static void ksu_grant_root_to_shell() static void ksu_grant_root_to_shell()
{ {
struct app_profile profile = { struct app_profile profile = {
.version = KSU_APP_PROFILE_VER,
.allow_su = true, .allow_su = true,
.current_uid = 2000, .current_uid = 2000,
}; };