From 4a13f7809b0db75f850e96dcd21e6550c4e1fa60 Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Wed, 10 Jul 2013 14:58:27 -0700
Subject: [PATCH] netd.te: allow ctl.mdnsd

Allow netd to set ctl.* properties. Currently, mdnsd is broken because
it can't set this property.

Bug: 9777774
Change-Id: I2f32504d77b651e66e0a0067e65a5ed44b427f5a
---
 netd.te | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/netd.te b/netd.te
index 3726ec4a1..9603ce3ea 100644
--- a/netd.te
+++ b/netd.te
@@ -48,3 +48,7 @@ allow netd hostapd:process signal;
 domain_auto_trans(netd, dnsmasq_exec, dnsmasq)
 allow netd dnsmasq:process signal;
 
+# Support netd running mdnsd
+# TODO: prune this back further
+allow netd ctl_default_prop:property_service set;
+allow netd device:sock_file write;
-- 
GitLab