More security issues

Corinna Vinschen cygwin@cygwin.com
Sat Feb 23 15:54:00 GMT 2002


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/



More information about the Cygwin mailing list