Migrate module mounting to Rust

This commit is contained in:
topjohnwu
2025-05-20 03:24:43 -07:00
committed by John Wu
parent 4c89c7e2b3
commit 527bbc0368
11 changed files with 615 additions and 675 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ impl MagiskInit {
debug!("Mount [{}] -> [{}]", src, dest);
clone_attr(&dest, &src)?;
dest.get_secontext(&mut con)?;
src.bind_mount_to(&dest)?;
src.bind_mount_to(&dest, false)?;
self.overlay_con
.push(OverlayAttr(dest.to_owned(), con.to_owned()));
mount_list.push_str(dest.as_str());