diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.391 2012/05/13 01:42:32 dtucker Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.392 2012/06/30 14:35:09 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -643,9 +643,9 @@ privsep_preauth(Authctxt *authctxt) | |||
643 | } else if (pid != 0) { | 643 | } else if (pid != 0) { |
644 | debug2("Network child is on pid %ld", (long)pid); | 644 | debug2("Network child is on pid %ld", (long)pid); |
645 | 645 | ||
646 | pmonitor->m_pid = pid; | ||
646 | if (box != NULL) | 647 | if (box != NULL) |
647 | ssh_sandbox_parent_preauth(box, pid); | 648 | ssh_sandbox_parent_preauth(box, pid); |
648 | pmonitor->m_pid = pid; | ||
649 | monitor_child_preauth(authctxt, pmonitor); | 649 | monitor_child_preauth(authctxt, pmonitor); |
650 | 650 | ||
651 | /* Sync memory */ | 651 | /* Sync memory */ |