device_lenovo_sdm710-common/sepolicy/vendor/hal_sensors_default.te

20 lines
760 B
Text
Raw Normal View History

# Allow binder communication with hal_audio_default
binder_call(hal_sensors_default, hal_audio_default)
# Allow hal_sensors_default to find hal_graphics_mapper_hwservice
allow hal_sensors_default hal_graphics_mapper_hwservice:hwservice_manager find;
# Allow hal_sensors_default to read files in mnt_vendor_file
r_dir_file(hal_sensors_default, mnt_vendor_file)
# Allow hal_sensors_default to read files in sysfs_graphics
r_dir_file(hal_sensors_default, sysfs_graphics)
# Allow hal_sensors_default to read and write to proc_touchpanel
allow hal_sensors_default proc_touchpanel:dir search;
allow hal_sensors_default proc_touchpanel:file rw_file_perms;
# Allow hal_sensors_default to read graphics sysfs nodes
r_dir_file(hal_sensors_default, sysfs_graphics)