-
- Downloads
sparc: Fix ptrace() detach.
Forever we had a PTRACE_SUNOS_DETACH which was unconditionally
recognized, regardless of the personality of the process.
Unfortunately, this value is what ended up in the GLIBC sys/ptrace.h
header file on sparc as PTRACE_DETACH and PT_DETACH.
So continue to recognize this old value. Luckily, it doesn't conflict
with anything we actually care about.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- arch/sparc/kernel/ptrace.c 2 additions, 0 deletionsarch/sparc/kernel/ptrace.c
- arch/sparc64/kernel/ptrace.c 4 additions, 0 deletionsarch/sparc64/kernel/ptrace.c
- include/asm-sparc/ptrace.h 1 addition, 0 deletionsinclude/asm-sparc/ptrace.h
- include/asm-sparc64/ptrace.h 1 addition, 0 deletionsinclude/asm-sparc64/ptrace.h
Please register or sign in to comment