[git pull] vfs.git elfcore pile

From: Al Viro
Date: Sun Dec 11 2022 - 19:24:52 EST


The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-elfcore

for you to fetch changes up to 38ba2f11d9ce0e7c9444e57cb1bb418d1979534b:

[elf] get rid of get_note_info_size() (2022-11-24 23:26:04 -0500)

Trivial conflicts with Kees' binfmt_elf branch; some of the whitespace
changes in his branch are in the code eliminated in this one.

----------------------------------------------------------------
Unification of regset and non-regset sides of ELF coredump
handling. Collecting per-thread register values is the
only thing that needs to be ifdefed there...

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Al Viro (10):
kill signal_pt_regs()
kill coredump_params->regs
kill extern of vsyscall32_sysctl
[elf][regset] clean fill_note_info() a bit
[elf][regset] simplify thread list handling in fill_note_info()
elf_core_copy_task_regs(): task_pt_regs is defined everywhere
[elf][non-regset] uninline elf_core_copy_task_fpregs() (and lose pt_regs argument)
[elf][non-regset] use elf_core_copy_task_regs() for dumper as well
[elf] unify regset and non-regset cases
[elf] get rid of get_note_info_size()

arch/alpha/include/asm/elf.h | 6 -
arch/alpha/include/asm/ptrace.h | 1 -
arch/alpha/kernel/process.c | 8 +-
arch/csky/kernel/process.c | 4 +-
arch/m68k/kernel/process.c | 4 +-
arch/microblaze/kernel/process.c | 2 +-
arch/um/kernel/process.c | 3 +-
arch/x86/include/asm/elf.h | 1 -
arch/x86/um/asm/elf.h | 4 -
fs/binfmt_elf.c | 271 ++++++++-------------------------------
fs/coredump.c | 1 -
include/linux/coredump.h | 1 -
include/linux/elfcore.h | 13 +-
include/linux/ptrace.h | 9 --
kernel/signal.c | 2 +-
15 files changed, 64 insertions(+), 266 deletions(-)