Allow apexd to access /dev/block and /sys/class/block

Grant apexd permission to read /dev/block/* attributes
(dev_type:dir:r_dir_perms and dev_type:blk_file:getattr) and also to
access /sys/class/block directories (sysfs_type:dir:r_dir_perms and
sysfs_type:file:r_file_perms).

Bug: 202520796
Test: Untested.
Change-Id: I00e602d7fcfd0e013c0e6f23d6a5d4afd23ced75
Signed-off-by: Bart Van Assche <bvanassche@google.com>
3 files changed