提交 b49a3ad7 编写于 作者: M Martin Kletzander

util: Add stubs for virDoes{User,Group}Exist() without getpwuid_r

Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 b907fd75
......@@ -1248,6 +1248,18 @@ virGetGroupList(uid_t uid ATTRIBUTE_UNUSED, gid_t gid ATTRIBUTE_UNUSED,
return 0;
}
int
virDoesUserExist(const char *name ATTRIBUTE_UNUSED)
{
return 0;
}
int
virDoesGroupExist(const char *name ATTRIBUTE_UNUSED)
{
return 0;
}
# ifdef WIN32
/* These methods are adapted from GLib2 under terms of LGPLv2+ */
static int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册