summaryrefslogtreecommitdiff
path: root/drivers/ps3
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2014-11-28 05:26:34 +0000
committerWill Deacon <will.deacon@arm.com>2014-11-28 10:19:49 +0000
commit766a85d7bc5d7f1ddd6de28bdb844eae45ec63b0 (patch)
tree3445af3c028dbaae227fcd3f74d45b80da115b8a /drivers/ps3
parent034edabe6cf1d0dea49d4c836ba128cec90fad04 (diff)
downloadlwn-766a85d7bc5d7f1ddd6de28bdb844eae45ec63b0.tar.gz
lwn-766a85d7bc5d7f1ddd6de28bdb844eae45ec63b0.zip
arm64: ptrace: add NT_ARM_SYSTEM_CALL regset
This regeset is intended to be used to get and set a system call number while tracing. There was some discussion about possible approaches to do so: (1) modify x8 register with ptrace(PTRACE_SETREGSET) indirectly, and update regs->syscallno later on in syscall_trace_enter(), or (2) define a dedicated regset for this purpose as on s390, or (3) support ptrace(PTRACE_SET_SYSCALL) as on arch/arm Thinking of the fact that user_pt_regs doesn't expose 'syscallno' to tracer as well as that secure_computing() expects a changed syscall number, especially case of -1, to be visible before this function returns in syscall_trace_enter(), (1) doesn't work well. We will take (2) since it looks much cleaner. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions