]> git.puffer.fish Git - mirror/frr.git/commit
lib: crash handlers must be allowed on threads 18104/head
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:55 +0000 (17:27 +0000)
commitfd04241d7ea13ca9a009d398c83cf4177871def7
tree6f66e82331970eeabf6bdd61e3c2ab4da0a00fc1
parent00fd2e65517aca600ae8521095a7a1a42d103ce7
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