Skip to content
Commit 380fdd75 authored by Roland McGrath's avatar Roland McGrath
Browse files

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: default avatarRoland McGrath <roland@redhat.com>
parent d4d67150
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment