[PATCH] refactor sys_setgroups and add BSD egid support

Jeremy Allison jra at samba.org
Fri Jun 8 22:01:27 GMT 2007


On Fri, Jun 08, 2007 at 02:31:13PM -0700, James Peach wrote:
> Hi all,
> 
> The attached patch refactors sys_setgroups according to Jeremy's  
> previous suggestion.
> 
>  	- we add a primary_gid argument which is used to preserve the
> 	effective GID when calling setgroups(2) on BSD systems
> 	- we split the different setgroups/getgroups implementations into  
> separate
> 	functions to clarify the ifdef paths

Looks good to me - thanks !

Jeremy.


More information about the samba-technical mailing list