lkml.org 
[lkml]   [2015]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] x86: TLS regression fixes
Date
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



\
 
 \ /
  Last update: 2015-01-22 20:41    [W:0.072 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site