提交 e12f4b1c 编写于 作者: C cheng_jinsong

打开系统参数dac校验

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
Change-Id: I0581ce5d139080276e2953e4be810e888cc0db42
上级 d280cf8f
...@@ -258,9 +258,6 @@ static int DacCheckParamPermission(const ParamSecurityLabel *srcLabel, const cha ...@@ -258,9 +258,6 @@ static int DacCheckParamPermission(const ParamSecurityLabel *srcLabel, const cha
if (ret != DAC_RESULT_PERMISSION) { if (ret != DAC_RESULT_PERMISSION) {
PARAM_LOGW("Param '%s' label gid:%d uid:%d mode 0%o", name, srcLabel->cred.gid, srcLabel->cred.uid, localMode); PARAM_LOGW("Param '%s' label gid:%d uid:%d mode 0%o", name, srcLabel->cred.gid, srcLabel->cred.uid, localMode);
PARAM_LOGW("Cfg label %s gid:%d uid:%d mode 0%o ", node->data, node->gid, node->uid, node->mode); PARAM_LOGW("Cfg label %s gid:%d uid:%d mode 0%o ", node->data, node->gid, node->uid, node->mode);
#ifndef STARTUP_INIT_TEST
ret = DAC_RESULT_PERMISSION;
#endif
#ifndef __MUSL__ // for wgr, return permission #ifndef __MUSL__ // for wgr, return permission
ret = DAC_RESULT_PERMISSION; ret = DAC_RESULT_PERMISSION;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册