ksud: [Fix] grant root to the shell in debug mode (#1853)
Failed to check app_profile version
This commit is contained in:
@@ -108,6 +108,7 @@ void ksu_show_allow_list(void)
|
|||||||
static void ksu_grant_root_to_shell()
|
static void ksu_grant_root_to_shell()
|
||||||
{
|
{
|
||||||
struct app_profile profile = {
|
struct app_profile profile = {
|
||||||
|
.version = KSU_APP_PROFILE_VER;
|
||||||
.allow_su = true,
|
.allow_su = true,
|
||||||
.current_uid = 2000,
|
.current_uid = 2000,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user