Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-10-07 Thread David Miller
From: Kees Cook Date: Wed, 5 Sep 2018 15:03:51 -0700 > In the quest to remove all stack VLA usage from the kernel[1], this > allocates a fixed size array for the maximum number of cookies and > adds a runtime sanity check. > > [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPX

Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-09-24 Thread David Miller
From: Kees Cook Date: Mon, 24 Sep 2018 20:17:55 -0700 > On Wed, Sep 5, 2018 at 3:03 PM, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this >> allocates a fixed size array for the maximum number of cookies and >> adds a runtime sanity check. >> >> [1] https://

Re: [PATCH] sparc64: viohs: Remove VLA usage

2018-09-24 Thread Kees Cook
On Wed, Sep 5, 2018 at 3:03 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > allocates a fixed size array for the maximum number of cookies and > adds a runtime sanity check. > > [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU

[PATCH] sparc64: viohs: Remove VLA usage

2018-09-05 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this allocates a fixed size array for the maximum number of cookies and adds a runtime sanity check. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1 rq...@mail.gmail.com Signed-off-by: Kees Cook --- arch