Re: [PATCH v2 5/8] exec: Move the call of prepare_binprm into search_binary_handler

From: Kees Cook
Date: Tue May 19 2020 - 14:27:59 EST


On Mon, May 18, 2020 at 07:32:18PM -0500, Eric W. Biederman wrote:
>
> The code in prepare_binary_handler needs to be run every time
> search_binary_handler is called so move the call into search_binary_handler
> itself to make the code simpler and easier to understand.
>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook