Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    ad10d108
    DO NOT MERGE: partial backport of 08461cb0 · ad10d108
    Stephen Smalley authored
    
    Original change: 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: Iebbbf8f9f31b56ec5b158dda93101472c25e638d
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    ad10d108
    History
    DO NOT MERGE: partial backport of 08461cb0
    Stephen Smalley authored
    
    Original change: 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: Iebbbf8f9f31b56ec5b158dda93101472c25e638d
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>