STRUCT VDSO_RNG_DATA(9)
π struct vdso_rng_data(9) π
okay so bestie, we're diving into the Kernel API Manual today and honestly? this one's a little cutie. say hi to struct vdso_rng_data β it's literally the vdso RNG state information and nothing else, and it does that job flawlessly. no notes. β¨
π NAME π
struct vdso_rng_data β vdso RNG state information, that's it, that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
like, here's the whole thing. it's genuinely this tiny. iconic behavior honestly:
struct vdso_rng_data {
u64 generation;
u8 is_ready;
};
look at her. two members. zero drama. main character energy on a budget and I respect it π
π¦ Members π¦
okay so these are the two fields, and yes they're both doing something, no filler here:
generationβ au64counter representing the number of RNG reseeds π₯ like, every time the RNG reseeds this number goes up. it's the little tally sheet, iykyk.is_readyβ au8boolean signaling whether the RNG is initialized π so if you're checking whether you can actually use the RNG yet... this is the girl you ask. no cap.
fr fr, that's the entire struct. two members. she said "I contain multitudes" and then contained exactly two things π and honestly? slay.
π§ SEE ALSO π§
go read these next, they're in the same neighborhood and they're all linked from the kernel file ./include/vdso/datapage.h β yes bestie, struct vdso_rng_data lives right there in ./include/vdso/datapage.h, go look π
struct vdso_timestamp(9)βstruct vdso_clock(9)πstruct vdso_time_data(9)π
π lowkey reminder: these are structs in a header, not functions. don't try to call them. please. I'm begging. π
and that's the whole page!! π mwah π this lil page came from the source tree at ./include/vdso, dated October 2026, and it's part of the Kernel API Manual β so if you see it floating around, now you know exactly where it came from. periodt. πΈβ¨π«Ά
π¦ 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