summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-03 11:25:25 -0800
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2014-11-03 14:24:28 -0800
commitcb7448cce248b410c7763a2adcc452685cd818f0 (patch)
tree87101d25a83e18f0b29aaff7506675fe198d5edd /common
parentbd05645e5594c61c66413ce08c06cc5624207c52 (diff)
downloadandroid_device_qcom_sepolicy-cb7448cce248b410c7763a2adcc452685cd818f0.tar.gz
android_device_qcom_sepolicy-cb7448cce248b410c7763a2adcc452685cd818f0.tar.bz2
android_device_qcom_sepolicy-cb7448cce248b410c7763a2adcc452685cd818f0.zip
Seandroid: Adding dun service context.
Adding context for dun service Change-Id: Ie20962700335058800ed0d42ed01c2f27e4f96de
Diffstat (limited to 'common')
-rw-r--r--common/service.te1
-rw-r--r--common/service_contexts1
-rw-r--r--common/system_app.te1
3 files changed, 3 insertions, 0 deletions
diff --git a/common/service.te b/common/service.te
index 3624a51d..2c6fc009 100644
--- a/common/service.te
+++ b/common/service.te
@@ -3,3 +3,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;
+type dun_service, service_manager_type;
diff --git a/common/service_contexts b/common/service_contexts
index 98f48076..32b7985a 100644
--- a/common/service_contexts
+++ b/common/service_contexts
@@ -4,3 +4,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
+dun u:object_r:dun_service:s0
diff --git a/common/system_app.te b/common/system_app.te
index 895cec2f..4e2c5f02 100644
--- a/common/system_app.te
+++ b/common/system_app.te
@@ -2,6 +2,7 @@
allow system_app fm_radio_device:chr_file { read open ioctl};
allow system_app ctl_default_prop:property_service set;
allow system_app atfwd_service:service_manager add;
+allow system_app dun_service:service_manager add;
# access to perflock
allow system_app mpctl_socket:dir r_dir_perms;