[PATCH 0/2] x86: TLS regression fixes

From: Andy Lutomirski
Date: Thu Jan 22 2015 - 14:28:10 EST


The recent TLS hardening work broke at least one game. This series
fixes it. I'm not entirely happy with this series, but I'm far from
entirely happy with the TLS or LDT code in the first place.

Thoughts?

Andy Lutomirski (2):
x86, tls, ldt: Stop checking lm in LDT_empty
x86, tls: Interpret an all-zero struct user_desc as "no segment"

arch/x86/include/asm/desc.h | 20 ++++++++++++++------
arch/x86/kernel/tls.c | 25 +++++++++++++++++++++++--
2 files changed, 37 insertions(+), 8 deletions(-)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/