Subject: Re: [nix] Preserve supplementary groups of build users (9aed117)

From: [email-masked] (Ludovic Courtès)
Date: Wed, 01 Jul 2015 23:10:52 +0200

Charles Strahan <[email-masked]> skribis:

> Is there any reason we immediately throw here, instead of checking `ngroups`, resizing the buffer accordingly, and then rerunning `getgrouplist`? I would think that would be a bit more robust.

Sorry, could you quote the code you’re referring to?

If you talking about the ‘getgrouplist’ call, maybe we could do that,
but we would still need to put a hard limit on the maximum number of
groups anyway.

WDYT?

Thanks,
Ludo’.

PS: Please keep [email-masked] Cc’d.