From 0e69d03d371b2f10358474bf2a4675cc3f7e3e8d Mon Sep 17 00:00:00 2001 From: Huaiming Li Date: Sat, 18 Jan 2020 10:17:23 +0800 Subject: [PATCH] [ALPS04697232] fix google dumpstate avc error [Detail] mmcblk1 stat file avc error and proc last_kmsg avc error [Solution] add dumpstate sepolicy rule MTK-Commit-Id: 4d3e60120a2049f9e6f4e7ce9e2f835c2bb993ca Change-Id: I6e1e63eb719aa8b7b4d0a86043bd0bce637a638f CR-Id: ALPS04697232 Feature: Android Exception Engine(AEE) --- non_plat/dumpstate.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/non_plat/dumpstate.te b/non_plat/dumpstate.te index 3d1c2bb..5f0871c 100644 --- a/non_plat/dumpstate.te +++ b/non_plat/dumpstate.te @@ -159,3 +159,8 @@ allow dumpstate proc_isp_p2:file r_file_perms; allow dumpstate debugfs:dir r_dir_perms; allow dumpstate debugfs_mmc:dir search; allow dumpstate mnt_media_rw_file:dir getattr; + +# Date: 19/07/15 +# Purpose: fix google dumpstate avc error in xTs +allow dumpstate sysfs_mmcblk1:file r_file_perms; +allow dumpstate proc_last_kmsg:file r_file_perms;