ssh-agent subprocess parentage
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue May 10 08:23:27 EST 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20110509/8702a9b4/attachment.bin>
More information about the openssh-unix-dev
mailing list