mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 13:47:44 +02:00
Add API for running independent proc_monitor test
This commit is contained in:
@ -328,3 +328,10 @@ void auto_start_magiskhide() {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void test_proc_monitor() {
|
||||
if (procfp == nullptr && (procfp = opendir("/proc")) == nullptr)
|
||||
exit(1);
|
||||
proc_monitor();
|
||||
exit(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user