diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-10 20:23:13 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 16:23:49 -0500 |
commit | 08adb7dabd4874cc5666b4490653b26534702ce0 (patch) | |
tree | 8848933c57ef03c59e52ace937103c91c4e32607 /include/linux/socket.h | |
parent | 0844932009e1656726c6e9c369e694017b129378 (diff) | |
download | linux-08adb7dabd4874cc5666b4490653b26534702ce0.tar.gz linux-08adb7dabd4874cc5666b4490653b26534702ce0.tar.bz2 linux-08adb7dabd4874cc5666b4490653b26534702ce0.zip |
fold verify_iovec() into copy_msghdr_from_user()
... and do the same on the compat side of things.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r-- | include/linux/socket.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 51bd6668b80e..de5222832be4 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -322,7 +322,6 @@ extern int csum_partial_copy_fromiovecend(unsigned char *kdata, extern unsigned long iov_pages(const struct iovec *iov, int offset, unsigned long nr_segs); -extern int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr_storage *address, int mode); extern int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr); extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); |