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

From: James Morris
Date: Tue May 19 2020 - 17:31:11 EST


On Mon, 18 May 2020, 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>

Nice cleanup.

Reviewed-by: James Morris <jamorris@xxxxxxxxxxxxxxxxxxx>

--
James Morris
<jmorris@xxxxxxxxx>