Skip to content

Commit

Permalink
[PATCH] fix __user annotations in fs/select.c
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Feb 8, 2006
1 parent 3023b43 commit e110ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,9 @@ asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,

if (sig) {
if (!access_ok(VERIFY_READ, sig, sizeof(void *)+sizeof(size_t))
|| __get_user(up, (sigset_t * __user *)sig)
|| __get_user(up, (sigset_t __user * __user *)sig)
|| __get_user(sigsetsize,
(size_t * __user)(sig+sizeof(void *))))
(size_t __user *)(sig+sizeof(void *))))
return -EFAULT;
}

Expand Down

0 comments on commit e110ab9

Please sign in to comment.