diff --git a/sepolicy/lenovo.te b/sepolicy/lenovo.te index 19e3314e..2acf9752 100644 --- a/sepolicy/lenovo.te +++ b/sepolicy/lenovo.te @@ -1,4 +1,15 @@ type sysfs_tp, file_type; +type proc_touch_wake, file_type; +type proc_support_pen, file_type; +type proc_high_report_rate, file_type; #Allow treble_app access to /sys/devices/virtual/touch/tp_dev/gesture_on allow system_app sysfs_tp:file rw_file_perms; + +# Y700 gen4 +allow system_app proc_touch_wake:file rw_file_perms; +allow system_app proc_support_pen:file rw_file_perms; +allow system_app proc_high_report_rate:file rw_file_perms; + +# Y700 2025 (gen3) +allow system_app proc:file rw_file_perms;