Allow mediacodec_google to access secure dma heap
The change is for following error: HwBinder:867_1: type=1400 audit(0.0:9): avc: denied { read } for name="vframe-secure" dev="tmpfs" ino=425 scontext=u:r:mediacodec_google:s0 tcontext=u:object_r:dmabuf_system_secure_heap_device:s0 tclass=chr_file permissive=0 Bug:221500257 Change-Id: I03e8c9b4f1d2099e6d7cd6d56f8d7f0834fd0009
This commit is contained in:
parent
7bff4ad858
commit
e239561061
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ hal_client_domain(mediacodec_google, hal_codec2)
|
|||
hal_client_domain(mediacodec_google, hal_graphics_allocator)
|
||||
|
||||
allow mediacodec_google dmabuf_system_heap_device:chr_file r_file_perms;
|
||||
allow mediacodec_google dmabuf_system_secure_heap_device:chr_file r_file_perms;
|
||||
allow mediacodec_google video_device:chr_file rw_file_perms;
|
||||
|
||||
crash_dump_fallback(mediacodec_google)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue