vfsgid_eq_kgid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, listen β€” vfsgid_eq_kgid is literally just here to check whether kgid and vfsgid have the same value 🫢 that's it, that's the whole gig. this is a page from the Kernel API Manual, and honestly? she's short, she's sweet, she's a vibe.


✨ SYNOPSIS ✨

bool vfsgid_eq_kgid (vfsgid_t vfsgid , kgid_t kgid );

like… two ids walk in, one bool walks out. iconic behavior ngl πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • vfsgid β€” the vfsgid you wanna compare. the main character of the comparison, no cap.
  • kgid β€” the kgid you're comparing it against. her costar πŸ¦‹

🌸 DESCRIPTION 🌸

so the whole point: check whether vfsgid and kgid have the same values. that's it! that's the function! lowkey obsessed with how straightforward she is 😭✨


πŸ’€ RETURN πŸ’€

  • true if vfsgid and kgid have the same value
  • false if not
⚠️ heads up bestie: comparison between two invalid gids returns false. so like… two invalids? not a match. fr fr. don't come for me, that's just how she is πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

all her besties live in the kernel file ./include/linux/mnt_idmapping.h and honestly it's giving squad goals:


and that's the whole page, bestie! πŸ§šπŸ’œ

this little gem comes to you from ./include/linux, dated October 2026, in the Kernel API Manual β€” vfsgid_eq_kgid(9), periodt. πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from