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:
commit
8cbf2bcb97
4 changed files with 11 additions and 7 deletions
|
@ -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;
|
|
||||||
')
|
|
3
whitechapel/vendor/google/file.te
vendored
3
whitechapel/vendor/google/file.te
vendored
|
@ -179,3 +179,6 @@ type sysfs_memory, sysfs_type, fs_type;
|
||||||
|
|
||||||
# bcmdhd (Broadcom FullMAC wireless cards support)
|
# bcmdhd (Broadcom FullMAC wireless cards support)
|
||||||
type sysfs_bcmdhd, sysfs_type, fs_type;
|
type sysfs_bcmdhd, sysfs_type, fs_type;
|
||||||
|
|
||||||
|
# Video
|
||||||
|
type sysfs_video, sysfs_type, fs_type;
|
||||||
|
|
7
whitechapel/vendor/google/file_contexts
vendored
7
whitechapel/vendor/google/file_contexts
vendored
|
@ -408,3 +408,10 @@
|
||||||
# video system DMA-BUF heap
|
# video system DMA-BUF heap
|
||||||
/dev/dma_heap/video_system u:object_r:dmabuf_system_heap_device:s0
|
/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
|
/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
|
||||||
|
|
1
whitechapel/vendor/google/mediacodec.te
vendored
1
whitechapel/vendor/google/mediacodec.te
vendored
|
@ -4,3 +4,4 @@ userdebug_or_eng(`
|
||||||
|
|
||||||
add_service(mediacodec, eco_service)
|
add_service(mediacodec, eco_service)
|
||||||
allow mediacodec hal_camera_default:binder call;
|
allow mediacodec hal_camera_default:binder call;
|
||||||
|
allow mediacodec sysfs_video:file r_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue