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: Thu, 23 Jan 2003 16:07:41 -0500 From: Jason Tishler Subject: Re: setregid() and setreuid() implementation proposal In-reply-to: <3E2FFADF.5E8E5110@ieee.org> To: "Pierre A. Humblet" Cc: cygwin-developers AT cygwin DOT com Mail-followup-to: "Pierre A. Humblet" , cygwin-developers AT cygwin DOT com Message-id: <20030123210741.GA1468@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> <20030121183105 DOT GA2128 AT tishler DOT net> <20030122104819 DOT GC29236 AT cygbert DOT vinschen DOT de> <20030122172252 DOT GA628 AT tishler DOT net> <20030122173459 DOT GM29236 AT cygbert DOT vinschen DOT de> <3 DOT 0 DOT 5 DOT 32 DOT 20030122220024 DOT 007dc9a0 AT mail DOT attbi DOT com> <20030123095002 DOT GV29236 AT cygbert DOT vinschen DOT de> <20030123122945 DOT GA1688 AT tishler DOT net> <3E2FFADF DOT 5E8E5110 AT ieee DOT org> Pierre, On Thu, Jan 23, 2003 at 09:23:27AM -0500, Pierre A. Humblet wrote: > Jason Tishler wrote: > > On Thu, Jan 23, 2003 at 10:50:02AM +0100, Corinna Vinschen wrote: > > > On Wed, Jan 22, 2003 at 10:00:24PM -0500, Pierre A. Humblet wrote: > > > > extern "C" int > > > > setreuid32 (__uid32_t ruid, __uid32_t euid) > > > > { > > > > [snip] > > > > } > > > > > > Could you send a patch? > > > > Since you understand the issues much than I do, would you be willing > > to run with this? > > I am rather booked up for the moment. Can we split the work? > Can you take care of the skeleton (writing the uid16 wrappers, > bumping the dll, ..), leaving the main functions empty, or with > the minimal implementation you need? I will patch them later. I will submit the complete patch using the setreuid32() implementation above as a guide and include both of our names in the ChangeLog entry. If there are problems that I don't catch during testing, then you can patch my patch. Does this sound like a plan? 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