From: Mimi Zohar <zohar@linux.ibm.com>
To: Janne Karhunen <janne.karhunen@gmail.com>,
linux-integrity@vger.kernel.org
Subject: Re: [PATCH] integrity: make 'sync' update the inode integrity state
Date: Fri, 03 May 2019 07:48:12 -0400 [thread overview]
Message-ID: <1556884092.4754.17.camel@linux.ibm.com> (raw)
In-Reply-To: <1554987784.7843.40.camel@linux.ibm.com>
On Thu, 2019-04-11 at 09:03 -0400, Mimi Zohar wrote:
> On Wed, 2019-04-10 at 17:56 +0300, Janne Karhunen wrote:
>
> > + clear_bit(IMA_UPDATE_XATTR, &iint->atomic_flags);
> > + if (!IS_I_VERSION(inode) ||
> > + !inode_eq_iversion(inode, iint->version)) {
> > + iint->flags &= ~IMA_COLLECTED;
> > + ima_update_xattr(iint, file);
>
> Relatively recently there were some changes to iversion so that it
> isn't being updated as frequently. Can we use i_version here?
I was referring to Jeff Layton's i_version changes.[1]
Mimi
[1] f02a9ad1f15d ("fs: handle inode->i_version more efficiently")
>
> > + }
> > + }
> > + mutex_unlock(&iint->mutex);
> > +}
> > +EXPORT_SYMBOL_GPL(ima_file_update);
> > +
> > /**
> > * ima_path_check - based on policy, collect/store measurement.
> > * @file: pointer to the file to be measured
prev parent reply other threads:[~2019-05-03 11:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-10 14:56 [PATCH] integrity: make 'sync' update the inode integrity state Janne Karhunen
2019-04-11 13:03 ` Mimi Zohar
2019-04-11 14:10 ` Janne Karhunen
[not found] ` <CAE=NcraxAJum=Uk77BoPXVkBDk3rwmXh80mLxy6pxrtUW_hpQg@mail.gmail.com>
[not found] ` <1556805843.4134.15.camel@linux.ibm.com>
[not found] ` <CAE=Ncrb4unTxeU=2jLb-KTqKXpK98vGFbrOxdcnjdfD_Ddk8ug@mail.gmail.com>
[not found] ` <1556884105.4754.18.camel@linux.ibm.com>
2019-05-06 13:17 ` Janne Karhunen
2019-05-07 12:42 ` Janne Karhunen
2019-04-12 12:40 ` Janne Karhunen
2019-04-25 10:05 ` Janne Karhunen
2019-04-25 12:14 ` Mimi Zohar
2019-04-25 12:46 ` Janne Karhunen
2019-05-03 11:48 ` Mimi Zohar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1556884092.4754.17.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=janne.karhunen@gmail.com \
--cc=linux-integrity@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).