mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 11/29] fix __user annotations in fs/select.c
@ 2006-02-08  3:18 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-02-08  3:18 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-08  3:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08  3:18 [PATCH 11/29] fix __user annotations in fs/select.c Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®