aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-12-27 17:19:49 +0100
committerMister Oyster <oysterized@gmail.com>2017-12-27 17:20:04 +0100
commit06e457fa37aa614413995c37b92dc5f264e0dd85 (patch)
tree82967823f7d5b3405370bb7550733af18c76bb94
parent93b88ec8c224c2c354a0d8eb37a977d5f476aba1 (diff)
sepolicy: prevent muxreport from crashing when reloading modem
-rw-r--r--sepolicy/md_ctrl.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/md_ctrl.te b/sepolicy/md_ctrl.te
index ee57225..b261ec3 100644
--- a/sepolicy/md_ctrl.te
+++ b/sepolicy/md_ctrl.te
@@ -8,4 +8,8 @@ allow md_ctrl devpts:chr_file rw_file_perms;
allow md_ctrl muxreport_exec:file rx_file_perms;
allow md_ctrl self:capability dac_override;
+# sysfs_ccci
+allow md_ctrl sysfs_ccci:dir { r_file_perms search };
+allow md_ctrl sysfs_ccci:file r_file_perms;
+
set_prop(md_ctrl,vold_encryption_type_prop);