android_device_motorola_sm6.../sepolicy/vendor/vendor_init_touch.te

17 lines
621 B
Text
Raw Normal View History

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)