From: Will Deacon Date: Fri, 6 Jul 2012 14:49:27 +0000 (+0100) Subject: ARM: 7455/1: audit: move syscall auditing until after ptrace SIGTRAP handling X-Git-Tag: v3.6-rc1~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5125430cccc41f67bfe024394a302901034f6d39;p=pandora-kernel.git ARM: 7455/1: audit: move syscall auditing until after ptrace SIGTRAP handling When auditing system calls on ARM, the audit code is called before notifying the parent process in the case that the current task is being ptraced. At this point, the parent (debugger) may choose to change the system call being issued via the SET_SYSCALL ptrace request, causing the wrong system call to be reported to the audit tools. This patch moves the audit calls after the ptrace SIGTRAP handling code in the syscall tracing implementation. Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed