From 3ae65e828b35ece0f926330143b70c0e6f60c711 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Sat, 6 Jul 2024 14:48:59 +0800 Subject: [PATCH] Revert "ksud: [Fix] grant root to the shell in debug mode (#1853)" This reverts commit 56c3954524ab34672fc63e369730546ce22779aa. --- kernel/allowlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/allowlist.c b/kernel/allowlist.c index 136cd58d4f27..9daceef2011b 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -108,7 +108,6 @@ 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, };