summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-20 11:55:09 -0800
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-20 11:56:33 -0800
commit64f8f614a1243f42076b60464e86e46eb76282f2 (patch)
tree1c873764df58a0d164f84d816b1d15495241bf59
parent733050a425e9fbfeaa5f07bfcba0c30795ca7291 (diff)
downloadandroid_device_qcom_sepolicy-64f8f614a1243f42076b60464e86e46eb76282f2.tar.gz
android_device_qcom_sepolicy-64f8f614a1243f42076b60464e86e46eb76282f2.tar.bz2
android_device_qcom_sepolicy-64f8f614a1243f42076b60464e86e46eb76282f2.zip
Seandroid: Moving connectionmanager policy to common
Moving policies related to connection manager to common folder. Change-Id: I9be8a072c8b7fda4cab2e246ec68dbcd8d21f562
-rw-r--r--common/ims.te1
-rw-r--r--common/service.te1
-rw-r--r--common/service_contexts1
-rw-r--r--msm8994/ims.te1
-rw-r--r--msm8994/service.te1
-rw-r--r--msm8994/service_contexts1
6 files changed, 3 insertions, 3 deletions
diff --git a/common/ims.te b/common/ims.te
index 401ee51d..1a35abe2 100644
--- a/common/ims.te
+++ b/common/ims.te
@@ -13,3 +13,4 @@ binder_use(ims)
unix_socket_connect(ims, property, init)
allow ims self:socket { read bind create write ioctl };
allow ims system_prop:property_service set;
+allow ims imscm_service:service_manager add;
diff --git a/common/service.te b/common/service.te
index 3d1689e7..ec90dda1 100644
--- a/common/service.te
+++ b/common/service.te
@@ -5,3 +5,4 @@ type cne_service, service_manager_type;
type wbc_service, service_manager_type;
type dun_service, service_manager_type;
type digitalpen_service, service_manager_type;
+type imscm_service, service_manager_type;
diff --git a/common/service_contexts b/common/service_contexts
index 16318443..b29e165e 100644
--- a/common/service_contexts
+++ b/common/service_contexts
@@ -6,3 +6,4 @@ vendor.qcom.PeripheralManager u:object_r:per_mgr_service:s0
wbc_service u:object_r:wbc_service:s0
dun u:object_r:dun_service:s0
DigitalPen u:object_r:digitalpen_service:s0
+qti.ims.connectionmanagerservice u:object_r:imscm_service:s0
diff --git a/msm8994/ims.te b/msm8994/ims.te
index 13fad80c..69bd1f3b 100644
--- a/msm8994/ims.te
+++ b/msm8994/ims.te
@@ -1,3 +1,2 @@
allow ims self:capability net_raw;
allow ims self:socket { read bind create write ioctl };
-allow ims imscm_service:service_manager add;
diff --git a/msm8994/service.te b/msm8994/service.te
deleted file mode 100644
index e3b10477..00000000
--- a/msm8994/service.te
+++ /dev/null
@@ -1 +0,0 @@
-type imscm_service, service_manager_type;
diff --git a/msm8994/service_contexts b/msm8994/service_contexts
deleted file mode 100644
index aa230e63..00000000
--- a/msm8994/service_contexts
+++ /dev/null
@@ -1 +0,0 @@
-qti.ims.connectionmanagerservice u:object_r:imscm_service:s0