Skip to content

Commit

Permalink
💚 kernel: fix ci build (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylarod authored Dec 22, 2022
1 parent a921d6d commit e6d40af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/ksu.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static bool become_manager() {
bool result = false;

// must be zygote's direct child, otherwise any app can fork a new process and open manager's apk
if (task_uid(current->real_parent) != 0) {
if (task_uid(current->real_parent).val != 0) {
pr_info("parent is not zygote!\n");
return false;
}
Expand Down

0 comments on commit e6d40af

Please sign in to comment.