From c9160b5fc213cdf717d105d6926660ab6bdf7013 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Tue, 25 Jun 2024 09:35:19 +0000 Subject: [PATCH] gps: Add pps_assert sepolicy avc: denied { read } for name="pps_assert" dev="sysfs" ino=104638 scontext=u:r:gpsd:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 Bug: 258364350 Test: Verification at b/258364350. Test: Function verification at b/258364350. Test: Compile and verify the configuration is correct. Change-Id: Id5589a798bc8535d069225778982a8be27898477 --- gps/brcm/sepolicy/genfs_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/gps/brcm/sepolicy/genfs_contexts b/gps/brcm/sepolicy/genfs_contexts index 446fc45..a551e96 100644 --- a/gps/brcm/sepolicy/genfs_contexts +++ b/gps/brcm/sepolicy/genfs_contexts @@ -1,3 +1,4 @@ # GPS genfscon sysfs /devices/virtual/pps/pps0/assert_elapsed u:object_r:sysfs_gps_assert:s0 +genfscon sysfs /devices/platform/bbd_pps/pps_assert u:object_r:sysfs_gps_assert:s0