mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: manual merge of the security tree with the vfs-brauner-fixes tree
@ 2026-09-01 13:51 Mark Brown
  2026-09-01 15:30 ` Paul Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-09-01 13:51 UTC (permalink / raw)
  To: Paul Moore
  Cc: Christian Brauner, Jérémy Jean,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Mickaël Salaün

[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]

Hi all,

Today's linux-next merge of the security tree got a conflict in:

  include/linux/ns/ns_common_types.h

between commit:

  82e9343260dfc ("nsfs: keep namespace tree fields stable until after RCU grace period")

from the vfs-brauner-fixes tree and commit:

  f675d2e955696 ("lsm: add LSM blob and hooks for namespaces")

from the security 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 --cc include/linux/ns/ns_common_types.h
index 6ed6b497831c7,5cfe0ce3c8818..0000000000000
--- a/include/linux/ns/ns_common_types.h
+++ b/include/linux/ns/ns_common_types.h
@@@ -116,8 -116,13 +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
 -	union {
 -		struct ns_tree;
 -		struct rcu_head ns_rcu;
 -	};
  };
  
  #define to_ns_common(__ns)                                    \

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: manual merge of the security tree with the vfs-brauner-fixes tree
  2026-09-01 13:51 linux-next: manual merge of the security tree with the vfs-brauner-fixes tree Mark Brown
@ 2026-09-01 15:30 ` Paul Moore
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Moore @ 2026-09-01 15:30 UTC (permalink / raw)
  To: Mark Brown
  Cc: Christian Brauner, Jérémy Jean,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Mickaël Salaün

On Tue, Sep 1, 2026 at 9:51 AM Mark Brown <broonie@kernel.org> wrote:
>
> Hi all,
>
> Today's linux-next merge of the security tree got a conflict in:
>
>   include/linux/ns/ns_common_types.h
>
> between commit:
>
>   82e9343260dfc ("nsfs: keep namespace tree fields stable until after RCU grace period")
>
> from the vfs-brauner-fixes tree and commit:
>
>   f675d2e955696 ("lsm: add LSM blob and hooks for namespaces")
>
> from the security 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 --cc include/linux/ns/ns_common_types.h
> index 6ed6b497831c7,5cfe0ce3c8818..0000000000000
> --- a/include/linux/ns/ns_common_types.h
> +++ b/include/linux/ns/ns_common_types.h
> @@@ -116,8 -116,13 +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
>  -      union {
>  -              struct ns_tree;
>  -              struct rcu_head ns_rcu;
>  -      };
>   };
                                \
Looks reasonable, thanks Mark.

-- 
paul-moore.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-01 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 13:51 linux-next: manual merge of the security tree with the vfs-brauner-fixes tree Mark Brown
2026-09-01 15:30 ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®