* [PATCH] x86_64 ptrace32 needs PTRACE_OLDSETOPTIONS
@ 2007-02-14 17:55 Jeff Dike
2007-02-14 18:28 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Dike @ 2007-02-14 17:55 UTC (permalink / raw)
To: Andi Kleen, akpm; +Cc: patches, linux-kernel
x86_64 ptrace32 needs to support PTRACE_OLDSETOPTIONS. This patch
just converts the PTRACE_OLDSETOPTIONS request to PTRACE_SETOPTIONS
and falls through to the sys_ptrace call.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
--
arch/x86_64/ia32/ptrace32.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6/arch/x86_64/ia32/ptrace32.c
===================================================================
--- linux-2.6.orig/arch/x86_64/ia32/ptrace32.c
+++ linux-2.6/arch/x86_64/ia32/ptrace32.c
@@ -239,6 +239,8 @@ asmlinkage long sys32_ptrace(long reques
__u32 val;
switch (request) {
+ case PTRACE_OLDSETOPTIONS:
+ request = PTRACE_SETOPTIONS;
case PTRACE_TRACEME:
case PTRACE_ATTACH:
case PTRACE_KILL:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-14 18:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14 17:55 [PATCH] x86_64 ptrace32 needs PTRACE_OLDSETOPTIONS Jeff Dike
2007-02-14 18:28 ` Andi Kleen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.