inode_fsuid_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… inode_fsuid_set(9) β€” like, the Kernel API Manual page you didn't know you needed πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for inode_fsuid_set(9) β€” she's a tiny function with main character energy and she's literally about to make your inode's i_uid field make sense. no cap. ✨


🌸 NAME 🌸

inode_fsuid_set β€” initializes the inode's i_uid field with the caller's fsuid πŸ’–


⭐ SYNOPSIS ⭐

void inode_fsuid_set (struct inode *inode , struct mnt_idmap *idmap );

she takes two args and returns void, periodt. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • inode β€” the inode you're initializing, bestie. that's the whole vibe check. 🌈
  • idmap β€” the idmap of the mount that the inode was found from. iykyk. πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea πŸ“: inode_fsuid_set initializes the i_uid field of inode. that's it, that's the job, and she does it flawlessly.

but wait, there's a plot twist 😭 β€” if the inode was found/created via an idmapped mount, she maps the caller's fsuid according to idmap. so the mapping is not optional, it's giving "context-sensitive icon" behavior and honestly? we love that for her. πŸ”₯


🧚 SEE ALSO 🧚

like, go read these next, fr fr β€” they're all in the same friend group πŸ’œ:

bestie that's a LOT of cross-references and every single one of them is here on purpose β€” don't skip, they're all canon. πŸ’€

πŸŽ€ sign-off πŸŽ€

this little masterpiece lives under ./include/linux, and she was dated October 2026 β€” so yeah, she's from the future and she still ate. πŸ’…βœ¨ bye bestie, go initialize some inodes responsibly πŸ«ΆπŸ’–

πŸ“¦ where this page comes from