Move MagiskInit::first_stage to rust

This commit is contained in:
LoveSy
2025-01-31 13:25:53 +08:00
committed by John Wu
parent dc9d5a4cac
commit e0489eeffd
3 changed files with 113 additions and 42 deletions
-1
View File
@@ -86,7 +86,6 @@ pub mod ffi {
// Two stage init
fn redirect_second_stage(self: &MagiskInit);
fn first_stage(self: &MagiskInit);
// SELinux
unsafe fn patch_sepolicy(self: &MagiskInit, in_: *const c_char, out: *const c_char);