Skip to content
Snippets Groups Projects
Commit 94d76c87 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "recovery.te: Allow writing to sysfs_devices_system_cpu."

parents 0b7506ff ee7960c0
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,9 @@ recovery_only(` ...@@ -51,6 +51,9 @@ recovery_only(`
# TODO: create more specific label? # TODO: create more specific label?
allow recovery sysfs:file w_file_perms; 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 sysfs_batteryinfo:file r_file_perms;
allow recovery kernel:system syslog_read; allow recovery kernel:system syslog_read;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment