summaryrefslogtreecommitdiff
path: root/src/core/crash-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* signal-util: add common implementation for propagating a signalLennart Poettering2022-11-171-8/+4
| | | | | | | i.e. let's add a common logic to be called from a signal handler to raise the passed signal again. Follow-up for: #25399
* crash-handler: Make sure we propagate the original siginfoDaan De Meyer2022-11-161-4/+6
| | | | | | If we call raise(), we lose the information from the original signal. If we use rt_sigqueueinfo(), the original siginfo gets reused which is helpful when debugging crashes.
* pid1: split out crash handler logic into its own .c/.h fileLennart Poettering2022-03-101-0/+166
This stuff is sufficiently different from the rest of main.c, let's move it to its own .c/.h file, to make main.c a bit shorter. No code changes, just some refactoring.