vfsuid_has_fsmapping(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vfsuid_has_fsmapping(9) β€” Kernel API Manual 🌸

okay so bestie, welcome to the vfsuid_has_fsmapping(9) page in the Kernel API Manual. We're checking whether a vfsuid maps into the filesystem β€” tiny function, big "do I belong here?" energy. 🫢


✨ NAME ✨

vfsuid_has_fsmapping β€” check whether a vfsuid maps into the filesystem πŸ’«

🌈 SYNOPSIS 🌈

bool vfsuid_has_fsmapping (struct mnt_idmap *idmap , struct
user_namespace *fs_userns , vfsuid_t vfsuid );

That's the whole iconic signature, no cap. πŸ“œ

πŸŽ€ ARGUMENTS πŸŽ€

  • idmap β€” the mount's idmapping. πŸ—ΊοΈ
  • fs_userns β€” the filesystem's idmapping. πŸ—‚οΈ
  • vfsuid β€” the vfsuid to be mapped. πŸ’Œ

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the actual job: check whether vfsuid has a mapping in the filesystem idmapping. Use this function to check whether the filesystem idmapping has a mapping for vfsuid. That's the whole quest, bestie. ✨

πŸ”₯ RETURN πŸ”₯

  • true β€” if vfsuid has a mapping in the filesystem. βœ…
  • false β€” if not. ❌

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./include/linux/mnt_idmapping.h β€” go look, iykyk. 🌈

The whole squad:


xoxo, this page came from ./include/linux, dated October 2026, and it's living under the vfsuid_has_fsmapping(9) version tag. periodt πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from