From 72c36f94b4180f0c3fca4ae831b4847c7c8e1b14 Mon Sep 17 00:00:00 2001 From: Huaiming Li Date: Thu, 20 Feb 2020 13:37:51 +0800 Subject: [PATCH] [ALPS04975618] fix dumpstate xTS fail 1. mnt_expand_file no getattr selinux rule Change-Id: I14a31e6b4f778270ae1a684a5c1ea1407f4d6786 CR-Id: ALPS04975618 Feature: Android Exception Engine(AEE) --- non_plat/dumpstate.te | 2 +- r_non_plat/dumpstate.te | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/non_plat/dumpstate.te b/non_plat/dumpstate.te index 3c3d81f..f9fd5d9 100644 --- a/non_plat/dumpstate.te +++ b/non_plat/dumpstate.te @@ -180,4 +180,4 @@ allow dumpstate mtee_trusty_file:file rw_file_perms; # 09-05 15:58:31.552000 9693 9693 W df : type=1400 audit(0.0:990): # avc: denied { search } for name="expand" dev="tmpfs" ino=10779 scontext=u:r:dumpstate:s0 # tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0 -allow dumpstate mnt_expand_file:dir search; +allow dumpstate mnt_expand_file:dir { search getattr }; diff --git a/r_non_plat/dumpstate.te b/r_non_plat/dumpstate.te index 3c3d81f..f9fd5d9 100644 --- a/r_non_plat/dumpstate.te +++ b/r_non_plat/dumpstate.te @@ -180,4 +180,4 @@ allow dumpstate mtee_trusty_file:file rw_file_perms; # 09-05 15:58:31.552000 9693 9693 W df : type=1400 audit(0.0:990): # avc: denied { search } for name="expand" dev="tmpfs" ino=10779 scontext=u:r:dumpstate:s0 # tcontext=u:object_r:mnt_expand_file:s0 tclass=dir permissive=0 -allow dumpstate mnt_expand_file:dir search; +allow dumpstate mnt_expand_file:dir { search getattr };