]> git.ipfire.org Git - thirdparty/systemd.git/commit
coredump: tweak coredump log message
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Nov 2023 08:55:40 +0000 (09:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Nov 2023 09:02:04 +0000 (10:02 +0100)
commit6fea39bacc53de2b14f12b434d4a4907cbf554a2
tree236652c6874e3dd8984eae826917638fc14ffd68
parentda79ae6fc5a785b8ef07ec9b736097bfba1805f0
coredump: tweak coredump log message

Let's not claim a process dumped core if that was disabled via resource
limits.

While we are at it, switch from stack to heap allocation for the log
message, as it includes a stack trace which can be arbitrarily large.

Fixes: #28559
src/coredump/coredump.c