Re: [PATCH v3 0/2] binfmt_elf, coredump: Log the reason of the failed core dumps
From: Kees Cook
Date: Tue Aug 06 2024 - 00:33:30 EST
On Thu, 18 Jul 2024 11:27:23 -0700, Roman Kisel wrote:
> A powerful way to diagnose crashes is to analyze the core dump produced upon
> the failure. Missing or malformed core dump files hinder these investigations.
> I'd like to propose changes that add logging as to why the kernel would not
> finish writing out the core dump file.
>
> To help in diagnosing the user mode helper not writing out the entire coredump
> contents, the changes also log short statistics on the dump collection. I'd
> advocate for keeping this at the info level on these grounds.
>
> [...]
Applied to for-next/execve, thanks!
[1/2] coredump: Standartize and fix logging
https://git.kernel.org/kees/c/c114e9948c2b
[2/2] binfmt_elf, coredump: Log the reason of the failed core dumps
https://git.kernel.org/kees/c/fb97d2eb542f
Take care,
--
Kees Cook