kexec_elf_load(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 first PT_LOAD section will be loaded in memory. ⭐

🌈 RETURN 🌈

  • 0 on success πŸŽ‰ slay.
  • a negative value on failure 😭 not slay, but at least it tells you.

πŸ”₯ SEE ALSO πŸ”₯

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