Merge "Add sepolicies for gcma_camera heaps" into udc-qpr-dev am: a5c98e6cb0 am: c1d8cd28ef

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

Change-Id: Ib366d4c8f457cda3e4339a26b4c59fc23591a1b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-08-21 11:38:59 +00:00 committed by Automerger Merge Worker
commit 3dcf5ac4e0
3 changed files with 4 additions and 0 deletions

1
vendor/device.te vendored
View file

@ -13,6 +13,7 @@ type sensor_direct_heap_device, dmabuf_heap_device_type, dev_type;
type faceauth_heap_device, dmabuf_heap_device_type, dev_type;
type vscaler_secure_heap_device, dmabuf_heap_device_type, dev_type;
type framebuffer_secure_heap_device, dmabuf_heap_device_type, dev_type;
type gcma_camera_heap_device, dmabuf_heap_device_type, dev_type;
# SecureElement SPI device
type st54spi_device, dev_type;

View file

@ -205,4 +205,6 @@
/dev/dma_heap/vframe-secure u:object_r:dmabuf_system_secure_heap_device:s0
/dev/dma_heap/vscaler-secure u:object_r:vscaler_secure_heap_device:s0
/dev/dma_heap/vstream-secure u:object_r:dmabuf_system_secure_heap_device:s0
/dev/dma_heap/gcma_camera u:object_r:gcma_camera_heap_device:s0
/dev/dma_heap/gcma_camera-uncached u:object_r:gcma_camera_heap_device:s0
/dev/uci u:object_r:uci_device:s0

View file

@ -3,3 +3,4 @@ allow hal_graphics_allocator_default faceauth_heap_device:chr_file r_file_perms;
allow hal_graphics_allocator_default dmabuf_system_secure_heap_device:chr_file r_file_perms;
allow hal_graphics_allocator_default vscaler_secure_heap_device:chr_file r_file_perms;
allow hal_graphics_allocator_default framebuffer_secure_heap_device:chr_file r_file_perms;
allow hal_graphics_allocator_default gcma_camera_heap_device:chr_file r_file_perms;