[GIT PULL] execve updates for v6.12-rc1

From: Kees Cook
Date: Mon Sep 16 2024 - 04:41:10 EST


Hi Linus,

Please pull these execve updates for v6.12-rc1. Note there is a trivial
merge conflict between this and mm, which was resolved in -next with:
https://lore.kernel.org/linux-next/20240909171843.78c294da@xxxxxxxxxxxxxxxx/

Thanks!

-Kees

The following changes since commit de9c2c66ad8e787abec7c9d7eff4f8c3cdd28aed:

Linux 6.11-rc2 (2024-08-04 13:50:53 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.12-rc1

for you to fetch changes up to 44f65d900698278a8451988abe0d5ca37fd46882:

binfmt_elf: mseal address zero (2024-08-14 09:56:48 -0700)

----------------------------------------------------------------
execve updates for v6.12-rc1

- binfmt_elf: Dump smaller VMAs first in ELF cores (Brian Mak)

- binfmt_elf: mseal address zero (Jeff Xu)

- binfmt_elf, coredump: Log the reason of the failed core dumps
(Roman Kisel)

----------------------------------------------------------------
Brian Mak (1):
binfmt_elf: Dump smaller VMAs first in ELF cores

Jeff Xu (1):
binfmt_elf: mseal address zero

Roman Kisel (2):
coredump: Standartize and fix logging
binfmt_elf, coredump: Log the reason of the failed core dumps

fs/binfmt_elf.c | 53 +++++++++++----
fs/coredump.c | 166 ++++++++++++++++++++++++++++++++++-------------
include/linux/coredump.h | 30 ++++++++-
include/linux/mm.h | 10 +++
kernel/signal.c | 21 +++++-
mm/mseal.c | 2 +-
6 files changed, 220 insertions(+), 62 deletions(-)

--
Kees Cook