[PATCH] PTRACE_SYSEMU is only for i386 and clashes with other ptrace codes of other...
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Sun, 8 Jan 2006 09:04:49 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:04 +0000 (20:14 -0800)
PTRACE_SYSEMU{,_SINGLESTEP} is actually arch specific, for now, and the
current allocated number clashes with a ptrace code of frv, i.e.
PTRACE_GETFDPIC.  I should have submitted this much earlier, anyway we get no
breakage for this.

CC: Daniel Jacobowitz <dan@debian.org>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/ptrace.h
include/linux/ptrace.h

index 7e0f2945d17d48587dadf5a6b6b5d027b9869b0a..f324c53b6f9a8e96be3ada795ff90e3e296e6acd 100644 (file)
@@ -54,6 +54,9 @@ struct pt_regs {
 #define PTRACE_GET_THREAD_AREA    25
 #define PTRACE_SET_THREAD_AREA    26
 
+#define PTRACE_SYSEMU            31
+#define PTRACE_SYSEMU_SINGLESTEP  32
+
 #ifdef __KERNEL__
 
 #include <asm/vm86.h>
index 864791996b5fa8efaafb777dff7f74cc623c3f47..9d5cd106b344bc7a316bfb712cbc9509a8920075 100644 (file)
@@ -20,8 +20,6 @@
 #define PTRACE_DETACH          0x11
 
 #define PTRACE_SYSCALL           24
-#define PTRACE_SYSEMU            31
-#define PTRACE_SYSEMU_SINGLESTEP  32
 
 /* 0x4200-0x4300 are reserved for architecture-independent additions.  */
 #define PTRACE_SETOPTIONS      0x4200