ARM: 7525/1: ptrace: use updated syscall number for syscall auditing
authorWill Deacon <will.deacon@arm.com>
Fri, 7 Sep 2012 17:20:30 +0000 (18:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Sep 2012 20:50:50 +0000 (21:50 +0100)
commitebb5e15c3eb942c047108063423d5d6a04b9f167
tree373a08dafd6406c4e2dd2eafe872f00c03703c96
parent1f66e06fb6414732bef7bf4a071ef76a837badec
ARM: 7525/1: ptrace: use updated syscall number for syscall auditing

When tracing system calls, a debugger may change the syscall number
in response to a SIGTRAP on syscall entry.

This patch ensures that the new syscall number is passed to the audit
code.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/ptrace.c