Re: [PATCH 2/3] x86/traps: Print non-canonical address on #GP
From: Borislav Petkov
Date: Thu Nov 14 2019 - 13:09:06 EST
On Thu, Nov 14, 2019 at 10:00:35AM -0800, Andy Lutomirski wrote:
> And I think this code should be skipped entirely if error_code != 0.
... or say that the #GP is happening due to a segment descriptor access.
Would make the figuring out why it happens a bit simpler as to where to
look.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette