diff --git a/public/recovery.te b/public/recovery.te index bd701d99ec39512c77c584176365c8de3f0d352b..32601e39a28d389a62ae2ec02d98a58c36ddf33e 100644 --- a/public/recovery.te +++ b/public/recovery.te @@ -51,6 +51,9 @@ recovery_only(` # TODO: create more specific label? allow recovery sysfs:file w_file_perms; + # Write to /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq. + allow recovery sysfs_devices_system_cpu:file w_file_perms; + allow recovery sysfs_batteryinfo:file r_file_perms; allow recovery kernel:system syslog_read;