mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:27:41 +00:00
Make magisk node ro as well
This commit is contained in:
parent
a207f03952
commit
b9e6937996
@ -207,6 +207,7 @@ public:
|
|||||||
xsymlink("./magiskpolicy", dest.data());
|
xsymlink("./magiskpolicy", dest.data());
|
||||||
}
|
}
|
||||||
create_and_mount("magisk", src);
|
create_and_mount("magisk", src);
|
||||||
|
xmount(nullptr, node_path().data(), nullptr, MS_REMOUNT | MS_BIND | MS_RDONLY, nullptr);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user