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

Kees Cook
2024-03-11T23:37:32Z

Hi Linus,

Please pull these small execve updates for v6.9-rc1. Details below.

Thanks!

-Kees

The following changes since commit 41bccc98fb7931d63d03f326a746ac4d429c1dd3:

Linux 6.8-rc2 (2024-01-28 17:01:12 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 725d50261285ccf02501f2a1a6d10b31ce014597:

exec: Simplify remove_arg_zero() error path (2024-03-09 13:46:30 -0800)

----------------------------------------------------------------
execve updates for v6.9-rc1

- Drop needless error path code in remove_arg_zero() (Li kunyu, Kees Cook)

- binfmt_elf_efpic: Don't use missing interpreter's properties (Max Filippov)

- Use /bin/bash for execveat selftests

----------------------------------------------------------------
Kees Cook (2):
selftests/exec: Perform script checks with /bin/bash
exec: Simplify remove_arg_zero() error path

Li kunyu (1):
exec: Delete unnecessary statements in remove_arg_zero()

Max Filippov (1):
fs: binfmt_elf_efpic: don't use missing interpreter's properties

fs/binfmt_elf_fdpic.c | 2 +-
fs/exec.c | 11 +++--------
tools/testing/selftests/exec/execveat.c | 2 +-
3 files changed, 5 insertions(+), 10 deletions(-)

--
Kees Cook