|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fixed a bug in the audit code.
# HG changeset patch
# User mafetter@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID d25bdfb2576e63f1f599484439fca01d6ae6ba2d
# Parent dd0e2e9fa4e65a4809f91523e8150b6afd586b26
Fixed a bug in the audit code.
We don't hold a type refcount to the user's ptbase frame in
shadow refcounting mode.
diff -r dd0e2e9fa4e6 -r d25bdfb2576e xen/arch/x86/audit.c
--- a/xen/arch/x86/audit.c Tue Nov 8 10:36:37 2005
+++ b/xen/arch/x86/audit.c Tue Nov 8 10:36:55 2005
@@ -412,7 +412,7 @@
for_each_vcpu(d, v)
{
if ( pagetable_get_paddr(v->arch.guest_table) )
- adjust(&frame_table[pagetable_get_pfn(v->arch.guest_table)],
1);
+ adjust(&frame_table[pagetable_get_pfn(v->arch.guest_table)],
!shadow_mode_refcounts(d));
if ( pagetable_get_paddr(v->arch.shadow_table) )
adjust(&frame_table[pagetable_get_pfn(v->arch.shadow_table)],
0);
if ( v->arch.monitor_shadow_ref )
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fixed a bug in the audit code.,
Xen patchbot -unstable <=
|
|
|
|
|