[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>
This commit is contained in:
viro@ZenIV.linux.org.uk 2005-09-09 17:18:14 +01:00 committed by Linus Torvalds
parent 85c39206ac
commit fc0b1af257

View File

@ -1,6 +1,6 @@
struct sigframe struct sigframe
{ {
char *pretcode; char __user *pretcode;
int sig; int sig;
struct sigcontext sc; struct sigcontext sc;
struct _fpstate fpstate; struct _fpstate fpstate;
@ -10,10 +10,10 @@ struct sigframe
struct rt_sigframe struct rt_sigframe
{ {
char *pretcode; char __user *pretcode;
int sig; int sig;
struct siginfo *pinfo; struct siginfo __user *pinfo;
void *puc; void __user *puc;
struct siginfo info; struct siginfo info;
struct ucontext uc; struct ucontext uc;
struct _fpstate fpstate; struct _fpstate fpstate;