From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28974 invoked by alias); 23 Feb 2002 22:19:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 28863 invoked from network); 23 Feb 2002 22:19:44 -0000 Received: from unknown (HELO cygbert.vinschen.de) (217.81.217.77) by sources.redhat.com with SMTP; 23 Feb 2002 22:19:44 -0000 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id g1NMJc416909; Sat, 23 Feb 2002 23:19:38 +0100 Date: Sat, 23 Feb 2002 15:54:00 -0000 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.0.5.32.20020213155051.007cce50@pop.ne.mediaone.net> <3.0.5.32.20020210143455.007f2100@pop.ne.mediaone.net> <3.0.5.32.20020210143455.007f2100@pop.ne.mediaone.net> <3.0.5.32.20020213155051.007cce50@pop.ne.mediaone.net> <3.0.5.32.20020222220653.007e8450@pop.ne.mediaone.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 X-SW-Source: 2002-02/txt/msg01164.txt.bz2 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@cygwin.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/