Skip to content

Commit

Permalink
umi: sepolicy: Allow sensors hal to r/w touchpanel nodes
Browse files Browse the repository at this point in the history
Change-Id: Ic28077a356d360f8d64aed8f67299ed1c309d248
  • Loading branch information
chaptsand committed Dec 6, 2022
1 parent 7a244dc commit 1f6b776
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sepolicy/vendor/hal_sensors_default.te
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ allow hal_sensors_default vendor_sysfs_touch:file w_file_perms;

# Allow Sensors hal to r/w to virtual touchpanel sysfs
allow hal_sensors_default vendor_sysfs_tp_virtual_prox:file rw_file_perms;

# Allow Sensors hal to r/w touchpanel nodes
r_dir_file(hal_sensors_default, sysfs_touchpanel)
allow hal_sensors_default sysfs_touchpanel:file rw_file_perms;

0 comments on commit 1f6b776

Please # to comment.