IMA: include the word IMA in printk messages
authorEric Paris <eparis@redhat.com>
Thu, 22 Apr 2010 14:49:36 +0000 (10:49 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 22 Apr 2010 22:47:53 +0000 (08:47 +1000)
commiteb8dae9607901fd3fc181325ff3f30dce8f574c5
tree1b6a0af7a1cd6b32a8cbb1512d91232895733bc5
parent34c111f626e91adb23f90a91d2c7cd4dac9fa4b1
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>
security/integrity/ima/ima_crypto.c
security/integrity/ima/ima_init.c
security/integrity/ima/ima_queue.c