]> git.puffer.fish Git - matthieu/frr.git/commit
lib: crash handlers must be allowed on threads
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 7 Feb 2025 12:22:25 +0000 (13:22 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 11 Feb 2025 17:27:36 +0000 (17:27 +0000)
commit97adb64f4991df617d366cce2266269276061767
tree5eff99124abd63168c6c6d575c3fd103000ce551
parent0245b8ed9246a588a761fbc9388281e0f63d84a6
lib: crash handlers must be allowed on threads

Blocking all signals on non-main threads is not the way to go, at least
the handlers for SIGSEGV, SIGBUS, SIGILL, SIGABRT and SIGFPE need to run
so we get backtraces.  Otherwise the process just exits.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 13a6ac5b4ca8fc08b348f64de64a787982f24250)
lib/frr_pthread.c
lib/frrcu.c
lib/sigevent.h