summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-11-13 13:02:24 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-11-13 13:02:24 -0800
commit512910fa2637a41d9d83992cc666351722fe1dea (patch)
tree5e2e53b3f9edc3f1e278d6b0fca386fc639e2eeb /common
parentc9640c4d32cfc0baa4b3e98595ee32a72ce32654 (diff)
parent630212a4cfc0d712732027ec342f753d71308ba6 (diff)
downloadandroid_device_qcom_sepolicy-512910fa2637a41d9d83992cc666351722fe1dea.tar.gz
android_device_qcom_sepolicy-512910fa2637a41d9d83992cc666351722fe1dea.tar.bz2
android_device_qcom_sepolicy-512910fa2637a41d9d83992cc666351722fe1dea.zip
Merge "Seandroid: Adding context for imscmservice"
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)