aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-03-28 18:18:45 +0200
committerPaul E. McKenney <paulmck@kernel.org>2023-06-09 11:33:04 -0700
commite7654c3fbdb348a0c54244015d97f0a0b8773b8c (patch)
treee69ca4275e0e40254f8ebe6e860b8c8c5deec121 /scripts/stackusage
parentLinux 6.4-rc1 (diff)
downloadlinux-e7654c3fbdb348a0c54244015d97f0a0b8773b8c.tar.gz
linux-e7654c3fbdb348a0c54244015d97f0a0b8773b8c.zip
tools/nolibc: tests: use volatile to force stack smashing
Use a volatile pointer to write outside the buffer so the compiler can't optimize it away. Reported-by: Alexey Dobriyan <adobriyan@gmail.com> Link: https://lore.kernel.org/lkml/c0584807-511c-4496-b062-1263ea38f349@p183/ Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions