]> git.hungrycats.org Git - linux/commit
[PATCH] Fix TSS limit on x86-64
authorAndi Kleen <ak@muc.de>
Sat, 8 Nov 2003 05:59:23 +0000 (21:59 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 8 Nov 2003 05:59:23 +0000 (21:59 -0800)
commit954caecd2ecebc5d1382efd1185b5736aaf99d8e
tree5c748a9f7772962cbb0d0f11d4e6e73ae4041b5f
parent35d64a3345463ace22f42ca6ca993b84e1d5f1e9
[PATCH] Fix TSS limit on x86-64

The limit of the TSS segment was incorrectly set to a too big value
on x86-64. This lead to the CPU reading random memory behind the main
TSS when iopl was >0, but there was no ioperm bitmap set. This caused
random failures in port accesses in this state.

Set the correct limit.
include/asm-x86_64/desc.h