improve: APatch detection; fix: Magisk detection and Magisk manager detection; fix: fd leak

This commit both improves the APatch detection, making it more stricter, and fixes Magisk detection, together with its manager detection, allowing it to successfully boot. Also fixes a fd leak which makes it better at a long run.
This commit is contained in:
ThePedroo
2024-10-01 17:11:22 -03:00
parent 05ae6941ba
commit b392730366
5 changed files with 93 additions and 35 deletions

View File

@@ -784,6 +784,8 @@ void zygiskd_start(char *restrict argv[]) {
}
}
if (action != RequestCompanionSocket) close(client_fd);
continue;
}