LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ppc user annotations: debug_setconetext(2)
@ 2005-04-25  6:04 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-04-25  6:04 UTC (permalink / raw)
  To: torvalds; +Cc: linuxppc-dev

	3rd argument of sys_debug_setcontext() is also a userland pointer.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
----
diff -urN RC12-rc3-ppc-i2c/arch/ppc/kernel/signal.c RC12-rc3-ppc-signal/arch/ppc/kernel/signal.c
--- RC12-rc3-ppc-i2c/arch/ppc/kernel/signal.c	Mon Apr 25 00:40:03 2005
+++ RC12-rc3-ppc-signal/arch/ppc/kernel/signal.c	Mon Apr 25 00:40:09 2005
@@ -511,7 +511,7 @@
 }
 
 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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-25  6:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25  6:04 [PATCH] ppc user annotations: debug_setconetext(2) Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox