mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 19:40:47 -05:00
Refactor sepolicy.rules resolve native
Co-authored-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
committed by
John Wu
co-authored by
LoveSy
parent
4de93cfd4b
commit
362eea741f
@@ -57,7 +57,12 @@ public:
|
||||
|
||||
class MagiskInit : public BaseInit {
|
||||
private:
|
||||
void mount_rules_dir();
|
||||
dev_t rules_dev = 0;
|
||||
|
||||
void parse_config_file();
|
||||
void patch_sepolicy(const char *in, const char *out);
|
||||
bool hijack_sepolicy();
|
||||
void setup_tmp(const char *path);
|
||||
protected:
|
||||
|
||||
#if ENABLE_AVD_HACK
|
||||
@@ -66,9 +71,6 @@ protected:
|
||||
bool avd_hack = false;
|
||||
#endif
|
||||
|
||||
void patch_sepolicy(const char *in, const char *out);
|
||||
bool hijack_sepolicy();
|
||||
void setup_tmp(const char *path);
|
||||
void patch_rw_root();
|
||||
void patch_ro_root();
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user