Fix MagiskHide unmounting paths under /product

Fixes #2107
This commit is contained in:
Alvin Wong 2019-11-27 18:38:10 +08:00 committed by John Wu
parent 03428329ef
commit 474d65207e

View File

@ -67,7 +67,7 @@ void hide_unmount(int pid) {
// Unmount dummy skeletons and /sbin links
parse_mnt("/proc/self/mounts", [&](mntent *mentry) {
if (TMPFS_MNT(system) || TMPFS_MNT(vendor) || TMPFS_MNT(sbin))
if (TMPFS_MNT(system) || TMPFS_MNT(vendor) || TMPFS_MNT(sbin) || TMPFS_MNT(product))
targets.emplace_back(mentry->mnt_dir);
return true;
});