From: Al Viro Date: Tue, 26 Apr 2005 14:43:42 +0000 (-0700) Subject: [PATCH] amd64 rt_sigframe user annotation X-Git-Tag: v2.6.12-rc4~205 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=993fb38b1c0cd1a56d15aa99b337c780a538baa8;p=linux-2.6-omap-h63xx.git [PATCH] amd64 rt_sigframe user annotation ->pretcode in struct rt_sigframe is a userland pointer (and already treated as such by code using that field). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/signal.c b/arch/x86_64/kernel/signal.c index 7760224cdfe..d439ced150c 100644 --- a/arch/x86_64/kernel/signal.c +++ b/arch/x86_64/kernel/signal.c @@ -83,7 +83,7 @@ sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, struct rt_sigframe { - char *pretcode; + char __user *pretcode; struct ucontext uc; struct siginfo info; };