ksud: [Fix] grant root to the shell in debug mode (#1853)

Failed to check app_profile version
This commit is contained in:
RobinChen
2024-07-06 13:37:00 +08:00
committed by GitHub
parent 17c720867d
commit 56c3954524

View File

@@ -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,
};