提交 fc0b1af2 编写于 作者: V viro@ZenIV.linux.org.uk 提交者: Linus Torvalds

[PATCH] __user annotations for pointers in i386 sigframe

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 85c39206
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 ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册