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

Petr Tesarik ptesarik at suse.com
Fri Jan 19 03:45:22 PST 2018


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(-)

-- 
2.13.6





More information about the kexec mailing list