ksud: Fix module may mount failed

This commit is contained in:
tiann
2023-02-02 14:01:55 +08:00
parent 64c2f6ba5c
commit 3eb812be5b
3 changed files with 120 additions and 37 deletions

View File

@@ -124,7 +124,7 @@ pub fn on_post_data_fs() -> Result<()> {
}
info!("mount {target_update_img} to {module_dir}");
mount::mount_ext4(target_update_img, module_dir)?;
mount::mount_ext4(target_update_img, module_dir, false)?;
// load sepolicy.rule
if crate::module::load_sepolicy_rule().is_err() {