]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/namespaces: third active reference count tests
authorChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 12:20:38 +0000 (13:20 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 16:41:19 +0000 (17:41 +0100)
commitc6e25d930b4b6e15e6b16b528e3f14c03c90f14c
treee59537c529b01359052bd855e9eb197d1fbf939b
parent721c7e41b184714cb173b04365a168d58522f9fc
selftests/namespaces: third active reference count tests

Test that a namespace remains active while a process is using it,
even after the creating process exits.

Link: https://patch.msgid.link/20251029-work-namespace-nstree-listns-v4-25-2e6f823ebdc0@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/namespaces/ns_active_ref_test.c