1 # Grant access to Qualcomm MSM Audio ACDB device to mediaserver 2 allow mediaserver msm_acdb_device:chr_file rw_file_perms; 3 4 # Grant access to Qualcomm MSM Interface (QMI) audio sockets to mediaserver 5 allow mediaserver qmux_audio_socket:sock_file create_file_perms; 6 allow mediaserver qmux_audio_socket:dir rw_dir_perms; 7 8 # Permit mediaserver to create sockets 9 allow mediaserver self:socket create; 10 11 # Grant access to audio firmware files to mediaserver 12 allow mediaserver audio_firmware_file:dir ra_dir_perms; 13 allow mediaserver audio_firmware_file:file create_file_perms; 14