aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor/thermal-engine.te
blob: 4ad4f10c55e8efc8575270695fe22d338d75a727 (plain)
1
2
3
4
5
6
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)