Re: [PATCH] binfmt_elf: simplify error handling in load_elf_phdrs()

From: Kees Cook
Date: Tue Oct 25 2022 - 18:25:36 EST


On Wed, 19 Oct 2022 09:52:16 +0200, Rolf Eike Beer wrote:
> The err variable was the same like retval, but capped to <= 0. This is the
> same as retval as elf_read() never returns positive values.

Applied to for-next/execve, thanks!

[1/1] binfmt_elf: simplify error handling in load_elf_phdrs()
https://git.kernel.org/kees/c/ef20c5139c31

--
Kees Cook