[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHQZ30BSD2c4WwUTARx9OeqTjusgq7te8OzwdUi6Qk+L=9vSgA@mail.gmail.com>
Date: Wed, 25 Oct 2023 08:59:13 -0600
From: Raul Rangel <rrangel@...omium.org>
To: Mimi Zohar <zohar@...ux.ibm.com>
Cc: linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org,
Eric Snowberg <eric.snowberg@...cle.com>,
Amir Goldstein <amir73il@...il.com>
Subject: Re: [PATCH v3] ima: detect changes to the backing overlay file
On Wed, Oct 25, 2023 at 8:39 AM Mimi Zohar <zohar@...ux.ibm.com> wrote:
> + if (!IS_I_VERSION(backing_inode) ||
> + backing_inode->i_sb->s_dev != iint->real_dev ||
> + backing_inode->i_ino != iint->real_ino ||
> + !inode_eq_iversion(backing_inode, iint->version)) {
> + iint->flags &= ~IMA_DONE_MASK;
> + iint->measured_pcrs = 0;
> + }
> + }
> +
Does this mean I need to mount ext4 with `-o iversion`? Or has it been
enabled by default?
I can test this patch out sometime this week and verify it fixes the
performance regression.
Thanks!
Powered by blists - more mailing lists