[PATCH v2 0/2] powerpc: stack protector (-fstack-protector) support
Christophe Leroy
christophe.leroy at c-s.fr
Tue Nov 22 21:45:47 AEDT 2016
Add HAVE_CC_STACKPROTECTOR to powerpc. This is copied from ARM.
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 | 40 +++++++++++++++++++++++++++++++
arch/powerpc/kernel/Makefile | 4 ++++
arch/powerpc/kernel/asm-offsets.c | 3 +++
arch/powerpc/kernel/entry_32.S | 6 ++++-
arch/powerpc/kernel/process.c | 6 +++++
6 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644 arch/powerpc/include/asm/stackprotector.h
--
2.10.1
More information about the Linuxppc-dev
mailing list