aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-01-18 02:07:51 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-01-18 02:07:51 +0000
commit3450cc24f8e0f3033a244ada02a2c93db032769d (patch)
treeeea1eb244416540c6035f94b536f63fecafe4c17
parent7123ae6e64757c667d0329a9f5d63d6cbf31af0b (diff)
parent2192ec62231e44e1e99777841adb056ba81af9e1 (diff)
downloadandroid_system_sepolicy-3450cc24f8e0f3033a244ada02a2c93db032769d.tar.gz
android_system_sepolicy-3450cc24f8e0f3033a244ada02a2c93db032769d.tar.bz2
android_system_sepolicy-3450cc24f8e0f3033a244ada02a2c93db032769d.zip
Snap for 6145145 from 2192ec62231e44e1e99777841adb056ba81af9e1 to qt-qpr3-release
Change-Id: I9cbbb5de9cc86023371c135e5fe142cc17dcafd5
-rw-r--r--prebuilts/api/29.0/public/adbd.te3
-rw-r--r--public/adbd.te3
2 files changed, 6 insertions, 0 deletions
diff --git a/prebuilts/api/29.0/public/adbd.te b/prebuilts/api/29.0/public/adbd.te
index 68a176ca..4a1f6338 100644
--- a/prebuilts/api/29.0/public/adbd.te
+++ b/prebuilts/api/29.0/public/adbd.te
@@ -6,3 +6,6 @@ type adbd_exec, exec_type, file_type, system_file_type;
# Only init is allowed to enter the adbd domain via exec()
neverallow { domain -init } adbd:process transition;
neverallow * adbd:process dyntransition;
+
+# Allow adbd start/stop mdnsd via ctl.start
+set_prop(adbd, ctl_mdnsd_prop)
diff --git a/public/adbd.te b/public/adbd.te
index 68a176ca..4a1f6338 100644
--- a/public/adbd.te
+++ b/public/adbd.te
@@ -6,3 +6,6 @@ type adbd_exec, exec_type, file_type, system_file_type;
# Only init is allowed to enter the adbd domain via exec()
neverallow { domain -init } adbd:process transition;
neverallow * adbd:process dyntransition;
+
+# Allow adbd start/stop mdnsd via ctl.start
+set_prop(adbd, ctl_mdnsd_prop)