From a250fc423c8e13fbcdf4268b24fb02bd1021c465 Mon Sep 17 00:00:00 2001 From: mtk11285 Date: Sat, 18 Jan 2020 10:13:24 +0800 Subject: [PATCH] [ALPS03806577] catch manual coredump fail add some rules for aee_aedv/aee_aed to read /proc/*/exe MTK-Commit-Id: a1ee357e85a32beded54046bb1b638eb8fe4b3c9 Change-Id: Ideeb8002a9d1b9b166709442195124cce8e4e427 CR-Id: ALPS03806577 Feature: Android Exception Engine(AEE) --- non_plat/aee_aedv.te | 3 +++ plat_private/aee_aed.te | 3 +++ 2 files changed, 6 insertions(+) diff --git a/non_plat/aee_aedv.te b/non_plat/aee_aedv.te index 369544a..6159c82 100644 --- a/non_plat/aee_aedv.te +++ b/non_plat/aee_aedv.te @@ -415,3 +415,6 @@ allow aee_aedv proc_isp_p2:file r_file_perms; allow aee_aedv connsyslog_data_vendor_file:file r_file_perms; allow aee_aedv connsyslog_data_vendor_file:dir r_dir_perms; + +# Purpose: Allow aee_aedv to read the /proc/*/exe of vendor process +allow aee_aedv vendor_file_type:file r_file_perms; diff --git a/plat_private/aee_aed.te b/plat_private/aee_aed.te index 72f9468..fe92aa0 100644 --- a/plat_private/aee_aed.te +++ b/plat_private/aee_aed.te @@ -141,3 +141,6 @@ allow aee_aed system_server:binder call; # Purpose: allow aee_aed to read packages.list allow aee_aed packages_list_file:file r_file_perms; + +# Purpose: Allow aee_aed to read /proc/*/exe +allow aee_aed system_file_type:file r_file_perms;