aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/python
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-03-31 13:35:01 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:55:05 +0200
commit0a4641ad50e143155ff405da2002784a53945f00 (patch)
treecad37ce95ebdc7f6d08a4fd2ecd2866f7df054fb /tools/perf/python
parent244522cd164c6205f1b068dfe64a6c6d2e06a8b8 (diff)
metag/usercopy: Add early abort to copy_to_user
commit fb8ea062a8f2e85256e13f55696c5c5f0dfdcc8b upstream. 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 Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions