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

!153 feat: 支持setns接口

Merge pull request !153 from zhushengle/setns
......@@ -62,8 +62,11 @@ ssize_t do_readlink(int dirfd, const char *path, char *buf, size_t bufsize)
{
goto errout_with_vnode;
}
#ifdef LOSCFG_PROC_PROCESS_DIR
if (vnode->type != VNODE_TYPE_LNK && vnode->type != VNODE_TYPE_VIR_LNK)
#else
if (vnode->type != VNODE_TYPE_LNK)
#endif
{
ret = -EINVAL;
goto errout_with_vnode;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册