* [PATCH] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
@ 2025-08-05 11:07 Huacai Chen
2025-08-25 21:38 ` Kees Cook
0 siblings, 1 reply; 4+ messages in thread
From: Huacai Chen @ 2025-08-05 11:07 UTC (permalink / raw)
To: Huacai Chen
Cc: loongarch, Kees Cook, Xuefeng Li, Guo Ren, Xuerui Wang,
Jiaxun Yang, linux-kernel, Huacai Chen
Commit 57fbad15c2eee772 ("stackleak: Rename STACKLEAK to KSTACK_ERASE")
misses the stackframe.h part for LoongArch, so fix it.
Fixes: 57fbad15c2eee772 ("stackleak: Rename STACKLEAK to KSTACK_ERASE")
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
---
arch/loongarch/include/asm/stackframe.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/loongarch/include/asm/stackframe.h b/arch/loongarch/include/asm/stackframe.h
index 3eda298702b1..5cb568a60cf8 100644
--- a/arch/loongarch/include/asm/stackframe.h
+++ b/arch/loongarch/include/asm/stackframe.h
@@ -58,7 +58,7 @@
.endm
.macro STACKLEAK_ERASE
-#ifdef CONFIG_GCC_PLUGIN_STACKLEAK
+#ifdef CONFIG_KSTACK_ERASE
bl stackleak_erase_on_task_stack
#endif
.endm
--
2.47.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
2025-08-05 11:07 [PATCH] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE Huacai Chen
@ 2025-08-25 21:38 ` Kees Cook
2025-08-26 2:42 ` Huacai Chen
0 siblings, 1 reply; 4+ messages in thread
From: Kees Cook @ 2025-08-25 21:38 UTC (permalink / raw)
To: Huacai Chen
Cc: Kees Cook, loongarch, Xuefeng Li, Guo Ren, Xuerui Wang,
Jiaxun Yang, linux-kernel
On Tue, 05 Aug 2025 19:07:54 +0800, Huacai Chen wrote:
> Commit 57fbad15c2eee772 ("stackleak: Rename STACKLEAK to KSTACK_ERASE")
> misses the stackframe.h part for LoongArch, so fix it.
>
>
Applied to for-linus/hardening, thanks!
[1/1] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
https://git.kernel.org/kees/c/351b51dc16a9
Take care,
--
Kees Cook
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
2025-08-25 21:38 ` Kees Cook
@ 2025-08-26 2:42 ` Huacai Chen
2025-08-26 2:47 ` Kees Cook
0 siblings, 1 reply; 4+ messages in thread
From: Huacai Chen @ 2025-08-26 2:42 UTC (permalink / raw)
To: Kees Cook
Cc: loongarch, Xuefeng Li, Guo Ren, Xuerui Wang, Jiaxun Yang,
linux-kernel
On Tue, Aug 26, 2025 at 5:39 AM Kees Cook <kees@kernel.org> wrote:
>
> On Tue, 05 Aug 2025 19:07:54 +0800, Huacai Chen wrote:
> > Commit 57fbad15c2eee772 ("stackleak: Rename STACKLEAK to KSTACK_ERASE")
> > misses the stackframe.h part for LoongArch, so fix it.
> >
> >
>
> Applied to for-linus/hardening, thanks!
>
> [1/1] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
> https://git.kernel.org/kees/c/351b51dc16a9
Unnecessary, it is already in 6.17-rc3 via loongarch tree, thanks.
Huacai
>
> Take care,
>
> --
> Kees Cook
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
2025-08-26 2:42 ` Huacai Chen
@ 2025-08-26 2:47 ` Kees Cook
0 siblings, 0 replies; 4+ messages in thread
From: Kees Cook @ 2025-08-26 2:47 UTC (permalink / raw)
To: Huacai Chen
Cc: loongarch, Xuefeng Li, Guo Ren, Xuerui Wang, Jiaxun Yang,
linux-kernel
On Tue, Aug 26, 2025 at 10:42:52AM +0800, Huacai Chen wrote:
> On Tue, Aug 26, 2025 at 5:39 AM Kees Cook <kees@kernel.org> wrote:
> >
> > On Tue, 05 Aug 2025 19:07:54 +0800, Huacai Chen wrote:
> > > Commit 57fbad15c2eee772 ("stackleak: Rename STACKLEAK to KSTACK_ERASE")
> > > misses the stackframe.h part for LoongArch, so fix it.
> > >
> > >
> >
> > Applied to for-linus/hardening, thanks!
> >
> > [1/1] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
> > https://git.kernel.org/kees/c/351b51dc16a9
> Unnecessary, it is already in 6.17-rc3 via loongarch tree, thanks.
Ah-ha! Great; thanks!
--
Kees Cook
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-26 2:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-05 11:07 [PATCH] LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE Huacai Chen
2025-08-25 21:38 ` Kees Cook
2025-08-26 2:42 ` Huacai Chen
2025-08-26 2:47 ` Kees Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).