Guard all injection features behind a global flag

This commit is contained in:
topjohnwu
2021-01-13 20:07:23 -08:00
parent 1860e5d133
commit e8ba671fc2
6 changed files with 35 additions and 16 deletions

View File

@@ -51,6 +51,8 @@ void su_daemon_handler(int client, ucred *credential);
void auto_start_magiskhide(bool late_props);
int stop_magiskhide();
#if ENABLE_INJECT
// For injected process to access daemon
int remote_check_hide(int uid, const char *process);
void remote_request_hide();
#endif