You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Move MagiskInit::second_stage to rust
This commit is contained in:
@@ -13,6 +13,7 @@ mod mount;
|
||||
mod rootdir;
|
||||
mod getinfo;
|
||||
mod init;
|
||||
mod twostage;
|
||||
|
||||
#[cxx::bridge]
|
||||
pub mod ffi {
|
||||
@@ -86,7 +87,6 @@ pub mod ffi {
|
||||
// Two stage init
|
||||
fn redirect_second_stage(self: &MagiskInit);
|
||||
fn first_stage(self: &MagiskInit);
|
||||
fn second_stage(self: &mut MagiskInit);
|
||||
|
||||
// SELinux
|
||||
unsafe fn patch_sepolicy(self: &MagiskInit, in_: *const c_char, out: *const c_char);
|
||||
|
||||
Reference in New Issue
Block a user