vfsgid_eq_kgid(9)
π 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β thevfsgidyou wanna compare. the main character of the comparison, no cap.kgidβ thekgidyou'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 π
trueifvfsgidandkgidhave the same valuefalseif 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:
vfsuid_eq_kuid(9)vfsuid_has_fsmapping(9)vfsuid_into_kuid(9)vfsgid_has_fsmapping(9)vfsgid_into_kgid(9)mapped_fsuid(9)mapped_fsgid(9)
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
- 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