]> git.puffer.fish Git - mirror/frr.git/commit
lib: crash handlers must be allowed on threads 18105/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:28:51 +0000 (17:28 +0000)
commit4fdb1f0496a97c3e54bfcaed121d24143862fb6d
tree8e49b72c2f59b8b9eb7b48172b4c5ca2d2c2d654
parent8aca554935c374e909a44af060f84346942214ef
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