[GIT PULL] execve fixes for v6.8-rc2
From: Kees Cook
Date: Wed Jan 24 2024 - 15:06:18 EST
Hi Linus,
Please pull these execve fixes for v6.8-rc2. One change was sent as part
of the original -rc1 PR, one is a recent fix, and the rest are cleanups
related to moving the open() earlier. I was waiting for a couple -next
cycles since -rc1, and since we were already working on the in_execve fix,
I figured I should send this PR now too.
Thanks!
-Kees
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:
Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.8-rc2
for you to fetch changes up to 90383cc07895183c75a0db2460301c2ffd912359:
exec: Distinguish in_execve from in_exec (2024-01-24 11:48:52 -0800)
----------------------------------------------------------------
execve fixes for v6.8-rc2
- Fix error handling in begin_new_exec() (Bernd Edlinger)
- MAINTAINERS: specifically mention ELF (Alexey Dobriyan)
- Various cleanups related to earlier open() (Askar Safin, Kees Cook)
----------------------------------------------------------------
Alexey Dobriyan (1):
ELF, MAINTAINERS: specifically mention ELF
Askar Safin (1):
exec: remove useless comment
Bernd Edlinger (1):
exec: Fix error handling in begin_new_exec()
Kees Cook (2):
exec: Add do_close_execat() helper
exec: Distinguish in_execve from in_exec
MAINTAINERS | 3 ++-
fs/exec.c | 39 ++++++++++++++++++++++++++++++---------
include/linux/sched.h | 2 +-
kernel/fork.c | 1 +
4 files changed, 34 insertions(+), 11 deletions(-)
--
Kees Cook