Skip to contentSkip to conversation

more fs/compat.c __user annotations

PATCH New Al Viro 1 participant 1 message Oct 10, 2006 VFS

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 more fs/compat.c __user annotations

---
 fs/compat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/compat.c +1 -1
index 4d3fbcb..50624d4 100644
@@ -1316,7 +1316,7 @@ compat_sys_vmsplice(int fd, const struct
 		    unsigned int nr_segs, unsigned int flags)
 {
 	unsigned i;
-	struct iovec *iov;
+	struct iovec __user *iov;
 	if (nr_segs > UIO_MAXIOV)
 		return -EINVAL;
 	iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec));
Signature · 1 line
1.4.2.GIT