[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOQ4uxiajZKJQWG8JWSRwO5a9nzJVt73sOOXLCuTRn8kMPK3Nw@mail.gmail.com>
Date: Wed, 20 Dec 2023 06:21:50 +0200
From: Amir Goldstein <amir73il@...il.com>
To: Mimi Zohar <zohar@...ux.ibm.com>
Cc: linux-unionfs@...r.kernel.org, linux-integrity@...r.kernel.org,
linux-kernel@...r.kernel.org, Christian Brauner <brauner@...nel.org>,
Seth Forshee <sforshee@...nel.org>, Roberto Sassu <roberto.sassu@...weicloud.com>
Subject: Re: [PATCH v2 3/3] overlay: disable EVM
On Tue, Dec 19, 2023 at 7:52 PM Mimi Zohar <zohar@...ux.ibm.com> wrote:
>
> Until a complete solution is developed, update 'sb->s_iflags' to
> disable EVM.
>
> Signed-off-by: Mimi Zohar <zohar@...ux.ibm.com>
Acked-by: Amir Goldstein <amir73il@...il.com>
> ---
> fs/overlayfs/super.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
> index a0967bb25003..e3d9c6c80a47 100644
> --- a/fs/overlayfs/super.c
> +++ b/fs/overlayfs/super.c
> @@ -1454,6 +1454,7 @@ int ovl_fill_super(struct super_block *sb, struct fs_context *fc)
> * lead to unexpected results.
> */
> sb->s_iflags |= SB_I_NOUMASK;
> + sb->s_iflags |= SB_I_EVM_UNSUPPORTED;
>
> err = -ENOMEM;
> root_dentry = ovl_get_root(sb, ctx->upper.dentry, oe);
> --
> 2.39.3
>
Powered by blists - more mailing lists