Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 23 Feb 2002 23:19:38 +0100 From: Corinna Vinschen To: "Pierre A. Humblet" Cc: cygwin Subject: Re: More security issues Message-ID: <20020223231938.Q23094@cygbert.vinschen.de> Mail-Followup-To: "Pierre A. Humblet" , cygwin References: <3 DOT 0 DOT 5 DOT 32 DOT 20020213155051 DOT 007cce50 AT pop DOT ne DOT mediaone DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20020210143455 DOT 007f2100 AT pop DOT ne DOT mediaone DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20020210143455 DOT 007f2100 AT pop DOT ne DOT mediaone DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20020213155051 DOT 007cce50 AT pop DOT ne DOT mediaone DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20020222220653 DOT 007e8450 AT pop DOT ne DOT mediaone DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3.0.5.32.20020222220653.007e8450@pop.ne.mediaone.net> User-Agent: Mutt/1.3.22.1i On Fri, Feb 22, 2002 at 10:06:53PM -0500, Pierre A. Humblet wrote: > >today. E.g. your observation that RevertToSelf() could be dropped, > >probably. > > I am still looking at that. On 2001-10-31 you added RevertToSelf() in > dtable.cc (dtable::vfork_child_dup). Do you remember why? Yes! It's very important. Without that RevertToSelf(), the process has no access to it's own open socket handles if a setuid() has been called before. Go figure! Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/