diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-22 10:49:36 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-22 18:47:53 -0400 |
commit | eb8dae9607901fd3fc181325ff3f30dce8f574c5 (patch) | |
tree | 1b6a0af7a1cd6b32a8cbb1512d91232895733bc5 /security/integrity/ima/ima_init.c | |
parent | 34c111f626e91adb23f90a91d2c7cd4dac9fa4b1 (diff) |
IMA: include the word IMA in printk messages
As an example IMA emits a warning when it can't find a TPM chip:
"No TPM chip found, activating TPM-bypass!"
This patch prefaces that message with IMA so we know what subsystem is
bypassing the TPM. Do this for all pr_info and pr_err messages.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/integrity/ima/ima_init.c')
-rw-r--r-- | security/integrity/ima/ima_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_init.c b/security/integrity/ima/ima_init.c index a40da7ae5900..b93eddc589e5 100644 --- a/security/integrity/ima/ima_init.c +++ b/security/integrity/ima/ima_init.c | |||
@@ -82,7 +82,7 @@ int __init ima_init(void) | |||
82 | ima_used_chip = 1; | 82 | ima_used_chip = 1; |
83 | 83 | ||
84 | if (!ima_used_chip) | 84 | if (!ima_used_chip) |
85 | pr_info("No TPM chip found, activating TPM-bypass!\n"); | 85 | pr_info("IMA: No TPM chip found, activating TPM-bypass!\n"); |
86 | 86 | ||
87 | ima_add_boot_aggregate(); /* boot aggregate must be first entry */ | 87 | ima_add_boot_aggregate(); /* boot aggregate must be first entry */ |
88 | ima_init_policy(); | 88 | ima_init_policy(); |