Browse Source

[PATCH] ppc user annotations: debug_setconetext(2)

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>
Al Viro 20 years ago
parent
commit
056de2fa12
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/ppc/kernel/signal.c

+ 1 - 1
arch/ppc/kernel/signal.c

@@ -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 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,
 			 int r6, int r7, int r8,
 			 struct pt_regs *regs)
 			 struct pt_regs *regs)
 {
 {