aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorH. Peter Anvin <[email protected]>2014-03-16 15:31:54 -0700
committerH. Peter Anvin <[email protected]>2014-04-11 10:10:09 -0700
commitb3b42ac2cbae1f3cecbb6229964a4d48af31d382 (patch)
treeb611f0f4d789f79ef1b0b9056aae923327a18687 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent3151b942badd059431eff93833cc1e957195b53b (diff)
x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels
The IRET instruction, when returning to a 16-bit segment, only restores the bottom 16 bits of the user space stack pointer. We have a software workaround for that ("espfix") for the 32-bit kernel, but it relies on a nonzero stack segment base which is not available in 32-bit mode. Since 16-bit support is somewhat crippled anyway on a 64-bit kernel (no V86 mode), and most (if not quite all) 64-bit processors support virtualization for the users who really need it, simply reject attempts at creating a 16-bit segment when running on top of a 64-bit kernel. Cc: Linus Torvalds <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Cc: <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions