Label vendor sys/*/power_supply/* as sysfs_batteryinfo

Bug: 70623603
Test: taimen boots with no denials to sysfs_batteryinfo or
sysfs_msm_subsys.

Change-Id: I12bfc7c064f0b90cd000e977ee36410907e2bc8e
This commit is contained in:
Tri Vo
2017-12-13 11:23:46 -08:00
parent 3a813655bf
commit 4350dc70e5

View File

@@ -1,3 +1,7 @@
# ftm4 touch
genfscon sysfs /devices/virtual/input/ftm4_touch u:object_r:sysfs_touch:s0
genfscon sysfs /devices/virtual/input/ftm4_touch/autotune u:object_r:sysfs_touch_shell:s0
# Symlinks from /sys/class/power_supply
genfscon sysfs /devices/soc/c179000.i2c/i2c-5/5-0049/power_supply u:object_r:sysfs_batteryinfo:s0
genfscon sysfs /devices/soc/c1b5000.i2c/i2c-7/7-0008/c1b5000.i2c:qcom,smb138x@8:qcom,smb138x-parallel-slave@1000/power_supply u:object_r:sysfs_batteryinfo:s0