Re: [PATCH] stackinit: Keep selftest union size small on m68k

From: Geert Uytterhoeven
Date: Thu Feb 06 2025 - 02:49:50 EST


Hi Kees,

On Tue, 4 Feb 2025 at 18:45, Kees Cook <kees@xxxxxxxxxx> wrote:
> The stack frame on m68k is very sensitive to the size of what needs to
> be stored. Like done for long string testing, reduce the size of the
> large trailing struct in the union initialization testing.
>
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/all/CAMuHMdXW8VbtOAixO7w+aDOG70aZtZ50j1Ybcr8B3eYnRUcrcA@xxxxxxxxxxxxxx
> Fixes: e71a29db79da ("stackinit: Add union initialization to selftests")
> Signed-off-by: Kees Cook <kees@xxxxxxxxxx>

Thanks for your patch!

# stackinit: pass:102 fail:0 skip:6 total:108

Tested-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds