summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-01-03 11:13:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-01-03 15:54:38 +0100
commit28828b09e318120881fd82422dc2f459b366ef2f (patch)
treefcb7379552ae863eee2fc1d106cff25804fe6468 /lib
parent9347a2812a7f1cff9e9b72779da3373ee8d7885b (diff)
downloadbarebox-28828b09e318120881fd82422dc2f459b366ef2f.tar.gz
barebox-28828b09e318120881fd82422dc2f459b366ef2f.tar.xz
lib: stackprotector: adjust Kconfig text for barebox
The reference to kernel panic is taken from the original Linux Kconfig help text. Leaving it as-is may be confusing, so adjust it for barebox. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240103101324.2628829-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.hardening4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig.hardening b/lib/Kconfig.hardening
index f14b256a7d..7f74d0d98a 100644
--- a/lib/Kconfig.hardening
+++ b/lib/Kconfig.hardening
@@ -30,7 +30,7 @@ config STACKPROTECTOR_STRONG
the value just before actually returning. Stack based buffer
overflows (that need to overwrite this return address) now also
overwrite the canary, which gets detected and the attack is then
- neutralized via a kernel panic.
+ neutralized via a barebox panic.
Functions will have the stack-protector canary logic added in any
of the following conditions:
@@ -78,7 +78,7 @@ config PBL_STACKPROTECTOR_STRONG
the value just before actually returning. Stack based buffer
overflows (that need to overwrite this return address) now also
overwrite the canary, which gets detected and the attack is then
- neutralized via a kernel panic.
+ neutralized via a barebox panic.
Functions will have the stack-protector canary logic added in any
of the following conditions: