Skip to content

Commit

Permalink
ksud: [Fix] grant root to the shell in debug mode
Browse files Browse the repository at this point in the history
Failed to check app_profile version
RobinChenJP authored Jul 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3dc6e65 commit 4501a6c
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
@@ -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,
};

0 comments on commit 4501a6c

Please sign in to comment.