2022-02-18 19:22:12 -05:00
|
|
|
type vendor_init_touch, domain;
|
|
|
|
type vendor_init_touch_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(vendor_init_touch)
|
|
|
|
|
2023-02-01 03:46:00 -05:00
|
|
|
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 };
|
|
|
|
|
2022-02-18 19:22:12 -05:00
|
|
|
allow vendor_init_touch vendor_toolbox_exec:file rx_file_perms;
|
|
|
|
|
2023-04-10 11:32:05 -04:00
|
|
|
allow vendor_init_touch self:capability chown;
|
|
|
|
|
2022-02-18 19:22:12 -05:00
|
|
|
r_dir_file(vendor_init_touch , vendor_sysfs_touchpanel)
|
2023-04-10 11:32:05 -04:00
|
|
|
allow vendor_init_touch vendor_sysfs_touchpanel:file { setattr rw_file_perms };
|
|
|
|
|
2022-02-18 19:22:12 -05:00
|
|
|
set_prop(vendor_init_touch, vendor_mot_touch_prop)
|