Allow Power Stats HAL to access EdgeTPU sysfs files. am: 6d6a7c96ab
am: fdfbdf2bd6
am: 326aedd878
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/15162531 Change-Id: Ibe5cc4a8c4cca77f507152de192daacb3a2ef88c
This commit is contained in:
commit
63712e05e6
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