Allow dump_power to read sysfs directories
dump_power needs to read the directories under /sys/class/power_supply. Bug: 320613177 Bug: 322294676 Change-Id: I7bc55b90d67a1d05bb097955ed632d62535e0f40 Signed-off-by: Kyle Tso <kyletso@google.com>
This commit is contained in:
parent
bbd26c9cb8
commit
98972beada
1 changed files with 1 additions and 0 deletions
1
vendor/dump_power.te
vendored
1
vendor/dump_power.te
vendored
|
@ -23,6 +23,7 @@ allow dump_power persist_battery_file:file r_file_perms;
|
|||
allow dump_power vendor_shell_exec:file execute_no_trans;
|
||||
allow dump_power battery_mitigation_exec:file execute_no_trans;
|
||||
allow dump_power sysfs_iio_devices:dir search;
|
||||
allow dump_power sysfs:dir r_dir_perms;
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow dump_power debugfs:dir r_dir_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue