Skip to content
Commit 240f3905 authored by Al Viro's avatar Al Viro
Browse files

process_vm_access: switch to copy_page_to_iter/iov_iter_copy_from_user



... rather than open-coding those.  As a side benefit, we get much saner
loop calling those; we can just feed entire pages, instead of the "copy
would span the iovec boundary, let's do it in two loop iterations" mess.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9f78bdfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment