{compat_,}verify_iovec(): switch to generic copying of iovecs
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 10 Nov 2014 03:33:45 +0000 (22:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 21:23:16 +0000 (16:23 -0500)
commit0844932009e1656726c6e9c369e694017b129378
tree4de5bd394278e3cdf5f53c9cbc9513d1dc6fb469
parent666547ff591cebdedc4679bf6b1b3f3383a8dea3
{compat_,}verify_iovec(): switch to generic copying of iovecs

use {compat_,}rw_copy_check_uvector().  As the result, we are
guaranteed that all iovecs seen in ->msg_iov by ->sendmsg()
and ->recvmsg() will pass access_ok().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/compat.c
net/core/iovec.c
net/socket.c