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

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2018-09-14 08:18:54 +02:00
parent b907fd75fa
commit b49a3ad799

View File

@ -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