Revert : Allow fastbootd to access power_supply, usb nodes.

This change allows fastbootd (for healthd) to access
the power_supply and usb nodes.
Revert of: Ib5c637b28dd65c6958778b02c3026c90b39fe713

Change-Id: I992165d490438f7ff7c73cb4b0e57442fdda8c02
This commit is contained in:
Rajshekar Eashwarappa 2020-04-23 01:37:49 +05:30 committed by Gerrit - the friendly Code Review server
parent 9419b1e8cf
commit f479e5ffb0

View file

@ -39,11 +39,11 @@ allow fastbootd {
# Allow fastbootd to read /sys/class/power_supply directory
# and access to power supply, usb nodes.
allow fastbootd sysfs:dir r_dir_perms;
r_dir_file(fastbootd, vendor_sysfs_battery_supply)
r_dir_file(fastbootd, vendor_sysfs_usb_supply)
r_dir_file(fastbootd, sysfs_battery_supply)
r_dir_file(fastbootd, sysfs_usb_supply)
allow fastbootd {
vendor_sysfs_battery_supply
vendor_sysfs_usb_supply
sysfs_battery_supply
sysfs_usb_supply
}:file w_file_perms;
')