Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09f34add authored by Tri Vo's avatar Tri Vo Committed by android-build-merger
Browse files

Merge "healthd: fix /sys denials."

am: 88114b0b

Change-Id: Ia51a4d5f0daa61e65d37c98f6015203204a3e1dc
parents f5e4f218 88114b0b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2,3 +2,7 @@
# /sys/bus/platform/devices/ANDR0001:00/properties/android/ which is a symlink to
# /sys/devices/platform/ANDR0001:00/properties/android/
genfscon sysfs /devices/platform/ANDR0001:00/properties/android u:object_r:sysfs_dt_firmware_android:s0

# We expect /sys/class/power_supply/* and everything it links to to be labeled
# as sysfs_batteryinfo.
genfscon sysfs /devices/platform/GFSH0001:00/power_supply u:object_r:sysfs_batteryinfo:s0
+2 −0
Original line number Diff line number Diff line
# Allow to read /sys/class/power_supply directory
allow healthd sysfs:dir r_dir_perms;