]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Handle bogus %cs selector in single-step instruction decoding
authorRoland McGrath <roland@redhat.com>
Mon, 16 Jul 2007 08:03:16 +0000 (01:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 18 Jul 2007 19:09:01 +0000 (12:09 -0700)
commit29eb51101c02df517ca64ec472d7501127ad1da8
tree41101a87d0f895414f7e1a7c8676e54d1abedeea
parenta267c0a887064720dfab5775a4f09b20b4f8ec37
Handle bogus %cs selector in single-step instruction decoding

The code for LDT segment selectors was not robust in the face of a bogus
selector set in %cs via ptrace before the single-step was done.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/ptrace.c
arch/x86_64/kernel/ptrace.c