forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next-evm' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/zohar/ima-2.6 into next Conflicts: fs/attr.c Resolve conflict manually. Signed-off-by: James Morris <[email protected]>
- Loading branch information
Showing
39 changed files
with
1,535 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
What: security/evm | ||
Date: March 2011 | ||
Contact: Mimi Zohar <[email protected]> | ||
Description: | ||
EVM protects a file's security extended attributes(xattrs) | ||
against integrity attacks. The initial method maintains an | ||
HMAC-sha1 value across the extended attributes, storing the | ||
value as the extended attribute 'security.evm'. | ||
|
||
EVM depends on the Kernel Key Retention System to provide it | ||
with a trusted/encrypted key for the HMAC-sha1 operation. | ||
The key is loaded onto the root's keyring using keyctl. Until | ||
EVM receives notification that the key has been successfully | ||
loaded onto the keyring (echo 1 > <securityfs>/evm), EVM | ||
can not create or validate the 'security.evm' xattr, but | ||
returns INTEGRITY_UNKNOWN. Loading the key and signaling EVM | ||
should be done as early as possible. Normally this is done | ||
in the initramfs, which has already been measured as part | ||
of the trusted boot. For more information on creating and | ||
loading existing trusted/encrypted keys, refer to: | ||
Documentation/keys-trusted-encrypted.txt. (A sample dracut | ||
patch, which loads the trusted/encrypted key and enables | ||
EVM, is available from http://linux-ima.sourceforge.net/#EVM.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.