Separate companion

This commit is contained in:
Nullptr
2023-02-08 20:17:56 +08:00
parent f75d15c6f6
commit 291599ffc8
10 changed files with 190 additions and 105 deletions

View File

@@ -98,10 +98,6 @@ namespace zygiskd {
}
socket_utils::write_u8(fd, (uint8_t) SocketAction::GetModuleDir);
socket_utils::write_usize(fd, index);
if (socket_utils::read_u8(fd) == 1) {
return fd;
} else {
return -1;
}
return socket_utils::recv_fd(fd);
}
}