diff options
author | Mimi Zohar | 2023-12-19 10:11:25 -0500 |
---|---|---|
committer | Mimi Zohar | 2023-12-20 07:40:50 -0500 |
commit | c00f94b3a5be428837868c0f2cdaa3fa5b4b1995 (patch) | |
tree | 92e8dde74e227d6b64e6721e5127d5d7360d73cf /fs/overlayfs | |
parent | cd708c938f055c9eb5a366ec1c8edcefa28afc28 (diff) |
overlay: disable EVM
Until a complete solution is developed, update 'sb->s_iflags' to
disable EVM.
Acked-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'fs/overlayfs')
-rw-r--r-- | fs/overlayfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |