]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/coredump/coredump.c
coredump: when storing an incomplete coredump, add COREDUMP_TRUNCATED=yes
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 25 Feb 2017 21:38:00 +0000 (16:38 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Feb 2017 00:45:10 +0000 (19:45 -0500)
commit0cd4e913daa5c7914a1c24bd4bccc5d5344181f0
tree74bdd869231d8a9f354eb0d10fba592f34c5c668
parentea5cc2a8f65535a9b3f8ba39a8df13a0c770f41d
coredump: when storing an incomplete coredump, add COREDUMP_TRUNCATED=yes

We logged about this, but did not attach information directly to the log
entry. It *would* be nice to log the full untruncated size, but afaict, to do
this, we would have to read the full data from the kernel. Doing this just to
log that information seems a bit excessive, in particular when the limit could
be set quite low. So for now let's just add a boolean field.
src/coredump/coredump.c