未验证 提交 42516754 编写于 作者: O openharmony_ci 提交者: Gitee

!1074 Fix:修改DAC权限管控问题

Merge pull request !1074 from cheng_jinsong/init_0812
......@@ -287,7 +287,7 @@ int CheckParamPermission(const ParamWorkSpace *workSpace,
#ifdef WITH_SELINUX
if (mode == DAC_WRITE) {
int ret = CheckParamPermissionWithSelinux(srcLabel, name, mode);
if (ret == DAC_RESULT_PERMISSION) {
if (ret != DAC_RESULT_PERMISSION) {
return DAC_RESULT_PERMISSION;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册