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

2020-05-11 Thread Kees Cook
On Sat, May 09, 2020 at 02:42:52PM -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

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

2020-05-09 Thread Eric W. Biederman
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" --- arch/alpha/kernel/binfmt_loader.c | 3 ---