From: Al Viro Date: Tue, 26 Apr 2005 14:43:42 +0000 (-0700) Subject: [PATCH] amd64 rt_sigframe user annotation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=993fb38b1c0cd1a56d15aa99b337c780a538baa8;p=openwrt%2Fstaging%2Fblogic.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 7760224cdfe3..d439ced150c6 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; };