]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/namespaces: add listns() wrapper
authorChristian Brauner <brauner@kernel.org>
Wed, 29 Oct 2025 12:20:51 +0000 (13:20 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 16:41:20 +0000 (17:41 +0100)
commit158c5c786e91675a508a3afdda2f38973b487ff0
tree7f4eed83342ff391c43cf8e58cd938fe3bb44170
parentda3c02b70cd980d8c0c8fded5d890b9f118309e1
selftests/namespaces: add listns() wrapper

Add a wrapper for the listns() system call.

Link: https://patch.msgid.link/20251029-work-namespace-nstree-listns-v4-38-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/wrappers.h [new file with mode: 0644]