Skip to content

Commit c00f94b

Browse files
committed
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>
1 parent cd708c9 commit c00f94b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/overlayfs/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,7 @@ int ovl_fill_super(struct super_block *sb, struct fs_context *fc)
14541454
* lead to unexpected results.
14551455
*/
14561456
sb->s_iflags |= SB_I_NOUMASK;
1457+
sb->s_iflags |= SB_I_EVM_UNSUPPORTED;
14571458

14581459
err = -ENOMEM;
14591460
root_dentry = ovl_get_root(sb, ctx->upper.dentry, oe);

0 commit comments

Comments
 (0)