Index: sshd.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/sshd.c,v
retrieving revision 1.269
diff -u -p -r1.269 sshd.c
--- sshd.c	17 Dec 2003 05:31:10 -0000	1.269
+++ sshd.c	28 Jan 2004 04:10:31 -0000
@@ -304,6 +304,8 @@ static void
 grace_alarm_handler(int sig)
 {
 	/* XXX no idea how fix this signal handler */
+	if (use_privsep)
+		kill(pmonitor->m_pid, SIGALRM);
 
 	/* Log error and exit. */
 	fatal("Timeout before authentication for %s", get_remote_ipaddr());
@@ -592,6 +594,7 @@ privsep_preauth(Authctxt *authctxt)
 		debug2("Network child is on pid %ld", (long)pid);
 
 		close(pmonitor->m_recvfd);
+		pmonitor->m_pid = pid;
 		monitor_child_preauth(authctxt, pmonitor);
 		close(pmonitor->m_sendfd);
 
