evm_inode_set_acl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 🌈


signed off from source/version ./security/integrity/evm, dated October 2026, as evm_inode_set_acl(9) πŸŽ€πŸ’œ

πŸ“¦ where this page comes from