ima_inode_get(9)
π 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
iinton success. slay. β NULLon error. π
π SEE ALSO π
- Kernel file
./security/integrity/ima/ima_iint.c ima_iint_find(9)ima_inode_free_rcu(9)
xoxo, ima_inode_get(9), coming at you from ./security/integrity/ima β October 2026 π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms