diff options
| author | Kees Cook <[email protected]> | 2025-02-19 19:53:16 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-02-24 18:51:57 +0000 |
| commit | 39ec9eaaa165d297d008d1fa385748430bd18e4d (patch) | |
| tree | 9f50f1f78fae3b6c77d123c29237bf204b69e377 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | Linux 6.14-rc2 (diff) | |
| download | kernel-39ec9eaaa165d297d008d1fa385748430bd18e4d.tar.gz kernel-39ec9eaaa165d297d008d1fa385748430bd18e4d.zip | |
coredump: Only sort VMAs when core_sort_vma sysctl is set
The sorting of VMAs by size in commit 7d442a33bfe8 ("binfmt_elf: Dump
smaller VMAs first in ELF cores") breaks elfutils[1]. Instead, sort
based on the setting of the new sysctl, core_sort_vma, which defaults
to 0, no sorting.
Reported-by: Michael Stapelberg <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/ [1]
Fixes: 7d442a33bfe8 ("binfmt_elf: Dump smaller VMAs first in ELF cores")
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
