sepolicy: Add rules for /dev/dma_heap/qcom,demura device
Define policy for qcom,demura device.
Change-Id: I1264329ecea1349f5fb78919644c02fd0bc552f2
diff --git a/generic/vendor/common/device.te b/generic/vendor/common/device.te
index 0f45ea0..1119120 100644
--- a/generic/vendor/common/device.te
+++ b/generic/vendor/common/device.te
@@ -59,6 +59,7 @@
type vendor_dmabuf_qseecom_ta_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_display_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_dmabuf_audio_ml_heap_device, dmabuf_heap_device_type, dev_type;
+type vendor_dmabuf_demura_heap_device, dmabuf_heap_device_type, dev_type;
type vendor_membuf_dev, dev_type;
diff --git a/generic/vendor/common/file_contexts b/generic/vendor/common/file_contexts
index b05e156..68b447f 100644
--- a/generic/vendor/common/file_contexts
+++ b/generic/vendor/common/file_contexts
@@ -131,6 +131,7 @@
/dev/dma_heap/qcom,qseecom-ta u:object_r:vendor_dmabuf_qseecom_ta_heap_device:s0
/dev/dma_heap/qcom,display u:object_r:vendor_dmabuf_display_heap_device:s0
/dev/dma_heap/qcom,audio-ml u:object_r:vendor_dmabuf_audio_ml_heap_device:s0
+/dev/dma_heap/qcom,demura u:object_r:vendor_dmabuf_demura_heap_device:s0
# mem-buf device used for inter-VM memory transactions
/dev/membuf u:object_r:vendor_membuf_dev:s0