ima_init.c (adf53a778a0a5a5dc9103509da4a9719046e5310) | ima_init.c (bcbc9b0cf6d8f340a1d166e414f4612b353f7a9b) |
---|---|
1/* 2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * 4 * Authors: 5 * Reiner Sailer <sailer@watson.ibm.com> 6 * Leendert van Doorn <leendert@watson.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com> 8 * --- 55 unchanged lines hidden (view full) --- 64 if (result < 0) { 65 audit_cause = "hashing_error"; 66 kfree(entry); 67 goto err_out; 68 } 69 } 70 71 result = ima_alloc_init_template(iint, NULL, boot_aggregate_name, | 1/* 2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * 4 * Authors: 5 * Reiner Sailer <sailer@watson.ibm.com> 6 * Leendert van Doorn <leendert@watson.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com> 8 * --- 55 unchanged lines hidden (view full) --- 64 if (result < 0) { 65 audit_cause = "hashing_error"; 66 kfree(entry); 67 goto err_out; 68 } 69 } 70 71 result = ima_alloc_init_template(iint, NULL, boot_aggregate_name, |
72 &entry); | 72 NULL, 0, &entry); |
73 if (result < 0) 74 return; 75 76 result = ima_store_template(entry, violation, NULL, 77 boot_aggregate_name); 78 if (result < 0) 79 kfree(entry); 80 return; --- 30 unchanged lines hidden --- | 73 if (result < 0) 74 return; 75 76 result = ima_store_template(entry, violation, NULL, 77 boot_aggregate_name); 78 if (result < 0) 79 kfree(entry); 80 return; --- 30 unchanged lines hidden --- |