|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Ensure we only handle writable pagetable faults taken in
ChangeSet 1.1159.258.165, 2005/06/10 15:35:32+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
Ensure we only handle writable pagetable faults taken in guest kernel
mode.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
traps.c | 1 +
1 files changed, 1 insertion(+)
diff -Nru a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c 2005-06-10 11:03:36 -04:00
+++ b/xen/arch/x86/traps.c 2005-06-10 11:03:36 -04:00
@@ -422,6 +422,7 @@
}
if ( (addr < PAGE_OFFSET) &&
+ !VM86_MODE(regs) && ((regs->cs & 3) == 1) && /* ring 1 */
((regs->error_code & 3) == 3) && /* write-protection fault */
ptwr_do_page_fault(addr) )
{
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Ensure we only handle writable pagetable faults taken in guest kernel,
BitKeeper Bot <=
|
|
|
|
|