Skip to content
Snippets Groups Projects
Commit 0d178e39 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by android-build-merger
Browse files

Merge "shell: allow reading battery info dirs in /sys" am: 71955fc7 am: cf013954 am: 15a7934c

am: 58dca3b5

Change-Id: I59fcb3d24e980bf3d538bf960918b8dc94e03929
parents 1c166c6d 58dca3b5
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; ...@@ -142,8 +142,9 @@ allow shell bootchart_data_file:file create_file_perms;
allow shell self:process ptrace; allow shell self:process ptrace;
# allow shell to get battery info # allow shell to get battery info
allow shell sysfs_batteryinfo:file r_file_perms;
allow shell sysfs:dir r_dir_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 access to ion memory allocation device.
allow shell ion_device:chr_file rw_file_perms; 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.
Please register or to comment