Re: [PATCH v4] riscv: Enable per-task stack canaries

2020-11-14 Thread Guo Ren
Hi Palmer, Could you help move the patch into your next-tree with Kees' review added? On Sat, Nov 14, 2020 at 6:57 AM Kees Cook wrote: > > On Sun, Oct 18, 2020 at 12:38:17PM +, guo...@kernel.org wrote: > > From: Guo Ren > > > > This enables the use of per-task stack canary values if GCC

Re: [PATCH v4] riscv: Enable per-task stack canaries

2020-11-13 Thread Kees Cook
On Sun, Oct 18, 2020 at 12:38:17PM +, guo...@kernel.org wrote: > From: Guo Ren > > This enables the use of per-task stack canary values if GCC has > support for emitting the stack canary reference relative to the > value of tp, which holds the task struct pointer in the riscv > kernel. > >

Re: [PATCH v4] riscv: Enable per-task stack canaries

2020-11-04 Thread Guo Ren
Hi Kees, Ping? Any feedback? On Sun, Oct 18, 2020 at 8:39 PM wrote: > > From: Guo Ren > > This enables the use of per-task stack canary values if GCC has > support for emitting the stack canary reference relative to the > value of tp, which holds the task struct pointer in the riscv > kernel.

[PATCH v4] riscv: Enable per-task stack canaries

2020-10-18 Thread guoren
From: Guo Ren This enables the use of per-task stack canary values if GCC has support for emitting the stack canary reference relative to the value of tp, which holds the task struct pointer in the riscv kernel. After compare arm64 and x86 implementations, seems arm64's is more flexible and