gps: Allow gnss hal access vendor_gps_prop
avc: denied { read } for name="u:object_r:vendor_gps_prop:s0" dev="tmpfs" ino=421 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:vendor_gps_prop:s0 tclass=file permissive=0
Bug: 335354369
Test: Check avc logcat.
Change-Id: Idfc885c6d54a9a5160643ff53f3e278ee067b286
This commit is contained in:
@@ -10,6 +10,9 @@ allow hal_gnss_pixel sysfs_gps:file rw_file_perms;
|
||||
# Allow access to CHRE multiclient HAL.
|
||||
get_prop(hal_gnss_pixel, vendor_chre_hal_prop)
|
||||
|
||||
# Allow read vendor gps prop.
|
||||
get_prop(hal_gnss_pixel, vendor_gps_prop)
|
||||
|
||||
# Allow binder to CHRE.
|
||||
binder_call(hal_gnss_pixel, hal_contexthub_default)
|
||||
allow hal_gnss_pixel hal_contexthub_service:service_manager find;
|
||||
|
||||
Reference in New Issue
Block a user