Fix the following avc denial: avc: denied { read } for pid=485 comm="android.hardwar" name="bin" dev="rootfs" ino=9529 scontext=u:r:hal_bootctl_default:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Bug: 282670401 Change-Id: I23ab086ba21d6ffea8b48b4208933c031effc4d4 Signed-off-by: Jason Chiu <jasoncschiu@google.com>
8 lines
327 B
Text
8 lines
327 B
Text
allow hal_bootctl_default devinfo_block_device:blk_file rw_file_perms;
|
|
allow hal_bootctl_default sda_block_device:blk_file rw_file_perms;
|
|
allow hal_bootctl_default sysfs_ota:file rw_file_perms;
|
|
allow hal_bootctl_default tee_device:chr_file rw_file_perms;
|
|
|
|
recovery_only(`
|
|
allow hal_bootctl_default rootfs:dir r_dir_perms;
|
|
')
|