From dbcb2841a171f18286b5db7b3b8ed4f98a5e3d35 Mon Sep 17 00:00:00 2001 From: yang1946 Date: Tue, 28 Nov 2023 10:02:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=AD=BE=E5=90=8DLOG=20DOMAI?= =?UTF-8?q?N=20ID=20=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yang1946 --- services/key_enable/src/cert_chain_utils.rs | 2 +- services/key_enable/src/cert_path_utils.rs | 2 +- services/key_enable/src/key_enable.rs | 2 +- services/key_enable/src/profile_utils.rs | 2 +- utils/include/log.h | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/key_enable/src/cert_chain_utils.rs b/services/key_enable/src/cert_chain_utils.rs index 87b6fef..6cc5be9 100644 --- a/services/key_enable/src/cert_chain_utils.rs +++ b/services/key_enable/src/cert_chain_utils.rs @@ -22,7 +22,7 @@ use ylong_json::JsonValue; const LOG_LABEL: HiLogLabel = HiLogLabel { log_type: LogType::LogCore, - domain: 0xd002f00, // security domain + domain: 0xd005a06, // security domain tag: "CODE_SIGN", }; /// collection to contain pem data diff --git a/services/key_enable/src/cert_path_utils.rs b/services/key_enable/src/cert_path_utils.rs index 9e6db5c..8bc658f 100644 --- a/services/key_enable/src/cert_path_utils.rs +++ b/services/key_enable/src/cert_path_utils.rs @@ -20,7 +20,7 @@ use ylong_json::JsonValue; const LOG_LABEL: HiLogLabel = HiLogLabel { log_type: LogType::LogCore, - domain: 0xd002f00, // security domain + domain: 0xd005a06, // security domain tag: "CODE_SIGN", }; const TRUST_PROFILE_PATH_KEY: &str = "trust-profile-path"; diff --git a/services/key_enable/src/key_enable.rs b/services/key_enable/src/key_enable.rs index 76daaab..79dbf6d 100644 --- a/services/key_enable/src/key_enable.rs +++ b/services/key_enable/src/key_enable.rs @@ -28,7 +28,7 @@ use std::thread::sleep_ms; const LOG_LABEL: HiLogLabel = HiLogLabel { log_type: LogType::LogCore, - domain: 0xd002f00, // security domain + domain: 0xd005a06, // security domain tag: "CODE_SIGN", }; diff --git a/services/key_enable/src/profile_utils.rs b/services/key_enable/src/profile_utils.rs index abf01cf..41e797e 100644 --- a/services/key_enable/src/profile_utils.rs +++ b/services/key_enable/src/profile_utils.rs @@ -37,7 +37,7 @@ const ERROR_CODE: i32 = -1; const SUCCESS_CODE: i32 = 0; const LOG_LABEL: HiLogLabel = HiLogLabel { log_type: LogType::LogCore, - domain: 0xd002f00, // security domain + domain: 0xd005a06, // security domain tag: "CODE_SIGN", }; const PROFILE_STORE_PREFIX: &str = "/data/service/el0/profiles/developer"; diff --git a/utils/include/log.h b/utils/include/log.h index 4bf40cf..b165020 100644 --- a/utils/include/log.h +++ b/utils/include/log.h @@ -31,7 +31,7 @@ #ifdef LOG_DOMAIN #undef LOG_DOMAIN #endif -#define LOG_DOMAIN 0xD002F00 +#define LOG_DOMAIN 0xD005A06 #define LOG_DEBUG(fmt, ...) HILOG_DEBUG(LOG_CORE, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) #define LOG_INFO(fmt, ...) HILOG_INFO(LOG_CORE, "[%{public}s]:" fmt, __func__, ##__VA_ARGS__) @@ -43,7 +43,7 @@ namespace OHOS { namespace Security { namespace CodeSign { -static constexpr unsigned int SECURITY_DOMAIN = 0xD002F00; +static constexpr unsigned int SECURITY_DOMAIN = 0xD005A06; static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = {LOG_CORE, SECURITY_DOMAIN, "CODE_SIGN"}; #define LOG_DEBUG(label, fmt, ...) \ -- Gitee