gps: sync sepolicy from gs101 to allow gps access pps gpio am: 4d163d5b32
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17699358 Change-Id: Ifb5a5c0afac155bdaeccd7313f4ee16dd4dd9834 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c59744b9da
3 changed files with 5 additions and 0 deletions
|
@ -4,3 +4,4 @@ userdebug_or_eng(`
|
|||
')
|
||||
|
||||
type sysfs_gps, sysfs_type, fs_type;
|
||||
type sysfs_gps_assert, sysfs_type, fs_type;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# GPS
|
||||
genfscon sysfs /devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby u:object_r:sysfs_gps:s0
|
||||
genfscon sysfs /devices/virtual/pps/pps0/assert_elapsed u:object_r:sysfs_gps_assert:s0
|
||||
|
||||
|
|
|
@ -23,3 +23,6 @@ allow gpsd hal_exynos_rild_hwservice:hwservice_manager find;
|
|||
# Allow gpsd to access sensor service
|
||||
binder_call(gpsd, system_server);
|
||||
allow gpsd fwk_sensor_hwservice:hwservice_manager find;
|
||||
|
||||
# Allow gpsd to access pps gpio
|
||||
allow gpsd sysfs_gps_assert:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue