diff options
author | Tim Rice <tim@multitalents.net> | 2002-06-25 15:35:15 -0700 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2002-06-25 15:35:15 -0700 |
commit | 8eff319298d980ed50b9ec681a2f97d3ed5fb6d1 (patch) | |
tree | fe6525e62df885ff75a1640441072cc260200742 /sshd.c | |
parent | b129be657c17c2a861f6c9e2c1f2d9fdf2770615 (diff) |
[acconfig.h configure.ac sshd.c] BROKEN_FD_PASSING fix from Markus
for Cygwin, Cray, & SCO
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -613,7 +613,11 @@ privsep_postauth(Authctxt *authctxt) | |||
613 | /* XXX - Remote port forwarding */ | 613 | /* XXX - Remote port forwarding */ |
614 | x_authctxt = authctxt; | 614 | x_authctxt = authctxt; |
615 | 615 | ||
616 | #ifdef BROKEN_FD_PASSING | ||
617 | if (1) { | ||
618 | #else | ||
616 | if (authctxt->pw->pw_uid == 0 || options.use_login) { | 619 | if (authctxt->pw->pw_uid == 0 || options.use_login) { |
620 | #endif | ||
617 | /* File descriptor passing is broken or root login */ | 621 | /* File descriptor passing is broken or root login */ |
618 | monitor_apply_keystate(pmonitor); | 622 | monitor_apply_keystate(pmonitor); |
619 | use_privsep = 0; | 623 | use_privsep = 0; |