[PATCH] ARM: pass syscall return value to sys_exit tracepoint

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Dec 3 09:12:51 EST 2012


On Mon, Dec 03, 2012 at 01:37:36PM +0000, Will Deacon wrote:
> It might be worth stashing the return value into a local variable prior to
> the ptrace_syscall_trace invocation, just in case a debugger decides to
> rewrite the child's registers.

And if so, ensure that there's a comment there explaining it, otherwise
the reasoning will get lost over time.



More information about the linux-arm-kernel mailing list