From: Petr Tesarik <ptesarik@suse.com>
To: kexec@lists.infradead.org, Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
Cc: Baoquan He <bhe@redhat.com>, Petr Tesarik <ptesarik@suse.com>
Subject: [makedumpfile PATCH 0/2] Fix calculations in exclude_segment()
Date: Fri, 19 Jan 2018 12:45:22 +0100 [thread overview]
Message-ID: <cover.1516354241.git.ptesarik@suse.com> (raw)
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
next reply other threads:[~2018-01-19 11:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-19 11:45 Petr Tesarik [this message]
2018-01-19 11:45 ` [makedumpfile PATCH 1/2] Fix off-by-one errors in exclude_segment() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1516354241.git.ptesarik@suse.com \
--to=ptesarik@suse.com \
--cc=ats-kumagai@wm.jp.nec.com \
--cc=bhe@redhat.com \
--cc=kexec@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.