v9fs_get_fsgid_for_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 v9fs_get_fsgid_for_create(9) β€” the gid-for-new-objects helper 🌸

Okay so this is a page from the Kernel API Manual, bestie, and it’s all about a tiny helper that gets the gid for a brand-new file system object. Very β€œsupporting character with main character energy” of it. πŸ’…


✨ NAME ✨

v9fs_get_fsgid_for_create β€” helper function to get the gid for a new object πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

kgid_t v9fs_get_fsgid_for_create (struct inode *dir_inode );

πŸ’– ARGUMENTS πŸ’–

  • dir_inode β€” the directory inode, literally the directory inode 🫢

🌈 DESCRIPTION 🌈

So this helper function is here to get the gid for creating a new file system object. It checks S_ISGID to determine the owning group of the new file system object. That’s the whole vibe. No cap, that’s the info. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./fs/9p/vfs_inode_dotl.c


xoxo, the ./fs/9p girlies πŸ’– β€” October 2026 edition, for the v9fs_get_fsgid_for_create(9) manual page πŸŽ€

πŸ“¦ where this page comes from