Revert "binfmt_elf, coredump: Log the reason of the failed core dumps"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2024 18:39:02 +0000 (11:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2024 18:39:02 +0000 (11:39 -0700)
commita78282e2c94f4ca80a2d7c56e4d1e9546be5596d
tree43f28d8a2f0e6e7260750b0a8288a20f71a29939
parent62a0e2fa40c5c06742b8b4997ba5095a3ec28503
Revert "binfmt_elf, coredump: Log the reason of the failed core dumps"

This reverts commit fb97d2eb542faf19a8725afbd75cbc2518903210.

The logging was questionable to begin with, but it seems to actively
deadlock on the task lock.

 "On second thought, let's not log core dump failures. 'Tis a silly place"

because if you can't tell your core dump is truncated, maybe you should
just fix your debugger instead of adding bugs to the kernel.

Reported-by: Vegard Nossum <vegard.nossum@oracle.com>
Link: https://lore.kernel.org/all/d122ece6-3606-49de-ae4d-8da88846bef2@oracle.com/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c
fs/coredump.c
include/linux/coredump.h
kernel/signal.c