lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 9 Aug 2021 16:24:21 +0100
From:   "Russell King (Oracle)" <>
To:     David Heidelberg <>
Cc:     Arnd Bergmann <>, Jon Medhurst <>,
        Ard Biesheuvel <>,
        Marc Zyngier <>,
        Nicolas Pitre <>,,
Subject: Re: [PATCH] ARM: atags_to_fdt: don't warn about stack size

On Mon, Aug 09, 2021 at 05:10:21PM +0200, David Heidelberg wrote:
> The merge_fdt_bootargs() function by definition consumes more than 1024
> bytes of stack because it has a 1024 byte command line on the stack,
> meaning that we always get a warning when building this file:
> arch/arm/boot/compressed/atags_to_fdt.c: In function 'merge_fdt_bootargs':
> arch/arm/boot/compressed/atags_to_fdt.c:98:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> However, as this is the decompressor and we know that it has a very shallow
> call chain, and we do not actually risk overflowing the kernel stack
> at runtime here.
> This just shuts up the warning by disabling the warning flag for this
> file.
> Tested on Nexus 7 2012 builds.
> Original Author: Arnd Bergmann <>
> Reference:
> Cc: Arnd Bergmann <>
> Cc: Nicolas Pitre <>
> Cc: Russell King <>
> Cc: Ard Biesheuvel <>
> Cc: Marc Zyngier <>
> Cc:
> Cc:
> Signed-off-by: David Heidelberg <>

I assume Arnd never sent his v3 from what I see in the thread you link
to above.

This needs to go to the patch system to be applied. Details in my
signature below. Thanks.

RMK's Patch system:
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

Powered by blists - more mailing lists