kernel-ark/security
Mimi Zohar 3323eec921 integrity: IMA as an integrity service provider
IMA provides hardware (TPM) based measurement and attestation for
file measurements. As the Trusted Computing (TPM) model requires,
IMA measures all files before they are accessed in any way (on the
integrity_bprm_check, integrity_path_check and integrity_file_mmap
hooks), and commits the measurements to the TPM. Once added to the
TPM, measurements can not be removed.

In addition, IMA maintains a list of these file measurements, which
can be used to validate the aggregate value stored in the TPM.  The
TPM can sign these measurements, and thus the system can prove, to
itself and to a third party, the system's integrity in a way that
cannot be circumvented by malicious or compromised software.

- alloc ima_template_entry before calling ima_store_template()
- log ima_add_boot_aggregate() failure
- removed unused IMA_TEMPLATE_NAME_LEN
- replaced hard coded string length with #define name

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-02-06 09:05:30 +11:00
..
integrity/ima integrity: IMA as an integrity service provider 2009-02-06 09:05:30 +11:00
keys keys: fix sparse warning by adding __user annotation to cast 2009-01-01 10:32:44 +11:00
selinux selinux: remove hooks which simply defer to capabilities 2009-02-02 09:20:34 +11:00
smack Revert "CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #2]" 2009-01-07 09:21:54 +11:00
capability.c Revert "CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #2]" 2009-01-07 09:21:54 +11:00
commoncap.c CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #3] 2009-01-07 09:38:48 +11:00
device_cgroup.c devcgroup: remove spin_lock() 2008-10-20 08:52:38 -07:00
inode.c securityfs: fix long-broken securityfs_create_file comment 2009-02-03 11:02:51 +11:00
Kconfig integrity: IMA as an integrity service provider 2009-02-06 09:05:30 +11:00
Makefile integrity: IMA as an integrity service provider 2009-02-06 09:05:30 +11:00
root_plug.c Revert "CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #2]" 2009-01-07 09:21:54 +11:00
security.c CRED: Fix regression in cap_capable() as shown up by sys_faccessat() [ver #3] 2009-01-07 09:38:48 +11:00