git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27d7ff2
)
arm64: ptrace: fix compat reg getter/setter return values
author
Will Deacon
<will.deacon@arm.com>
Fri, 22 Aug 2014 13:20:24 +0000
(14:20 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Thu, 28 Aug 2014 19:01:42 +0000
(20:01 +0100)
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>
arch/arm64/kernel/ptrace.c
patch
|
blob
|
history
diff --cc
arch/arm64/kernel/ptrace.c
Simple merge