summaryrefslogtreecommitdiffstats
path: root/common/dpmd.te
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-09-12 22:14:03 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-12 22:14:03 -0700
commit952d39556be6417579b39e16d09dd283aec61022 (patch)
tree4ed13f78b8caefc1e7a1c0bca4a3fdba30050167 /common/dpmd.te
parentfec07fe5ce6c0268cf7a495fa377626bd481ae88 (diff)
parent277acbba3c7adbb01364f738638a23b1b8674311 (diff)
downloadandroid_device_qcom_sepolicy-952d39556be6417579b39e16d09dd283aec61022.tar.gz
android_device_qcom_sepolicy-952d39556be6417579b39e16d09dd283aec61022.tar.bz2
android_device_qcom_sepolicy-952d39556be6417579b39e16d09dd283aec61022.zip
Merge "sepolicy: Restrict diag access available to domains"
Diffstat (limited to 'common/dpmd.te')
-rw-r--r--common/dpmd.te5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/dpmd.te b/common/dpmd.te
index f94953ee..4b92e91b 100644
--- a/common/dpmd.te
+++ b/common/dpmd.te
@@ -71,3 +71,8 @@ dpmd_socket_perm(netd)
#explicitly allow udp socket permissions for appdomain
allow dpmd appdomain:udp_socket rw_socket_perms;
+
+#diag
+userdebug_or_eng(`
+ diag_use(dpmd)
+')