I auditd : type=1400 audit(0.0:35): avc: denied { map } for comm="binder:896_4" path="/dev/snd/pcmC0D0p" dev="tmpfs" ino=1138 scontext=u:r:audioserver:s0 tcontext=u:object_r:audio_device:s0 tclass=chr_file permissive=0 E SELinux : avc: denied { find } for pid=887 uid=1041 name=audio scontext=u:r:audioserver:s0 tcontext=u:object_r:audio_service:s0 tclass=service_manager permissive=0 Bug: 222191260 Test: Flash TH ROM and test it by the following command Test: test_steal_exclusive -c0 Signed-off-by: millerliang <millerliang@google.com> Change-Id: I8ea6741f3682b568de089d040d511b68938374ab
3 lines
155 B
Text
3 lines
155 B
Text
# allow access to ALSA MMAP FDs for AAudio API
|
|
allow audioserver audio_device:chr_file r_file_perms;
|
|
allow audioserver audio_service:service_manager find;
|