|
@@ -2606,8 +2606,8 @@ static int __init gate_vma_init(void)
|
|
gate_vma.vm_mm = NULL;
|
|
gate_vma.vm_mm = NULL;
|
|
gate_vma.vm_start = FIXADDR_USER_START;
|
|
gate_vma.vm_start = FIXADDR_USER_START;
|
|
gate_vma.vm_end = FIXADDR_USER_END;
|
|
gate_vma.vm_end = FIXADDR_USER_END;
|
|
- gate_vma.vm_page_prot = PAGE_READONLY;
|
|
|
|
- gate_vma.vm_flags = 0;
|
|
|
|
|
|
+ gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC;
|
|
|
|
+ gate_vma.vm_page_prot = __P101;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
__initcall(gate_vma_init);
|
|
__initcall(gate_vma_init);
|