From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: James Morris <james.l.morris@oracle.com>
Cc: linux-integrity <linux-integrity@vger.kernel.org>,
Seth Forshee <seth.forshee@canonical.com>,
"Eric W. Biederman" <ebiederm@xmission.com>,
Dmitry Kasatkin <dmitry.kasatkin@gmail.com>,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH] ima: define a new policy option named "force"
Date: Mon, 11 Dec 2017 08:12:58 -0500 [thread overview]
Message-ID: <1512997978.3846.104.camel@linux.vnet.ibm.com> (raw)
In-Reply-To: <alpine.LFD.2.20.1712110907080.19397@localhost>
On Mon, 2017-12-11 at 09:07 +1100, James Morris wrote:
> On Fri, 8 Dec 2017, Mimi Zohar wrote:
>
> > There are times instead of relying on previously cached status
> > information we want to force the file to be re-measured, re-appraised,
> > and re-audited.
>
> Can you give an example of when this would be needed?
Up to Sascha Hauer's patch "ima: Use i_version only when filesystem
supports it", which is queued to be upstreamed, the cached flags are
reset only if the i_version changed, causing the file to be re-
evaluated. After that patch, the cached flags are also reset if
i_version is not enabled.
That leaves the case where i_version is enabled for the filesystem,
but the local kernel is not responsible for updating it. This patch
is mainly for filesystems, where we can't trust the filesystem
properly increments i_version.
Eric/Seth, with Sasha's patch is this patch still needed for fuse
filesystems?
Mimi
next prev parent reply other threads:[~2017-12-11 13:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-08 18:12 [PATCH] ima: define a new policy option named "force" Mimi Zohar
2017-12-10 22:07 ` James Morris
2017-12-11 13:12 ` Mimi Zohar [this message]
2017-12-11 13:30 ` Seth Forshee
-- strict thread matches above, loose matches on Subject: below --
2018-01-10 14:13 Alban Crequy
2018-01-10 14:39 ` Mimi Zohar
2018-01-10 14:44 ` Seth Forshee
2018-01-10 14:48 ` Mimi Zohar
2018-01-11 13:59 ` Alban Crequy
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=1512997978.3846.104.camel@linux.vnet.ibm.com \
--to=zohar@linux.vnet.ibm.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=ebiederm@xmission.com \
--cc=james.l.morris@oracle.com \
--cc=linux-integrity@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=seth.forshee@canonical.com \
/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