Re: [PATCH v9 2/6] arm64: ptrace: allow tracer to skip a system call

2014-11-27 Thread Will Deacon
On Thu, Nov 27, 2014 at 06:46:29AM +, AKASHI Takahiro wrote: > On 11/26/2014 10:02 PM, Will Deacon wrote: > > On Wed, Nov 26, 2014 at 04:49:47AM +, AKASHI Takahiro wrote: > >> If tracer modifies a syscall number to -1, this traced system call should > >> be skipped with a return value speci

Re: [PATCH v9 2/6] arm64: ptrace: allow tracer to skip a system call

2014-11-26 Thread AKASHI Takahiro
On 11/26/2014 10:02 PM, Will Deacon wrote: On Wed, Nov 26, 2014 at 04:49:47AM +, AKASHI Takahiro wrote: If tracer modifies a syscall number to -1, this traced system call should be skipped with a return value specified in x0. This patch implements this semantics. Please note: * syscall entr

Re: [PATCH v9 2/6] arm64: ptrace: allow tracer to skip a system call

2014-11-26 Thread Will Deacon
On Wed, Nov 26, 2014 at 04:49:47AM +, AKASHI Takahiro wrote: > If tracer modifies a syscall number to -1, this traced system call should > be skipped with a return value specified in x0. > This patch implements this semantics. > > Please note: > * syscall entry tracing and syscall exit tracing

[PATCH v9 2/6] arm64: ptrace: allow tracer to skip a system call

2014-11-25 Thread AKASHI Takahiro
If tracer modifies a syscall number to -1, this traced system call should be skipped with a return value specified in x0. This patch implements this semantics. Please note: * syscall entry tracing and syscall exit tracing (ftrace tracepoint and audit) are always executed, if enabled, even when s