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
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ public:
xsymlink("./magiskpolicy", dest.data());
}
create_and_mount("magisk", src);
xmount(nullptr, node_path().data(), nullptr, MS_REMOUNT | MS_BIND | MS_RDONLY, nullptr);
}
};