[makedumpfile PATCH 0/2] Fix calculations in exclude_segment()

Atsushi Kumagai ats-kumagai at wm.jp.nec.com
Tue Jan 23 00:49:48 PST 2018


>On 01/19/18 at 12:45pm, Petr Tesarik wrote:
>> I have observed that makedumpfile --mem-usage shows bogus numbers
>> on a kaslr-enabled kernel. This boils down to incorrect calculations
>> in exclude_segment(). Consequently, data beyond a split LOAD segment
>> are read from the wrong file offset.
>>
>> Petr Tesarik (2):
>>   Fix off-by-one errors in exclude_segment()
>>   Fix physical-to-virtual conversion in exclude_segment()
>>
>>  elf_info.c | 22 +++++++++++-----------
>>  1 file changed, 11 insertions(+), 11 deletions(-)
>
>Ack the series, thanks!

Thanks guys, I'll merge them into v1.6.3.

Regards,
Atsushi Kumagai




More information about the kexec mailing list