]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: use getgrouplist() directly instead of mgetgroups
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 17 Jan 2020 12:33:37 +0000 (12:33 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 29 Jan 2020 14:51:39 +0000 (14:51 +0000)
commit540cf039262d74993f490272fe54e329497b4446
tree191cd4219a9ca728fa46468cd12705108194ec3d
parentf80c009cb3f4d35b7fbb1a78eb889a8e58fae2d0
util: use getgrouplist() directly instead of mgetgroups

The mgetgroups function is a GNULIB custom wrapper around
getgrouplist(). This implements a simplified version of
that code directly.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/internal.h
src/util/virutil.c