projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5acb3d
)
ima: include the reason for TPM-bypass mode
author
Mimi Zohar
<zohar@linux.vnet.ibm.com>
Mon, 31 Oct 2016 17:22:15 +0000
(13:22 -0400)
committer
Mimi Zohar
<zohar@linux.vnet.ibm.com>
Mon, 14 Nov 2016 03:50:09 +0000
(22:50 -0500)
This patch includes the reason for going into TPM-bypass mode
and not using the TPM.
Signed-off-by: Mimi Zohar (zohar@linux.vnet.ibm>
security/integrity/ima/ima_init.c
patch
|
blob
|
history
diff --git
a/security/integrity/ima/ima_init.c
b/security/integrity/ima/ima_init.c
index
32912bd
..
2ac1f41
100644
(file)
--- a/
security/integrity/ima/ima_init.c
+++ b/
security/integrity/ima/ima_init.c
@@
-115,7
+115,8
@@
int __init ima_init(void)
ima_used_chip = 1;
if (!ima_used_chip)
- pr_info("No TPM chip found, activating TPM-bypass!\n");
+ pr_info("No TPM chip found, activating TPM-bypass! (rc=%d)\n",
+ rc);
rc = integrity_init_keyring(INTEGRITY_KEYRING_IMA);
if (rc)