Re: [PATCH -next, v2] powerpc: add support for syscall stack randomization

2022-06-28 Thread Michael Ellerman
Xiu Jianfeng writes: > Add support for adding a random offset to the stack while handling > syscalls. This patch uses mftb() instead of get_random_int() for better > performance. > > In order to avoid unconditional stack canaries on syscall entry (due to > the use of alloca()), also disable stack

Re: [PATCH -next, v2] powerpc: add support for syscall stack randomization

2022-06-28 Thread Christophe Leroy
Le 16/05/2022 à 09:32, Xiu Jianfeng a écrit : > Add support for adding a random offset to the stack while handling > syscalls. This patch uses mftb() instead of get_random_int() for better > performance. > > In order to avoid unconditional stack canaries on syscall entry (due to > the use of all

Re: [PATCH -next, v2] powerpc: add support for syscall stack randomization

2022-05-28 Thread Michael Ellerman
xiujianfeng writes: > friendly ping I will consider this for v5.20 once the merge window has closed (after v5.19-rc1 is release). cheers > 在 2022/5/16 15:32, Xiu Jianfeng 写道: >> Add support for adding a random offset to the stack while handling >> syscalls. This patch uses mftb() instead of