Make zygiskd ABI aware

This commit is contained in:
topjohnwu
2021-10-23 14:38:30 -07:00
parent 4194ac894c
commit 7496d51580
9 changed files with 61 additions and 26 deletions

View File

@@ -290,7 +290,7 @@ bool ZygiskModule::registerModule(ApiTable *table, long *module) {
int ZygiskModule::connectCompanion() const {
if (int fd = connect_daemon(); fd >= 0) {
write_int(fd, ZYGISK_REQUEST);
write_int(fd, ZYGISK_START_COMPANION);
write_int(fd, ZYGISK_CONNECT_COMPANION);
write_int(fd, id);
return fd;
}