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

Eric W. Biederman
2021-06-16T18:30:49Z

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