Snap for 11257657 from 35e5021597 to 24Q2-release

Change-Id: Ib0b71b9a2ff549f145898919ba536c3bf81fb0f6
This commit is contained in:
Android Build Coastguard Worker 2023-12-28 00:02:36 +00:00
commit fe788ef432
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,6 @@
# Allow context hub HAL to communicate with daemon via socket #
unix_socket_connect(hal_contexthub_default, chre, chre) # Context hub multiclient HAL common selinux policies
#
# Permit communication with AoC # Permit communication with AoC
allow hal_contexthub_default aoc_device:chr_file rw_file_perms; allow hal_contexthub_default aoc_device:chr_file rw_file_perms;

View file

@ -60,6 +60,9 @@ allow hal_sensors_default fwk_stats_service:service_manager find;
# Allow access to CHRE socket to connect to nanoapps. # Allow access to CHRE socket to connect to nanoapps.
unix_socket_connect(hal_sensors_default, chre, chre) unix_socket_connect(hal_sensors_default, chre, chre)
## TODO(b/248615564): Remove above rule after CHRE multiclient HAL is launched.
unix_socket_connect(hal_sensors_default, chre, hal_contexthub_default)
# Allow access to the power supply files for MagCC. # Allow access to the power supply files for MagCC.
r_dir_file(hal_sensors_default, sysfs_batteryinfo) r_dir_file(hal_sensors_default, sysfs_batteryinfo)