Description: Support synchronisation with service supervisor using SIGSTOP Author: Colin Watson Forwarded: no Last-Update: 2013-09-14 Index: b/sshd.c =================================================================== --- a/sshd.c +++ b/sshd.c @@ -1914,6 +1914,10 @@ } } + if (getenv("SSH_SIGSTOP")) + /* Tell service supervisor that we are ready. */ + kill(getpid(), SIGSTOP); + /* Accept a connection and return in a forked child */ server_accept_loop(&sock_in, &sock_out, &newsock, config_s);