diff options
author | Changyeon Jo <changyeon@google.com> | 2019-04-16 08:35:10 -0700 |
---|---|---|
committer | Changyeon Jo <changyeon@google.com> | 2020-01-16 08:26:51 -0800 |
commit | 60c4276c15fe1c085dd2c54a01983dd4c90e5d74 (patch) | |
tree | 51c165a8599248d38377bbaade6c236fc9b2cf5d | |
parent | 49807a6c26c11d592f175adbad31ed587b9a3927 (diff) | |
download | android_system_sepolicy-60c4276c15fe1c085dd2c54a01983dd4c90e5d74.tar.gz android_system_sepolicy-60c4276c15fe1c085dd2c54a01983dd4c90e5d74.tar.bz2 android_system_sepolicy-60c4276c15fe1c085dd2c54a01983dd4c90e5d74.zip |
Allow adb start/stop mdnsd via ctl.start/stop
Bug: 128345139
Test: make selinux_policy
Change-Id: I477d6d94c16974f23f703d5f334ef108279ab3bb
Signed-off-by: Changyeon Jo <changyeon@google.com>
(cherry picked from commit cfeaa1c664afbd10c7a52e845ec4c08c9eabb525)
-rw-r--r-- | prebuilts/api/29.0/public/adbd.te | 3 | ||||
-rw-r--r-- | public/adbd.te | 3 |
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) |