]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] uml: add generic ptrace requests
authorPaolo \'Blaisorblade\' Giarrusso <blaisorblade_spam@yahoo.it>
Fri, 8 Oct 2004 00:34:27 +0000 (17:34 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Oct 2004 00:34:27 +0000 (17:34 -0700)
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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/ptrace.c

index 9d2c9eb8c50331a6650816a819eab6e30615b3af..40912d18cb2faf273a2f493df700c715bdce9b79 100644 (file)
@@ -287,7 +287,7 @@ int sys_ptrace(long request, long pid, long addr, long data)
        }
 #endif
        default:
-               ret = -EIO;
+               ret = ptrace_request(child, request, addr, data);
                break;
        }
  out_tsk: