Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192430
b: refs/heads/master
c: eb8dae9
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Apr 22, 2010
1 parent 2c698ae commit 2925a8f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34c111f626e91adb23f90a91d2c7cd4dac9fa4b1
refs/heads/master: eb8dae9607901fd3fc181325ff3f30dce8f574c5
4 changes: 2 additions & 2 deletions trunk/security/integrity/ima/ima_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static int init_desc(struct hash_desc *desc)

desc->tfm = crypto_alloc_hash(ima_hash, 0, CRYPTO_ALG_ASYNC);
if (IS_ERR(desc->tfm)) {
pr_info("failed to load %s transform: %ld\n",
pr_info("IMA: failed to load %s transform: %ld\n",
ima_hash, PTR_ERR(desc->tfm));
rc = PTR_ERR(desc->tfm);
return rc;
Expand Down Expand Up @@ -111,7 +111,7 @@ static void __init ima_pcrread(int idx, u8 *pcr)
return;

if (tpm_pcr_read(TPM_ANY_NUM, idx, pcr) != 0)
pr_err("Error Communicating to TPM chip\n");
pr_err("IMA: Error Communicating to TPM chip\n");
}

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/integrity/ima/ima_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ 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("IMA: No TPM chip found, activating TPM-bypass!\n");

ima_add_boot_aggregate(); /* boot aggregate must be first entry */
ima_init_policy();
Expand Down
4 changes: 2 additions & 2 deletions trunk/security/integrity/ima/ima_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static int ima_add_digest_entry(struct ima_template_entry *entry)

qe = kmalloc(sizeof(*qe), GFP_KERNEL);
if (qe == NULL) {
pr_err("OUT OF MEMORY ERROR creating queue entry.\n");
pr_err("IMA: OUT OF MEMORY ERROR creating queue entry.\n");
return -ENOMEM;
}
qe->entry = entry;
Expand All @@ -93,7 +93,7 @@ static int ima_pcr_extend(const u8 *hash)

result = tpm_pcr_extend(TPM_ANY_NUM, CONFIG_IMA_MEASURE_PCR_IDX, hash);
if (result != 0)
pr_err("Error Communicating to TPM chip\n");
pr_err("IMA: Error Communicating to TPM chip\n");
return result;
}

Expand Down

0 comments on commit 2925a8f

Please sign in to comment.