[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86_64: Do not leak trampoline mapping into dom0's initial address space.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1196862559 0 # Node ID c67d024fdd2d3527ccd08e513ca3ed3c9dcb4b68 # Parent 671ef298d491e24a5acb3f502746cd0d9342385b x86_64: Do not leak trampoline mapping into dom0's initial address space. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/domain_build.c | 1 + 1 files changed, 1 insertion(+) diff -r 671ef298d491 -r c67d024fdd2d xen/arch/x86/domain_build.c --- a/xen/arch/x86/domain_build.c Wed Dec 05 11:08:07 2007 +0000 +++ b/xen/arch/x86/domain_build.c Wed Dec 05 13:49:19 2007 +0000 @@ -646,6 +646,7 @@ int __init construct_dom0( l4start = l4tab = page_to_virt(page); } copy_page(l4tab, idle_pg_table); + l4tab[0] = l4e_empty(); /* zap trampoline mapping */ l4tab[l4_table_offset(LINEAR_PT_VIRT_START)] = l4e_from_paddr(__pa(l4start), __PAGE_HYPERVISOR); l4tab[l4_table_offset(PERDOMAIN_VIRT_START)] = _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |