from_vfsgid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 from_vfsgid(9) β€” Kernel API Manual 🌸

okay bestie, welcome to the from_vfsgid(9) glow-up ✨ this is a kernel API page, and we’re gonna keep every detail cute and correct. πŸ’…


πŸŽ€ NAME πŸŽ€

from_vfsgid β€” map a vfsgid into the filesystem idmapping.

✨ SYNOPSIS ✨

here’s the signature, verbatim, bestie:

kgid_t from_vfsgid (struct mnt_idmap *idmap , struct user_namespace
*fs_userns , vfsgid_t vfsgid );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • idmap β€” the mount's idmapping.
  • fs_userns β€” the filesystem's idmapping.
  • vfsgid β€” the vfsgid to be mapped.

πŸ’– DESCRIPTION πŸ’–

Map vfsgid into the filesystem idmapping. This function has to be used in order to e.g. write vfsgid to inode->i_gid. Like, that’s the assignment, and it ate. πŸ”₯

bestie note: the page literally says has to be used for that inode->i_gid write β€” so yeah, it’s required, no cap.

πŸ‘‘ RETURN πŸ‘‘

vfsgid mapped into the filesystem idmapping. That’s the return value, babes. 🫢

🌈 SEE ALSO 🌈


mwah πŸ’‹ source/version: ./fs Β· date: October 2026 β€” periodt, that’s the whole page, bestie πŸ’–

πŸ“¦ where this page comes from