* linux-next: manual merge of the landlock tree with the security tree
@ 2026-10-20 13:40 Mark Brown
2026-10-20 14:13 ` Mickaël Salaün
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2026-10-20 13:40 UTC (permalink / raw)
To: Mickaël Salaün
Cc: Linux Kernel Mailing List, Linux Next Mailing List, Paul Moore
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
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'")
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;
};
#define to_ns_common(__ns) \
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: linux-next: manual merge of the landlock tree with the security tree
2026-10-20 13:40 linux-next: manual merge of the landlock tree with the security tree Mark Brown
@ 2026-10-20 14:13 ` Mickaël Salaün
2026-10-20 14:19 ` Mickaël Salaün
0 siblings, 1 reply; 3+ messages in thread
From: Mickaël Salaün @ 2026-10-20 14:13 UTC (permalink / raw)
To: Mark Brown
Cc: Linux Kernel Mailing List, Linux Next Mailing List, Paul Moore,
Christian Brauner
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) \
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: linux-next: manual merge of the landlock tree with the security tree
2026-10-20 14:13 ` Mickaël Salaün
@ 2026-10-20 14:19 ` Mickaël Salaün
0 siblings, 0 replies; 3+ messages in thread
From: Mickaël Salaün @ 2026-10-20 14:19 UTC (permalink / raw)
To: Mark Brown
Cc: Linux Kernel Mailing List, Linux Next Mailing List, Paul Moore,
Christian Brauner
On Tue, Oct 20, 2026 at 04:14:01PM +0200, Mickaël Salaün wrote:
> 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?
Ok, it's a new commit from Paul, part of his pull request. I guess I'll
re-create my merge commit...
>
> 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) \
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-20 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-20 13:40 linux-next: manual merge of the landlock tree with the security tree Mark Brown
2026-10-20 14:13 ` Mickaël Salaün
2026-10-20 14:19 ` Mickaël Salaün
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox