diff --git a/sepolicy/vendor/mi_thermald.te b/sepolicy/vendor/mi_thermald.te index 168f055..1e27fe2 100644 --- a/sepolicy/vendor/mi_thermald.te +++ b/sepolicy/vendor/mi_thermald.te @@ -16,7 +16,8 @@ allow mi_thermald sysfs_thermal:file w_file_perms; allow mi_thermald vendor_sysfs_kgsl:file w_file_perms; allow mi_thermald vendor_sysfs_battery_supply:file w_file_perms; allow mi_thermald vendor_sysfs_graphics:file w_file_perms; -allow mi_thermald thermal_data_file:file rw_file_perms; +allow mi_thermald thermal_data_file:dir w_dir_perms; +allow mi_thermald thermal_data_file:file create_file_perms; allow mi_thermald vendor_data_file:file rw_file_perms; allow mi_thermald vendor_data_file:dir w_dir_perms; allow mi_thermald sysfs_devices_system_cpu:file rw_file_perms;