Skip to content

Commit

Permalink
Merge cherrypicks of [15617994, 15618969, 15618970, 15617995, 1561803…
Browse files Browse the repository at this point in the history
…2, 15618033, 15618190, 15620097, 15618565, 15620098, 15617967, 15619902, 15620257, 15619392] into sc-release

Change-Id: I93eb084990631cfbc74aab8c513af84c3de0ef9d
  • Loading branch information
Android Build Coastguard Worker committed Aug 19, 2021
2 parents 4fc2a76 + 0fc214e commit 5e88614
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prebuilts/api/31.0/public/shell.te
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 3 additions & 0 deletions public/shell.te
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5e88614

Please sign in to comment.