* bug#18994: [nix] Preserve supplementary groups of build users (9aed117)
[not found] ` <NixOS/nix/commit/9aed117395f6fd6c4d24a81a6b66994e75311f5e/11960324@github.com>
@ 2015-07-01 21:10 ` Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2015-07-01 21:10 UTC (permalink / raw)
To: Charles Strahan; +Cc: 18994, NixOS/nix, NixOS/nix
Charles Strahan <notifications@github.com> 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 18994@debbugs.gnu.org Cc’d.
^ permalink raw reply [flat|nested] only message in thread