summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorSpiritCroc <dev@spiritcroc.de>2018-12-31 14:35:53 +0100
committerArian <arian.kulmer@web.de>2019-10-25 22:16:13 +0200
commiteaa48b6728f531d9aaaccb28eb8693f067a3a973 (patch)
tree7d5400a1beaa5d310257f39e405282740564790f /sepolicy/file_contexts
parentcfe3a6a07290904aab0a4374521f2f00f1cbca16 (diff)
sepolicy: Allow init to chown touchscreen sysfs files
Fixes double tap to wake on enforcing Change-Id: Iaef8822a283e18ad40656bf679acea7de6075662
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts6
1 files changed, 6 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index f1342ad..c00c5fa 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -23,3 +23,9 @@
# Quick Charge
/system/vendor/bin/hvdcp u:object_r:hvdcp_exec:s0
+
+# Touch
+/sys/devices/virtual/input/clearpad/glove -- u:object_r:sysfs_touch:s0
+/sys/devices/virtual/input/clearpad/wakeup_gesture -- u:object_r:sysfs_touch:s0
+/sys/devices/virtual/input/max1187x/glove -- u:object_r:sysfs_touch:s0
+/sys/devices/virtual/input/max1187x/wakeup_gesture -- u:object_r:sysfs_touch:s0