aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/math-emu
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-02-06 22:39:44 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-06 22:39:44 +0100
commitc63855d04034c96db791a7217954c93aa66d24cb (patch)
tree97f22e5bf68de576cad776cd14921903f7d51449 /arch/x86/math-emu
parentc1f766b5519f9b5a51b0e6884ed9e02bce775ea8 (diff)
x86 ptrace: disallow null cs/ss
In my revamp of the x86 ptrace code for setting register values, I accidentally omitted a check that was there in the old code. Allowing %cs to be 0 causes a bad crash in recovery from iret failure. This patch fixes that regression against 2.6.24, and adds a comment that should help prevent this subtlety from being overlooked again. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/math-emu')
0 files changed, 0 insertions, 0 deletions