mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] powerpc: stack protector (-fstack-protector) support
@ 2016-11-22 10:49 Christophe Leroy
  2016-11-22 10:49 ` [PATCH v2 1/2] powerpc: initial " Christophe Leroy
  2016-11-22 10:49 ` [PATCH v2 2/2] powerpc/32: stack protector: change the canary value per task Christophe Leroy
  0 siblings, 2 replies; 4+ messages in thread
From: Christophe Leroy @ 2016-11-22 10:49 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman, Scott Wood
  Cc: linux-kernel, linuxppc-dev, Nicolas Pitre

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-25  0:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-22 10:49 [PATCH v2 0/2] powerpc: stack protector (-fstack-protector) support Christophe Leroy
2016-11-22 10:49 ` [PATCH v2 1/2] powerpc: initial " Christophe Leroy
2016-11-25  0:04   ` [v2, " Michael Ellerman
2016-11-22 10:49 ` [PATCH v2 2/2] powerpc/32: stack protector: change the canary value per task Christophe Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®