]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/namespace: first threaded active reference count test
authorChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 12:21:20 +0000 (13:21 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 16:41:24 +0000 (17:41 +0100)
commit29f083c499821663c2a0863fd2b9c06883c2b19d
treeb556434400ac537fc6aa9dcd738e40cbed04c094
parentc89d100f6a10efc1ee90d44125a5500bd5e6ab77
selftests/namespace: first threaded active reference count test

Test that namespace becomes inactive after thread exits. This verifies
active reference counting works with threads, not just processes.

Link: https://patch.msgid.link/20251029-work-namespace-nstree-listns-v4-67-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