Re: [PATCH] RISC-V: Add STACKLEAK erasing the kernel stack at the end of syscalls

2022-10-07 Thread Guo Ren
On Fri, Oct 7, 2022 at 10:31 AM Palmer Dabbelt wrote: > > On Tue, 06 Sep 2022 10:35:10 PDT (-0700), conor.doo...@microchip.com wrote: > > On 03/09/2022 17:23, guo...@kernel.org wrote: > >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the > >> content is safe > >> > >> Fr

Re: [PATCH] RISC-V: Add STACKLEAK erasing the kernel stack at the end of syscalls

2022-10-07 Thread Mark Rutland
On Thu, Oct 06, 2022 at 07:31:01PM -0700, Palmer Dabbelt wrote: > On Tue, 06 Sep 2022 10:35:10 PDT (-0700), conor.doo...@microchip.com wrote: > > On 03/09/2022 17:23, guo...@kernel.org wrote: > > > EXTERNAL EMAIL: Do not click links or open attachments unless you know > > > the content is safe > >

Re: [PATCH] RISC-V: Add STACKLEAK erasing the kernel stack at the end of syscalls

2022-10-06 Thread Palmer Dabbelt
On Tue, 06 Sep 2022 10:35:10 PDT (-0700), conor.doo...@microchip.com wrote: On 03/09/2022 17:23, guo...@kernel.org wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe From: Xianting Tian This adds support for the STACKLEAK gcc plugin to RISC-V an

Re: [PATCH] RISC-V: Add STACKLEAK erasing the kernel stack at the end of syscalls

2022-09-06 Thread Guo Ren
Hi all, How about the generic_entry version: https://lore.kernel.org/lkml/20220907014809.919979-1-guo...@kernel.org/ On Wed, Sep 7, 2022 at 1:35 AM wrote: > > On 03/09/2022 17:23, guo...@kernel.org wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > conten