]> git.puffer.fish Git - mirror/frr.git/commit
lib: crash handlers must be allowed on threads 18060/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 7 Feb 2025 12:22:25 +0000 (13:22 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 7 Feb 2025 12:37:43 +0000 (13:37 +0100)
commit13a6ac5b4ca8fc08b348f64de64a787982f24250
treea64a8b497a9f79f5fcadeb64c233d6512dbaf585
parent452732024eba142df201b129b78e9bae73bb1f2c
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>
lib/frr_pthread.c
lib/frrcu.c
lib/sigevent.h