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:
Eric Biggers 2021-08-17 21:03:26 +00:00 committed by Automerger Merge Worker
commit c225ddc528
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -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;