[PATCH] ppc user annotations: debug_setconetext(2)
authorAl Viro <viro@www.linux.org.uk>
Mon, 25 Apr 2005 14:55:59 +0000 (07:55 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 25 Apr 2005 14:55:59 +0000 (07:55 -0700)
3rd argument of sys_debug_setcontext() is also a userland pointer.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/signal.c

index d500f5ebc29ce9cd28f3de7c25ad8f73a2213a48..7c8437da09d5d470407dee3eb07680e97404433a 100644 (file)
@@ -511,7 +511,7 @@ int sys_rt_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8,
 }
 
 int sys_debug_setcontext(struct ucontext __user *ctx,
-                        int ndbg, struct sig_dbg_op *dbg,
+                        int ndbg, struct sig_dbg_op __user *dbg,
                         int r6, int r7, int r8,
                         struct pt_regs *regs)
 {