2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/security/integrity/evm
Mimi Zohar 3e1be52d6c 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 <zohar@us.ibm.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2011-07-18 12:29:42 -04:00
..
evm_crypto.c evm: add support for different security.evm data types 2011-07-18 12:29:41 -04:00
evm_main.c security: imbed evm calls in security hooks 2011-07-18 12:29:42 -04:00
evm_secfs.c evm: re-release 2011-07-18 12:29:40 -04:00
evm.h evm: re-release 2011-07-18 12:29:40 -04:00
Kconfig evm: re-release 2011-07-18 12:29:40 -04:00
Makefile evm: re-release 2011-07-18 12:29:40 -04:00