Re: [libvirt PATCH 06/32] util: use getgrouplist() directly instead of mgetgroups

2020-01-27 Thread Daniel P . Berrangé
On Mon, Jan 27, 2020 at 06:05:06PM +0100, Pavel Hrdina wrote: > On Mon, Jan 27, 2020 at 04:42:41PM +, Daniel P. Berrangé wrote: > > On Mon, Jan 27, 2020 at 12:44:01PM +0100, Pavel Hrdina wrote: > > > On Thu, Jan 23, 2020 at 11:42:59AM +, Daniel P. Berrangé wrote: > > > > The mgetgroups

Re: [libvirt PATCH 06/32] util: use getgrouplist() directly instead of mgetgroups

2020-01-27 Thread Pavel Hrdina
On Mon, Jan 27, 2020 at 04:42:41PM +, Daniel P. Berrangé wrote: > On Mon, Jan 27, 2020 at 12:44:01PM +0100, Pavel Hrdina wrote: > > On Thu, Jan 23, 2020 at 11:42:59AM +, Daniel P. Berrangé wrote: > > > The mgetgroups function is a GNULIB custom wrapper around > > > getgrouplist(). This

Re: [libvirt PATCH 06/32] util: use getgrouplist() directly instead of mgetgroups

2020-01-27 Thread Daniel P . Berrangé
On Mon, Jan 27, 2020 at 12:44:01PM +0100, Pavel Hrdina wrote: > On Thu, Jan 23, 2020 at 11:42:59AM +, Daniel P. Berrangé wrote: > > The mgetgroups function is a GNULIB custom wrapper around > > getgrouplist(). This implements a simplified version of > > that code directly. > > > >

Re: [libvirt PATCH 06/32] util: use getgrouplist() directly instead of mgetgroups

2020-01-27 Thread Pavel Hrdina
On Thu, Jan 23, 2020 at 11:42:59AM +, Daniel P. Berrangé wrote: > The mgetgroups function is a GNULIB custom wrapper around > getgrouplist(). This implements a simplified version of > that code directly. > > Signed-off-by: Daniel P. Berrangé > --- > src/internal.h | 4 >

[libvirt PATCH 06/32] util: use getgrouplist() directly instead of mgetgroups

2020-01-23 Thread Daniel P . Berrangé
The mgetgroups function is a GNULIB custom wrapper around getgrouplist(). This implements a simplified version of that code directly. Signed-off-by: Daniel P. Berrangé --- src/internal.h | 4 src/util/virutil.c | 34 -- 2 files changed, 32