]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] fix __user annotations in fs/select.c
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 10:26:09 +0000 (05:26 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 01:57:31 +0000 (20:57 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/select.c

index c0f02d36c60e539c108d4b51fb2ce94762d5ce82..bc60a3e14ef37c05d07f579e123154d9ad9358fc 100644 (file)
@@ -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;
        }