x86 ptrace: user-sets-TF nits
authorRoland McGrath <roland@redhat.com>
Wed, 9 Jul 2008 09:39:29 +0000 (02:39 -0700)
committerRoland McGrath <roland@redhat.com>
Wed, 16 Jul 2008 19:15:17 +0000 (12:15 -0700)
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>

No differences found