Messages in this thread Patch in this message | | | Subject | [PATCH 11/29] fix __user annotations in fs/select.c | From | Al Viro <> | Date | Wed, 08 Feb 2006 03:18:47 +0000 |
| |
Date: 1138789569 -0500
pselect patch had introduced rather weird annotations; fix them
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
fs/select.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
e110ab94ebc714de57f75f0c7c576dde8cf80944 diff --git a/fs/select.c b/fs/select.c index c0f02d3..bc60a3e 100644 --- a/fs/select.c +++ b/fs/select.c @@ -510,9 +510,9 @@ asmlinkage long sys_pselect6(int n, fd_s 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; } -- 0.99.9.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |