summaryrefslogtreecommitdiffstats
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-16 21:57:41 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:13 +0200
commit8ab32bb89b5b9bf06147c31947eba65f0f21c3c0 (patch)
tree2c74e3873400b613b5d717370177cfa4e1d54836 /include/linux/serial_8250.h
parentede1389f8ab4f3a1343e567133fa9720a054a3aa (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/serial_8250.h')
0 files changed, 0 insertions, 0 deletions