Re: [PATCH v3] ima: detect changes to the backing overlay file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 25, 2023 at 8:39 AM Mimi Zohar <zohar@xxxxxxxxxxxxx> 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!




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux