summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2002-06-25 15:35:15 -0700
committerTim Rice <tim@multitalents.net>2002-06-25 15:35:15 -0700
commit8eff319298d980ed50b9ec681a2f97d3ed5fb6d1 (patch)
treefe6525e62df885ff75a1640441072cc260200742 /sshd.c
parentb129be657c17c2a861f6c9e2c1f2d9fdf2770615 (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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 025f71101..18df8ab8f 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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;