forked from openkylin/platform_build
Merge "healthd: fix /sys denials." am: 88114b0b0b
am: 09f34add81
Change-Id: Iee7f7c30ed91ca6ddf126c3ce4dfa2349147349f
This commit is contained in:
commit
a7c4cc4b1d
|
@ -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
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Allow to read /sys/class/power_supply directory
|
||||
allow healthd sysfs:dir r_dir_perms;
|
Loading…
Reference in New Issue