This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: initgroups


On Tue, Sep 10, 2002 at 09:31:24PM -0400, Pierre A. Humblet wrote:
> P.S.: Why is there a need to define ILLEGAL_GID? It
> is never used to set a value.

It's used in chown_worker() to check against gid -1 on input.

> 2002-09-10  Pierre Humblet <pierre.humblet@ieee.org>
> 
> 	* grp.cc (initgroups): Call groups::clear_supp to free the 
> 	supplementary group sids that may have been set by setgroups.
> 	* security.cc (cygsidlist::free_sids): Also zero the class members.
> 	* security.h (groups::clear_supp): New.
> 	Rename cygsidlist_unknown to cygsidlist_empty.

Applied.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]