Skip to content
Snippets Groups Projects
Commit c114e994 authored by Roman Kisel's avatar Roman Kisel Committed by Kees Cook
Browse files

coredump: Standartize and fix logging


The coredump code does not log the process ID and the comm
consistently, logs unescaped comm when it does log it, and
does not always use the ratelimited logging. That makes it
harder to analyze logs and puts the system at the risk of
spamming the system log incase something crashes many times
over and over again.

Fix that by logging TGID and comm (escaped) consistently and
using the ratelimited logging always.

Signed-off-by: default avatarRoman Kisel <romank@linux.microsoft.com>
Tested-by: default avatarAllen Pais <apais@linux.microsoft.com>
Link: https://lore.kernel.org/r/20240718182743.1959160-2-romank@linux.microsoft.com


Signed-off-by: default avatarKees Cook <kees@kernel.org>
parent de9c2c66
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment