代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/etmem 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 3ac65b4eb27e0e5d940e898af98de87e49e1fe99 Mon Sep 17 00:00:00 2001
From: liubo <liubo254@huawei.com>
Date: Mon, 10 Apr 2023 21:12:25 +0800
Subject: [PATCH 2/4] etmem: remove unnecessary log code
etmem supports only 400/600 configuration file
permissions.
During the permission check, the system check whether
the permisson requirements of 400 or 600 are met.
Error logs do not need to be printed during each permission
check.
Signed-off-by: liubo <liubo254@huawei.com>
---
etmem/src/etmemd_src/etmemd_common.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/etmem/src/etmemd_src/etmemd_common.c b/etmem/src/etmemd_src/etmemd_common.c
index 649f472..7a6125e 100644
--- a/etmem/src/etmemd_src/etmemd_common.c
+++ b/etmem/src/etmemd_src/etmemd_common.c
@@ -563,7 +563,6 @@ int file_permission_check(const char *file_path, mode_t mode)
file_p = buf.st_mode & S_IRWX_VALID;
if (file_p != mode) {
- etmemd_log(ETMEMD_LOG_WARN, "file : %s mode is wrong.\n", file_path);
return -1;
}
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。