diff options
author | David S. Miller <davem@davemloft.net> | 2008-05-11 00:11:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-11 04:59:05 -0400 |
commit | 986bef854fab44012df678a5b51817d5274d3ca1 (patch) | |
tree | 2bf27294dc501e00813507d3f070f42c6a10422c /include/asm-sparc/ptrace.h | |
parent | c07c6053c41f736711ed856aa377007078c7c396 (diff) |
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>
Diffstat (limited to 'include/asm-sparc/ptrace.h')
-rw-r--r-- | include/asm-sparc/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sparc/ptrace.h b/include/asm-sparc/ptrace.h index 8201a7b29d49..c25334234a6f 100644 --- a/include/asm-sparc/ptrace.h +++ b/include/asm-sparc/ptrace.h | |||
@@ -149,6 +149,7 @@ extern void show_regs(struct pt_regs *); | |||
149 | #define SF_XXARG 0x5c | 149 | #define SF_XXARG 0x5c |
150 | 150 | ||
151 | /* Stuff for the ptrace system call */ | 151 | /* Stuff for the ptrace system call */ |
152 | #define PTRACE_SPARC_DETACH 11 | ||
152 | #define PTRACE_GETREGS 12 | 153 | #define PTRACE_GETREGS 12 |
153 | #define PTRACE_SETREGS 13 | 154 | #define PTRACE_SETREGS 13 |
154 | #define PTRACE_GETFPREGS 14 | 155 | #define PTRACE_GETFPREGS 14 |