You've already forked Zygisk-Assistant
mirror of
https://github.com/snake-4/Zygisk-Assistant.git
synced 2025-09-06 06:37:02 +00:00
Added exception for hosts bind mount
This commit is contained in:
@@ -41,6 +41,13 @@ static bool shouldUnmount(const mount_entry_t &info)
|
|||||||
if (workdir != options.end() && workdir->second.rfind("/data/adb", 0) == 0)
|
if (workdir != options.end() && workdir->second.rfind("/data/adb", 0) == 0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Unmount the bind mount of default Systemless Hosts module of Magisk
|
||||||
|
// It should've been an overlay instead but we'll make an exception for this one
|
||||||
|
// TODO: Maybe we can unmount all binds from userdata to system?
|
||||||
|
if (mountPoint == "/system/etc/hosts")
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user