evm_inode_post_setattr(9)
π 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 π
evm_read_protected_xattrs(9)evm_verifyxattr(9)evm_inode_setxattr(9)evm_inode_removexattr(9)evm_inode_set_acl(9)evm_inode_remove_acl(9)evm_metadata_changed(9)evm_revalidate_status(9)evm_fix_hmac(9)evm_inode_post_setxattr(9)evm_inode_post_set_acl(9)evm_inode_post_removexattr(9)evm_inode_post_remove_acl(9)evm_inode_setattr(9)
bye bestie, this pageβs source/version is ./security/integrity/evm, dated 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