From 9f9773fc1f43dd57e89829233499b9a2cf197562 Mon Sep 17 00:00:00 2001 From: Huaiming Li Date: Sat, 18 Jan 2020 10:19:52 +0800 Subject: [PATCH] [ALPS04772922] fix dumpstate SF_RTT dir avc error [Detail] dumpstate SF_RTT dir getattr avc error in xTS [Solution] add getattr rule into dumpstate.te MTK-Commit-Id: 20c47c82db9b6dfc5091f1fa03f8505c619343ee Change-Id: Ic6de198bfd4736ba2fa3f3aea6024eeda0f57a16 CR-Id: ALPS04772922 Feature: Android Exception Engine(AEE) --- non_plat/dumpstate.te | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/non_plat/dumpstate.te b/non_plat/dumpstate.te index 573ec58..19aa9b0 100644 --- a/non_plat/dumpstate.te +++ b/non_plat/dumpstate.te @@ -54,8 +54,7 @@ allow dumpstate sysfs_lowmemorykiller:dir search; allow dumpstate expdb_block_device:blk_file { read write ioctl open }; #/data/anr/SF_RTT -allow dumpstate sf_rtt_file:dir search; -allow dumpstate sf_rtt_file:file r_file_perms; +allow dumpstate sf_rtt_file:dir { search getattr }; # Data : 2017/03/22 # Operation : add fd use selinux rule