This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_msm8953-common/sepolicy/vendor/thermal-engine.te
2021-03-05 15:28:17 +00:00

21 lines
784 B
Plaintext

typeattribute thermal-engine data_between_core_and_vendor_violators;
# Allow thermal-engine to read files in /sys
r_dir_file(thermal-engine, sysfs)
allow thermal-engine sysfs_healthd:dir search;
allow thermal-engine sysfs_healthd:file rw_file_perms;
allow thermal-engine self:capability { chown fowner };
get_prop(thermal-engine, moto_boot_prop)
allow thermal-engine { proc_stat proc_loadavg }:file r_file_perms;
allow thermal-engine sysfs_batteryinfo:dir r_dir_perms;
allow thermal-engine sysfs_batteryinfo:file rw_file_perms;
allow thermal-engine sysfs_hwmon:dir r_dir_perms;
allow thermal-engine sysfs_hwmon:file rw_file_perms;
allow thermal-engine sysfs_devfreq:dir r_dir_perms;
allow thermal-engine sysfs_devfreq:file rw_file_perms;
r_dir_file(thermal-engine sysfs_socinfo)