Config.in: fix _FORTIFY_SOURCE help string typos
The Config.in help string for BR2_FORTIFY_SOURCE_{2,3} mention
"_FORTIFY_SOURCES" (plural, with an extra "S"). The correct macro name
is "_FORTIFY_SOURCE" (without the "S"). See [1].
This commit fixes those typos.
[1] https://www.gnu.org/software/libc/manual/html_node/Source-Fortification.html
Signed-off-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
39a5490072
commit
1ec30e6f11
1 changed files with 2 additions and 2 deletions
|
|
@ -963,7 +963,7 @@ config BR2_FORTIFY_SOURCE_2
|
||||||
# gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
|
# gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164
|
||||||
depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6
|
||||||
help
|
help
|
||||||
This option sets _FORTIFY_SOURCES to 2 and some more
|
This option sets _FORTIFY_SOURCE to 2 and some more
|
||||||
checking is added, but some conforming programs might fail.
|
checking is added, but some conforming programs might fail.
|
||||||
Also adds checks at run-time (detected buffer overflow
|
Also adds checks at run-time (detected buffer overflow
|
||||||
terminates the program)
|
terminates the program)
|
||||||
|
|
@ -972,7 +972,7 @@ config BR2_FORTIFY_SOURCE_3
|
||||||
bool "Extended"
|
bool "Extended"
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
||||||
help
|
help
|
||||||
This option sets _FORTIFY_SOURCES to 3 and even more
|
This option sets _FORTIFY_SOURCE to 3 and even more
|
||||||
checking is added compared to level 2. Extends checks at
|
checking is added compared to level 2. Extends checks at
|
||||||
run-time that can introduce an additional performance
|
run-time that can introduce an additional performance
|
||||||
overhead.
|
overhead.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue