X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=security%2FKconfig;h=e8e449444e658be4a9190c6ea2de14cca8fc4890;hb=62403005975c678ba7594a36670ae3bf0273d7c4;hp=d540bfe7319035e9ae6de6dd63e3f404530efb6e;hpb=9eb788800510ae1a6bc419636a66071ee4deafd5;p=karo-tx-linux.git diff --git a/security/Kconfig b/security/Kconfig index d540bfe73190..e8e449444e65 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -163,6 +163,13 @@ config HARDENED_USERCOPY_PAGESPAN been removed. This config is intended to be used only while trying to find such users. +config FORTIFY_SOURCE + bool "Harden common str/mem functions against buffer overflows" + depends on ARCH_HAS_FORTIFY_SOURCE + help + Detect overflows of buffers in common string and memory functions + where the compiler can determine and validate the buffer sizes. + config STATIC_USERMODEHELPER bool "Force all usermode helper calls through a single binary" help