Allow Power Stats HAL to access EdgeTPU sysfs files. am: 6d6a7c96ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15162531 Change-Id: I19b0b15c286cab140ed77b7eb2c3a741641da6de
This commit is contained in:
commit
fdfbdf2bd6
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:dir search;
|
||||||
allow hal_power_stats_default sysfs_odpm:file rw_file_perms;
|
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)
|
binder_call(hal_power_stats_default, citadeld)
|
||||||
r_dir_file(hal_power_stats_default, sysfs_aoc)
|
r_dir_file(hal_power_stats_default, sysfs_aoc)
|
||||||
r_dir_file(hal_power_stats_default, sysfs_cpu)
|
r_dir_file(hal_power_stats_default, sysfs_cpu)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue