diff --git a/non_plat/mtk_hal_power.te b/non_plat/mtk_hal_power.te index 5984d1f..52e61ce 100644 --- a/non_plat/mtk_hal_power.te +++ b/non_plat/mtk_hal_power.te @@ -90,6 +90,9 @@ allow mtk_hal_power debugfs_fb:file rw_file_perms; allow mtk_hal_power proc_thermal:file r_file_perms; allow mtk_hal_power thermal_manager_data_file:file create_file_perms; +allow mtk_hal_power thermal_manager_data_file:dir { rw_dir_perms setattr }; + + allow mtk_hal_power thermalloadalgod:unix_stream_socket connectto; allow mtk_hal_power proc_mtkcooler:dir r_dir_perms;