Re: [PATCH] fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()

From: Al Viro
Date: Wed May 27 2020 - 15:53:12 EST


On Wed, May 27, 2020 at 09:04:56PM +0200, Borislav Petkov wrote:
> On Tue, May 26, 2020 at 11:38:17PM +0100, Al Viro wrote:
> > Folks, could you test the following?
> >
> > copy_xstate_to_kernel(): don't leave parts of destination uninitialized
> >
> > copy the corresponding pieces of init_fpstate into the gaps instead.
> >
> > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>
> Am I taking this through tip (would prefer to as there's other FPU stuff
> pending) or should I ack this so that you can send it upwards?

Either way would work - I was going to send it to Linus tonight and an
extra Acked-by: would be welcome. OTOH, if you would rather have all
x86-related patches go through x86 git... your subtree, your rules.