On Thu, Jan 5, 2017 at 12:18 PM, Andy Lutomirski <[email protected]> wrote: > > Hmm. I bet that if we preset the accessed bits in all the segments > then we don't need it to be writable in general.
I'm not sure that this is architecturally safe.
IIRC, we do mark the IDT read-only - but that one we started doing due
to the f00f bug, so we knew it was ok. I'm not sure you can do the
same with the GDT/LDT.
Linus

