[GIT PULL 09/12 for v7.1] namespaces misc

From: Christian Brauner

Date: Fri Apr 10 2026 - 12:03:07 EST


Hey Linus,

/* Summary */

Add two simple helper macros for the namespace infrastructure.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

The following changes since commit 1f318b96cc84d7c2ab792fcc0bfd42a7ca890681:

Linux 7.0-rc3 (2026-03-08 16:56:54 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/namespaces-7.1-rc1.misc

for you to fetch changes up to 935a04923ad293cd89bf6ec23fc4efc9cf1a0142:

nsproxy: Add FOR_EACH_NS_TYPE() X-macro and CLONE_NS_ALL (2026-03-26 15:22:41 +0100)

----------------------------------------------------------------
namespaces-7.1-rc1.misc

Please consider pulling these changes from the signed namespaces-7.1-rc1.misc tag.

Thanks!
Christian

----------------------------------------------------------------
Mickaël Salaün (1):
nsproxy: Add FOR_EACH_NS_TYPE() X-macro and CLONE_NS_ALL

include/linux/ns/ns_common_types.h | 44 +++++++++++++++++++++++++++++---------
kernel/fork.c | 7 +++---
kernel/nsproxy.c | 13 ++++-------
3 files changed, 41 insertions(+), 23 deletions(-)