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 <[email protected]>
---
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:
_