mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-18 00:41:49 +00:00
Add MS_SILENT to xmount and cleanup function wraps
This commit is contained in:
@@ -68,10 +68,8 @@ static void store_zygote_ns(int pid) {
|
||||
}
|
||||
|
||||
static void lazy_unmount(const char* mountpoint) {
|
||||
if (umount2(mountpoint, MNT_DETACH) != -1)
|
||||
if (xumount2(mountpoint, MNT_DETACH) != -1)
|
||||
LOGD("hide_daemon: Unmounted (%s)\n", mountpoint);
|
||||
else
|
||||
LOGD("hide_daemon: Unmount Failed (%s)\n", mountpoint);
|
||||
}
|
||||
|
||||
static void hide_daemon(int pid, int ppid) {
|
||||
|
Reference in New Issue
Block a user