linux/tools/testing/selftests/filesystems
Amir Goldstein e897b9b133
selftests/filesystems: create get_unique_mnt_id() helper
Add helper to utils.c and use it in mount-notify and statmount tests.

Linking with utils.c drags in a dependecy with libcap, so add it to the
Makefile of the tests.

Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Link: https://lore.kernel.org/20250509133240.529330-7-amir73il@gmail.com
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-05-12 11:40:12 +02:00
..
binderfs binderfs: binderfs_test: remove unused variable 2024-10-13 17:11:45 +02:00
epoll selftests: filesystems: Fix incorrect kernel headers search path 2023-02-13 09:09:44 -07:00
eventfd selftests: introduce additional eventfd test coverage 2024-06-24 22:25:04 -07:00
fat selftests/filesystems: Add six consecutive 'x' characters to mktemp 2023-08-16 10:10:39 -06:00
mount-notify selftests/filesystems: create get_unique_mnt_id() helper 2025-05-12 11:40:12 +02:00
nsfs selftests/nsfs: add ioctl validation tests 2025-02-20 09:13:52 +01:00
overlayfs selftests/filesystems: move wrapper.h out of overlayfs subdir 2025-05-12 11:40:12 +02:00
statmount selftests/filesystems: create get_unique_mnt_id() helper 2025-05-12 11:40:12 +02:00
.gitignore selftests: add file SLAB_TYPESAFE_BY_RCU recycling stressor 2024-10-30 09:58:02 +01:00
devpts_pts.c selftests: filesystems: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
dnotify_test.c
file_stressor.c selftests: add file SLAB_TYPESAFE_BY_RCU recycling stressor 2024-10-30 09:58:02 +01:00
Makefile selftests: add file SLAB_TYPESAFE_BY_RCU recycling stressor 2024-10-30 09:58:02 +01:00
utils.c selftests/filesystems: create get_unique_mnt_id() helper 2025-05-12 11:40:12 +02:00
utils.h selftests/filesystems: create get_unique_mnt_id() helper 2025-05-12 11:40:12 +02:00
wrappers.h selftests/pidfd: move syscall definitions into wrappers.h 2025-05-12 11:40:12 +02:00