# \[PATCH 0/2\] alpha/ptrace: Improved switch\_stack handling

- From: Eric W. Biederman \<hidden\>
- Date: 2021-06-16 18:30:51 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/06/1417038
- Thread: https://ratatoskr.run/linux-arch/2021/06/1417038/t.md

```text

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

```
