Re: [x86] 45fc8757d1: BUG:unable_to_handle_kernel
From: Linus Torvalds
Date: Fri Mar 17 2017 - 17:43:44 EST
On Fri, Mar 17, 2017 at 11:20 AM, Andy Lutomirski <luto@xxxxxxxxxx> wrote:
>
> I can easily imagine that breaking WINE or DOSEMU because it'll affect
> the LDT, too.
Can they even *read* the LDT contents, though? The whole accessed bit
doesn't show up in 'struct user_desc', so you can neither set it nor
read it.
> How about this:
I don't think that's _wrong_, but..
I'd really rather just do it in fill_ldt() itself, unless you can
explain how it would be visible to anybody..
Linus