commit | c8802aac28470714ec204d00342f6ecbca45908f | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Tue Dec 08 13:39:48 2009 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Tue Dec 08 13:39:48 2009 +1100 |
tree | 2732966739075d569e733d65ce0cb6eb1c7a4ac6 | |
parent | d35e0ef61658aa3116eebb1606fcfe6f849fdcca [diff] [blame] |
- (dtucker) Bug #1470: Disable OOM-killing of the listening sshd on Linux, based on a patch from Vaclav Ovsik and Colin Watson. ok djm.
diff --git a/sshd.c b/sshd.c index 04d8f9f..38aaa18 100644 --- a/sshd.c +++ b/sshd.c
@@ -1656,6 +1656,7 @@ if (inetd_flag) { server_accept_inetd(&sock_in, &sock_out); } else { + platform_pre_listen(); server_listen(); if (options.protocol & SSH_PROTO_1)