diff options
author | Roland McGrath <roland@redhat.com> | 2008-07-09 05:39:29 -0400 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2008-07-16 15:15:17 -0400 |
commit | 380fdd7585a4c2f41b48925eba85c0654b7b858b (patch) | |
tree | 3e405cd6cb0be449671ef28c6275fd7ad6b99295 /include/asm-x86 | |
parent | d4d67150165df8bf1cc05e532f6efca96f907cab (diff) |
x86 ptrace: user-sets-TF nits
This closes some arcane holes in single-step handling that can arise
only when user programs set TF directly (via popf or sigreturn) and
then use vDSO (syscall/sysenter) system call entry. In those entry
paths, the clear_TF_reenable case hits and we must check TIF_SINGLESTEP
to be sure our bookkeeping stays correct wrt the user's view of TF.
Signed-off-by: Roland McGrath <roland@redhat.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/thread_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/thread_info.h b/include/asm-x86/thread_info.h index b2702a1eeac1..0a8f27d31d0d 100644 --- a/include/asm-x86/thread_info.h +++ b/include/asm-x86/thread_info.h | |||
@@ -118,7 +118,7 @@ struct thread_info { | |||
118 | /* work to do in syscall_trace_enter() */ | 118 | /* work to do in syscall_trace_enter() */ |
119 | #define _TIF_WORK_SYSCALL_ENTRY \ | 119 | #define _TIF_WORK_SYSCALL_ENTRY \ |
120 | (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_EMU | \ | 120 | (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_EMU | \ |
121 | _TIF_SYSCALL_AUDIT | _TIF_SECCOMP) | 121 | _TIF_SYSCALL_AUDIT | _TIF_SECCOMP | _TIF_SINGLESTEP) |
122 | 122 | ||
123 | /* work to do in syscall_trace_leave() */ | 123 | /* work to do in syscall_trace_leave() */ |
124 | #define _TIF_WORK_SYSCALL_EXIT \ | 124 | #define _TIF_WORK_SYSCALL_EXIT \ |