mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] lib: stackprotector: adjust Kconfig text for barebox
@ 2024-01-03 10:13 Ahmad Fatoum
  2024-01-03 14:09 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-01-03 10:13 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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>
---
 lib/Kconfig.hardening | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig.hardening b/lib/Kconfig.hardening
index f14b256a7d91..7f74d0d98a9c 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:
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH master] lib: stackprotector: adjust Kconfig text for barebox
  2024-01-03 10:13 [PATCH master] lib: stackprotector: adjust Kconfig text for barebox Ahmad Fatoum
@ 2024-01-03 14:09 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-01-03 14:09 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Wed, Jan 03, 2024 at 11:13:24AM +0100, Ahmad Fatoum wrote:
> 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>
> ---
>  lib/Kconfig.hardening | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/lib/Kconfig.hardening b/lib/Kconfig.hardening
> index f14b256a7d91..7f74d0d98a9c 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:
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-03 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 10:13 [PATCH master] lib: stackprotector: adjust Kconfig text for barebox Ahmad Fatoum
2024-01-03 14:09 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox