summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-02-19 23:11:55 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:49:34 +0300
commitbbe90ada6c1b78c6a19a7088d71557d37c2c49ec (patch)
tree147d3eba05aa33b7a9f1f8b7ea2bc9ab0265ffc5
parentb3cd73e066a5d113ed1b3bc2a200b3209a9e40aa (diff)
sdm660-common: sepolicy: Label button backlight nodes
Change-Id: I594a07fc3e68f1b50f181c4b254811814990c599
-rw-r--r--sepolicy/vendor/genfs_contexts4
1 files changed, 3 insertions, 1 deletions
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