From: Mimi Zohar Date: Wed, 9 Mar 2011 19:38:26 +0000 (-0500) Subject: security: imbed evm calls in security hooks X-Git-Tag: v3.2-rc1~190^2~65^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e1be52d6c6b21d9080dd886c0e609e009831562;p=pandora-kernel.git security: imbed evm calls in security hooks Imbed the evm calls evm_inode_setxattr(), evm_inode_post_setxattr(), evm_inode_removexattr() in the security hooks. evm_inode_setxattr() protects security.evm xattr. evm_inode_post_setxattr() and evm_inode_removexattr() updates the hmac associated with an inode. (Assumes an LSM module protects the setting/removing of xattr.) Changelog: - Don't define evm_verifyxattr(), unless CONFIG_INTEGRITY is enabled. - xattr_name is a 'const', value is 'void *' Signed-off-by: Mimi Zohar Acked-by: Serge Hallyn --- Reading git-diff-tree failed