is_kernel_inittext(9)
π is_kernel_inittext β Kernel API Manual β¨
okay bestie, so this one's a little function from the Kernel API Manual, section 9, and honestly? she's a vibe check for pointers. π«Ά
π NAME π
is_kernel_inittext β literally just checks if the pointer address is located in the .init.text section. that's it. that's her whole personality. π
β SYNOPSIS β
bool is_kernel_inittext (unsigned long addr );
like yes, that's the whole signature, no cap. π₯
πΈ ARGUMENTS πΈ
addrβ the address to check. that's the one and only thing you're handing her. π
π¦ RETURN π¦
true if the address is located in .init.text, false otherwise. simple queen logic, we love to see it. β¨
π§ SEE ALSO π§
Kernel file ./include/asm-generic/sections.h β and while you're there, go say hi to her friends, they're all iconic:
memory_contains(9)memory_intersects(9)init_section_contains(9)init_section_intersects(9)is_kernel_core_data(9)is_kernel_rodata(9)__is_kernel_text(9)__is_kernel(9)
iykyk π
ngl bestie, this page lives in ./include/asm-generic and it's dated October 2026 β so whenever you're reading this, she's been out here checking addresses the whole time. slay. π
πβ
π¦ 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