Make set_supplementary_gids abort on memory errors.
Consumers of this API usually cannot continue if this function fails,
since not adding supplementary groups would prevent the caller from
accessing resources. Simplify callers by aborting instead of returning
This will also prevent callers from forgetting to check the return
value of the function and not actually setting supplementary groups
when they expected to.
Once the callers are updated, we can change this function to return
1 file changed