summaryrefslogtreecommitdiffstats
path: root/common/qcomsysd.te
diff options
context:
space:
mode:
authorAmeya Thakur <ameyat@codeaurora.org>2014-11-07 11:50:17 -0800
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-12 11:55:15 -0800
commit371ef13d1a2410471c70d553315f0d26b87c4499 (patch)
treec559947fb80b46cf8c2a69260a9e122265d64038 /common/qcomsysd.te
parent738a29da048e108becfa185807e34ad7e380534a (diff)
downloadandroid_device_qcom_sepolicy-371ef13d1a2410471c70d553315f0d26b87c4499.tar.gz
android_device_qcom_sepolicy-371ef13d1a2410471c70d553315f0d26b87c4499.tar.bz2
android_device_qcom_sepolicy-371ef13d1a2410471c70d553315f0d26b87c4499.zip
sepolicy: Add block device search permission for qcomsysd
qcomsysd needs to search the block device directory since it needs to access certain raw partitions. The permission to do this is now present. Change-Id: I2af98df0cd5315d31dfe2b695c76b84d51017031
Diffstat (limited to 'common/qcomsysd.te')
-rw-r--r--common/qcomsysd.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/qcomsysd.te b/common/qcomsysd.te
index 483b97bc..7b786da4 100644
--- a/common/qcomsysd.te
+++ b/common/qcomsysd.te
@@ -11,6 +11,7 @@ allow qcomsysd smem_log_device:chr_file { open read write ioctl };
allow qcomsysd diag_device:chr_file { open read write ioctl };
#Needed to read/write cookies to the misc partition
+allow qcomsysd block_device:dir { search };
allow qcomsysd misc_partition:blk_file { open read getattr write };
#Needed to access the bootselect partition