init_section_contains(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so welcome to the init_section_contains(9) page from the Kernel API Manual, bestie 🫢 this one is short, sweet, and lowkey iconic.

init_section_contains β€” checks if an object is contained within the init section. that's the whole assignment. no cap πŸ’…


🌸 SYNOPSIS 🌸

bool init_section_contains (void *virt , size_t size );

the way this signature is just sitting there looking all official 😌 copy it exactly, okay?

πŸŽ€ ARGUMENTS πŸŽ€

  • virt β€” the virtual address of the memory object. literally the address, bestie πŸ“
  • size β€” the size of the memory object. yes, the size. the whole size. πŸ’–

πŸ‘‘ RETURN πŸ‘‘

returns true if the object specified by virt and size is entirely contained within the init section, and false otherwise. entire-ly, bestie β€” that word is doing main character work πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

go read these if you want the full lore, iykyk 🌈


mwah πŸ’‹ the source/version line says ./include/asm-generic, the date says October 2026, and yes it's literally init_section_contains(9). bye bestie 🫢

πŸ“¦ where this page comes from