android_device_samsung_msm8.../sepolicy/common/fsck_untrusted.te
Kevin F. Haggerty 065046fd6d
msm8974-common: sepolicy: Allow fsck_untrusted appropriate access to sysfs_dm
avc: denied { search } for name="dm-0" dev="sysfs" ino=33209
scontext=u:r:fsck_untrusted:s0 tcontext=u:object_r:sysfs_dm:s0
tclass=dir permissive=0

avc: denied { read } for name="name" dev="sysfs" ino=33374
scontext=u:r:fsck_untrusted:s0 tcontext=u:object_r:sysfs_dm:s0
tclass=file permissive=0

Change-Id: I38d74974d23f94ddac4c45f1d5470288d4ee8a6f
2020-09-06 04:12:09 -06:00

10 lines
278 B
Plaintext

r_dir_file(fsck_untrusted, sysfs_dm)
allow fsck_untrusted block_device:dir getattr;
# /data/media
allow fsck_untrusted media_rw_data_file:dir getattr;
allowxperm fsck_untrusted vold_device:blk_file ioctl 0x1271;
allowxperm fsck_untrusted vold_device:blk_file ioctl BLKROGET;