mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: sepolicy: Resolve mi_thermald denials
Change-Id: I06ee95cf1dee091ff71c167c1c9e037dafd8a380
This commit is contained in:
3
sepolicy/vendor/mi_thermald.te
vendored
3
sepolicy/vendor/mi_thermald.te
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user