Commit 3a0cfadb authored by Roland McGrath's avatar Roland McGrath Committed by Linus Torvalds
Browse files


This patch fixes core dumps to include the vDSO vma, which is left out now.
Signed-off-by: default avatarRoland McGrath <>
Cc: Ingo Molnar <>
Cc: Paul Mackerras <>
Acked-by: default avatarBenjamin Herrenschmidt <>
Cc: Andi Kleen <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent e03f0ca1
......@@ -284,6 +284,13 @@ int arch_setup_additional_pages(struct linux_binprm *bprm,
* pages though
* Make sure the vDSO gets into every core dump.
* Dumping its contents makes post-mortem fully interpretable later
* without matching up the same kernel and hardware config to see
* what PC values meant.
vma->vm_flags |= VM_ALWAYSDUMP;
vma->vm_flags |= mm->def_flags;
vma->vm_page_prot = protection_map[vma->vm_flags & 0x7];
vma->vm_ops = &vdso_vmops;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment