|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] LINUX/x86_64: Ensure that the initial pag
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1179994483 -3600
# Node ID a40967e39652fee1edebfddec4b533bdded923a1
# Parent f6928d6369999cd063edd361d592579c2483196b
LINUX/x86_64: Ensure that the initial page tables allow userspace
mappings of the vsyscall page. This matches native behaviour by
setting the U bit on the L2-L4 page table entries and controlling
access using the L1 entries.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r f6928d636999 -r a40967e39652
linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c
--- a/linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c Tue May 22 15:32:50
2007 +0100
+++ b/linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c Thu May 24 09:14:43
2007 +0100
@@ -580,7 +580,7 @@ void __init xen_init_pt(void)
/* Construct mapping of initial pte page in our own directories. */
init_level4_pgt[pgd_index(__START_KERNEL_map)] =
- mk_kernel_pgd(__pa_symbol(level3_kernel_pgt));
+ mk_kernel_pgd(__pa_symbol(level3_kernel_pgt) | _PAGE_USER);
level3_kernel_pgt[pud_index(__START_KERNEL_map)] =
__pud(__pa_symbol(level2_kernel_pgt) |
_KERNPG_TABLE);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] LINUX/x86_64: Ensure that the initial page tables allow userspace,
Xen patchbot-unstable <=
|
|
|
|
|