sepolicy: Add selabel for new CDSP CMA heap
Add a new selabel for the new CDSP CMA heap.
Change-Id: Ia169d61d8a672f5fcac45fc11f21d37279f01c24
diff --git a/generic/vendor/common/device.te b/generic/vendor/common/device.te
index 9527e99..db6a6c2 100644
--- a/generic/vendor/common/device.te
+++ b/generic/vendor/common/device.te
@@ -51,6 +51,7 @@
type vendor_dmabuf_secure_non_pixel, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_adsp_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_secure_cdsp_heap_device, dmabuf_heap_device_type, dev_type;
+type vendor_dmabuf_cma_secure_cdsp_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_sp_hlos_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_secure_sp_modem_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_secure_sp_tz_heap_device, dmabuf_heap_device_type, dev_type;
diff --git a/generic/vendor/common/file_contexts b/generic/vendor/common/file_contexts
index e9faa41..c276181 100644
--- a/generic/vendor/common/file_contexts
+++ b/generic/vendor/common/file_contexts
@@ -160,6 +160,7 @@
/dev/dma_heap/qcom,secure-non-pixel u:object_r:vendor_dmabuf_secure_non_pixel:s0
/dev/dma_heap/qcom,adsp u:object_r:vendor_dmabuf_adsp_heap_device:s0
/dev/dma_heap/qcom,secure-cdsp u:object_r:vendor_dmabuf_secure_cdsp_heap_device:s0
+/dev/dma_heap/qcom,cma-secure-cdsp u:object_r:vendor_dmabuf_cma_secure_cdsp_heap_device:s0
/dev/dma_heap/qcom,sp-hlos u:object_r:vendor_dmabuf_sp_hlos_heap_device:s0
/dev/dma_heap/qcom,secure-sp-modem u:object_r:vendor_dmabuf_secure_sp_modem_heap_device:s0
/dev/dma_heap/qcom,secure-sp-tz u:object_r:vendor_dmabuf_secure_sp_tz_heap_device:s0