Merge "sepolicy_vndr: Add generic lablel for gpu_available_frequencies"
diff --git a/generic/vendor/crow/hal_camera_default.te b/generic/vendor/crow/hal_camera_default.te
index c12920b..44ff7be 100644
--- a/generic/vendor/crow/hal_camera_default.te
+++ b/generic/vendor/crow/hal_camera_default.te
@@ -25,6 +25,7 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Changes from Qualcomm Innovation Center are provided under the following license:
# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved
# SPDX-License-Identifier: BSD-3-Clause-Clear
diff --git a/generic/vendor/kalama/file_contexts b/generic/vendor/kalama/file_contexts
index 6d3a0eb..dc42fbd 100644
--- a/generic/vendor/kalama/file_contexts
+++ b/generic/vendor/kalama/file_contexts
@@ -315,6 +315,9 @@
/vendor/bin/hw/vendor\.aks\.gamepad@1\.0-service u:object_r:hal_gamepad_default_exec:s0
/dev/aks_input u:object_r:vendor_aks_chr_device:s0
+#Gfx
+/(vendor|system/vendor)/bin/init\.qti\.graphics\.sh u:object_r:vendor_qti_graphics_boot_exec:s0
+
# Microdump collector parameters
/sys/module/microdump_collector/parameters/.* u:object_r:vendor_sysfs_microdump:s0
/vendor/bin/usbudev u:object_r:vendor_usbudev_qti_exec:s0
diff --git a/generic/vendor/kalama/vendor_qti_graphics_boot.te b/generic/vendor/kalama/vendor_qti_graphics_boot.te
new file mode 100644
index 0000000..4a9b66e
--- /dev/null
+++ b/generic/vendor/kalama/vendor_qti_graphics_boot.te
@@ -0,0 +1,11 @@
+# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-3-Clause-Clear
+
+type vendor_qti_graphics_boot, domain;
+type vendor_qti_graphics_boot_exec, exec_type, vendor_file_type, file_type;
+
+init_daemon_domain(vendor_qti_graphics_boot)
+
+#============= qti_graphics_boot ==============
+set_prop(vendor_qti_graphics_boot, vendor_display_prop)
+allow vendor_qti_graphics_boot vendor_toolbox_exec:file rx_file_perms;
diff --git a/qva/vendor/crow/hal_bootctl_default.te b/qva/vendor/crow/hal_bootctl_default.te
index fc697b5..3fa6818 100644
--- a/qva/vendor/crow/hal_bootctl_default.te
+++ b/qva/vendor/crow/hal_bootctl_default.te
@@ -3,3 +3,6 @@
#for hal_bootctl_default
allow hal_bootctl_default vendor_sysfs_scsi_host:dir search;
+
+#============= vold ==============
+allow vold vendor_sysfs_scsi_host:file write;