kexec_elf_load(9)
π NAME π
okay so bestie, this is the manual page for kexec_elf_load(9) β yes, the Kernel API Manual one β and its whole gig is to load ELF executable image. that's the name, that's the vibe, periodt. β¨
π¦ SYNOPSIS π¦
int kexec_elf_load (struct kimage *image , struct elfhdr *ehdr , struct
kexec_elf_info *elf_info , struct kexec_buf *kbuf , unsigned long
*lowest_load_addr );
like, look at that signature. five arguments. main character energy fr fr. π
π ARGUMENTS π
imageβ the page literally says-- undescribed --π so no extra lore from me, that's all the tea we get.ehdrβ also-- undescribed --π«Ά the manpage is keeping secrets, not me.elf_infoβ-- undescribed --again π iconic minimalism honestly.kbufβ-- undescribed --π yep, still nothing more.lowest_load_addrβ okay this one does have lore: on return, it will be the address where the firstPT_LOADsection will be loaded in memory. β
π RETURN π
0on success π slay.- a negative value on failure π not slay, but at least it tells you.
π₯ SEE ALSO π₯
- Kernel file
./kernel/kexec_elf.c elf_is_ehdr_sane(9)elf_is_phdr_sane(9)elf_read_phdrs(9)elf_read_from_buffer(9)kexec_free_elf_info(9)kexec_build_elf_info(9)
go read those too, iykyk πβ¨
π cute little sign-off: this page is from ./kernel, dated October 2026. kexec_elf_load(9) out β mwah, bye bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms