This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More security issues


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]