|
Lines 674-683
Link Here
|
| 674 |
|
674 |
|
| 675 |
pmonitor->m_pid = fork(); |
675 |
pmonitor->m_pid = fork(); |
| 676 |
if (pmonitor->m_pid == -1) |
676 |
if (pmonitor->m_pid == -1) |
| 677 |
fatal("fork of unprivileged child failed"); |
677 |
fatal("fork of unprivileged child failed"); |
| 678 |
else if (pmonitor->m_pid != 0) { |
678 |
else if (pmonitor->m_pid != 0) { |
|
|
679 |
#ifdef GSSAPI |
| 680 |
ssh_gssapi_free_store(); |
| 681 |
#endif |
| 679 |
verbose("User child is on pid %ld", (long)pmonitor->m_pid); |
682 |
verbose("User child is on pid %ld", (long)pmonitor->m_pid); |
| 680 |
close(pmonitor->m_recvfd); |
683 |
close(pmonitor->m_recvfd); |
| 681 |
buffer_clear(&loginmsg); |
684 |
buffer_clear(&loginmsg); |
| 682 |
monitor_child_postauth(pmonitor); |
685 |
monitor_child_postauth(pmonitor); |
| 683 |
|
686 |
|
|
Lines 1922-1932
Link Here
|
| 1922 |
packet_get_state(MODE_IN, NULL, NULL, NULL, &ibytes); |
1925 |
packet_get_state(MODE_IN, NULL, NULL, NULL, &ibytes); |
| 1923 |
packet_get_state(MODE_OUT, NULL, NULL, NULL, &obytes); |
1926 |
packet_get_state(MODE_OUT, NULL, NULL, NULL, &obytes); |
| 1924 |
verbose("Transferred: sent %llu, received %llu bytes", obytes, ibytes); |
1927 |
verbose("Transferred: sent %llu, received %llu bytes", obytes, ibytes); |
| 1925 |
|
1928 |
|
| 1926 |
verbose("Closing connection to %.500s port %d", remote_ip, remote_port); |
1929 |
verbose("Closing connection to %.500s port %d", remote_ip, remote_port); |
| 1927 |
|
1930 |
#ifdef GSSAPI |
|
|
1931 |
ssh_gssapi_free_store(); |
| 1932 |
#endif |
| 1928 |
#ifdef USE_PAM |
1933 |
#ifdef USE_PAM |
| 1929 |
if (options.use_pam) |
1934 |
if (options.use_pam) |
| 1930 |
finish_pam(); |
1935 |
finish_pam(); |
| 1931 |
#endif /* USE_PAM */ |
1936 |
#endif /* USE_PAM */ |
| 1932 |
|
1937 |
|