Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: sshd: mask SIGTERM/SIGQUIT across SIGHUP restart
To:
Damien Miller <djm@mindrot.org>
Cc:
tech@openbsd.org, openssh@openssh.com
Date:
Tue, 15 Sep 2026 10:41:02 -0600

Download raw body.

Thread
On Tue, 15 Sep 2026 20:59:04 +1000, Damien Miller wrote:

> commit 17c7dca55648d955c3bf144745da08b24c54bf78
> Author: Damien Miller <djm@mindrot.org>
> Date:   Tue Sep 15 17:49:11 2026 +1000
>
>     keep SIGTERM/SIGQUIT masked across SIGHUP restart
>     
>     Keep these signals masked so they don't get lost across a sshd restart
>     initiated by SIGHUP. bz3981
>     
>     Note, the first thing sshd does in main() is clear the sigprocmask.

That is probably the simplest solution.  OK millert@

 - todd