Hi Pierre, On Tue, Feb 11, 2003 at 09:26:53PM -0500, Pierre A. Humblet wrote: > Corinna, > > now that setuid works posixly on Win95, sshd can be unpatched. > > Pierre > > > --- session.c.orig 2003-02-10 10:12:13.000000000 -0500 > +++ session.c 2003-02-10 10:13:08.000000000 -0500 > @@ -1249,9 +1249,6 @@ do_setusercontext(struct passwd *pw) > permanently_set_uid(pw); > #endif > } > -#ifdef HAVE_CYGWIN > - if (is_winnt) > -#endif > if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) > fatal("Failed to set uids to %u.", (u_int) pw->pw_uid); > } >
sorry, no. Remember that you created that patch so that it's backward compatible to previous versions of Cygwin. Testing the uid now would break that. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] 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/