[RFC 0/2] SROP Mitigation for powerpc

Rashmica Gupta rashmicy at gmail.com
Tue May 17 17:47:49 AEST 2016


This is all derived from Scott Bauer's x86 patches (https://lkml.org/lkml/2016/3/29/788). Have tested rc5 with these patches on: 
	- BE VM
	- BE bare metal
	- LE VM
	- LE bare metal

with the Linux Test Project runltp test script with all default configs. From rc5 to rc5 with these patches no new tests failed. 

Any comments/suggestions are welcome!

Rashmica Gupta (2):
  powerpc/SROP Mitigation: Architecture independent SROP mitigation code
  powerpc/SROP mitigation: Add cookies to sigframes

 arch/powerpc/kernel/signal_32.c | 33 +++++++++++++++++++++++++++++----
 arch/powerpc/kernel/signal_64.c | 21 +++++++++++++++++++--
 fs/exec.c                       |  4 ++++
 include/linux/sched.h           |  1 +
 include/linux/signal.h          |  2 ++
 kernel/signal.c                 | 41 +++++++++++++++++++++++++++++++++++++++++
 6 files changed, 96 insertions(+), 6 deletions(-)

-- 
2.5.0



More information about the Linuxppc-dev mailing list