Skip to contentSkip to conversation

execve fixes for v6.8-rc2

GIT PULL Merged Kees Cook 2 participants 2 messages Jan 24, 2024

Subsystems (2)
lore
Share & tools
lore

Kees Cook

author
#0 lore raw

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(-)
Signature · 1 line
Kees Cook
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 24 Jan 2024 12:05:10 -0800:

The pull request you sent on Wed, 24 Jan 2024 12:05:10 -0800:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.8-rc2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cf10015a24f36a82370151a88cb8610c8779e927

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html