lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/4] integrity: Linux Integrity Module(LIM)
From
Date
On Thu, 2008-11-20 at 11:43 -0500, Mimi Zohar wrote:
>
> + rcu_read_lock();
> + rc = integrity_find_template(template_name, &template_entry);
> + if (rc == 0)
> + tget(template_entry);
> + rcu_read_unlock();

This little nugget is repeated over and over. How about an
integrity_find_get_template()?

-- Dave



\
 
 \ /
  Last update: 2008-11-21 18:49    [W:0.101 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site