Allow mediacodec_samsung to access graphics allocator
avc: denied { find } for interface=android.hardware.graphics.mapper::IMapper \ sid=u:r:mediacodec_samsung:s0 pid=792 scontext=u:r:mediacodec_samsung:s0 \ tcontext=u:object_r:hal_graphics_mapper_hwservice:s0 tclass=hwservice_manager permissive=1 avc: denied { use } for path="/dmabuf:" dev="dmabuf" ino=94523 \ scontext=u:r:mediacodec_samsung:s0 tcontext=u:r:hal_graphics_allocator_default:s0 \ tclass=fd permissive=1 Bug: 205657093 Test: video playback / screen recording Change-Id: I6c64b4d2483b146358ef678c56aec68dd86eb878
This commit is contained in:
parent
f2b1870b23
commit
fae7e19893
1 changed files with 3 additions and 0 deletions
|
@ -10,3 +10,6 @@ vndbinder_use(mediacodec_samsung)
|
|||
|
||||
allow mediacodec_samsung video_device:chr_file rw_file_perms;
|
||||
allow mediacodec_samsung dmabuf_system_heap_device:chr_file r_file_perms;
|
||||
|
||||
# can use graphics allocator
|
||||
hal_client_domain(mediacodec_samsung, hal_graphics_allocator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue