]> Gentwo Git Trees - linux/.git/commit
selftests/namespaces: first inactive namespace resurrection test
authorChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 12:21:08 +0000 (13:21 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 16:41:22 +0000 (17:41 +0100)
commita1e49d8d18ba0fc53f1a2d5453af32b6339b67cf
tree8cf0d6f89df36f1fec0ae9aae73fa2797ba3379b
parent39bcc7ae57867110265bbbf60999e85b522ae624
selftests/namespaces: first inactive namespace resurrection test

Test basic SIOCGSKNS functionality. Create a socket and verify SIOCGSKNS
returns the correct network namespace.

Link: https://patch.msgid.link/20251029-work-namespace-nstree-listns-v4-55-2e6f823ebdc0@kernel.org
Tested-by: syzbot@syzkaller.appspotmail.com
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/namespaces/.gitignore
tools/testing/selftests/namespaces/Makefile
tools/testing/selftests/namespaces/siocgskns_test.c [new file with mode: 0644]