Modernize code base

This commit is contained in:
topjohnwu
2018-11-07 02:10:38 -05:00
parent ca35a9681f
commit 7c12bf7fa1
21 changed files with 421 additions and 287 deletions

View File

@@ -54,11 +54,11 @@ int launch_magiskhide() {
pthread_mutex_init(&list_lock, nullptr);
// Initialize the hide list
if (init_list())
if (!init_list())
goto error;
// Add SafetyNet by default
add_list(strdup("com.google.android.gms.unstable"));
add_list("com.google.android.gms.unstable");
// Get thread reference
proc_monitor_thread = pthread_self();