Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Tue, 21 Jan 2003 13:31:06 -0500 From: Jason Tishler Subject: Re: setregid() and setreuid() implementation proposal In-reply-to: <20030117120131.GF1142@cygbert.vinschen.de> To: Cygwin-Developers Mail-followup-to: Cygwin-Developers Message-id: <20030121183105.GA2128@tishler.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20030116190119 DOT GD820 AT tishler DOT net> <20030117120131 DOT GF1142 AT cygbert DOT vinschen DOT de> Corinna, Thanks for the feedback -- sorry for the delay. On Fri, Jan 17, 2003 at 01:01:31PM +0100, Corinna Vinschen wrote: > On Thu, Jan 16, 2003 at 02:01:19PM -0500, Jason Tishler wrote: > > [snip] > > If so, then I will submit the corresponding patch. > > I think it's a start... I agree that it is just a start. > but I would appreciate if you implement the appropriate setre[ug]id32 > calls plus the setre[ug]id wrapper. Sure. > What about > > if (rgid != -1) > if (rgid == egid) > return setuid (rgid); > > ? But, the above does not handle the following: setregid(-1, gid); which is the motivation for this patch. Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6