sepolicy: mediaserver.te: Add read permission to dmabuf_system_heap_device
Following Hridya's patches, I found one more place where dmabuf system heap access is needed in order to play back video without ION Audit error: 09-22 05:34:36.545 478 478 W NPDecoder-CL: type=1400 audit(0.0:65): avc: denied { read } for name="system" dev="tmpfs" ino=631 scontext=u:r:mediaserver: s0 tcontext=u:object_r:dmabuf_system_heap_device:s0 tclass=chr_file permissive=0 Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I016a260b936a343a29f0e3bbb565b52bbcb0133a
This commit is contained in:
parent
9ce62543d8
commit
83ae7e71f9
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ allow mediaserver media_rw_data_file:file create_file_perms;
|
|||
allow mediaserver preloads_media_file:file { getattr read ioctl };
|
||||
|
||||
allow mediaserver ion_device:chr_file r_file_perms;
|
||||
allow mediaserver dmabuf_system_heap_device:chr_file r_file_perms;
|
||||
allow mediaserver hal_graphics_allocator:fd use;
|
||||
allow mediaserver hal_graphics_composer:fd use;
|
||||
allow mediaserver hal_camera:fd use;
|
||||
|
|
Loading…
Reference in a new issue