lkml.org 
[lkml]   [2018]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] EDAC, thunderx: Remove VLA usage
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=qPXydAacU1RqZWA@mail.gmail.com
> >
> > Cc: David Daney <david.daney@cavium.com>
> > Cc: Jan Glauber <jglauber@cavium.com>
> > Cc: Borislav Petkov <bp@alien8.de>
> > Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> > Cc: linux-edac@vger.kernel.org
> > Signed-off-by: Kees Cook <keescook@chromium.org>
>
> Acked-by: Jan Glauber <jglauber@cavium.com>

Applied, thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--

\
 
 \ /
  Last update: 2018-07-09 11:38    [W:0.032 / U:23.904 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site