STRUCT MIPS_VDSO_IMAGE(9)
π struct mips_vdso_image(9)
okay bestie, gather round β this is the kernel API manual page for struct mips_vdso_image, and honestly? it's giving "small struct, big responsibilities." let's get into it π«Ά
β¨ NAME β¨
struct mips_vdso_image β literally the details of a VDSO image. that's it, that's the vibe π
π¦ SYNOPSIS π¦
struct mips_vdso_image {
void *data;
unsigned long size;
unsigned long off_sigreturn;
unsigned long off_rt_sigreturn;
struct vm_special_mapping mapping;
};
no cap, that's the whole shape of it. now let's meet the members one by one π
π Members π
dataβ pointer to the VDSO image data, and yes it's page-aligned πΈsizeβ how big the VDSO image data is, also page-aligned β¨off_sigreturnβ the offset of thesigreturntrampoline. found her πoff_rt_sigreturnβ the offset of thert_sigreturntrampoline. her sibling, also iconic π¦mappingβ the special mapping structure. main character energy for sure π
π Description π
so this struct holds all the details of a VDSO image β the image data itself plus the offsets of certain symbols that the kernel needs. lowkey essential, highkey underrated π₯Ί
here's the cute part: it gets generated as part of the VDSO build process. the one exception is the mapping page array, which gets populated at runtime instead. so like, built at build time but not completely, iykyk β
π₯ SEE ALSO π₯
- Kernel file
./arch/mips/include/asm/vdso.hβ go read it, bestie, it's right there π
and that's the page! fr fr, thanks for reading this little kernel gem with me π this diva lives in ./arch/mips/include/asm, dated October 2026 β go off, MIPS directory, you ate πβ¨π
π¦ 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