Re: [v2] powerpc: mpc5200: Remove VLA usage

2018-07-11 Thread Michael Ellerman
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. > >

[PATCH v2] powerpc: mpc5200: Remove VLA usage

2018-07-02 Thread Kees Cook
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-zNmZwX4A2FQpadafLfEzK6C