Fix avc denied in MMAP audio exclusive mode
04-01 15:26:30.936 16390 16390 I auditd : type=1400 audit(0.0:55): avc: denied { read } for comm="HwBinder:16390_" name="aaudio_playback_heap" dev="tmpfs" ino=400 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:dmabuf_heap_device:s0 tclass=chr_file permissive=1 Bug: 165737390 Test: Build and use OboeTester to run MMAP audio Change-Id: I22201dfd4a3f579b52d4cfbc86fc6148dc481cb0
This commit is contained in:
parent
60a2a6c09b
commit
b4bab832f9
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ allow hal_audio_default aoc_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
allow hal_audio_default hal_audio_ext_hwservice:hwservice_manager { find add };
|
allow hal_audio_default hal_audio_ext_hwservice:hwservice_manager { find add };
|
||||||
|
|
||||||
|
#allow access to DMABUF Heaps for AAudio API
|
||||||
|
allow hal_audio_default dmabuf_heap_device:chr_file r_file_perms;
|
||||||
|
|
||||||
get_prop(hal_audio_default, vendor_audio_prop);
|
get_prop(hal_audio_default, vendor_audio_prop);
|
||||||
|
|
||||||
userdebug_or_eng(`
|
userdebug_or_eng(`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue