aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tests/overflow_kunit.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2025-02-04 17:45:13 +0000
committerKees Cook <[email protected]>2025-02-06 19:36:12 +0000
commitbb5408801a5f2ecd76b61dcd539a5c466ebaac4c (patch)
treef5a01ba72f9878c2cd065142e1bd99a486064dc2 /lib/tests/overflow_kunit.c
parentkbuild: Use -fzero-init-padding-bits=all (diff)
downloadkernel-bb5408801a5f2ecd76b61dcd539a5c466ebaac4c.tar.gz
kernel-bb5408801a5f2ecd76b61dcd539a5c466ebaac4c.zip
stackinit: Keep selftest union size small on m68k
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 <[email protected]> Closes: https://lore.kernel.org/all/CAMuHMdXW8VbtOAixO7w+aDOG70aZtZ50j1Ybcr8B3eYnRUcrcA@mail.gmail.com Fixes: e71a29db79da ("stackinit: Add union initialization to selftests") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'lib/tests/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions