Merge "Allow shell to read sysfs dirs."

This commit is contained in:
Daniel Cashman 2016-01-13 19:17:59 +00:00 committed by Gerrit Code Review
commit 2fb38fc87e

View file

@ -121,6 +121,7 @@ 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_batteryinfo:file r_file_perms;
allow shell sysfs:dir r_dir_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;