sepolicy: Allow PixelGnss implement PPS function am: 890796a889

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/27007165

Change-Id: I2b6a7d8648f4d62548b17d26d350fdc9de08f0d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Chia-Chi Teng 2024-05-02 13:36:25 +00:00 committed by Automerger Merge Worker
commit 927816ea1e
2 changed files with 15 additions and 0 deletions

View File

@ -11,3 +11,6 @@ get_prop(hal_gnss_default, vendor_gps_prop)
#IPC between pixel and vendor HAL
binder_call(hal_gnss_default, hal_gnss_pixel)
# Allow connect to gnss service
allow hal_gnss_default vendor_gps_file:fifo_file create_file_perms;

View File

@ -12,3 +12,15 @@ allow hal_gnss_pixel sysfs_modem_state:file r_file_perms;
#Toggle coredump node
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 binder to CHRE.
binder_call(hal_gnss_pixel, hal_contexthub_default)
allow hal_gnss_pixel hal_contexthub_service:service_manager find;
# Allow connect to gnss service
allow hal_gnss_pixel vendor_gps_file:dir create_dir_perms;
allow hal_gnss_pixel vendor_gps_file:fifo_file create_file_perms;