android_device_xiaomi_sdm66.../sepolicy/vendor/hal_thermal_default.te
sairam1411 77c4792ac9
sdm660-common: sepolicy: Adjust sepolicy for qti thermal
Change-Id: Ib8493f164f12614e6d0a7ea5bd060d05991822b8
2021-06-15 17:32:47 +06:00

8 lines
338 B
Text

allow hal_thermal_default sysfs_thermal:dir r_dir_perms;
allow hal_thermal_default sysfs_thermal:file rw_file_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;
# read thermal config
get_prop(hal_thermal_default, vendor_thermal_prop)