aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/select.c b/fs/select.c
index c0f02d36c60e..bc60a3e14ef3 100644
--- a/fs/select.c
+++ b/fs/select.c
@@ -510,9 +510,9 @@ asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
510 510
511 if (sig) { 511 if (sig) {
512 if (!access_ok(VERIFY_READ, sig, sizeof(void *)+sizeof(size_t)) 512 if (!access_ok(VERIFY_READ, sig, sizeof(void *)+sizeof(size_t))
513 || __get_user(up, (sigset_t * __user *)sig) 513 || __get_user(up, (sigset_t __user * __user *)sig)
514 || __get_user(sigsetsize, 514 || __get_user(sigsetsize,
515 (size_t * __user)(sig+sizeof(void *)))) 515 (size_t __user *)(sig+sizeof(void *))))
516 return -EFAULT; 516 return -EFAULT;
517 } 517 }
518 518