diff options
author | Will Deacon <will.deacon@arm.com> | 2012-07-19 18:49:22 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-28 12:11:53 +0200 |
commit | c7aa00db074e4961b49277d7d0fc2f5367d914ca (patch) | |
tree | c8c511d3f07ad7dc53cf5ca2b326ba0c4c352cea /.gitignore | |
parent | ARM: 7474/1: get rid of TIF_SYSCALL_RESTARTSYS (diff) | |
download | linux-c7aa00db074e4961b49277d7d0fc2f5367d914ca.tar.xz linux-c7aa00db074e4961b49277d7d0fc2f5367d914ca.zip |
ARM: 7475/1: sys_trace: allow all syscall arguments to be updated via ptrace
Prior to syscall invocation, __sys_trace only reloads r0-r3 from the
kernel stack, preventing the debugger from updating arguments 5-7 when
signalled via ptrace.
This patch updates the code to reload r0-r6, updating arguments 5 and 6
on the stack (argument 7 is only used by OABI indirect syscalls and
can remain in a register).
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions