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

Petr Tesarik ptesarik at suse.com
Thu Jan 25 01:15:59 PST 2018


On Tue, 23 Jan 2018 08:49:48 +0000
Atsushi Kumagai <ats-kumagai at wm.jp.nec.com> wrote:

> >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.

Glad to help. And thanks for merging into 'devel'!

Petr T



More information about the kexec mailing list