linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PTRACE_SYSEMU numbering
@ 2005-09-21 17:25 Daniel Jacobowitz
  2005-09-22  6:48 ` Laurent Vivier
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2005-09-21 17:25 UTC (permalink / raw)
  To: Laurent Vivier, linux-kernel
  Cc: Jeff Dike, Paolo 'Blaisorblade' Giarrusso, Bodo Stroesser

Here's a bit of the PTRACE_SYSEMU patch, committed three weeks ago:

--- a/include/linux/ptrace.h
+++ b/include/linux/ptrace.h
@@ -20,6 +20,7 @@
 #define PTRACE_DETACH 0x11
 #define PTRACE_SYSCALL 24
+#define PTRACE_SYSEMU 31
 
 /* 0x4200-0x4300 are reserved for architecture-independent additions. */
 #define PTRACE_SETOPTIONS 0x4200

OK, I admit I could have made the comment clearer.  But can we fix this? 
You've added PTRACE_SYSEMU on top of PTRACE_GETFDPIC, which presumably will
mess up either debugging or UML on that architecture (if the latter were
ported).  That's exactly the problem we defined the 0x4200-0x4300 range
to prevent.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-06 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-21 17:25 PTRACE_SYSEMU numbering Daniel Jacobowitz
2005-09-22  6:48 ` Laurent Vivier
2005-09-22 19:46   ` Blaisorblade
2005-09-23 15:10     ` Daniel Jacobowitz
2005-10-06 19:23       ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).