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

James Morris jmorris at namei.org
Tue May 19 21:30:53 UTC 2020


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 at xmission.com>

Nice cleanup.

Reviewed-by: James Morris <jamorris at linux.microsoft.com>

-- 
James Morris
<jmorris at namei.org>



More information about the Linux-security-module-archive mailing list