lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/2] IMA: Define workqueue for early boot "key" measurements
From
Date
On 12/12/19 12:19 AM, Mimi Zohar wrote:

>>> + ima_process_keys = true;
>> +
>> + INIT_LIST_HEAD(&temp_ima_keys);
>> +
>> + mutex_lock(&ima_keys_mutex);
>> +
>> + list_for_each_entry_safe(entry, tmp, &ima_keys, list)
>> + list_move_tail(&entry->list, &temp_ima_keys);
>> +
>> + mutex_unlock(&ima_keys_mutex);
>
>
> The v1 comment, which explained the need for using a temporary
> keyring, is an example of an informative comment.  If you don't
> object, instead of re-posting this patch, I can insert it.
>
> Mimi

Sure Mimi. Thanks for including the comment in the patch.

thanks,
-lakshmi

\
 
 \ /
  Last update: 2019-12-12 17:57    [W:0.044 / U:3.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site