commit | a28a6e860c6cf231cf3c5171c75c342adcd00406 | [log] [tgz] |
---|---|---|
author | Francis Laniel <laniel_francis@privacyrequired.com> | Thu Feb 25 17:21:20 2021 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Feb 26 09:41:04 2021 -0800 |
tree | a738c834c1dae47f29156701c163cad61074eecd | |
parent | 0e24465d3313832e82f8bd9ee2439da1367dd2e5 [diff] |
string.h: move fortified functions definitions in a dedicated header. This patch adds fortify-string.h to contain fortified functions definitions. Thus, the code is more separated and compile time is approximately 1% faster for people who do not set CONFIG_FORTIFY_SOURCE. Link: https://lkml.kernel.org/r/20210111092141.22946-1-laniel_francis@privacyrequired.com Link: https://lkml.kernel.org/r/20210111092141.22946-2-laniel_francis@privacyrequired.com Signed-off-by: Francis Laniel <laniel_francis@privacyrequired.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>