msm8974-common: sepolicy: Allow untrusted fsck to getattr block_device dirs

avc: denied { getattr } for path="/dev/block" dev="tmpfs" ino=6914
scontext=u:r:fsck_untrusted:s0 tcontext=u:object_r:block_device:s0
tclass=dir permissive=0

Change-Id: I03c1086a21edba4e193f81b473e6785aac890364
This commit is contained in:
Kevin F. Haggerty 2020-09-04 14:44:22 -06:00
parent 631007d58c
commit 61d3a4eafa
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -1,2 +1,4 @@
allow fsck_untrusted block_device:dir getattr;
# /data/media # /data/media
allow fsck_untrusted media_rw_data_file:dir getattr; allow fsck_untrusted media_rw_data_file:dir getattr;