[GIT PULL] execve updates for 6.10-rc1

From: Kees Cook
Date: Sat May 11 2024 - 15:24:34 EST


Hi Linus,

Please pull this handful of execve updates for 6.10-rc1.

Thanks!

-Kees

The following changes since commit 39cd87c4eb2b893354f3b850f916353f2658ae6f:

Linux 6.9-rc2 (2024-03-31 14:32:39 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 4bbf9c3b53e637eb3a14ee27b996300ce88e752a:

fs/coredump: Enable dynamic configuration of max file note size (2024-05-08 09:53:00 -0700)

----------------------------------------------------------------
execve updates for 6.10-rc1

- Provide knob to change (previously fixed) coredump NOTES size (Allen Pais)

- Add sched_prepare_exec tracepoint (Marco Elver)

- Make /proc/$pid/auxv work under binfmt_elf_fdpic (Max Filippov)

- Convert ARCH_HAVE_EXTRA_ELF_NOTES to proper Kconfig (Vignesh Balasubramanian)

- Leave a gap between .bss and brk

----------------------------------------------------------------
Allen Pais (1):
fs/coredump: Enable dynamic configuration of max file note size

Kees Cook (1):
binfmt_elf: Leave a gap between .bss and brk

Marco Elver (1):
tracing: Add sched_prepare_exec tracepoint

Max Filippov (1):
binfmt_elf_fdpic: fix /proc/<pid>/auxv

Vignesh Balasubramanian (1):
Replace macro "ARCH_HAVE_EXTRA_ELF_NOTES" with kconfig

arch/Kconfig | 9 +++++
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/elf.h | 2 -
fs/binfmt_elf.c | 10 ++++-
fs/binfmt_elf_fdpic.c | 85 +++++++++++++++++++-----------------------
fs/coredump.c | 17 +++++++++
fs/exec.c | 8 ++++
include/linux/coredump.h | 2 +
include/linux/elf.h | 2 +-
include/trace/events/sched.h | 35 +++++++++++++++++
10 files changed, 120 insertions(+), 51 deletions(-)

--
Kees Cook