diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-05-21 11:36:31 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-06-09 11:46:08 -0700 |
commit | 88fc7eb54ecc6db8b773341ce39ad201066fa7da (patch) | |
tree | b4c5eb62c9f06d045c4daf6d0fe85287af3ddfec /tools/include/nolibc/compiler.h | |
parent | 7a9b2345202a14dfec9081994486156f7a691513 (diff) |
tools/nolibc: ensure stack protector guard is never zero
The all-zero pattern is one of the more probable out-of-bound writes so
add a special case to not accidentally accept it.
Also it enables the reliable detection of stack protector initialization
during testing.
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 'tools/include/nolibc/compiler.h')
0 files changed, 0 insertions, 0 deletions