aboutsummaryrefslogtreecommitdiffstats
path: root/dnsmasq.te
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2014-06-11 09:05:32 -0400
committerStephen Smalley <sds@tycho.nsa.gov>2014-06-11 14:16:36 +0000
commit7c11bdc414e10d0e570ff35394d209784a647105 (patch)
tree9dbf741240249d491920586babb54d6408a2d4f6 /dnsmasq.te
parent42fb824ca9f3e46b4419f05083f2694ac67a8229 (diff)
downloadandroid_external_sepolicy-7c11bdc414e10d0e570ff35394d209784a647105.tar.gz
android_external_sepolicy-7c11bdc414e10d0e570ff35394d209784a647105.tar.bz2
android_external_sepolicy-7c11bdc414e10d0e570ff35394d209784a647105.zip
Allow dnsmasq to inherit/use netd UDP socket.
Addresses denials such as: avc: denied { read write } for comm="dnsmasq" path="socket:[1054090]" dev="sockfs" ino=1054090 scontext=u:r:dnsmasq:s0 tcontext=u:r:netd:s0 tclass=udp_socket This may not be needed (need to check netd to see if it should be closing all of these sockets before exec'ing other programs), but should be harmless. Change-Id: I77c7af5e050e039fd48322914eeabbcb8a716040 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'dnsmasq.te')
-rw-r--r--dnsmasq.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/dnsmasq.te b/dnsmasq.te
index 8a2d2e6..d802a35 100644
--- a/dnsmasq.te
+++ b/dnsmasq.te
@@ -21,3 +21,4 @@ allow dnsmasq netd:netlink_nflog_socket { read write };
allow dnsmasq netd:netlink_route_socket { read write };
allow dnsmasq netd:unix_stream_socket { read write };
allow dnsmasq netd:unix_dgram_socket { read write };
+allow dnsmasq netd:udp_socket { read write };