summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKun Liang <kunliang@codeaurora.org>2015-01-05 18:05:23 +0800
committerSteve Kondik <steve@cyngn.com>2015-01-15 18:13:09 -0800
commit9e6e6b745bd82cea0bac7efe149fa6c579b58f61 (patch)
treeec47256ce2eaf225ed6b3e343e51ad9bcf03419b
parent4d416de23a1b9fb6d2415253bebc683e03f89b84 (diff)
downloadandroid_device_qcom_sepolicy-9e6e6b745bd82cea0bac7efe149fa6c579b58f61.tar.gz
android_device_qcom_sepolicy-9e6e6b745bd82cea0bac7efe149fa6c579b58f61.tar.bz2
android_device_qcom_sepolicy-9e6e6b745bd82cea0bac7efe149fa6c579b58f61.zip
sepolicy: allow radio to access video_device, smd_device
VideoCall which belongs to radio domain need permission to access video_device, smd_device. Change-Id: Ie14f58ffd3a980e4125c8711177ae6be1b83a49e
-rw-r--r--common/radio.te5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/radio.te b/common/radio.te
index 2b854f5a..156de1d8 100644
--- a/common/radio.te
+++ b/common/radio.te
@@ -11,3 +11,8 @@ unix_socket_connect(radio, dpmd, dpmd)
# IMS needs permission to use unix domain socket
allow radio ims:unix_stream_socket connectto;
+
+# allow radio to access video_device, smd_device for VideoCall
+allow radio video_device:dir r_dir_perms;
+allow radio video_device:chr_file rw_file_perms;
+allow radio smd_device:chr_file rw_file_perms;