* [patch 1/1] Uml: add generic ptrace requests
@ 2004-10-03 13:43 blaisorblade_spam
0 siblings, 0 replies; only message in thread
From: blaisorblade_spam @ 2004-10-03 13:43 UTC (permalink / raw)
To: akpm; +Cc: jdike, linux-kernel, user-mode-linux-devel, blaisorblade_spam
When we don't know how to handle ptrace(2) calls, call the arch-independent
ptrace_request like i386 (and I guess other archs) do, instead of returning
-EIO.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
---
linux-2.6.9-current-paolo/arch/um/kernel/ptrace.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN arch/um/kernel/ptrace.c~uml-add-generic-ptrace-requests arch/um/kernel/ptrace.c
--- linux-2.6.9-current/arch/um/kernel/ptrace.c~uml-add-generic-ptrace-requests 2004-10-03 15:41:12.023298992 +0200
+++ linux-2.6.9-current-paolo/arch/um/kernel/ptrace.c 2004-10-03 15:41:12.026298536 +0200
@@ -287,7 +287,7 @@ int sys_ptrace(long request, long pid, l
}
#endif
default:
- ret = -EIO;
+ ret = ptrace_request(child, request, addr, data);
break;
}
out_tsk:
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-03 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-03 13:43 [patch 1/1] Uml: add generic ptrace requests blaisorblade_spam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®