Harden common str/mem functions against buffer overflows
configname: CONFIG_FORTIFY_SOURCE
Linux Kernel Configuration
└─>Security options
└─>Harden common str/mem functions against buffer overflows
In linux kernel since version 3.10 (release Date: 2013-06-30)
Detect overflows of buffers in common string and memory functions
where the compiler can determine and validate the buffer sizes.
where the compiler can determine and validate the buffer sizes.
depends
CONFIG_ARCH_HAS_FORTIFY_SOURCECONFIG_CLANG_VERSIONCONFIG_120001 or NOT CONFIG_CC_IS_CLANG
NOT CONFIG_CC_IS_CLANG or NOT CONFIG_X86_32