From 14204c9bfcaad4cc21ac4328b08c360f5063e43f Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 6 Feb 2017 00:14:03 +0800 Subject: [PATCH] Busybox path changed; stock one is enough for detection --- jni/magiskhide/proc_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/magiskhide/proc_monitor.c b/jni/magiskhide/proc_monitor.c index 380ceafbc..07c96b9cc 100644 --- a/jni/magiskhide/proc_monitor.c +++ b/jni/magiskhide/proc_monitor.c @@ -10,7 +10,7 @@ void monitor_proc() { printf("%s\n", init_ns); // Get the mount namespace of zygote - FILE *p = popen("/data/busybox/ps | grep zygote | grep -v grep", "r"); + FILE *p = popen("ps | grep zygote | grep -v grep", "r"); while(fgets(buffer, sizeof(buffer), p)) { if (zygote_num == 2) break; sscanf(buffer, "%d", &pid);