On 08/31/2018 08:42 PM, Andy Lutomirski wrote:
> One of Linus' favorite hobbies seems to be looking at OOPSes and
> decoding the error code in his head. This is not one of my favorite
> hobbies :)
I just work around this by having a screenshot of 'enum
x86_pf_error_code' as my desktop background.
On Fri, 31 Aug 2018, Andy Lutomirski wrote:
> @@ -671,6 +705,48 @@ show_fault_oops(struct pt_regs *regs, unsigned long
> error_code,
>address < PAGE_SIZE ? "NULL pointer dereference" : "paging
> request",
>(void *)address);
>
> + errcode[0] = 0;
error_code v
One of Linus' favorite hobbies seems to be looking at OOPSes and
decoding the error code in his head. This is not one of my favorite
hobbies :)
Teach the page fault OOPS hander to decode the error code. If it's
a !USER fault from user mode, print an explicit note to that effect
and print out the
3 matches
Mail list logo