msm8226-common: selinux: add backlight path for panel and button brightness to file_context

This fixes backlight dimming not working on enforcing builds

Change-Id: Ic0b99ddaa502727ac8e4f34ce2dcf3e3187c060d
This commit is contained in:
Francescodario Cuzzocrea 2019-10-18 22:07:48 +02:00
parent 709a208448
commit ead4fb50ef

View file

@ -70,6 +70,8 @@
/sys/devices/i2c\.[0-9]+/i2c-[0-9]+/[0-9]+-[a-z0-9]+/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/i2c\.[0-9]+/i2c-[0-9]+/[0-9]+-[a-z0-9]+/max[a-z0-9]+-led/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/class/leds(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.161/leds/lcd-backlight(/.*)? u:object_r:sysfs_leds:s0
/sys/devices/devices/i2c.82/i2c-21/21-0020/leds/button-backlight(/.*)? u:object_r:sysfs_leds:s0
# sysfs - sec
/sys/devices/platform/sec-thermistor(/.*)? u:object_r:sysfs_sec_thermistor:s0