On Wed, 07 Oct 2026 17:19:14 +0530, Sahaj Chaudhari wrote: > Add a regression test for fork() into a PID namespace whose parent > namespace has lost its init process. Since the kernel cannot assign the > new process a PID in that dead ancestor, fork() must fail with ENOMEM. > > Create the nested PID namespaces, keep the child namespace handle open > after its init process exits, then enter it and verify fork() fails. > > [...]
Applied to the kernel-7.4.signal branch of the vfs/vfs.git tree. Patches in the kernel-7.4.signal branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: kernel-7.4.signal [1/1] selftests: pid_namespace: test fork with dead ancestor https://git.kernel.org/vfs/vfs/c/2ec5a0709461

