[GIT PULL] execve updates for v6.13-rc1 (take 2)

From: Kees Cook
Date: Thu Nov 21 2024 - 09:56:53 EST


Hi Linus,

Please pull these execve updates for v6.13-rc1 (take 2). I've dropped
the argv[0] vs "comm" setting patches. We'll work on the better solution
for the next merge window.

Thanks!

-Kees

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 45bf05a51842c4c274f94514195c2e99cc1c200c:

exec: remove legacy custom binfmt modules autoloading (2024-11-21 06:44:02 -0800)

----------------------------------------------------------------
execve updates for v6.13-rc1 (take2)

- binfmt_misc: Fix comment typos (Christophe JAILLET)

- exec: move empty argv[0] warning closer to actual logic (Nir Lichtman)

- exec: remove legacy custom binfmt modules autoloading (Nir Lichtman)

- coredump: Do not lock when copying "comm"

- MAINTAINERS: add auxvec.h and set myself as maintainer

----------------------------------------------------------------
Christophe JAILLET (1):
fs: binfmt: Fix a typo

Kees Cook (3):
coredump: Do not lock during 'comm' reporting
MAINTAINERS: exec: Add auxvec.h UAPI
MAINTAINERS: exec: Mark Kees as maintainer

Nir Lichtman (1):
exec: remove legacy custom binfmt modules autoloading

Tycho Andersen (1):
selftests/exec: add a test for execveat()'s comm

nir@xxxxxxxxxxxx (1):
exec: move warning of null argv to be next to the relevant code

MAINTAINERS | 3 +-
fs/binfmt_misc.c | 2 +-
fs/exec.c | 22 ++--------
include/linux/coredump.h | 4 +-
tools/testing/selftests/exec/execveat.c | 77 +++++++++++++++++++++++++++++++--
5 files changed, 83 insertions(+), 25 deletions(-)

--
Kees Cook