diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-04-14 20:28:40 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-04-14 20:28:40 -0700 |
| commit | 5c0f43e8535d619ff32400e2e916075109fc7a56 (patch) | |
| tree | 996739729de3adb4b7e43a925a3e25f8ce8a663e /include/asm-arm/arch-pxa/git@git.tavy.me:linux.git | |
| parent | 7c8a4671dc3247a26a702e5f5996e9f453d7070d (diff) | |
| parent | 4c68d150246d7e1d826a807a82e6eb6b4669f42c (diff) | |
Pull pid_namespace updates from Christian Brauner:
- pid_namespace: make init creation more flexible
Annotate ->child_reaper accesses with {READ,WRITE}_ONCE() to protect
the unlocked readers from cpu/compiler reordering, and enforce that
pid 1 in a pid namespace is always the first allocated pid (the
set_tid path already required this).
On top of that, allow opening pid_for_children before the pid
namespace init has been created. This lets one process create the pid
namespace and a different process create the init via setns(), which
makes clone3(set_tid) usable in all cases evenly and is particularly
useful to CRIU when restoring nested containers.
A new selftest covers both the basic create-pidns-then-init flow and
the cross-process variant, and a MAINTAINERS entry for the pid
namespace code is added.
- unrelated signal cleanup: update outdated comment for the removed
freezable_schedule()
* tag 'kernel-7.1-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
signal: update outdated comment for removed freezable_schedule()
MAINTAINERS: add a pid namespace entry
selftests: Add tests for creating pidns init via setns
pid_namespace: allow opening pid_for_children before init was created
pid: check init is created first after idr alloc
pid_namespace: avoid optimization of accesses to ->child_reaper
Diffstat (limited to 'include/asm-arm/arch-pxa/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
