evm_inode_post_setattr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… evm_inode_post_setattr(9) πŸ’…

okay so this is the Kernel API Manual entry for evm_inode_post_setattr, and it's literally the little post-metadata-change glow-up for 'security.evm'. bestie, it's giving β€œsmall function, important vibes” ✨


✨ NAME ✨

evm_inode_post_setattr β€” update 'security.evm' after modifying metadata πŸŽ€

🌸 SYNOPSIS 🌸

void evm_inode_post_setattr (struct mnt_idmap *idmap , struct dentry
       *dentry , int ia_valid );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • idmap β€” the idmap of the idmapped mount πŸ’«
  • dentry β€” pointer to the affected dentry πŸ“Œ
  • ia_valid β€” for the UID and GID status πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

For now, update the HMAC stored in 'security.evm' to reflect UID/GID changes. no cap, that's the whole assignment πŸ’…

This function is called from notify_change, which expects the caller to lock the inode's i_mutex. so yeah, locking duty is on the caller β€” don't forget it, bestie 🫢

🌈 SEE ALSO 🌈

Kernel file ./security/integrity/evm/evm_main.c πŸ‘€


bye bestie, this page’s source/version is ./security/integrity/evm, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from