Systemd/catalog
Zbigniew Jędrzejewski-Szmek 73a99163a7 coredump,catalog: give better notice when a core file is truncated
coredump had code to check if copy_bytes() hit the max_bytes limit,
and refuse further processing in that case.
But in 84ee096044, the return convention for copy_bytes() was changed
from -EFBIG to 1 for the case when the limit is hit, so the condition
check in coredump couldn't ever trigger.
But it seems that *do* want to process such truncated cores [1].
So change the code to detect truncation properly, but instead of
returning an error, give a nice log entry.

[1] https://github.com/systemd/systemd/issues/3883#issuecomment-239106337

Should fix (or at least alleviate) #3883.
2016-09-28 23:50:29 +02:00
..
.gitignore catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
Makefile build-sys: add symlink Makefile to catalog/ too 2012-11-20 21:39:16 +01:00
systemd.be.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.be@latin.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.bg.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.catalog.in coredump,catalog: give better notice when a core file is truncated 2016-09-28 23:50:29 +02:00
systemd.da.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.fr.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.hr.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.hu.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.it.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.ko.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.pl.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.pt_BR.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.ru.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.sr.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.zh_CN.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00
systemd.zh_TW.catalog.in catalog: make support URL to show in shipped catalog entries configurable (#3597) 2016-06-26 17:43:37 +02:00