Merge "mediacodec: add GPU access policy" into main

This commit is contained in:
Wesley Lee 2024-11-21 03:31:04 +00:00 committed by Android (Google) Code Review
commit 9cb50229d9

View file

@ -13,6 +13,7 @@ binder_call(mediacodec_google, hal_camera_default)
allow mediacodec_google dmabuf_system_heap_device:chr_file r_file_perms; allow mediacodec_google dmabuf_system_heap_device:chr_file r_file_perms;
allow mediacodec_google video_device:chr_file { read write open ioctl map }; allow mediacodec_google video_device:chr_file { read write open ioctl map };
allow mediacodec_google gpu_device:chr_file rw_file_perms;
# mediacodec_google should never execute any executable without a domain transition # mediacodec_google should never execute any executable without a domain transition
neverallow mediacodec_google { file_type fs_type }:file execute_no_trans; neverallow mediacodec_google { file_type fs_type }:file execute_no_trans;