summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-05 16:40:57 -0800
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-12 11:35:36 -0800
commit630212a4cfc0d712732027ec342f753d71308ba6 (patch)
treeb60647a932e93735cf86751c98da9fa44260200a /common
parente0ef785a1bb25198dc0f5b1e583a0dfc2952cbf7 (diff)
downloadandroid_device_qcom_sepolicy-630212a4cfc0d712732027ec342f753d71308ba6.tar.gz
android_device_qcom_sepolicy-630212a4cfc0d712732027ec342f753d71308ba6.tar.bz2
android_device_qcom_sepolicy-630212a4cfc0d712732027ec342f753d71308ba6.zip
Seandroid: Adding context for imscmservice
Adding context for imscmservice, Also addressing few ims related denial logs Change-Id: I3e17e57221dc531729ce897590857dbd773d2bbd
Diffstat (limited to 'common')
-rwxr-xr-xcommon/file_contexts1
-rw-r--r--common/ims.te4
2 files changed, 4 insertions, 1 deletions
diff --git a/common/file_contexts b/common/file_contexts
index 47fd0591..740645e2 100755
--- a/common/file_contexts
+++ b/common/file_contexts
@@ -103,6 +103,7 @@
/system/bin/imsdatadaemon u:object_r:ims_exec:s0
/system/bin/imsqmidaemon u:object_r:ims_exec:s0
/system/bin/ims_rtp_daemon u:object_r:ims_exec:s0
+/system/bin/imscmservice u:object_r:ims_exec:s0
/system/bin/netmgrd u:object_r:netmgrd_exec:s0
/system/bin/qmuxd u:object_r:qmuxd_exec:s0
/system/bin/port-bridge u:object_r:port-bridge_exec:s0
diff --git a/common/ims.te b/common/ims.te
index 87d626ae..01714869 100644
--- a/common/ims.te
+++ b/common/ims.te
@@ -7,4 +7,6 @@ init_daemon_domain(ims)
allow radio ims_socket:sock_file { open read write };
allow ims ims_socket:sock_file { open read write };
-
+allow ims property_socket:sock_file write;
+allow ims servicemanager:binder call;
+binder_use(ims)