Restore permission for shell to list /sys/class/block am: ff53c4d16e
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/sepolicy/+/15591821 Change-Id: If260f9208196270947ddc53bf6314a63295985b4
This commit is contained in:
commit
c225ddc528
2 changed files with 6 additions and 0 deletions
|
@ -158,6 +158,9 @@ allow shell sysfs:dir r_dir_perms;
|
|||
allow shell sysfs_batteryinfo:dir r_dir_perms;
|
||||
allow shell sysfs_batteryinfo:file r_file_perms;
|
||||
|
||||
# allow shell to list /sys/class/block/ to get storage type for CTS
|
||||
allow shell sysfs_block:dir r_dir_perms;
|
||||
|
||||
# Allow access to ion memory allocation device.
|
||||
allow shell ion_device:chr_file rw_file_perms;
|
||||
|
||||
|
|
|
@ -158,6 +158,9 @@ allow shell sysfs:dir r_dir_perms;
|
|||
allow shell sysfs_batteryinfo:dir r_dir_perms;
|
||||
allow shell sysfs_batteryinfo:file r_file_perms;
|
||||
|
||||
# allow shell to list /sys/class/block/ to get storage type for CTS
|
||||
allow shell sysfs_block:dir r_dir_perms;
|
||||
|
||||
# Allow access to ion memory allocation device.
|
||||
allow shell ion_device:chr_file rw_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue