evm_inode_set_acl(9)
πΈ evm_inode_set_acl(9) πΈ
okay bestie, welcome to the Kernel API Manual page for evm_inode_set_acl(9) β it's giving βsecurity checkpoint for your EVM xattrβ energy, and honestly? iconic. π
β¨
β¨ NAME β¨
evm_inode_set_acl β protect the EVM extended attribute from posix acls π‘οΈ
π«Ά SYNOPSIS π«Ά
int evm_inode_set_acl (struct mnt_idmap *idmap , struct dentry *dentry ,
const char *acl_name , struct posix_acl *kacl );
π ARGUMENTS π
idmapβ idmap of the idmapped mount πΊοΈdentryβ pointer to the affected dentry πacl_nameβ name of the posix acl π·οΈkaclβ pointer to the posix acls π§Ί
π DESCRIPTION π
So hereβs the tea, bestie β: this function prevents modifying posix acls from causing the EVM HMAC to be re-calculated and the 'security.evm' xattr to be updated β unless the existing 'security.evm' is valid. π«Ά
no cap, that unless is lowkey doing a lot of work here π
π₯ RETURN π₯
It returns zero on success π and -EPERM on failure π.
π SEE ALSO π
- Kernel file
./security/integrity/evm/evm_main.cβ the source, go read it π evm_read_protected_xattrs(9)evm_verifyxattr(9)evm_inode_setxattr(9)evm_inode_removexattr(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)evm_inode_post_setattr(9)
signed off from source/version ./security/integrity/evm, dated October 2026, as evm_inode_set_acl(9) ππ
π¦ 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