Skip to content

Commit

Permalink
ksud: [Fix] grant root to the shell in debug mode (tiann#1853)
Browse files Browse the repository at this point in the history
Failed to check app_profile version
  • Loading branch information
RobinChenJP authored and backslashxx committed Nov 14, 2024
1 parent 23ba622 commit fe90b27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/allowlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,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,
};
Expand Down

0 comments on commit fe90b27

Please sign in to comment.