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

Merge "shell: allow reading battery info dirs in /sys"

parents 975efbe5 b4c63973
No related branches found
No related tags found
No related merge requests found
......@@ -142,8 +142,9 @@ allow shell bootchart_data_file:file create_file_perms;
allow shell self:process ptrace;
# allow shell to get battery info
allow shell sysfs_batteryinfo:file r_file_perms;
allow shell sysfs:dir r_dir_perms;
allow shell sysfs_batteryinfo:dir r_dir_perms;
allow shell sysfs_batteryinfo:file r_file_perms;
# Allow access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms;
......
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