mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
Fully match zygote/usap process names
This commit is contained in:
parent
45d8d139a9
commit
baaaf7d5de
@ -214,8 +214,8 @@ static bool check_pid(int pid) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Still zygote/usap
|
if (cmdline == "zygote"sv || cmdline == "zygote32"sv || cmdline == "zygote64"sv ||
|
||||||
if (strncmp(cmdline, "zygote", 6) == 0 || strncmp(cmdline, "usap", 4) == 0)
|
cmdline == "usap32"sv || cmdline == "usap64"sv)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int uid = st.st_uid % 100000;
|
int uid = st.st_uid % 100000;
|
||||||
|
Loading…
Reference in New Issue
Block a user