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
This commit is contained in:
Cheng Chang 2024-06-25 09:35:19 +00:00
parent 0dd653e624
commit c9160b5fc2

View file

@ -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