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

!808 修复代码告警

Merge pull request !808 from yichengzhao/dev
......@@ -180,7 +180,7 @@ INIT_LOCAL_API int RegisterSecuritySelinuxOps(ParamSecurityOps *ops, int isInit)
ops->securityCheckParamPermission = SelinuxCheckParamPermission;
}
ops->securityFreeLabel = FreeLocalSecurityLabel;
if (isInit) {
if (isInit != 0) {
ops->securityGetLabel = SelinuxGetParamSecurityLabel;
}
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册