diff options
author | Mimi Zohar <zohar@linux.ibm.com> | 2023-12-19 16:11:25 +0100 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2023-12-20 13:40:50 +0100 |
commit | c00f94b3a5be428837868c0f2cdaa3fa5b4b1995 (patch) | |
tree | 92e8dde74e227d6b64e6721e5127d5d7360d73cf /fs/overlayfs | |
parent | evm: add support to disable EVM on unsupported filesystems (diff) | |
download | linux-c00f94b3a5be428837868c0f2cdaa3fa5b4b1995.tar.xz linux-c00f94b3a5be428837868c0f2cdaa3fa5b4b1995.zip |
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); |