Roland McGrath a31f8dd7ee x86: ptrace vs -ENOSYS
When we're stopped at syscall entry tracing, ptrace can change the %rax
value from -ENOSYS to something else.  If no system call is actually made
because the syscall number (now in orig_rax) is bad, then we now always
reset %rax to -ENOSYS again.

This changes it to leave the return value alone after entry tracing.
That way, the %rax value set by ptrace is there to be seen in user mode
(or in syscall exit tracing).  This is consistent with what the 32-bit
kernel does.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-17 17:41:13 +02:00
..
2008-04-02 15:28:19 -07:00
2008-04-17 01:14:32 +02:00
2008-02-23 17:12:16 -08:00
2008-02-09 10:46:40 +01:00
2008-04-04 14:42:30 -07:00
2008-03-07 16:56:54 -06:00
2008-04-16 02:21:47 +09:00
2008-02-09 10:46:40 +01:00
2008-04-17 17:41:13 +02:00