提交 355d7f49 编写于 作者: X xlei1030

修改库名

Signed-off-by: Nxlei1030 <xionglei6@huawei.com>
上级 d7f51eda
......@@ -244,9 +244,9 @@ int CheckParamPermissionWithSelinux(const ParamSecurityLabel *srcLabel, const ch
}
static void (*setSelinuxLogCallback)();
static int (*setParamCheck)(const char *paraName, struct ucred *uc);
g_selinuxHandle = dlopen("/system/lib/libparaperm_checker.so", RTLD_LAZY);
g_selinuxHandle = dlopen("/system/lib/libparaperm_checker.z.so", RTLD_LAZY);
if (g_selinuxHandle == NULL) {
PARAM_LOGE("Failed to dlopen libparaperm_checker.so, %s\n", dlerror());
PARAM_LOGE("Failed to dlopen libparaperm_checker.z.so, %s\n", dlerror());
return DAC_RESULT_FORBIDED;
}
if (setSelinuxLogCallback == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册