!949 打开系统参数dac校验

Merge pull request !949 from Mupceet/master_cc
This commit is contained in:
openharmony_ci 2022-09-05 13:11:23 +00:00 committed by Gitee
commit 1e49fb16f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -258,9 +258,6 @@ static int DacCheckParamPermission(const ParamSecurityLabel *srcLabel, const cha
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("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
ret = DAC_RESULT_PERMISSION;
#endif