Merge "Add sepolicies for gcma_camera heaps" into udc-qpr-dev

This commit is contained in:
Treehugger Robot 2023-08-21 10:29:20 +00:00 committed by Android (Google) Code Review
commit a5c98e6cb0
3 changed files with 4 additions and 0 deletions

1
vendor/device.te vendored
View file

@ -14,6 +14,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

@ -207,4 +207,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;