kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [makedumpfile PATCH 0/2] Fix calculations in exclude_segment()
@ 2018-01-19 11:45 Petr Tesarik
  2018-01-19 11:45 ` [makedumpfile PATCH 1/2] Fix off-by-one errors " Petr Tesarik
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Petr Tesarik @ 2018-01-19 11:45 UTC (permalink / raw)
  To: kexec, Atsushi Kumagai; +Cc: Baoquan He, Petr Tesarik

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



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-25  9:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19 11:45 [makedumpfile PATCH 0/2] Fix calculations in exclude_segment() Petr Tesarik
2018-01-19 11:45 ` [makedumpfile PATCH 1/2] Fix off-by-one errors " Petr Tesarik
2018-01-22  8:20   ` Baoquan He
2018-01-19 11:45 ` [makedumpfile PATCH 2/2] Fix physical-to-virtual conversion " Petr Tesarik
2018-01-22  6:28 ` [makedumpfile PATCH 0/2] Fix calculations " Bhupesh Sharma
2018-01-23  6:28 ` Baoquan He
2018-01-23  8:49   ` Atsushi Kumagai
2018-01-25  9:15     ` Petr Tesarik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).