Merge "Allow shell to read sysfs dirs."
This commit is contained in:
commit
2fb38fc87e
1 changed files with 1 additions and 0 deletions
1
shell.te
1
shell.te
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue