Commit baaaf7d5 authored by topjohnwu's avatar topjohnwu

Fully match zygote/usap process names

parent 45d8d139
...@@ -214,8 +214,8 @@ static bool check_pid(int pid) { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment