From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=45.157.188.15 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792505644; b=lKkkjeBDErPkIF8zIWOYZiJlqSxhlDYcmuJz/Xr/vEfexa/HxwWao4mx8WPgErwM39fJ OVl9cRfv97WbnQSWouPaCfJ9IsEi3xj6rxGtXkgfHynMI04id1FK6B3wnI5P/vHCycbuG d7bXw1LsePxjuoV40p+af/UgpUdinrU+PjjyU+z3V+R0R3G/GAFlRzbbhu7bELS3bJ6qE Z4AdGzwf4qhG2r1miy8rtjS73i/o8wPuZX2thYtakWlBuHgT3cJRh9XVgb7uDBd0DNWYf etp22s9ff4hp0GPAaqbu9itztk6gEu2XqiT1DfbNG5M4heSUVoY36uu7Ka8c8yEQwdQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792505644; h=DMARC-Filter:Received:DKIM-Signature:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Infomaniak-Routing; bh=we9TziTBtw3Fo+dRvY9d2iSIdR3WTXnm7XJpz1tL/vg=; b=Tw23v+7o2tXRilbqJqQ1rRkDnIlAhUd5zTFmtfJ9IDcSTW6jD+Fc9KfhztXvz6/cJqvP S5Fh3VejkPimrE1LPENtU0tRalBRku4gbTo38cy1tvpv1iBsFEy0JySUd8kNtSEDVUDMi q2SSoA6RXD1hQqD8TypqEFsw3bg+o96VSWkrjc1zsckeOEm0cDIdBdBZ0+oaGzr2MuQkF uAOhWLWNqaPT8IBNjZyQAjW5AfkYq+dAfNZsB31TXJr42ZeArt+GMqzMeXydLm/Niruzr 56lldm3/u6WUAriVNRqcdtNn5gTDh3KIj6TsbOYwWfhzIPmSE1Z47GpbG/J+vRLhpmA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass header.d=digikod.net header.i=@digikod.net header.a=rsa-sha256 header.s=20191114 header.b=ZVXaiuve; arc=none smtp.remote-ip=45.157.188.15 Received: from smtp-bc0f.mail.infomaniak.ch (smtp-bc0f.mail.infomaniak.ch [45.157.188.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDF2D60A2615 for ; Tue, 20 Oct 2026 14:14:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BDF2D60A2615 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=digikod.net header.i=@digikod.net header.a=rsa-sha256 header.s=20191114 header.b=ZVXaiuve Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4j8DtK0GYKzTjx; Tue, 20 Oct 2026 16:14:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1792505640; bh=we9TziTBtw3Fo+dRvY9d2iSIdR3WTXnm7XJpz1tL/vg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZVXaiuvesrknEesQAsvSZCkKb1XsuSeyUorpq57VMwtH5k/pyQxtcTSuV3RG3RJv8 RoL3z3PtAiYnfOe/I6BgHeMfBjVtyTq0sIkxHEQSNu8auWLSxdQe0hoUv3GcRFQIEi HcoQAg9xAsIQIfZutDkgc6d2NBtium7j7ClZXOoA= Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4j8DtJ1v6dzQZ6; Tue, 20 Oct 2026 16:14:00 +0200 (CEST) Date: Tue, 20 Oct 2026 16:13:56 +0200 From: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= To: Mark Brown Cc: Linux Kernel Mailing List , Linux Next Mailing List , Paul Moore , Christian Brauner Subject: Re: linux-next: manual merge of the landlock tree with the security tree Message-ID: <20261020.eethaeluo6eK@digikod.net> References: X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Infomaniak-Routing: alpha On Tue, Oct 20, 2026 at 02:40:57PM +0100, Mark Brown wrote: > Hi all, > > Today's linux-next merge of the landlock tree got a conflict in: > > include/linux/ns/ns_common_types.h > > between commit: > > 436485132d236 ("Automated merge of 'lsm/dev' into 'stable-7.4'") I cannot find this commit, is it a new one from linux-next? I had to create a merge commit because the LSM next branch is too old, so I followed the previous merge resolution from linux-next, but it looks like today's merge commit is different than the previous ones. > > from the security tree and commit: > > 0cbc5a0d65b05 ("Merge branch 'lsm/dev' into master") > > from the landlock 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. > > diff --combined include/linux/ns/ns_common_types.h > index 47a5cfe2326a3,fddc62be3b626..0000000000000 > --- a/include/linux/ns/ns_common_types.h > +++ b/include/linux/ns/ns_common_types.h > @@@ -116,11 -116,11 +116,11 @@@ struct ns_common > struct dentry *stashed; > const struct proc_ns_operations *ops; > unsigned int inum; > - struct ns_tree; > - struct rcu_head ns_rcu; > #ifdef CONFIG_SECURITY > void *ns_security; > #endif > + struct ns_tree; > + struct rcu_head ns_rcu; The previous merge (from yesterday and before [1]) was moving the ns_security at the end of the struct but this new merge commit moves it before the ns_tree field. Do you know why? [1] b6926a7ca6e5 ("Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git") > }; > > #define to_ns_common(__ns) \