Hook up denylist IPC routines

This commit is contained in:
topjohnwu
2021-08-19 04:55:17 -07:00
parent ffe47300a1
commit decdd54c19
5 changed files with 69 additions and 14 deletions

View File

@@ -8,6 +8,8 @@
enum : int {
ZYGISK_SETUP,
ZYGISK_CHECK_DENYLIST,
ZYGISK_UNMOUNT,
};
// Unmap all pages matching the name
@@ -22,3 +24,5 @@ uintptr_t get_function_addr(int pid, const char *lib, uintptr_t off);
void self_unload();
void hook_functions();
bool unhook_functions();
bool remote_check_denylist(int uid, const char *process);
int remote_request_unmount();