android_device_motorola_sm6.../sepolicy/vendor/vendor_init_touch.te
Michael Bestas 17da50dfc4 sm7325-common: sepolicy: Resolve vendor_init_touch denials
Change-Id: Ia71c46662f12f3939e1a4d51b4ab06101f8cc9b7
2023-06-21 13:26:42 -03:00

16 lines
621 B
Text

type vendor_init_touch, domain;
type vendor_init_touch_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(vendor_init_touch)
allow vendor_init_touch self:capability chown;
allow vendor_init_touch kmsg_device:chr_file rw_file_perms;
allow vendor_init_touch vendor_sysfs_touchpanel:file { setattr write };
allow vendor_init_touch vendor_toolbox_exec:file rx_file_perms;
allow vendor_init_touch self:capability chown;
r_dir_file(vendor_init_touch , vendor_sysfs_touchpanel)
allow vendor_init_touch vendor_sysfs_touchpanel:file { setattr rw_file_perms };
set_prop(vendor_init_touch, vendor_mot_touch_prop)