STRUCT VGETRANDOM_OPAQUE_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct vgetrandom_opaque_params β€” the lil argument bundle you use when you're allocating memory for vgetrandom πŸŽ€

This page lives in the Kernel API Manual, bestie, and it's literally all about that one struct. iykyk πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct vgetrandom_opaque_params {
    __u32 size_of_opaque_state;
    __u32 mmap_prot;
    __u32 mmap_flags;
    __u32 reserved[13];
 };

okay so that's the whole shape of it, no cap πŸ‘‘


🌸 Members 🌸

  • size_of_opaque_state β€” the size of each state that gets passed to vgetrandom. like, how much room each one needs 🫢
  • mmap_prot β€” this is the value of the prot argument in mmap(2). yes, that mmap(2), the icon herself ✨
  • mmap_flags β€” and this one's the value of the flags argument in mmap(2). matching set with mmap_prot, we love a coordinated moment πŸ’–
  • reserved β€” reserved for future use πŸ‘€ literally just sitting there being patient, main character energy of a placeholder fr fr
ngl bestie, reserved[13] is a whole vibe β€” thirteen __u32s of pure potential πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./include/uapi/linux/random.h β€” go read the source, it's giving iconic πŸ”₯

k that's the whole page 🧚 made with love in ./include/uapi/linux, version October 2026, and yeah the title still gets squished to struct vget...paque_params(9) in the corner β€” she's mysterious like that πŸ’œ

πŸ“¦ where this page comes from