android_device_xiaomi_sm725.../sepolicy/vendor/hal_thermal_default.te
mikairyuu d206831937 sm7250-common: Import minimal Pixel Thermal sepolicy
*can't use source one since it conflicts with qcom's
2022-06-17 18:09:45 +10:00

9 lines
519 B
Plaintext

allow hal_thermal_default sysfs_thermal:dir r_dir_perms;
allow hal_thermal_default sysfs_thermal:file rw_file_perms;
allow hal_thermal_default sysfs_thermal:lnk_file r_file_perms;
allow hal_thermal_default thermal_link_device:dir r_dir_perms;
allow hal_thermal_default proc_stat:file r_file_perms;
allow hal_thermal_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
hal_client_domain(hal_thermal_default, hal_power);
# read thermal_config
get_prop(hal_thermal_default, vendor_thermal_normal_prop)