diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-01 11:26:09 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-02-08 02:57:31 +0100 |
commit | e110ab94ebc714de57f75f0c7c576dde8cf80944 (patch) | |
tree | c07b5f010d244cb11afeb50becdb1d7256a8560d /fs/select.c | |
parent | [PATCH] missing include in ser_a2232 (diff) | |
download | linux-e110ab94ebc714de57f75f0c7c576dde8cf80944.tar.xz linux-e110ab94ebc714de57f75f0c7c576dde8cf80944.zip |
[PATCH] fix __user annotations in fs/select.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 4 |
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, 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; } |