Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions sepolicy/lenovo.te
Original file line number Diff line number Diff line change
@@ -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;