summaryrefslogtreecommitdiffstats
path: root/sepolicy/vendor/hal_power_default.te
blob: b5b7a7a23865e636d6cf92b63e73914f5ca1c40c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
allow hal_power_default sysfs_graphics:dir search;
allow hal_power_default sysfs_graphics:file r_file_perms;

# To do powerhint on nodes defined in powerhint.json
allow hal_power_default sysfs_msm_subsys:dir search;
allow hal_power_default sysfs_msm_subsys:file rw_file_perms;
allow hal_power_default cgroup:dir search;
allow hal_power_default cgroup:file rw_file_perms;
allow hal_power_default sysfs_touch:file w_file_perms;
allow hal_power_default sysfs_touch:dir search;

# interact with thermal_config
set_prop(hal_power_default, vendor_thermal_prop)