]> git.ipfire.org Git - thirdparty/glibc.git/commit
Warn on unsupported fortification levels
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 10 Dec 2020 11:17:02 +0000 (16:47 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 31 Dec 2020 11:25:21 +0000 (16:55 +0530)
commit2a08b6e8331a611dc29325bfa6e29fecc9a3a46e
tree7cb26afcc4645260b22bf1c0f01d57668bd7d1f3
parent41f013cef24884604c303435dd1915be2ea5c0e0
Warn on unsupported fortification levels

Make the _FORTIFY_SOURCE macro soup in features.h warn about
unsupported fortification levels.  For example, it will warn about
_FORTIFY_SOURCE=3 and over with an indication of which level has been
selected.

Co-authored-by: Paul Eggert <eggert@cs.ucla.edu>
include/features.h