Revert "Allow dump_power to read directories under "/sys/class/p..."

Revert submission 25915320-320613177

Reason for revert: Droidfood blocking bug: 322294676

Reverted changes: /q/submissionid:25915320-320613177

Change-Id: I5545dcd73cdce5ae029444c313bf5dc3f642a5c0
This commit is contained in:
Daniel Chapin 2024-01-25 21:35:37 +00:00
parent 4e48a45727
commit a5df4f07bf
2 changed files with 0 additions and 2 deletions

View file

@ -13,7 +13,6 @@ allow dump_power sysfs_batteryinfo:dir r_dir_perms;
allow dump_power sysfs_batteryinfo:file r_file_perms;
allow dump_power sysfs_wlc:dir search;
allow dump_power sysfs_wlc:file r_file_perms;
allow dump_power sysfs_power_dump:dir r_dir_perms;
allow dump_power sysfs_power_dump:file r_file_perms;
allow dump_power mitigation_vendor_data_file:dir rw_dir_perms;
allow dump_power mitigation_vendor_data_file:file create_file_perms;

View file

@ -211,7 +211,6 @@ genfscon sysfs /devices/platform/10cb0000.hsi2c/i2c-11/11-0057/chg_stats
genfscon sysfs /class/power_supply/wireless/device/version u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /class/power_supply/wireless/device/status u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /class/power_supply/wireless/device/fw_rev u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /class/power_supply u:object_r:sysfs_power_dump:s0
# wake up nodes
genfscon sysfs /devices/platform/10c80000.hsi2c/i2c-0/0-0008/wakeup/wakeup u:object_r:sysfs_wakeup:s0