Do not support systems without SELinux

This commit is contained in:
topjohnwu
2023-09-25 15:10:54 -07:00
parent ec115cd7e3
commit 5d07d0b964
6 changed files with 3 additions and 31 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ static void handle_request(pollfd *pfd) {
}
break;
case MainRequest::ZYGISK:
if (!is_zygote && selinux_enabled()) {
if (!is_zygote) {
// Invalid client context
write_int(client, MainResponse::ACCESS_DENIED);
goto done;