Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crash: Remove KEXEC_CORE_NOTE_NAME

KEXEC_CORE_NOTE_NAME is no longer used.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20250115-elf-v5-6-0f9e55bbb2fc@daynix.com
Signed-off-by: Kees Cook <kees@kernel.org>

authored by

Akihiko Odaki and committed by
Kees Cook
7e620b56 d4a760fb

-3
-2
include/linux/kexec.h
··· 68 68 #define KEXEC_CRASH_MEM_ALIGN PAGE_SIZE 69 69 #endif 70 70 71 - #define KEXEC_CORE_NOTE_NAME CRASH_CORE_NOTE_NAME 72 - 73 71 /* 74 72 * This structure is used to hold the arguments that are used when loading 75 73 * kernel binaries.
-1
include/linux/vmcore_info.h
··· 6 6 #include <linux/elfcore.h> 7 7 #include <linux/elf.h> 8 8 9 - #define CRASH_CORE_NOTE_NAME "CORE" 10 9 #define CRASH_CORE_NOTE_HEAD_BYTES ALIGN(sizeof(struct elf_note), 4) 11 10 #define CRASH_CORE_NOTE_NAME_BYTES ALIGN(sizeof(NN_PRSTATUS), 4) 12 11 #define CRASH_CORE_NOTE_DESC_BYTES ALIGN(sizeof(struct elf_prstatus), 4)