]> Git Repo - buildroot-mgba.git/commit - Config.in
security hardening: add support for glibc _FORTIFY_SOURCE=3
authorJulien Olivain <[email protected]>
Sun, 18 Sep 2022 21:21:44 +0000 (23:21 +0200)
committerYann E. MORIN <[email protected]>
Sat, 31 Dec 2022 17:41:58 +0000 (18:41 +0100)
commit2f54c2a841861ba587c9bbdd66d5164b6774d9e5
tree9c601c01c1b97885f612e8064a93a0f9d9e5506a
parent415c7af0796e1f2212170bcad5a13e9cd16d5d7f
security hardening: add support for glibc _FORTIFY_SOURCE=3

A new _FORTIFY_SOURCE=3 level was introduced in glibc, in commit:
https://sourceware.org/git/?p=glibc.git;a=commit;h=c43c5796121bc5bcc0867f02e5536874aa8196c1

This commit was first included glibc 2.33. At that time, it was only
supported by llvm/clang 9, and not by any released gcc version.

To support _FORTIFY_SOURCE=3, the needed gcc features were introduced
in version 12. The gcc 12 support was added in glibc commit:
https://sourceware.org/git/?p=glibc.git;a=commit;h=86bf0feb0e3ec8e37872f72499d6ae33406561d7
This commit was first included in glibc 2.35.

Buildroot updated to glibc 2.35 in commit:
https://git.buildroot.org/buildroot/commit/?id=68d0aede597d32816c5b2ff32de0ce33cc14eb93

Buildroot introduced gcc 12 support in commit:
https://git.buildroot.org/buildroot/commit/?id=0f1ad4fc93286adaba852c99d6e1c2565b5c4258

Support for _FORTIFY_SOURCE=3 can now be added.

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
Config.in
package/Makefile.in
This page took 0.036026 seconds and 4 git commands to generate.