vfsuid_eq_kuid(9)
π vfsuid_eq_kuid(9) π
okay so this is from the Kernel API Manual, and it's the page for vfsuid_eq_kuid. Bestie, quick vibe check: we're asking whether a kuid and a vfsuid are literally the same value. That's the whole quest. β¨
β¨ NAME β¨
vfsuid_eq_kuid β check whether kuid and vfsuid have the same value. π
πΈ SYNOPSIS πΈ
bool vfsuid_eq_kuid (vfsuid_t vfsuid , kuid_t kuid );
π ARGUMENTS π
vfsuidβ thevfsuidyou want to compare.kuidβ thekuidyou want to compare.
π¦ DESCRIPTION π¦
This function checks whether vfsuid and kuid have the same values. That's it β no extra main-character side quests, just the comparison. π«Ά
π RETURN π
trueifvfsuidandkuidhave the same value.falseif they do not.
And the important caveat, no cap: comparison between two invalid uids returns false. π
π SEE ALSO π
Kernel file: ./include/linux/mnt_idmapping.h
The bestie lineup is:
vfsgid_eq_kgid(9)vfsuid_has_fsmapping(9)vfsuid_into_kuid(9)vfsgid_has_fsmapping(9)vfsgid_into_kgid(9)mapped_fsuid(9)mapped_fsgid(9)
Signed off from the ./include/linux source, October 2026, page vfsuid_eq_kuid(9). Stay slay, bestie! πππ¦
π¦ 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