Skip to content
Commit 6aa24814 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent da184284
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment