summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-04-08 07:33:49 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-08 07:33:49 -0700
commit42f3678e165dcff34fd05379fa7c76608a6fc9ec (patch)
tree436f1728d3aec78ff262f53fd0b973c705e276b4 /include
parentafb3409320a4ecfb8ee118bac7d3e2bb3d129c9e (diff)
Annotate i386/signal.c with address space type annotations.
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/siginfo.h2
-rw-r--r--include/asm-i386/i387.h4
-rw-r--r--include/asm-i386/sigcontext.h4
3 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h
index 8dfbdbdd7344..209ba0222647 100644
--- a/include/asm-generic/siginfo.h
+++ b/include/asm-generic/siginfo.h
@@ -275,7 +275,7 @@ static inline void copy_siginfo(struct siginfo *to, struct siginfo *from)
#endif
-extern int copy_siginfo_to_user(struct siginfo *to, struct siginfo *from);
+extern int copy_siginfo_to_user(struct siginfo __user *to, struct siginfo *from);
#endif /* __KERNEL__ */
diff --git a/include/asm-i386/i387.h b/include/asm-i386/i387.h
index 805f297e0514..c45379bf28f7 100644
--- a/include/asm-i386/i387.h
+++ b/include/asm-i386/i387.h
@@ -81,8 +81,8 @@ extern void set_fpu_mxcsr( struct task_struct *tsk, unsigned short mxcsr );
/*
* Signal frame handlers...
*/
-extern int save_i387( struct _fpstate *buf );
-extern int restore_i387( struct _fpstate *buf );
+extern int save_i387( struct _fpstate __user *buf );
+extern int restore_i387( struct _fpstate __user *buf );
/*
* ptrace request handers...
diff --git a/include/asm-i386/sigcontext.h b/include/asm-i386/sigcontext.h
index b16c6c12a860..aaef089a7787 100644
--- a/include/asm-i386/sigcontext.h
+++ b/include/asm-i386/sigcontext.h
@@ -1,6 +1,8 @@
#ifndef _ASMi386_SIGCONTEXT_H
#define _ASMi386_SIGCONTEXT_H
+#include <linux/compiler.h>
+
/*
* As documented in the iBCS2 standard..
*
@@ -74,7 +76,7 @@ struct sigcontext {
unsigned long eflags;
unsigned long esp_at_signal;
unsigned short ss, __ssh;
- struct _fpstate * fpstate;
+ struct _fpstate __user * fpstate;
unsigned long oldmask;
unsigned long cr2;
};