Skip to content
Snippets Groups Projects
  • Nick Kralevich's avatar
    04e730b6
    system_server: allow open /dev/snd and read files · 04e730b6
    Nick Kralevich authored
    system_server needs to open /dev/snd and access files
    within that directory. Allow it.
    
    system_server need to parse the ALSA card descriptors after a USB device
    has been inserted. This happens from USBService in system_server.
    
    Addresses the following denial:
    
      system_server( 1118): type=1400 audit(0.0:19): avc: denied { search } for comm=5573625365727669636520686F7374 name="snd" dev="tmpfs" ino=8574 scontext=u:r:system_server:s0 tcontext=u:object_r:audio_device:s0 tclass=dir
    
    and likely others
    
    Change-Id: Id274d3feb7bf337f492932e5e664d65d0b8d05b8
    04e730b6
    History
    system_server: allow open /dev/snd and read files
    Nick Kralevich authored
    system_server needs to open /dev/snd and access files
    within that directory. Allow it.
    
    system_server need to parse the ALSA card descriptors after a USB device
    has been inserted. This happens from USBService in system_server.
    
    Addresses the following denial:
    
      system_server( 1118): type=1400 audit(0.0:19): avc: denied { search } for comm=5573625365727669636520686F7374 name="snd" dev="tmpfs" ino=8574 scontext=u:r:system_server:s0 tcontext=u:object_r:audio_device:s0 tclass=dir
    
    and likely others
    
    Change-Id: Id274d3feb7bf337f492932e5e664d65d0b8d05b8