Re: [PATCH 0/2] powerpc: stack protector (-fstack-protector) support

From: Christophe LEROY
Date: Fri Sep 30 2016 - 12:39:10 EST




Le 30/09/2016 Ã 18:26, Denis Kirjanov a Ãcrit :


On Friday, September 30, 2016, Christophe Leroy <christophe.leroy@xxxxxx
<mailto:christophe.leroy@xxxxxx>> wrote:

Add HAVE_CC_STACKPROTECTOR to powerpc. This is copied from ARM.

Not tested on PPC64, compile ok with ppc64_


Hi Christophe,

are you going to test it on ppc64? If not, I can take it

Thanks Denis, you are welcome to test it.

I don't have any ppc64 target, I only have mpc8xx and mpc83xx which both are ppc32

Christophe




Christophe Leroy (2):
powerpc: initial stack protector (-fstack-protector) support
powerpc/32: stack protector: change the canary value per task

arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/stackprotector.h | 38
+++++++++++++++++++++++++++++++
arch/powerpc/kernel/Makefile | 5 ++++
arch/powerpc/kernel/asm-offsets.c | 3 +++
arch/powerpc/kernel/entry_32.S | 6 ++++-
arch/powerpc/kernel/process.c | 6 +++++
6 files changed, 58 insertions(+), 1 deletion(-)
create mode 100644 arch/powerpc/include/asm/stackprotector.h

--
2.1.0