diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2014-03-18 10:45:15 -0400 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2014-03-18 10:46:48 -0400 |
commit | 08461cb03948e911090a4ab32954ccac67d6409e (patch) | |
tree | 8941fcc048a0f77bcad039856aba43c0795a215f /dnsmasq.te | |
parent | b97ed1ad047534c60e1d945bd8f6561d0a7d11cc (diff) | |
download | android_external_sepolicy-08461cb03948e911090a4ab32954ccac67d6409e.tar.gz android_external_sepolicy-08461cb03948e911090a4ab32954ccac67d6409e.tar.bz2 android_external_sepolicy-08461cb03948e911090a4ab32954ccac67d6409e.zip |
Allow netd-spawned domains to use inherited netd unix_dgram_socket.
Resolves denials such as:
avc: denied { read write } for pid=4346 comm="hostapd" path="socket:[7874]" dev="sockfs" ino=7874 scontext=u:r:hostapd:s0 tcontext=u:r:netd:s0 tclass=unix_dgram_socket
avc: denied { read write } for pid=4348 comm="dnsmasq" path="socket:[7874]" dev="sockfs" ino=7874 scontext=u:r:dnsmasq:s0 tcontext=u:r:netd:s0 tclass=unix_dgram_socket
Change-Id: Ie82f39c32c6e04bc9ef1369ca787cf80b3b4141c
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'dnsmasq.te')
-rw-r--r-- | dnsmasq.te | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,3 +20,4 @@ allow dnsmasq netd:netlink_kobject_uevent_socket { read write }; 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 }; |