summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/hal_thermal_default.te
blob: 0d56bc11b1f0f587767eb2bf5dd21bebec4c70f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
allow hal_thermal_default sysfs_thermal:dir { open read search };
allow hal_thermal_default sysfs_thermal:file { getattr open read };
allow hal_thermal_default sysfs_thermal:lnk_file read;

allow hal_thermal_default sysfs_batteryinfo:dir search;
allow hal_thermal_default sysfs_batteryinfo:file r_file_perms;
allow hal_thermal_default sysfs_batteryinfo:lnk_file read;
allow hal_thermal_default sysfs_msm_subsys:dir search;
allow hal_thermal_default sysfs_msm_subsys:file r_file_perms;
allow hal_thermal_default sysfs_msm_subsys:lnk_file read;

allow hal_thermal_default proc_stat:file { getattr open read };
# read thermal_config
get_prop(hal_thermal_default, vendor_thermal_prop)