Re: [PATCH] x86-64: espfix for 64-bit mode *PROTOTYPE*

Borislav Petkov
2014-04-22T19:28:00Z

On Tue, Apr 22, 2014 at 10:29:45AM -0700, Andrew Lutomirski wrote:
> Or we could add a TIF_NEEDS_ESPFIX that gets set once you have a
> 16-bit LDT entry.

Or something like that, yep.

> But I think it makes sense to nail down everything else first. I
> suspect that a single test-and-branch in the iret path will be lost in
> the noise from iret itself.

The cumulative effects of such additions here and there are nasty
though. If we can make the general path free relatively painlessly, we
should do it, IMO.

But yeah, later.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--