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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user