]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: add a test for the foreign mnt ns extensions
authorJosef Bacik <josef@toxicpanda.com>
Mon, 24 Jun 2024 15:49:51 +0000 (11:49 -0400)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Jun 2024 12:36:42 +0000 (14:36 +0200)
commitd896f71ce1f2e73813dc6f639eb0cf6f4beefdaa
tree4a0d756855ed36e8a0bf2bc0a4a3595ca063567d
parente8e43a1fcc5c07575f37e40f8a2cd78aee46f9a0
selftests: add a test for the foreign mnt ns extensions

This tests both statmount and listmount to make sure they work with the
extensions that allow us to specify a mount ns to enter in order to find
the mount entries.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/2d1a35bc9ab94b4656c056c420f25e429e7eb0b1.1719243756.git.josef@toxicpanda.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/filesystems/statmount/Makefile
tools/testing/selftests/filesystems/statmount/statmount.h [new file with mode: 0644]
tools/testing/selftests/filesystems/statmount/statmount_test.c
tools/testing/selftests/filesystems/statmount/statmount_test_ns.c [new file with mode: 0644]