summaryrefslogtreecommitdiff
path: root/arch/metag/include
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-03-31 13:35:01 +0100
committerJames Hogan <james.hogan@imgtec.com>2017-04-05 14:49:42 +0100
commitfb8ea062a8f2e85256e13f55696c5c5f0dfdcc8b (patch)
tree263488d227fe8bb0dea7749a07d45de104c62bd9 /arch/metag/include
parent2257211942bbbf6c798ab70b487d7e62f7835a1a (diff)
metag/usercopy: Add early abort to copy_to_user
When copying to userland on Meta, if any faults are encountered immediately abort the copy instead of continuing on and repeatedly faulting, and worse potentially copying further bytes successfully to subsequent valid pages. Fixes: 373cd784d0fc ("metag: Memory handling") Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: linux-metag@vger.kernel.org Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/metag/include')
0 files changed, 0 insertions, 0 deletions