Move MagiskInit::redirect_second_stage to rust

This commit is contained in:
LoveSy
2025-01-31 13:38:16 +08:00
committed by John Wu
parent e0489eeffd
commit fb926ae302
4 changed files with 35 additions and 35 deletions
-3
View File
@@ -84,9 +84,6 @@ pub mod ffi {
fn patch_rw_root(self: &mut MagiskInit);
fn patch_ro_root(self: &mut MagiskInit);
// Two stage init
fn redirect_second_stage(self: &MagiskInit);
// SELinux
unsafe fn patch_sepolicy(self: &MagiskInit, in_: *const c_char, out: *const c_char);
fn hijack_sepolicy(self: &mut MagiskInit) -> bool;