diff options
Diffstat (limited to 'arch/s390/kernel/vdso.c')
-rw-r--r-- | arch/s390/kernel/vdso.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index d95427e32a5..ea5590fdca3 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c | |||
@@ -241,17 +241,11 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
241 | * on the "data" page of the vDSO or you'll stop getting kernel | 241 | * on the "data" page of the vDSO or you'll stop getting kernel |
242 | * updates and your nice userland gettimeofday will be totally dead. | 242 | * updates and your nice userland gettimeofday will be totally dead. |
243 | * It's fine to use that for setting breakpoints in the vDSO code | 243 | * It's fine to use that for setting breakpoints in the vDSO code |
244 | * pages though | 244 | * pages though. |
245 | * | ||
246 | * Make sure the vDSO gets into every core dump. | ||
247 | * Dumping its contents makes post-mortem fully interpretable later | ||
248 | * without matching up the same kernel and hardware config to see | ||
249 | * what PC values meant. | ||
250 | */ | 245 | */ |
251 | rc = install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, | 246 | rc = install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, |
252 | VM_READ|VM_EXEC| | 247 | VM_READ|VM_EXEC| |
253 | VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC| | 248 | VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, |
254 | VM_ALWAYSDUMP, | ||
255 | vdso_pagelist); | 249 | vdso_pagelist); |
256 | if (rc) | 250 | if (rc) |
257 | current->mm->context.vdso_base = 0; | 251 | current->mm->context.vdso_base = 0; |