OpenSSH PAM "thread" buglet

Darren Tucker dtucker at zip.com.au
Fri Jul 15 13:18:30 EST 2005


Joerg Sonnenberger wrote:
> Hi all,
> the attached patch ensure that only one side of the authentication
> socketpair stays open on both sides. This should make the code
> more robust by detecting the dead of the process on the other side.
> This applies to the non-pthread case only.

Can you give an example where it would make a difference?  The death of 
the child process should already be caught by the SIGCHLD.  Or are you 
talking about the parent dying unexpectedly and the child not getting a 
SIGPIPE?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list