diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-03-01 15:58:40 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-03-01 18:13:00 +0100 |
commit | b8cda92df500693e73655c221afd316522e0746d (patch) | |
tree | a4c96314d95504eef94fbbae70e9087aa843cdef /src/getty-generator/Makefile | |
parent | 32a1575fbd8807bad2570af0d631a0263f0eb765 (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/getty-generator/Makefile')
0 files changed, 0 insertions, 0 deletions