commit | 6aa248145ab0b1809de2411cf129ec1fc315a46f | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Mar 21 19:56:16 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Apr 09 00:02:34 2015 -0400 |
tree | 264f1d52216a267aea823443e728771c9a35a400 | |
parent | da18428498fb24438a23d982259461fe22bc1f46 [diff] |
switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec() For kernel_sendmsg() that eliminates the need to play with setfs(); for kernel_recvmsg() it does *not* - a couple of callers are using it with non-NULL ->msg_control, which would be treated as userland address on recvmsg side of things. In all cases we are really setting a kvec-backed iov_iter, though. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>