[PATCH 6/6] sshd.c (main): Clear rexec_flag in test mode
Dmitry V. Levin
ldv at altlinux.org
Wed Apr 11 09:40:26 EST 2007
---
openssh/sshd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--- a/openssh/sshd.c
+++ b/openssh/sshd.c
@@ -1365,7 +1365,7 @@ main(int ac, char **av)
break;
}
}
- if (rexeced_flag || inetd_flag)
+ if (rexeced_flag || inetd_flag || test_flag)
rexec_flag = 0;
if (rexec_flag && (av[0] == NULL || *av[0] != '/'))
fatal("sshd re-exec requires execution with an absolute path");
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20070411/1f48eaf0/attachment.bin
More information about the openssh-unix-dev
mailing list