]> 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)
commitac3f614e6dd336435a90c21ff87920b0747d791f
treec010e4e8c05b112aaa267526a239237d6c93402d
parent623f5f42a5a133130b1ea340bbcff108289c98e8
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