sshd blocks SIGALRM

Damien Miller djm at mindrot.org
Sat Dec 24 12:39:52 EST 2005


Loic Domaigne wrote:
> After some non trivial investigations, we found out that SIGALRM was blocked
> in the signal set of the remote shell we were using, and hence in our
> command since the signal mask is inherited accross fork()/exec(). 

I don't think it makes any sense to inherit a custom SIGALRM handler
across exec(). That sounds like an OS bug.

Anyway, try the attached patch.

-d
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-sigalarm.diff
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20051224/55ee08d5/attachment.ksh 


More information about the openssh-unix-dev mailing list