aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor/thermal-engine.te
blob: a79037d6c1dd5fddd511734de0605fcf57c44411 (plain)
1
2
3
4
5
6
7
8
allow thermal-engine { sysfs_batteryinfo sysfs_usb_supply }:file r_file_perms;
allow thermal-engine sysfs_batteryinfo:file write;
allow thermal-engine { sysfs_batteryinfo sysfs_usb_supply }:dir search;

# Allow thermal-engine to read files in /sys
r_dir_file(thermal-engine, sysfs);

get_prop(thermal-engine, vendor_thermal_prop);