summaryrefslogtreecommitdiff
path: root/src/core/Makefile
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-03-01 15:58:40 +0100
committerLennart Poettering <lennart@poettering.net>2017-03-01 18:13:00 +0100
commitb8cda92df500693e73655c221afd316522e0746d (patch)
treea4c96314d95504eef94fbbae70e9087aa843cdef /src/core/Makefile
parent32a1575fbd8807bad2570af0d631a0263f0eb765 (diff)
coredump: introduce is_journald_crash() and is_pid1_crash() helpers
We check these a number of times, hence let's unify these checks here. This also allows us to make the PID 1 check more elaborate as we can check both the PID and the cgroup. Checking the PID has the benefit that we'll also cover cases where PID 1 might still be in the root cgroup, and the cgroup check has the benefit that we also cover crashes in forked off crasher processes (the way we actually do it in systemd)
Diffstat (limited to 'src/core/Makefile')
0 files changed, 0 insertions, 0 deletions