mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-10 10:32:33 +00:00
Make magisk node ro as well
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user