Re: [PATCH] ima: Remove __init annotation from ima_pcrread()

2020-06-08 Thread Mimi Zohar
Hi Roberto, On Sun, 2020-06-07 at 23:00 +0200, Roberto Sassu wrote: > Commit 6cc7c266e5b4 ("ima: Call ima_calc_boot_aggregate() in > ima_eventdigest_init()") added a call to ima_calc_boot_aggregate() so that > the digest can be recalculated for the boot_aggregate measurement entry if > the 'd' tem

Re: [PATCH] ima: Remove __init annotation from ima_pcrread()

2020-06-08 Thread Bruno Meneguele
On Sun, Jun 07, 2020 at 11:00:29PM +0200, Roberto Sassu wrote: > Commit 6cc7c266e5b4 ("ima: Call ima_calc_boot_aggregate() in > ima_eventdigest_init()") added a call to ima_calc_boot_aggregate() so that > the digest can be recalculated for the boot_aggregate measurement entry if > the 'd' template

Re: [PATCH] ima: Remove __init annotation from ima_pcrread()

2020-06-07 Thread Jerry Snitselaar
On Sun Jun 07 20, Roberto Sassu wrote: Commit 6cc7c266e5b4 ("ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()") added a call to ima_calc_boot_aggregate() so that the digest can be recalculated for the boot_aggregate measurement entry if the 'd' template field has been requested. For

[PATCH] ima: Remove __init annotation from ima_pcrread()

2020-06-07 Thread Roberto Sassu
Commit 6cc7c266e5b4 ("ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()") added a call to ima_calc_boot_aggregate() so that the digest can be recalculated for the boot_aggregate measurement entry if the 'd' template field has been requested. For the 'd' field, only SHA1 and MD5 digests