Messages in this thread | | | Subject | Re: [PATCH 2/4] integrity: Linux Integrity Module(LIM) | From | Mimi Zohar <> | Date | Fri, 21 Nov 2008 14:10:12 -0500 |
| |
On Fri, 2008-11-21 at 09:46 -0800, Dave Hansen wrote: > 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
Sounds good.
Mimi
| |