android_device_motorola_sm6.../sepolicy/vendor/hal_sensors_default.te
Anand S b3f68d0b14
sm6375-common: sepolicy: Address input sysfs nodes as sysfs_sensors
Change-Id: I74bcef0780be332a6b0ca8b11e562d0f82a27cae
2024-07-25 20:16:00 +05:30

15 lines
716 B
Text

#FIXME: Address input sysfs nodes as sysfs_sensors (/devices/virtual/input/input[0-9]+/name)
r_dir_file(hal_sensors_default, sysfs)
allow hal_sensors_default sysfs:file rw_file_perms;
allow hal_sensors_default vendor_sysfs_laser:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_laser:file { setattr rw_file_perms };
allow hal_sensors_default vendor_sysfs_input:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_input:file rw_file_perms;
allow hal_sensors_default vendor_sysfs_dt2w:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_dt2w:file rw_file_perms;
allow hal_sensors_default vendor_sysfs_touchpanel:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_touchpanel:file rw_file_perms;