diff options
author | Roland McGrath <roland@redhat.com> | 2008-03-16 21:57:41 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:13 +0200 |
commit | 8ab32bb89b5b9bf06147c31947eba65f0f21c3c0 (patch) | |
tree | 2c74e3873400b613b5d717370177cfa4e1d54836 /include/linux/ext4_jbd2.h | |
parent | ede1389f8ab4f3a1343e567133fa9720a054a3aa (diff) |
x86: ia32 ptrace vs -ENOSYS
When we're stopped at syscall entry tracing, ptrace can change the %eax
value from -ENOSYS to something else. If no system call is actually made
because the syscall number (now in orig_eax) is bad, then the %eax value
set by ptrace should be returned to the user. But, instead it gets reset
to -ENOSYS again. This is a regression from the native 32-bit kernel.
This change fixes it by leaving the return value alone after entry tracing.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ext4_jbd2.h')
0 files changed, 0 insertions, 0 deletions