aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_32.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-07-09 01:07:02 -0700
committerRoland McGrath <roland@redhat.com>2008-07-16 12:15:16 -0700
commit6718d0d6da2749d3bff522e6057e97e6aa85e4d1 (patch)
treea069a92fd5011eb32bc461f3a23f0fc32d72f8ec /arch/x86/kernel/entry_32.S
parentMerge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 (diff)
downloadlinux-dev-6718d0d6da2749d3bff522e6057e97e6aa85e4d1.tar.xz
linux-dev-6718d0d6da2749d3bff522e6057e97e6aa85e4d1.zip
x86 ptrace: block-step fix
The enable_single_step() logic bails out early if TF is already set. That skips some of the bookkeeping that keeps things straight. This makes PTRACE_SINGLEBLOCK break the behavior of a user task that was already setting TF itself in user mode. Fix the bookkeeping to notice the old TF setting as it should. Test case at: http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/step-jump-cont-strict.c?cvsroot=systemtap Signed-off-by: Roland McGrath <roland@redhat.com>
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
0 files changed, 0 insertions, 0 deletions