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

This commit is contained in:
Daniel Chapin 2024-01-25 22:59:25 +00:00 committed by Android (Google) Code Review
commit 6a6f65b5e5
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