Load custom sepolicy

This commit is contained in:
topjohnwu
2019-06-25 21:34:02 -07:00
parent 911b8273fe
commit a462435f2f
3 changed files with 60 additions and 3 deletions

View File

@ -33,7 +33,7 @@ protected:
virtual void early_mount() = 0;
bool read_dt_fstab(const char *name, char *partname, char *fstype);
bool patch_sepolicy();
bool patch_sepolicy(const char *file = "/sepolicy");
void cleanup() override;
public:
MagiskInit(char *argv[], cmdline *cmd) : BaseInit(argv, cmd) {};