]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Instead of using possibly complex ssh_signal(), write all
authorderaadt@openbsd.org <deraadt@openbsd.org>
Wed, 26 Jun 2024 23:16:52 +0000 (23:16 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 27 Jun 2024 22:34:49 +0000 (08:34 +1000)
commitd6bcd13297c2ab8b528df5a6898f994734849031
tree4b56287d71ca5ef7c3e008e11c6b79a19e87799c
parentb8793e2b0851f7d71b97554fa5260b23796d6277
upstream: Instead of using possibly complex ssh_signal(), write all

the parts of the grace_alarm_handler() using the exact things allowed by the
signal-safe rules.  This is a good rule of thumb: Handlers should be written
to either set a global volatile sig_atomic_t inspected from outside, and/or
directly perform only safe operations listed in our sigaction(2) manual page.
ok djm markus

OpenBSD-Commit-ID: 14168ae8368aab76e4ed79e17a667cb46f404ecd
sshd-session.c