Allow Power Stats HAL to access EdgeTPU sysfs files.
Should fix intermittent failures of SELinuxUncheckedDenialBootTest. Bug: 192485697 Test: build, checked for denials in logcat Change-Id: I3b9cafd99f9ff343e5ab5c67f5f268e5eb4382d6
This commit is contained in:
parent
075ba05575
commit
6d6a7c96ab
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ allow hal_power_stats_default odpm_config_file:file r_file_perms;
|
|||
allow hal_power_stats_default sysfs_odpm:dir search;
|
||||
allow hal_power_stats_default sysfs_odpm:file rw_file_perms;
|
||||
|
||||
allow hal_power_stats_default sysfs_edgetpu:dir search;
|
||||
allow hal_power_stats_default sysfs_edgetpu:file r_file_perms;
|
||||
|
||||
binder_call(hal_power_stats_default, citadeld)
|
||||
r_dir_file(hal_power_stats_default, sysfs_aoc)
|
||||
r_dir_file(hal_power_stats_default, sysfs_cpu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue