aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayankbali <mayankbali3@gmail.com>2017-07-10 20:31:22 +0530
committermayankbali <mayankbali3@gmail.com>2017-07-10 20:31:22 +0530
commit862be83b2fe2ffe31b9c3aec9d99907f5fa3745f (patch)
tree4223e4e7afe5b1e08a8aa0e1b67d2b96a8e4452b
parent9a7e86bca7c068bfeaf2d5d272a84389ac9100f0 (diff)
msm8916-common: fix rmt_storage denied to read/write file perms on efs partition
-rw-r--r--sepolicy/rmt_storage.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/sepolicy/rmt_storage.te b/sepolicy/rmt_storage.te
index 0a95fb8..0b6eae1 100644
--- a/sepolicy/rmt_storage.te
+++ b/sepolicy/rmt_storage.te
@@ -3,4 +3,5 @@ allow rmt_storage firmware_file:file r_file_perms;
allow rmt_storage init:unix_stream_socket connectto;
allow rmt_storage property_socket:sock_file write;
allow rmt_storage self:capability { dac_override net_raw };
-allow rmt_storage unlabeled:file { open read };
+allow rmt_storage unlabeled:file { open read unlink };
+allow rmt_storage modem_efs_partition_device:blk_file rw_file_perms;