Messages in this thread | | | Date | Wed, 14 Dec 2005 12:24:42 -0700 | From | Dave <> | Subject | Re: x86_64 segfault error codes |
| |
Ah ok, thx! Looks like the comment in mm/fault.c is wrong then.... It says bit 3 is instruction fetch and no mention of bit 4.
On 14 Dec 2005 19:31:07 +0100, Andi Kleen <ak@suse.de> wrote: > Dave <dave.jiang@gmail.com> writes: > > > For segfault error codes on x86_64, bits 0-3 are documented in > > arch/x86_64/mm/fault.c. However, I am getting error 0x14 and 0x15 with this > > particular user app when it segfaults. Is bit 4 valid and what does that > > imply? > > bit 4 is documented too in 2.6. It means it was an instruction fetch. > The error code is just the architectural error code for page faults > BTW, see the Intel and AMD manuals for details. > > -Andi >
-- -= Dave =- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |