Skip to content

Commit

Permalink
[PATCH] __user annotations for pointers in i386 sigframe
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
viro@ZenIV.linux.org.uk authored and Linus Torvalds committed Sep 9, 2005
1 parent 85c3920 commit fc0b1af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/i386/kernel/sigframe.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
struct sigframe
{
char *pretcode;
char __user *pretcode;
int sig;
struct sigcontext sc;
struct _fpstate fpstate;
Expand All @@ -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;
Expand Down

0 comments on commit fc0b1af

Please sign in to comment.