[lkml]   [2017]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] LDT improvements
On Thu, Dec 7, 2017 at 4:43 AM, Borislav Petkov <> wrote:
> On Wed, Dec 06, 2017 at 11:22:21PM -0800, Andy Lutomirski wrote:
>> I think I like this approach. I also think it might be nice to move the
>> whole cpu_entry_area into this new pgd range so that we can stop mucking
>> around with the fixmap.
> Yeah, and also, I don't like the idea of sacrificing a whole PGD
> only for the LDT crap which is optional, even. Frankly - and this
> is just me - I'd make CONFIG_KERNEL_PAGE_TABLE_ISOLATION xor
> CONFIG_MODIFY_LDT_SYSCALL and don't give a rat's *ss about the LDT.

The PGD sacrifice doesn't bother me. Putting a writable LDT map at a
constant address does bother me. We could probably get away with RO
if we trapped and handled the nasty faults, but that could be very

The version here:

actually seems to work.

 \ /
  Last update: 2017-12-07 18:09    [W:0.077 / U:0.296 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site