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

2020-05-19 Thread James Morris
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" Nice

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

2020-05-19 Thread Kees Cook
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

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

2020-05-18 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 --- fs/binfmt_em86.