summaryrefslogtreecommitdiffstats
path: root/common/uncrypt.te
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-04-22 01:28:18 +0100
committerSteve Kondik <steve@cyngn.com>2016-08-31 23:35:51 -0700
commitf2ce603429b7a83cb0e69b2e45fc782148fd152e (patch)
tree3b9b5cb5c16ea475f78acf4e252b15836ae88119 /common/uncrypt.te
parent6b6b261f5eb35c1765d0b33ef7d41106e73d3e83 (diff)
downloadandroid_device_qcom_sepolicy-f2ce603429b7a83cb0e69b2e45fc782148fd152e.tar.gz
android_device_qcom_sepolicy-f2ce603429b7a83cb0e69b2e45fc782148fd152e.tar.bz2
android_device_qcom_sepolicy-f2ce603429b7a83cb0e69b2e45fc782148fd152e.zip
uncrypt needs to write to the BCB
and in QC hardware, that's misc_partition... Change-Id: I1d2f5d11423f01435f17f0e6f5d418cc0ce30e9d
Diffstat (limited to 'common/uncrypt.te')
-rw-r--r--common/uncrypt.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/uncrypt.te b/common/uncrypt.te
index 3fab97e1..10c454b7 100644
--- a/common/uncrypt.te
+++ b/common/uncrypt.te
@@ -28,3 +28,7 @@
# Allow uncrypting of RIDL
allow uncrypt RIDL_data_file:file r_file_perms;
allow uncrypt RIDL_data_file:dir r_dir_perms;
+
+allow uncrypt misc_partition:blk_file w_file_perms;
+allow uncrypt misc_partition:dir r_dir_perms;
+