Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Ingo Molnar: "This contains a single TLS ABI validation fix from Andy Lutomirski" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/tls: Don't validate lm in set_thread_area() after all
This commit is contained in:
@@ -55,12 +55,6 @@ static bool tls_desc_okay(const struct user_desc *info)
|
||||
if (info->seg_not_present)
|
||||
return false;
|
||||
|
||||
#ifdef CONFIG_X86_64
|
||||
/* The L bit makes no sense for data. */
|
||||
if (info->lm)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user