From ab95af548c3bb40f49ebe9550f173500a29b9365 Mon Sep 17 00:00:00 2001 From: gongguilin Date: Tue, 4 Mar 2025 11:25:58 +0800 Subject: [PATCH] =?UTF-8?q?samgr=E4=BA=8B=E4=BB=B6=E6=89=93=E7=82=B9?= =?UTF-8?q?=E4=BC=98=E5=8C=965.0.2=20Signed-off-by:=20gongguilin=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/dfx/source/hisysevent_adapter.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/dfx/source/hisysevent_adapter.cpp b/services/dfx/source/hisysevent_adapter.cpp index d22b94aa..0cd613e4 100644 --- a/services/dfx/source/hisysevent_adapter.cpp +++ b/services/dfx/source/hisysevent_adapter.cpp @@ -53,16 +53,22 @@ constexpr const char* PID = "PID"; constexpr const char* UID = "UID"; constexpr const char* DURATION = "DURATION"; constexpr const char* KEY_STAGE = "KEY_STAGE"; +constexpr int32_t CONTAINER_SA_MIN = 0x00010500; //66816 +constexpr int32_t CONTAINER_SA_MAX = 0x0001055f; //66911 } static bool IsInCrashWhiteList(int32_t saId) { - std::vector whiteList = { 1205 }; + std::vector whiteList = { 1205, 1213, 1215, 9999, 65537, 65830, + 65850, 65888, 69930, 131071, 345135 }; for (auto sa : whiteList) { if (saId == sa) { return true; } } + if (saId >= CONTAINER_SA_MIN && saId <= CONTAINER_SA_MAX) { + return true; + } return false; } -- Gitee