sepolicy: allow PowerStats HAL to call BT HAL

Bug: 205904367
Test: dump power stats with no relevant avc error
Change-Id: Idc7ecbc7e3571011c8c12c421bdce0015e78135f
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2022-01-21 11:39:36 +08:00 committed by TreeHugger Robot
parent 13bd5ff5df
commit a7e3b39ca4
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,3 @@
# b/205904367
dontaudit hal_power_stats_default hal_bluetooth_btlinux:binder { call };
# b/207062210
dontaudit hal_power_stats_default sysfs:file { getattr };
dontaudit hal_power_stats_default sysfs:file { open };

View file

@ -5,3 +5,6 @@ allow hal_power_stats_default sysfs_scsi_devices_0000:file r_file_perms;
allow hal_power_stats_default sysfs_display:file r_file_perms;
r_dir_file(hal_power_stats_default, sysfs_leds)
# getStateResidency AIDL callback for Bluetooth HAL
binder_call(hal_power_stats_default, hal_bluetooth_btlinux)