x86: TLS regression fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | x86, tls, ldt: Stop checking lm in LDT_emptyarch/ | +2 | 0 replies | |
| 2/2 | x86, tls: Interpret an all-zero struct user_desc as "no segment"arch/ arch/ | +36 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] x86: TLS regression fixes
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(-)
Signature · 1 line
2.1.0