Board tree for Google Tensor G3 devices
Find a file
Jaegeuk Kim 28cec159fb Allow sysfs_devices_block to f2fs-tools
The fsck.f2fs checks the sysfs entries of block devices to get disk
information. Note that, the block device entries are device-specific.

1. fsck.f2fs
avc: denied { search } for comm="fsck.f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="fsck.f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda7/partition" dev="sysfs" ino=60672 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0

2. mkfs.f2fs
avc: denied { search } for comm="make_f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="make_f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda8/partition" dev="sysfs" ino=61046 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0

Bug: 172377740
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I409feec84565f965baa96b06a5b08bcfc1a8db02
2022-05-24 17:46:40 -07:00
aoc Branch zuma from gs201 2022-04-19 14:10:58 +08:00
dauntless Branch zuma from gs201 2022-04-19 14:10:58 +08:00
edgetpu Branch zuma from gs201 2022-04-19 14:10:58 +08:00
gps Branch zuma from gs201 2022-04-19 14:10:58 +08:00
health Create device Ripcurrent on Zuma platform 2022-04-19 14:11:17 +08:00
private Branch zuma from gs201 2022-04-19 14:10:58 +08:00
system_ext Branch zuma from gs201 2022-04-19 14:10:58 +08:00
tracking_denials Branch zuma from gs201 2022-04-19 14:10:58 +08:00
whitechapel_pro Allow sysfs_devices_block to f2fs-tools 2022-05-24 17:46:40 -07:00
widevine Branch zuma from gs201 2022-04-19 14:10:58 +08:00
OWNERS Branch zuma from gs201 2022-04-19 14:10:58 +08:00
zuma-sepolicy.mk Create device Ripcurrent on Zuma platform 2022-04-19 14:11:17 +08:00