[PATCH 0/3] makedumpfile: Fix handling of ELF segments with p_memsz > p_filesz

Petr Tesarik ptesarik at suse.cz
Tue Feb 9 23:47:37 PST 2016


Hello Ivan & Atsushi,

after spending some time on this, I think I have a complete working
solution. I chose to rewrite readpage_elf from scratch. Unfortunately,
I'm unable to verify that it still works the same (sans bugs) because
of a regression in commit d18796d090623d18f46c8dc608dcad9960fbbe9b
(reported on the mailing list).

I was able to verify that --dump-dmesg works on a variety of weird ELF
files that I created manually (and the output hasn't changed). In my
opinion, this is enough to verify that the read routine works, but the
final decision is up to you.

Petr Tesarik



More information about the kexec mailing list