Seandroid: Add policy for wbc services
Add policy for wbc services
Change-Id: I1ca863faeaac84382cc6e208fa4c869978d9b80a
diff --git a/common/service.te b/common/service.te
index 3ee70fe..3624a51 100644
--- a/common/service.te
+++ b/common/service.te
@@ -2,3 +2,4 @@
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 e0e8438..98f4807 100644
--- a/common/service_contexts
+++ b/common/service_contexts
@@ -3,3 +3,4 @@
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 8967e3c..f8e32a0 100644
--- a/common/system_server.te
+++ b/common/system_server.te
@@ -39,3 +39,4 @@
#For wifistatemachine
allow system_server kernel:key search;
+allow system_server wbc_service:service_manager add;