From 9da0eff7be908cca937a042e0da8e022bf255d6b Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 17 Jun 2020 13:36:15 +0200 Subject: [PATCH] Fix denial preventing Moto One Macro to boot, because init cant mount /mnt/product/persist --- sepolicy/mediatek.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/mediatek.te b/sepolicy/mediatek.te index cdab7c0..c4835dd 100644 --- a/sepolicy/mediatek.te +++ b/sepolicy/mediatek.te @@ -1,3 +1,5 @@ type hal_graphics_allocator_default, domain; type proc_ged, file_type; allowxperm domain proc_ged:file ioctl { 0x6700-0x67ff }; + +allow init mnt_product_file:dir mounton;