From 61d3a4eafa6e89b23b0696297804e0374c70e350 Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Fri, 4 Sep 2020 14:44:22 -0600 Subject: [PATCH] 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 --- sepolicy/common/fsck_untrusted.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/common/fsck_untrusted.te b/sepolicy/common/fsck_untrusted.te index fb4216b..e16c2b8 100644 --- a/sepolicy/common/fsck_untrusted.te +++ b/sepolicy/common/fsck_untrusted.te @@ -1,2 +1,4 @@ +allow fsck_untrusted block_device:dir getattr; + # /data/media allow fsck_untrusted media_rw_data_file:dir getattr;