[PATCH] x86_64: Handle programs that set TF in user space using popf while single...
authorAndi Kleen <ak@suse.de>
Sat, 16 Apr 2005 22:24:58 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:58 +0000 (15:24 -0700)
commite502cdd63de666832b3b65017bb607c22d2868de
tree3cc9360617b4b0d2e58f8af37afc97e457f8c048
parentbe61bff789fe44bfb6d9282d8f7eccc860bdcfb6
[PATCH] x86_64: Handle programs that set TF in user space using popf while single stepping

Ported from i386/Linus

Still won't handle other TF changing instructions like IRET or LAHF.

Prefix handling must be double checked...

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/ptrace.c