device_google_gs-common/gps/brcm/sepolicy/genfs_contexts
Cheng Chang c9160b5fc2 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
2024-06-25 10:12:25 +00:00

4 lines
229 B
Text

# 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