summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAvijit Kanti Das <avijitnsec@codeaurora.org>2014-10-31 15:28:08 -0700
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-03 14:23:10 -0800
commit42a58192e0f08c95d63667df67b7f46f3037eea6 (patch)
treee66055a12ce9a0b7800b7b0d5b4455c41f9bec20 /common
parentb5f8a435dd57a198c0decfa06e2a18724008a63d (diff)
downloadandroid_device_qcom_sepolicy-42a58192e0f08c95d63667df67b7f46f3037eea6.tar.gz
android_device_qcom_sepolicy-42a58192e0f08c95d63667df67b7f46f3037eea6.tar.bz2
android_device_qcom_sepolicy-42a58192e0f08c95d63667df67b7f46f3037eea6.zip
Seandroid: Add policy for wbc services
Add policy for wbc services Change-Id: I1ca863faeaac84382cc6e208fa4c869978d9b80a
Diffstat (limited to 'common')
-rw-r--r--common/service.te1
-rw-r--r--common/service_contexts1
-rw-r--r--common/system_server.te1
3 files changed, 3 insertions, 0 deletions
diff --git a/common/service.te b/common/service.te
index 3ee70fe8..3624a51d 100644
--- a/common/service.te
+++ b/common/service.te
@@ -2,3 +2,4 @@ type atfwd_service, service_manager_type;
type per_mgr_service, service_manager_type;
type dpmservice, service_manager_type;
type cne_service, service_manager_type;
+type wbc_service, service_manager_type;
diff --git a/common/service_contexts b/common/service_contexts
index e0e84380..98f48076 100644
--- a/common/service_contexts
+++ b/common/service_contexts
@@ -3,3 +3,4 @@ dpmservice u:object_r:dpmservice:s0
listen.service u:object_r:mediaserver_service:s0
cneservice u:object_r:cne_service:s0
vendor.qcom.PeripheralManager u:object_r:per_mgr_service:s0
+wbc_service u:object_r:wbc_service:s0
diff --git a/common/system_server.te b/common/system_server.te
index 8967e3c6..f8e32a08 100644
--- a/common/system_server.te
+++ b/common/system_server.te
@@ -39,3 +39,4 @@ allow system_server location_data_file:sock_file rw_file_perms;
#For wifistatemachine
allow system_server kernel:key search;
+allow system_server wbc_service:service_manager add;