mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-03-24 09:40:52 +00:00
Remove unnecessary umount
This commit is contained in:
parent
34bcb1dd26
commit
4bcfee397b
@ -35,10 +35,6 @@ void hide_unmount(int pid) {
|
||||
|
||||
// Unmount dummy skeletons and MAGISKTMP
|
||||
targets.push_back(MAGISKTMP);
|
||||
auto magiskpts = MAGISKTMP + "/" SHELLPTS;
|
||||
if (access(magiskpts.data(), F_OK) == 0) {
|
||||
targets.push_back(magiskpts);
|
||||
}
|
||||
parse_mnt("/proc/self/mounts", [&](mntent *mentry) {
|
||||
if (TMPFS_MNT(system) || TMPFS_MNT(vendor) || TMPFS_MNT(product) || TMPFS_MNT(system_ext))
|
||||
targets.emplace_back(mentry->mnt_dir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user