One may have gcc or other things restricted, so that e.g. only a specific user and/or group may execute it. Varnish never inherited the groups of the user that has been specified by "-u". initgroups() will make sure that varnish gets all supplementary groups.
One may have gcc or other things restricted, so that e.g. only a
specific user and/or group may execute it. Varnish never inherited
the groups of the user that has been specified by "-u". initgroups()
will make sure that varnish gets all supplementary groups.

Submitted by:	Christian Ruppert
Fixes	#1482

varnish/Varnish-Cache,gquintard/Varnish-Cache,chrismoulton/Varnish-Cache,gauthier-delacroix/Varnish-Cache,varnish/Varnish-Cache,ajasty-cavium/Varnish-Cache,franciscovg/Varnish-Cache,feld/Varnish-Cache,chrismoulton/Varnish-Cache,franciscovg/Varnish-Cache,gquintard/Varnish-Cache,ajasty-cavium/Varnish-Cache,varnish/Varnish-Cache,chrismoulton/Varnish-Cache,zhoualbeart/Varnish-Cache,mrhmouse/Varnish-Cache,franciscovg/Varnish-Cache,varnish/Varnish-Cache,zhoualbeart/Varnish-Cache,chrismoulton/Varnish-Cache,mrhmouse/Varnish-Cache,ajasty-cavium/Varnish-Cache,zhoualbeart/Varnish-Cache,gquintard/Varnish-Cache,alarky/varnish-cache-doc-ja,franciscovg/Varnish-Cache,gauthier-delacroix/Varnish-Cache,zhoualbeart/Varnish-Cache,mrhmouse/Varnish-Cache,franciscovg/Varnish-Cache,feld/Varnish-Cache,gauthier-delacroix/Varnish-Cache,gauthier-delacroix/Varnish-Cache,alarky/varnish-cache-doc-ja,alarky/varnish-cache-doc-ja,ajasty-cavium/Varnish-Cache,feld/Varnish-Cache,alarky/varnish-cache-doc-ja,varnish/Varnish-Cache,feld/Varnish-Cache,mrhmouse/Varnish-Cache,feld/Varnish-Cache,chrismoulton/Varnish-Cache,gquintard/Varnish-Cache,gauthier-delacroix/Varnish-Cache,mrhmouse/Varnish-Cache,alarky/varnish-cache-doc-ja,zhoualbeart/Varnish-Cache,ajasty-cavium/Varnish-Cache