diff options
author | 2014-08-22 14:20:24 +0100 | |
---|---|---|
committer | 2014-08-28 20:01:42 +0100 | |
commit | 85487edd252fa04718dcd735bc0f41213bbb9546 (patch) | |
tree | b59a5d4c9ee42f7f60c2f1f0284112fc677429e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: ptrace: fix compat hardware watchpoint reporting (diff) | |
download | wireguard-linux-85487edd252fa04718dcd735bc0f41213bbb9546.tar.xz wireguard-linux-85487edd252fa04718dcd735bc0f41213bbb9546.zip |
arm64: ptrace: fix compat reg getter/setter return values
copy_{to,from}_user return the number of bytes remaining on failure, not
an error code.
This patch returns -EFAULT when the copy operation didn't complete,
rather than expose the number of bytes not copied directly to userspace.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions