--- zzzz-none-000/linux-5.4.213/arch/Kconfig 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/arch/Kconfig 2024-05-29 11:19:50.000000000 +0000 @@ -544,6 +544,16 @@ about 20% of all kernel functions, which increases the kernel code size by about 2%. +config STACKPROTECTOR_BUG_ON_FAIL + bool "Detection of stack-corruption will trigger BUG()" + depends on STACKPROTECTOR + depends on $(cc-option,-fstack-protector-strong) + default n + help + Detection of stack-corruption will trigger BUG(). + Depend on implementation of BUG() further info (backtrace, + registerdump,stacktrace) possible. + config HAVE_ARCH_WITHIN_STACK_FRAMES bool help