sshd blocks SIGALRM

Damien Miller djm at
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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-sigalarm.diff

More information about the openssh-unix-dev mailing list