from_vfsuid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

from_vfsuid β€” map a vfsuid into the filesystem idmapping πŸ’– and yes bestie, this is from_vfsuid(9) from the Kernel API Manual, hi hi 🫢


✨ SYNOPSIS ✨

okay so the whole vibe check is literally this:

kuid_t from_vfsuid (struct mnt_idmap *idmap , struct user_namespace
       *fs_userns , vfsuid_t vfsuid );

no cap, that's the signature πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • idmap β€” the mount's idmapping 🌸
  • fs_userns β€” the filesystem's idmapping πŸ¦‹
  • vfsuid β€” vfsuid to be mapped ✨

πŸ’œ DESCRIPTION πŸ’œ

Map vfsuid into the filesystem idmapping. That's the assignment, periodt. This function has to be used in order to e.g. write vfsuid to inode->i_uid β€” like, that's the required move, not optional lore 😭πŸ”₯


🌈 RETURN 🌈

vfsuid mapped into the filesystem idmapping ✨ β€” that's what comes back to you, bestie 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


cute sign-off time: this iconic little page comes from source/version ./fs, dated October 2026, and it's still from_vfsuid(9) β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from