提交 f4b453f1 编写于 作者: Y yichengzhao

Signed-off-by: yichengzhao <yichengzhao1@huawei.com>

Change-Id: Ifbfe65bf1fe2b3e2946b38fe6e5a8dfe61ff7b89
上级 093b3ac7
......@@ -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.
先完成此消息的编辑!
想要评论请 注册