From f8e46f1f822f1efe36596df9fa7123f6897262bc Mon Sep 17 00:00:00 2001 From: lsq Date: Mon, 27 Oct 2025 18:20:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=9C=BA=E5=90=AF=E5=8A=A8=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=E5=AE=89=E5=85=A8=E6=8E=A7=E4=BB=B6=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lsq Change-Id: I05dbb13704473a75d87ccf5685f6a2a5d516a42a --- .../inner_api/security_component/src/sec_comp_client.cpp | 3 --- .../security_component_service/sa/sa_profile/3506.json | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/frameworks/inner_api/security_component/src/sec_comp_client.cpp b/frameworks/inner_api/security_component/src/sec_comp_client.cpp index 03f21d2..aebbb22 100644 --- a/frameworks/inner_api/security_component/src/sec_comp_client.cpp +++ b/frameworks/inner_api/security_component/src/sec_comp_client.cpp @@ -519,9 +519,6 @@ void SecCompClient::FinishStartSAFail() void SecCompClient::LoadSecCompSa() { - if (AccessToken::AccessTokenKit::CreateSecCompEnhanceKey() != SC_OK) { - return; - } if (!StartLoadSecCompSa()) { return; } diff --git a/services/security_component_service/sa/sa_profile/3506.json b/services/security_component_service/sa/sa_profile/3506.json index 83650d4..f66d6dc 100644 --- a/services/security_component_service/sa/sa_profile/3506.json +++ b/services/security_component_service/sa/sa_profile/3506.json @@ -6,6 +6,14 @@ "libpath": "libsecurity_component_service.z.so", "run-on-create": false, "distributed": false, + "start-on-demand": { + "param": [ + { + "name": "bootevent.boot.completed", + "value": "true" + } + ] + }, "dump_level": 1 } ]