[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6166.1288361618@localhost>
Date: Fri, 29 Oct 2010 10:13:38 -0400
From: Valdis.Kletnieks@...edu
To: Mimi Zohar <zohar@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-fsdevel@...r.kernel.org, hch@...radead.org,
warthog9@...nel.org, david@...morbit.com, jmorris@...ei.org,
kyle@...artin.ca, hpa@...or.com, akpm@...ux-foundation.org,
torvalds@...ux-foundation.org, mingo@...e.hu, eparis@...hat.com,
viro@...iv.linux.org.uk, Matthew Wilcox <matthew@....cx>,
Mimi Zohar <zohar@...ibm.com>
Subject: Re: [PATCH 2/4] IMA: maintain i_readcount in the VFS layer
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?
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists