Skip to content

Commit 9a6ac0e

Browse files
yujincheng08backslashxx
authored andcommitted
Revert "ksud: [Fix] grant root to the shell in debug mode" (tiann#1860)
Reverts tiann#1853
1 parent fbe55e4 commit 9a6ac0e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/allowlist.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ void ksu_show_allow_list(void)
110110
static void ksu_grant_root_to_shell()
111111
{
112112
struct app_profile profile = {
113-
.version = KSU_APP_PROFILE_VER;
114113
.allow_su = true,
115114
.current_uid = 2000,
116115
};

0 commit comments

Comments
 (0)