summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_logmgr.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-03-16 21:59:11 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:13 +0200
commita31f8dd7ee3b2f5645c220406b1e21f82971f32b (patch)
treebb8904f23fbb9db5d34558cbe3b61bc3511ea249 /fs/jfs/jfs_logmgr.c
parent8ab32bb89b5b9bf06147c31947eba65f0f21c3c0 (diff)
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>
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
0 files changed, 0 insertions, 0 deletions