Simplify sepolicy rules

This commit is contained in:
topjohnwu
2020-05-25 02:30:39 -07:00
parent 4499cebcd9
commit 599ee57d39
2 changed files with 15 additions and 61 deletions

View File

@ -152,7 +152,6 @@ bool MagiskInit::patch_sepolicy(const char *file) {
sepol = sepolicy::from_split();
sepol->magisk_rules();
sepol->allow(SEPOL_PROC_DOMAIN, ALL, ALL, ALL);
// Custom rules
if (auto dir = open_dir(persist_dir.data()); dir) {