提交 49fd39ee 编写于 作者: C cheng_ping

修改DAC权限管控问题

Signed-off-by: Ncheng_ping <cheng_ping@hoperun.com>
上级 60de5fbd
......@@ -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.
先完成此消息的编辑!
想要评论请 注册