Support deodexed ROM on Pie (Samsung)

- cc @abrahamgcc
This commit is contained in:
corsicanu 2019-02-17 17:34:22 +02:00 committed by John Wu
parent 7126648404
commit 0f61c627b1

View File

@ -175,6 +175,10 @@ void sepol_magisk_rules() {
// Support deodexed ROM on Oreo // Support deodexed ROM on Oreo
sepol_allow("zygote", "dalvikcache_data_file", "file", "execute"); sepol_allow("zygote", "dalvikcache_data_file", "file", "execute");
// Support deodexed ROM on Pie (Samsung)
sepol_allow("system_server", "dalvikcache_data_file", "file", "write");
sepol_allow("system_server", "dalvikcache_data_file", "file", "execute");
// Allow update engine to source addon.d.sh // Allow update engine to source addon.d.sh
sepol_allow("update_engine", "adb_data_file", "dir", ALL); sepol_allow("update_engine", "adb_data_file", "dir", ALL);