]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] amd64 rt_sigframe user annotation
authorAl Viro <viro@www.linux.org.uk>
Tue, 26 Apr 2005 14:43:42 +0000 (07:43 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 26 Apr 2005 14:43:42 +0000 (07:43 -0700)
->pretcode in struct rt_sigframe is a userland pointer (and already
treated as such by code using that field).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/signal.c

index 7760224cdfe39af70467cb2f8e28153389f979aa..d439ced150c603c33cbc2220bec5532654822b86 100644 (file)
@@ -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;
 };