[SLOF] [PATCH 11/16] Measure the static core root of trust for measurements

Nikunj A Dadhania nikunj at linux.vnet.ibm.com
Mon Nov 16 19:37:34 AEDT 2015


Stefan Berger <stefanb at linux.vnet.ibm.com> writes:

> On 11/12/2015 12:57 AM, Nikunj A Dadhania wrote:
>> Stefan Berger <stefanb at linux.vnet.ibm.com> writes:
>>> diff --git a/slof/fs/tpm/tpm-static.fs b/slof/fs/tpm/tpm-static.fs
>>> index bc5138a..1bc37c9 100644
>>> --- a/slof/fs/tpm/tpm-static.fs
>>> +++ b/slof/fs/tpm/tpm-static.fs
>>> @@ -33,6 +33,17 @@ false VALUE vtpm-debug?
>>>       THEN
>>>   ;
>>>
>>> +: vtpm-measure-scrtm
>>> +    vtpm-available? IF
>>> +        tpm-measure-scrtm                        ( -- errcode )
>> Or at least print a warning on the error.
>
> I'll modify several other functions as well to display an error if the 
> return code is != 0 rather than only when debugging is enabled.

Sure, that will give enough hints to debug.

Regards
Nikunj



More information about the SLOF mailing list