On Fri, Jul 06, 2018 at 01:42:16PM +0200, Jan Glauber wrote: > On Fri, Jun 29, 2018 at 11:48:50AM -0700, Kees Cook wrote: > > In the quest to remove all stack VLA usage from the kernel[1], this > > switches to using a kmalloc-allocated buffer instead of stack space. > > This should be fine since the existing routine is allocating memory > > too. > > > > [1] > > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com > > > > Cc: David Daney <david.da...@cavium.com> > > Cc: Jan Glauber <jglau...@cavium.com> > > Cc: Borislav Petkov <b...@alien8.de> > > Cc: Mauro Carvalho Chehab <mche...@kernel.org> > > Cc: linux-e...@vger.kernel.org > > Signed-off-by: Kees Cook <keesc...@chromium.org> > > Acked-by: Jan Glauber <jglau...@cavium.com>
Applied, thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --