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:
parent
1ae1d53973
commit
f71ff2ba7c
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ allow hal_gnss_pixel sysfs_gps:file rw_file_perms;
|
||||||
# Allow access to CHRE multiclient HAL.
|
# Allow access to CHRE multiclient HAL.
|
||||||
get_prop(hal_gnss_pixel, vendor_chre_hal_prop)
|
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.
|
# Allow binder to CHRE.
|
||||||
binder_call(hal_gnss_pixel, hal_contexthub_default)
|
binder_call(hal_gnss_pixel, hal_contexthub_default)
|
||||||
allow hal_gnss_pixel hal_contexthub_service:service_manager find;
|
allow hal_gnss_pixel hal_contexthub_service:service_manager find;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue