arm64: split syscall_trace() into separate functions for enter/exit
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 30 Apr 2014 09:51:30 +0000 (10:51 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 12 May 2014 15:43:29 +0000 (16:43 +0100)
commit3157858feff89196635b01495d5ec9ebe206639e
treebd480fd2334d69ec10e7fc22befc9b795278ef58
parent449f81a4da4d99980064943d504bb19d07e86aec
arm64: split syscall_trace() into separate functions for enter/exit

As done in arm, this change makes it easy to confirm we invoke syscall
related hooks, including syscall tracepoint, audit and seccomp which would
be implemented later, in correct order. That is, undoing operations in the
opposite order on exit that they were done on entry.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry.S
arch/arm64/kernel/ptrace.c