summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>2005-09-09 18:18:14 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 19:31:59 +0200
commitfc0b1af2571cd56f8f2b218ef72b911135c0e37a (patch)
tree102e75139dad380ea7ca85a250336915b1db9551 /arch
parent[PATCH] uaccess.h annotations (uml) (diff)
downloadlinux-fc0b1af2571cd56f8f2b218ef72b911135c0e37a.tar.xz
linux-fc0b1af2571cd56f8f2b218ef72b911135c0e37a.zip
[PATCH] __user annotations for pointers in i386 sigframe
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/sigframe.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/i386/kernel/sigframe.h b/arch/i386/kernel/sigframe.h
index d21b14f5c25c..0b2221711dad 100644
--- a/arch/i386/kernel/sigframe.h
+++ b/arch/i386/kernel/sigframe.h
@@ -1,6 +1,6 @@
struct sigframe
{
- char *pretcode;
+ char __user *pretcode;
int sig;
struct sigcontext sc;
struct _fpstate fpstate;
@@ -10,10 +10,10 @@ struct sigframe
struct rt_sigframe
{
- char *pretcode;
+ char __user *pretcode;
int sig;
- struct siginfo *pinfo;
- void *puc;
+ struct siginfo __user *pinfo;
+ void __user *puc;
struct siginfo info;
struct ucontext uc;
struct _fpstate fpstate;