sparc: Fix ptrace() detach.
commit986bef854fab44012df678a5b51817d5274d3ca1
authorDavid S. Miller <davem@davemloft.net>
Sun, 11 May 2008 04:11:23 +0000 (10 21:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 May 2008 08:59:05 +0000 (11 01:59 -0700)
tree2bf27294dc501e00813507d3f070f42c6a10422c
parentc07c6053c41f736711ed856aa377007078c7c396
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>
arch/sparc/kernel/ptrace.c
arch/sparc64/kernel/ptrace.c
include/asm-sparc/ptrace.h
include/asm-sparc64/ptrace.h