summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-07 00:01:45 -0800
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-12 11:55:14 -0800
commitcf1be2f291c6226c8c701556e313476763a3e88b (patch)
tree7fae496027370bd9c3958a81b4be9df44770252e /common
parentcd192b26030aabd6d0fb118477bca19193220811 (diff)
downloadandroid_device_qcom_sepolicy-cf1be2f291c6226c8c701556e313476763a3e88b.tar.gz
android_device_qcom_sepolicy-cf1be2f291c6226c8c701556e313476763a3e88b.tar.bz2
android_device_qcom_sepolicy-cf1be2f291c6226c8c701556e313476763a3e88b.zip
Seandroid: Adding context for digital Pen
Adding context for Digital Pen. Change-Id: I34eee1069fb01fc0c71815550359165911af69f6
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 2c6fc009..3d1689e7 100644
--- a/common/service.te
+++ b/common/service.te
@@ -4,3 +4,4 @@ type dpmservice, service_manager_type;
type cne_service, service_manager_type;
type wbc_service, service_manager_type;
type dun_service, service_manager_type;
+type digitalpen_service, service_manager_type;
diff --git a/common/service_contexts b/common/service_contexts
index 32b7985a..16318443 100644
--- a/common/service_contexts
+++ b/common/service_contexts
@@ -5,3 +5,4 @@ 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
dun u:object_r:dun_service:s0
+DigitalPen u:object_r:digitalpen_service:s0
diff --git a/common/system_server.te b/common/system_server.te
index f8e32a08..9094489f 100644
--- a/common/system_server.te
+++ b/common/system_server.te
@@ -40,3 +40,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;
+allow system_server digitalpen_service:service_manager add;