DO NOT MERGE: Update SeLinux Policy for Trout GNSS HAL
Test: build and boot, then `ps -A | grep gnss` to make sure GNSS HAL is
running
Bug: 200974691
Change-Id: I1b44c5b233414c359c6bedd7a9bb2e264e7efd4d
diff --git a/sepolicy/vendor/google/file_contexts b/sepolicy/vendor/google/file_contexts
index ad62f93..c8d2564 100644
--- a/sepolicy/vendor/google/file_contexts
+++ b/sepolicy/vendor/google/file_contexts
@@ -17,6 +17,9 @@
/sys/devices/platform/system-controller/scmi_dev\.[0-9]+/iio:device[0-9]+/scan_elements/[^/]+_en$ u:object_r:sysfs_iio_file_ctrl:s0
/sys/devices/platform/system-controller/scmi_dev\.[0-9]+/iio:device[0-9]+/buffer/enable$ u:object_r:sysfs_iio_file_ctrl:s0
+# GNSS HAL
+/(vendor|system/vendor)/bin/hw/android\.hardware\.gnss-service.trout u:object_r:hal_gnss_default_exec:s0
+
/dev/vport[0-9]+p1 u:object_r:bt_device:s0
/vendor/bin/vport_trigger u:object_r:vport_trigger_exec:s0