Fix AAudio avc denied
E SELinux : avc: denied { find } for pid=765 uid=1041 name=audio scontext=u:r:audioserver:s0 tcontext=u:object_r:audio_service:s0 tclass=service_manager permissive=0 Bug: 191103346 Test: build and run CtsNativeMediaAAudioTestCases Change-Id: I8e9a41360a382ba5f461818b9f8d6658dd53c62a
This commit is contained in:
parent
9c27ce91c8
commit
1e748ab270
1 changed files with 1 additions and 0 deletions
1
whitechapel/vendor/google/audioserver.te
vendored
1
whitechapel/vendor/google/audioserver.te
vendored
|
@ -1,2 +1,3 @@
|
||||||
# allow access to ALSA MMAP FDs for AAudio API
|
# allow access to ALSA MMAP FDs for AAudio API
|
||||||
allow audioserver audio_device:chr_file r_file_perms;
|
allow audioserver audio_device:chr_file r_file_perms;
|
||||||
|
allow audioserver audio_service:service_manager find;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue