projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3023b43
)
[PATCH] fix __user annotations in fs/select.c
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 10:26:09 +0000
(
05:26
-0500)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/select.c
b/fs/select.c
index c0f02d36c60e539c108d4b51fb2ce94762d5ce82..bc60a3e14ef37c05d07f579e123154d9ad9358fc 100644
(file)
--- 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;
}