Commit f1363023 authored by Pratyush Anand's avatar Pratyush Anand Committed by Atsushi Kumagai
Browse files

[PATCH v3 3/7] x86_64: check physical address in PT_LOAD for none direct mapped regions



A kcore PT_LOAD can have a section from vmalloc region. However,
physical address in that header would be invalid (-1) after kernel
commit 464920104bf7 (/proc/kcore: update physical address for kcore ram
and text). Therefore, check for valid physical address while calculating
page_offset or phys_offset.

Signed-off-by: default avatarPratyush Anand <panand@redhat.com>
parent 8e2834ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment