|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Turn off debug output for NaTpage consumption when ifa==
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID 7ef565a7cc8612548f41833e33045b033fb89729
# Parent e1ae4b162128f5b16c626d77c25215a37f9da6e7
Turn off debug output for NaTpage consumption when ifa==0.
In RHEL4, __strcpy_from_user seems to do this a lot (legally)
and the massive debug output may hide other errors.
diff -r e1ae4b162128 -r 7ef565a7cc86 xen/arch/ia64/xen/process.c
--- a/xen/arch/ia64/xen/process.c Thu Dec 15 22:17:04 2005
+++ b/xen/arch/ia64/xen/process.c Thu Dec 15 23:17:06 2005
@@ -743,6 +743,13 @@
printf("ia64_handle_reflection: handling regNaT fault");
vector = IA64_NAT_CONSUMPTION_VECTOR; break;
}
+#if 1
+ // pass null pointer dereferences through with no error
+ // but retain debug output for non-zero ifa
+ if (!ifa) {
+ vector = IA64_NAT_CONSUMPTION_VECTOR; break;
+ }
+#endif
printf("*** NaT fault... attempting to handle as privop\n");
printf("isr=%p, ifa=%p,iip=%p,ipsr=%p\n",isr,ifa,regs->cr_iip,psr);
//regs->eml_unat = 0; FIXME: DO WE NEED THIS???
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Turn off debug output for NaTpage consumption when ifa==0.,
Xen patchbot -unstable <=
|
|
|
|
|