diff options
author | James Hogan <[email protected]> | 2017-03-31 13:35:01 +0100 |
---|---|---|
committer | James Hogan <[email protected]> | 2017-04-05 14:49:42 +0100 |
commit | fb8ea062a8f2e85256e13f55696c5c5f0dfdcc8b (patch) | |
tree | 263488d227fe8bb0dea7749a07d45de104c62bd9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2257211942bbbf6c798ab70b487d7e62f7835a1a (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 <[email protected]>
Signed-off-by: James Hogan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions