security_inode_setintegrity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the security_inode_setintegrity(9) Kernel API Manual page β€” this is literally the page for Set the inode's integrity data. no cap, that's the whole name vibe ✨


🌸 SYNOPSIS 🌸

the function signature is giving:

int security_inode_setintegrity (const struct inode *inode , enum
       lsm_integrity_type type , const void *value , size_t size );

🫢 ARGUMENTS 🫢

  • inode β€” the inode, bestie πŸŽ€
  • type β€” type of integrity, e.g. hash digest, signature, etc πŸ”₯
  • value β€” the integrity value πŸ’–
  • size β€” size of the integrity value πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

so you're registering a verified integrity measurement of an inode with LSMs. that's the main character move πŸ’…

heads up, bestie: LSMs should free the previously saved data if value is NULL. noted, no cap 😭

πŸŽ€ RETURN πŸŽ€

Returns 0 on success, negative values on failure. that's it β€” 0 is slay, negative is not slay πŸ’€


🌈 SEE ALSO 🌈

the whole extended kernel fam, fr fr β€” Kernel file ./security/security.c, plus:

mwah πŸ’‹ β€” signing off from ./security, October 2026. go be iconic with your inodes πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from