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

From: Kees Cook
Date: Tue Jun 27 2023 - 19:43:09 EST


Hi Linus,

Please pull these execve updates for v6.5-rc1.

Thanks!

-Kees

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

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

for you to fetch changes up to aa88054b70905069d1cf706aa5e9a3418d1d341d:

binfmt_elf: fix comment typo s/reset/regset/ (2023-06-23 09:36:30 -0700)

----------------------------------------------------------------
execve updates for v6.5-rc1

- Fix a few comments for correctness and typos (Baruch Siach)

- Small simplifications for binfmt (Christophe JAILLET)

- Set p_align to 4 for PT_NOTE in core dump (Fangrui Song)

----------------------------------------------------------------
Baruch Siach (2):
elf: correct note name comment
binfmt_elf: fix comment typo s/reset/regset/

Christophe JAILLET (2):
binfmt: Use struct_size()
binfmt: Slightly simplify elf_fdpic_map_file()

Fangrui Song (1):
coredump, vmcore: Set p_align to 4 for PT_NOTE

fs/binfmt_elf.c | 4 ++--
fs/binfmt_elf_fdpic.c | 12 ++++--------
fs/proc/vmcore.c | 4 ++--
include/uapi/linux/elf.h | 3 ++-
4 files changed, 10 insertions(+), 13 deletions(-)

--
Kees Cook