[v2] powerpc: mpc5200: Remove VLA usage
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Jul 11 23:24:17 AEST 2018
On Mon, 2018-07-02 at 15:56:21 UTC, Kees Cook wrote:
> In the quest to remove all stack VLA usage from the kernel[1], this
> switches to using a stack size large enough for the saved routine and
> adds a sanity check making sure the routine doesn't overflow into the
> 0x600 exception handler.
>
> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
>
> Signed-off-by: Kees Cook <keescook at chromium.org>
> Reviewed-by: Arnd Bergmann <arnd at arndb.de>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/741c5640a15a23a2ec3a0846668a82
cheers
More information about the Linuxppc-dev
mailing list