This is the mail archive of the cygwin-patches@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]

unpatching sshd


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);
 }



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