Merge "sepolicy: Add file context for DRM" into sepolicy.lnx.12.0.r21-rel
diff --git a/generic/vendor/sdm660_64/hal_gnss_qti.te b/generic/vendor/sdm660_64/hal_gnss_qti.te
new file mode 100644
index 0000000..388dbab
--- /dev/null
+++ b/generic/vendor/sdm660_64/hal_gnss_qti.te
@@ -0,0 +1,9 @@
+# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-3-Clause-Clear
+
+# generic/vendor_hal_gnss_qti.te - generic sepolicy rules for vendor_location hidl
+
+#Allow Gnss HAL to access ril socket
+allow vendor_hal_gnss_qti vendor_rild_socket:dir search;
+unix_socket_connect(vendor_hal_gnss_qti, vendor_rild, rild)
+
diff --git a/generic/vendor/sdm660_64/location.te b/generic/vendor/sdm660_64/location.te
new file mode 100644
index 0000000..7d1a94d
--- /dev/null
+++ b/generic/vendor/sdm660_64/location.te
@@ -0,0 +1,7 @@
+# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+# SPDX-License-Identifier: BSD-3-Clause-Clear
+
+# generic/vendor_location.te - sepolicy rules for generic vendor_location modules
+
+# allows location to access ssgtzd socket
+unix_socket_connect(vendor_location, vendor_ssgtzd, vendor_ssgtzd)
\ No newline at end of file