[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:
Pratyush Anand <panand@redhat.com>
Loading
Please sign in to comment