[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Don't mask off arbitrary error-code bits in i386 xenlinux
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID f80278e5e4407141ca73caf6627d1c5d7aa65312 # Parent 017a3a97ace29befa0b67a1bdeec86aa42ca619a Don't mask off arbitrary error-code bits in i386 xenlinux page fault handler. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 017a3a97ace2 -r f80278e5e440 linux-2.6-xen-sparse/arch/xen/i386/mm/fault.c --- a/linux-2.6-xen-sparse/arch/xen/i386/mm/fault.c Tue Aug 23 17:28:10 2005 +++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/fault.c Tue Aug 23 17:28:53 2005 @@ -281,7 +281,7 @@ siginfo_t info; /* Set the "privileged fault" bit to something sane. */ - error_code &= 3; + error_code &= ~4; error_code |= (regs->xcs & 2) << 1; if (regs->eflags & X86_EFLAGS_VM) error_code |= 4; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |