summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/setup.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-04-30 23:03:25 +0200
committerH. Peter Anvin <hpa@linux.intel.com>2014-04-30 23:14:49 +0200
commit246f2d2ee1d715e1077fc47d61c394569c8ee692 (patch)
tree165efb7fc0e3427593bd33c11068b2b216ac2f43 /arch/x86/include/asm/setup.h
parentx86-64, espfix: Don't leak bits 31:16 of %esp returning to 16-bit stack (diff)
downloadlinux-246f2d2ee1d715e1077fc47d61c394569c8ee692.tar.xz
linux-246f2d2ee1d715e1077fc47d61c394569c8ee692.zip
x86-32, espfix: Remove filter for espfix32 due to race
It is not safe to use LAR to filter when to go down the espfix path, because the LDT is per-process (rather than per-thread) and another thread might change the descriptors behind our back. Fortunately it is always *safe* (if a bit slow) to go down the espfix path, and a 32-bit LDT stack segment is extremely rare. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/r/1398816946-3351-1-git-send-email-hpa@linux.intel.com Cc: <stable@vger.kernel.org> # consider after upstream merge
Diffstat (limited to 'arch/x86/include/asm/setup.h')
0 files changed, 0 insertions, 0 deletions