Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp857132rdh; Thu, 26 Oct 2023 19:12:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6yhhTPDoGDblgz4n3IOuVidjDwsL2r99dGsiI4MvtxpweegSrHlAqHKsEb8Q0Gp66o5t3 X-Received: by 2002:a05:690c:89:b0:59b:de0f:c23b with SMTP id be9-20020a05690c008900b0059bde0fc23bmr1223938ywb.46.1698372744064; Thu, 26 Oct 2023 19:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698372744; cv=none; d=google.com; s=arc-20160816; b=A281ZAl5bMV8LAeVL/tPWq+vcSuWSv+FZxyUfL7J6LMRI8WrnEgsBkf/lPPnVv/Q6F Hq4gWUwuWnb8Wl14oXI+0WoWBfPtIeOoSwDFjr3McWXVpvCShY9MzZ/OJNji5LJZC2kF WJAQbI8tRhFhruuS1famhUMospAWRsseVCe4p0MrCQ0omuDkKdntyUWgzPsbwuwXMkV4 TKR5P+UR+kUS/Vf2ZuCPUrwIo2Q3Tc+NMODGqrx6/oFScwG9U1SIyjHXNPHIyhpx8CVh Or2LGH3bdaBEnVlgRZOXTBd8R6n2XsIAoVTNc0bi3RGYBebq7KJ1SAvPqiIPPubtNitX CDLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=L78u6ap4IGUMhTaeDopMfUlGi1+u64G74GttUwfHGC4=; fh=9npp+0j/8bllWjzeQYJ+YsOYf5EhbMM/2fv4/y8BIrE=; b=MlsGNQrQShynYVY2PcdylTZbHytZq7hMKW3DeFX6RtIwKu8fRB7W4rEHtxKAnVAeG5 n5dpzGKYBw7Hm512l9bRen+4c4TBKmdjYokmobhnY74H8syXeMAFqauMBFhXg1I8C4ZK eH3BJUKWekpMFxznfb3GP6mhdYysl8bzzMIOfLXGcwMYNWcCRFEKhmXJOGQQ5uowgRZk OYMcr8wGB7btkotYvCJqsqYZUIJNTZ+NtmUaLHDkDuvWbn6TeUQbHxSlSTQz+t9fN9Ck 4EcAdW46/smHuWYWE4vBnVZka7DG4EBAkTC0Mbso4Cnf4G3A2cvLJwCQu+Hl7BJcfO7Y Qx2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=pspNjo0V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id l194-20020a0de2cb000000b005a7b9248a12si1032329ywe.12.2023.10.26.19.12.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 19:12:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=pspNjo0V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 141348077511; Thu, 26 Oct 2023 19:11:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345142AbjJ0CLn (ORCPT + 99 others); Thu, 26 Oct 2023 22:11:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjJ0CLm (ORCPT ); Thu, 26 Oct 2023 22:11:42 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42365187; Thu, 26 Oct 2023 19:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1698372698; bh=L78u6ap4IGUMhTaeDopMfUlGi1+u64G74GttUwfHGC4=; h=Date:From:To:Cc:Subject:From; b=pspNjo0VUBXf1sFlBOxDrYRzea7YBDPoy7qWhgjrR/z36gEIGu9yENhTrmNvFDbOH R8+QYPHO3wb1cFwt4tbldu3A4Ab7SoYU9D5gpkgRzb2Oy+f1Lgh6p9ky7CA/RFmqw7 ayOZQtIGYoVDWYH1eubptW/NJEKw0jxRFjAyoxIyuDKreLRA4g850ztGRVvvZu7qJ7 YBej6iKRha2ysxEmqeWqS2dk05TSo37M/QI+uIk0t+Aca+QfCy9mHClhaQz51KaYda AAb12n3GVaxrazWpy7PLGxCmHhahc0xpDPdtqSydCcIDyqbEB6ncSDgAmtfSe4Th90 cuTi8UzgY1Gdg== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SGmPQ1P7jz4wbh; Fri, 27 Oct 2023 13:11:37 +1100 (AEDT) Date: Fri, 27 Oct 2023 13:11:37 +1100 From: Stephen Rothwell To: Mimi Zohar , Dmitry Kasatkin , Christian Brauner Cc: Linux Kernel Mailing List , Linux Next Mailing List , Mimi Zohar Subject: linux-next: manual merge of the integrity tree with the vfs-brauner tree Message-ID: <20231027131137.3051da98@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/TDUVDSA/+dZm.nsderLExk6"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 26 Oct 2023 19:11:58 -0700 (PDT) --Sig_/TDUVDSA/+dZm.nsderLExk6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the integrity tree got a conflict in: fs/overlayfs/super.c between commit: 2bc5e5e8167f ("ovl: rely on SB_I_NOUMASK") from the vfs-brauner tree and commit: bc4532e9cd3b ("ima: detect changes to the backing overlay file") from the integrity tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc fs/overlayfs/super.c index 1a95ee237fa9,c71d185980c0..000000000000 --- a/fs/overlayfs/super.c +++ b/fs/overlayfs/super.c @@@ -1439,18 -1485,11 +1439,18 @@@ int ovl_fill_super(struct super_block * cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); =20 sb->s_magic =3D OVERLAYFS_SUPER_MAGIC; - sb->s_xattr =3D ofs->config.userxattr ? ovl_user_xattr_handlers : - ovl_trusted_xattr_handlers; + sb->s_xattr =3D ovl_xattr_handlers(ofs); sb->s_fs_info =3D ofs; +#ifdef CONFIG_FS_POSIX_ACL sb->s_flags |=3D SB_POSIXACL; +#endif - sb->s_iflags |=3D SB_I_SKIP_SYNC | SB_I_IMA_UNVERIFIABLE_SIGNATURE; + sb->s_iflags |=3D SB_I_SKIP_SYNC; + /* + * Ensure that umask handling is done by the filesystems used + * for the the upper layer instead of overlayfs as that would + * lead to unexpected results. + */ + sb->s_iflags |=3D SB_I_NOUMASK; =20 err =3D -ENOMEM; root_dentry =3D ovl_get_root(sb, ctx->upper.dentry, oe); --Sig_/TDUVDSA/+dZm.nsderLExk6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmU7HFkACgkQAVBC80lX 0Gx2EAf/ThJ94etqm5kPvaq7pnE0Q/0qH5SkHT+ZMKtplyK749RMLmYHCe+2Lp0k VZJ+fmp3iRG5gWcY/wx/tzO1QZno/SkX7usCXbM9dII1jDLsHefI+rQ/9KEnTiIa bWb199D9SZgeHFH05SKOHMldVbgDpha1JU2rg+OidOvkUgePa3VwmOAHoCFUuzdo e34YYEH6KYUh9YpGDWzam7m87ikalIuWDgxIx3T6F85zflxN9sz9TzpXkJLmfVws D9Xp0lKzap7dsU7JNXdd3SyPzaVF7Ma2F7FFqB5ubuU/fSUs0nwMNQKpGPdTgD6Y xl8ICC7MeFcWkuq8iZti79ItRCsBtg== =8Xfg -----END PGP SIGNATURE----- --Sig_/TDUVDSA/+dZm.nsderLExk6--