rosemary: sepolicy: Resolve mi_thermald denials

Change-Id: I06ee95cf1dee091ff71c167c1c9e037dafd8a380
This commit is contained in:
Matsvei Niaverau
2022-09-25 11:20:30 +03:00
parent ab4c47327f
commit f4d4532958

View File

@@ -14,6 +14,9 @@ allow mi_thermald mi_thermald:capability2 { wake_alarm block_suspend };
allow mi_thermald thermal_core_data_file:dir rw_dir_perms;
allow mi_thermald thermal_core_data_file:file create_file_perms;
allow mi_thermald sysfs_batteryinfo:dir { search };
allow mi_thermald sysfs_batteryinfo:file r_file_perms;
r_dir_file(mi_thermald, sysfs)
r_dir_file(mi_thermald, sysfs_leds)
r_dir_file(mi_thermald, sysfs_therm)