[PATCH] ppc user annotations: debug_setconetext(2)
Al Viro
viro at www.linux.org.uk
Mon Apr 25 16:04:31 EST 2005
3rd argument of sys_debug_setcontext() is also a userland pointer.
Signed-off-by: Al Viro <viro at 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)
{
More information about the Linuxppc-dev
mailing list