Merge changes Ie0ed96d7,Id7f43fe1 into sc-dev am: e72c30346f

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/13839790

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3c68b42795c4b0b2cfd9510a9b393c80f2f9bc81
This commit is contained in:
Wen Chang Liu 2021-03-12 05:51:09 +00:00 committed by Automerger Merge Worker
commit 8cbf2bcb97
4 changed files with 11 additions and 7 deletions

View file

@ -1,7 +0,0 @@
# b/172173484
dontaudit mediacodec sysfs:file { getattr };
dontaudit mediacodec sysfs:file { open };
dontaudit mediacodec sysfs:file { read };
userdebug_or_eng(`
permissive mediacodec;
')

View file

@ -179,3 +179,6 @@ type sysfs_memory, sysfs_type, fs_type;
# bcmdhd (Broadcom FullMAC wireless cards support)
type sysfs_bcmdhd, sysfs_type, fs_type;
# Video
type sysfs_video, sysfs_type, fs_type;

View file

@ -408,3 +408,10 @@
# video system DMA-BUF heap
/dev/dma_heap/video_system u:object_r:dmabuf_system_heap_device:s0
/dev/dma_heap/video_system-uncached u:object_r:dmabuf_system_heap_device:s0
# Video sysfs files
/sys/devices/platform/mfc/video4linux/video6/name u:object_r:sysfs_video:s0
/sys/devices/platform/mfc/video4linux/video7/name u:object_r:sysfs_video:s0
# BigOcean
/dev/bigocean u:object_r:video_device:s0

View file

@ -4,3 +4,4 @@ userdebug_or_eng(`
add_service(mediacodec, eco_service)
allow mediacodec hal_camera_default:binder call;
allow mediacodec sysfs_video:file r_file_perms;