• Al Viro's avatar
    x86_64: csum_..._copy_..._user(): switch to unsafe_..._user() · 73e800ec
    Al Viro authored
    We already have stac/clac pair around the calls of csum_partial_copy_generic().
    Stretch that area back, so that it covers the preceding loop (and convert
    the loop body from __{get,put}_user() to unsafe_{get,put}_user()).
    That brings the beginning of the areas to the earlier access_ok(),
    which allows to convert them into user_access_{begin,end}() ones.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    73e800ec
csum-wrappers_64.c 3.92 KB