[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175612794578.1492825.5832281034488912097.b4-ty@kernel.org>
Date: Mon, 25 Aug 2025 06:19:08 -0700
From: Kees Cook <kees@...nel.org>
To: Russell King <linux@...linux.org.uk>,
Li Huafei <lihuafei1@...wei.com>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
Linus Waleij <linus.walleij@...aro.org>,
Arnd Bergmann <arnd@...nel.org>
Cc: Kees Cook <kees@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: stacktrace: include asm/sections.h in asm/stacktrace.h
On Thu, 07 Aug 2025 09:18:58 +0200, Arnd Bergmann wrote:
> The recent kstack erase changes appear to have uncovered an existing
> issue with a missing header inclusion:
>
> In file included from drivers/misc/lkdtm/kstack_erase.c:12:
> In file included from include/linux/kstack_erase.h:16:
> arch/arm/include/asm/stacktrace.h:48:21: error: call to undeclared function 'in_entry_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 48 | frame->ex_frame = in_entry_text(frame->pc);
> | ^
>
> [...]
Applied to for-linus/hardening, thanks!
[1/1] ARM: stacktrace: include asm/sections.h in asm/stacktrace.h
https://git.kernel.org/kees/c/f05995cc6d3b
Take care,
--
Kees Cook
Powered by blists - more mailing lists