From bbe90ada6c1b78c6a19a7088d71557d37c2c49ec Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Wed, 19 Feb 2020 23:11:55 +0800 Subject: sdm660-common: sepolicy: Label button backlight nodes Change-Id: I594a07fc3e68f1b50f181c4b254811814990c599 --- sepolicy/vendor/genfs_contexts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index 59d0cbe..d80c532 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -1,5 +1,7 @@ genfscon sysfs /touchpanel u:object_r:sysfs_touchpanel:s0 genfscon debugfs /wlan0 u:object_r:debugfs_wlan:s0 -# sysfs +# LED +genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/button-backlight u:object_r:sysfs_graphics:s0 +genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/button-backlight1 u:object_r:sysfs_graphics:s0 genfscon sysfs /devices/soc/800f000.qcom,spmi/spmi-0/spmi0-03/800f000.qcom,spmi:qcom,pm660l@3:qcom,leds@d000/leds/white u:object_r:sysfs_graphics:s0 -- cgit v1.2.3