openssh-unix-dev May 2011 archive
Main Archive Page > Month Archives  > openssh-unix-dev archives
openssh-unix-dev: Re: ssh-agent subprocess parentage

Re: ssh-agent subprocess parentage

From: Daniel Kahn Gillmor <dkg_at_nospam>
Date: Mon May 09 2011 - 22:23:27 GMT
To: openssh-unix-dev@mindrot.org

On 05/09/2011 06:14 PM, Ángel González wrote:
> Actually, there is a non-portable way in Linux to get a when your parent
> dies.
> I had been looking for it in clone(2) from your previous mail, but it
> actually
> lives at prctl(2)
> prctl(PR_SET_PDEATHSIG,)
>
> I could look into using it under Linux if there's interest on it.

Ah, nice find! That would certainly help the concern that an ssh-agent
process would linger on Linux (maybe similar approaches are available
for other kernels?), but it doesn't resolve the process supervision
concern, does it?

        --dkg

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev