cb350c1f1f
Prepare elf headers for the crashing kernel's core file using crash_prepare_elf64_headers() and pass on this info to kdump kernel by updating its command line with elfcorehdr parameter. Also, add elfcorehdr location to reserve map to avoid it from being stomped on while booting. Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Tested-by: Pingfan Liu <piliu@redhat.com> Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com> [mpe: Ensure cmdline is nul terminated] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/159602298855.575379.15819225623219909517.stgit@hbathini |
||
---|---|---|
.. | ||
core_32.c | ||
core_64.c | ||
core.c | ||
crash.c | ||
elf_64.c | ||
file_load_64.c | ||
file_load.c | ||
ima.c | ||
Makefile | ||
ranges.c | ||
relocate_32.S |