commit | 8eff319298d980ed50b9ec681a2f97d3ed5fb6d1 | [log] [tgz] |
---|---|---|
author | Tim Rice <tim@multitalents.net> | Tue Jun 25 15:35:15 2002 -0700 |
committer | Tim Rice <tim@multitalents.net> | Tue Jun 25 15:35:15 2002 -0700 |
tree | fe6525e62df885ff75a1640441072cc260200742 | |
parent | b129be657c17c2a861f6c9e2c1f2d9fdf2770615 [diff] [blame] |
[acconfig.h configure.ac sshd.c] BROKEN_FD_PASSING fix from Markus for Cygwin, Cray, & SCO
diff --git a/sshd.c b/sshd.c index 025f711..18df8ab 100644 --- a/sshd.c +++ b/sshd.c
@@ -613,7 +613,11 @@ /* XXX - Remote port forwarding */ x_authctxt = authctxt; +#ifdef BROKEN_FD_PASSING + if (1) { +#else if (authctxt->pw->pw_uid == 0 || options.use_login) { +#endif /* File descriptor passing is broken or root login */ monitor_apply_keystate(pmonitor); use_privsep = 0;