From: Kees Cook <keesc...@chromium.org> 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=qPXydAacU1 > rq...@mail.gmail.com > > Signed-off-by: Kees Cook <keesc...@chromium.org> Applied.