]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: Fix ptrace() detach.
authorDavid S. Miller <davem@davemloft.net>
Sun, 11 May 2008 04:11:23 +0000 (21:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 May 2008 08:59:05 +0000 (01:59 -0700)
commit43bd0c9a74fe5b0befd07aac810908bdf731fdb6
tree2bf27294dc501e00813507d3f070f42c6a10422c
parent652eb0fdc75c72688c9f83332b1ce02b9ca258dc
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