lkml.org 
[lkml]   [2022]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V6 01/16] rv: Add Runtime Verification (RV) interface
From
On 7/20/22 17:21, Steven Rostedt wrote:
>> +static void disable_all_monitors(void)
>> +{
>> + struct rv_monitor_def *mdef;
>> +
> I think you need:
>
> mutex_lock(&rv_interface_lock);
>
>> + list_for_each_entry(mdef, &rv_monitors_list, list)
>> + disable_monitor(mdef);
> mutex_unlock(&rv_interface_lock);
>
>> +}

yes, we need.

-- Daniel

\
 
 \ /
  Last update: 2022-07-20 17:34    [W:0.212 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site