mirror of https://gitee.com/openkylin/libvirt.git
util: Add stubs for virDoes{User,Group}Exist() without getpwuid_r
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
b907fd75fa
commit
b49a3ad799
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue