lkml.org 
[lkml]   [2010]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/4] IMA: maintain i_readcount in the VFS layer
From
Date
On Thu, 28 Oct 2010 18:02:03 EDT, Mimi Zohar said:
> ima_counts_get() updated the readcount and invalidated the PCR,
> as necessary. Only update the i_readcount in the VFS layer.
> Move the PCR invalidation checks to ima_file_check(), where it
> belongs.
>
> Maintaining the i_readcount in the VFS layer, will allow other
> subsystems to use i_readcount.

Would a symmetric i_writecount be useful for anything? If it existed,
could any code be simplified elsewhere?

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2010-10-29 19:57    [W:0.192 / U:0.164 seconds]
©2003-2011 Jasper Spaans. Advertise on this site