diff options
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 6 | ||||
-rw-r--r-- | sepolicy/init.te | 3 |
2 files changed, 9 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 diff --git a/sepolicy/init.te b/sepolicy/init.te index 1dace75..9918a3d 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -8,3 +8,6 @@ allow init tmpfs:lnk_file { relabelfrom }; # adsprpcd access to qseecom and qdsp_device allow init tee_device:chr_file rw_file_perms; allow init qdsp_device:chr_file rw_file_perms; + +# Touch +allow init sysfs_touch:file setattr; |