aboutsummaryrefslogtreecommitdiffstats
path: root/mdnsd.te
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2014-02-24 13:04:49 -0500
committerStephen Smalley <sds@tycho.nsa.gov>2014-02-25 16:23:12 +0000
commit96ff4c053a238e04373fcc1f11d769418e8ce238 (patch)
tree8449b35727c57cddf0c2671cae2a9196b943f5cb /mdnsd.te
parentd107abd1ba4758db1f6d3c427ba69382007b31ff (diff)
downloadandroid_external_sepolicy-96ff4c053a238e04373fcc1f11d769418e8ce238.tar.gz
android_external_sepolicy-96ff4c053a238e04373fcc1f11d769418e8ce238.tar.bz2
android_external_sepolicy-96ff4c053a238e04373fcc1f11d769418e8ce238.zip
Add a domain for mdnsd and allow connecting to it.
Change-Id: I0a06fa32a46e515671b4e9a6f68e1a3f8b2c21a8 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'mdnsd.te')
-rw-r--r--mdnsd.te7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdnsd.te b/mdnsd.te
new file mode 100644
index 0000000..cfcf873
--- /dev/null
+++ b/mdnsd.te
@@ -0,0 +1,7 @@
+# mdns daemon
+type mdnsd, domain;
+permissive_or_unconfined(mdnsd)
+type mdnsd_exec, exec_type, file_type;
+
+init_daemon_domain(mdnsd)
+net_domain(mdnsd)