Make magisk node ro as well

This commit is contained in:
LoveSy 2023-05-09 10:07:00 +08:00 committed by John Wu
parent a207f03952
commit b9e6937996

View File

@ -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);
} }
}; };