ima_inode_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ima_inode_get(9) πŸ’–

okay bestie, welcome to the Kernel API Manual entry for ima_inode_get(9) β€” this is the little helper that finds, or makes, an iint for an inode. lowkey important, no cap. 🫢

✨ NAME ✨

ima_inode_get β€” find or allocate an iint associated with an inode πŸ’…

🌸 SYNOPSIS 🌸

struct ima_iint_cache * ima_inode_get (struct inode *inode );

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” pointer to the inode. that’s the whole argument, bestie, she’s simple and iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

So the vibe is: find an iint associated with an inode, and allocate a new one if it’s not found. literally β€œlook for it, and if it’s missing, make it happen.” πŸ’–

⚠️ important caveat, fr fr: the caller must lock i_mutex. not optional, not a suggestion. lock her first. πŸ”’

⭐ RETURN ⭐

  • An iint on success. slay. βœ…
  • NULL on error. 😭

🌈 SEE ALSO 🌈


xoxo, ima_inode_get(9), coming at you from ./security/integrity/ima β€” October 2026 πŸ’‹

πŸ“¦ where this page comes from