RE: [PATCH] LDT improvements

From: David Laight
Date: Fri Dec 08 2017 - 12:28:54 EST


From: Andy Lutomirski
> Sent: 08 December 2017 16:48
...
> I mean: if the user CS or SS is not accessed and the LDT is RO, then
> we get #PF on the IRET instruction, I think. Dealing with that is
> truly awful.

Any fault in-kernel on the IRET is horrid.
Doesn't really matter which one.
Same goes for the 'pop %ds' (etc) that tend to precede it.

David