Skip to content

alpha/ptrace: Improved switch_stack handling

Eric W. Biederman linux-alpha linux-api linux-arch linux-m68k lkml oe-kbuild-all oe-lkp 1 version In review

Get series with b4
b4 am 87pmwlek8d.fsf_-_@disp2133

Versions newest first

  1. v1 Latest2 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2alpha/ptrace: Record and handle the absence of switch_stackarch/alpha/include/asm/thread_info.h arch/alpha/kernel/entry.S arch/alpha/kernel/ptrace.c+43 -1016 replies
2/2alpha/ptrace: Add missing switch_stack framesarch/alpha/kernel/entry.S arch/alpha/kernel/process.c arch/alpha/kernel/syscalls/syscall.tbl+24 -116 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchLinus Torvalds
1/2
2/2Inspired-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] alpha/ptrace: Improved switch_stack handling

This pair of changes has not received anything beyond build and boot testing. I am posting these changes as they do a much better job of warning of problems and shutting down the security hole. Making them a much better pattern than the my last patch.

I hope to get the test cases soon.

 arch/alpha/include/asm/thread_info.h   |  2 ++
 arch/alpha/kernel/entry.S              | 62 ++++++++++++++++++++++++++--------
 arch/alpha/kernel/process.c            |  3 ++
 arch/alpha/kernel/ptrace.c             | 13 +++++--
 arch/alpha/kernel/syscalls/syscall.tbl |  8 ++---
 5 files changed, 67 insertions(+), 21 deletions(-)

Eric W. Biederman (2):
alpha/ptrace: Record and handle the absence of switch_stack alpha/ptrace: Add missing switch_stack frames