From: Roland McGrath Date: Wed, 9 Jul 2008 09:39:29 +0000 (-0700) Subject: x86 ptrace: user-sets-TF nits X-Git-Tag: v2.6.27-rc1~955^2~1^16~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=380fdd7585a4c2f41b48925eba85c0654b7b858b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed