Skip to content

Commit

Permalink
[PATCH] amd64 rt_sigframe user annotation
Browse files Browse the repository at this point in the history
->pretcode in struct rt_sigframe is a userland pointer (and already
treated as such by code using that field). 

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent 0f73832 commit 993fb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,

struct rt_sigframe
{
char *pretcode;
char __user *pretcode;
struct ucontext uc;
struct siginfo info;
};
Expand Down

0 comments on commit 993fb38

Please sign in to comment.