[LTP] [PATCH v1 00/10] statmount/listmount testing suites
Andrea Cervesato
andrea.cervesato@suse.com
Wed May 15 12:31:46 CEST 2024
Hi,
I need to send a second version because I noticed that it's not building
for all supported distros
due to missing headers inclusion.
On 5/15/24 11:33, Andrea Cervesato wrote:
> From: Andrea Cervesato <andrea.cervesato@suse.com>
>
> This patch-set is adding new testing suites for statmount() and listmount()
> syscalls, which have been recently added in kernel v6.8.
> To find out more information, please read the following documentation since
> there's no man pages yet:
>
> https://lwn.net/Articles/950569/
> https://lore.kernel.org/lkml/170474400576.2602.7882507604401153304.pr-tracker-bot@kernel.org/T/
>
> Along with kernel source code:
>
> https://github.com/torvalds/linux/blob/1b294a1f35616977caddaddf3e9d28e576a1adbc/include/uapi/linux/mount.h#L155
> https://github.com/torvalds/linux/blob/1b294a1f35616977caddaddf3e9d28e576a1adbc/tools/testing/selftests/filesystems/statmount/statmount_test.c
>
> Andrea Cervesato (10):
> Add SAFE_STATX macro
> Add listmount/statmount fallback declarations
> Add listmount01 test
> Add listmount02 test
> Add stamount01 test
> Add statmount02 test
> Add statmount03 test
> Add statmount04 test
> Add statmount05 test
> Add statmount06 test
>
> configure.ac | 5 +
> include/lapi/mount.h | 67 +++++++++
> include/lapi/stat.h | 10 +-
> include/lapi/syscalls/aarch64.in | 2 +
> include/lapi/syscalls/arc.in | 2 +
> include/lapi/syscalls/arm.in | 2 +
> include/lapi/syscalls/hppa.in | 2 +
> include/lapi/syscalls/i386.in | 2 +
> include/lapi/syscalls/ia64.in | 2 +
> include/lapi/syscalls/loongarch.in | 2 +
> include/lapi/syscalls/mips_n32.in | 2 +
> include/lapi/syscalls/mips_n64.in | 2 +
> include/lapi/syscalls/mips_o32.in | 2 +
> include/lapi/syscalls/powerpc.in | 2 +
> include/lapi/syscalls/powerpc64.in | 2 +
> include/lapi/syscalls/s390.in | 2 +
> include/lapi/syscalls/s390x.in | 2 +
> include/lapi/syscalls/sh.in | 2 +
> include/lapi/syscalls/sparc.in | 2 +
> include/lapi/syscalls/sparc64.in | 2 +
> include/lapi/syscalls/x86_64.in | 2 +
> include/tst_safe_macros.h | 7 +
> lib/tst_safe_macros.c | 21 +++
> runtest/syscalls | 10 ++
> .../kernel/syscalls/listmount/.gitignore | 2 +
> testcases/kernel/syscalls/listmount/Makefile | 7 +
> .../kernel/syscalls/listmount/listmount.h | 26 ++++
> .../kernel/syscalls/listmount/listmount01.c | 66 +++++++++
> .../kernel/syscalls/listmount/listmount02.c | 106 ++++++++++++++
> .../kernel/syscalls/statmount/.gitignore | 6 +
> testcases/kernel/syscalls/statmount/Makefile | 7 +
> .../kernel/syscalls/statmount/statmount.h | 26 ++++
> .../kernel/syscalls/statmount/statmount01.c | 69 +++++++++
> .../kernel/syscalls/statmount/statmount02.c | 76 ++++++++++
> .../kernel/syscalls/statmount/statmount03.c | 99 +++++++++++++
> .../kernel/syscalls/statmount/statmount04.c | 133 +++++++++++++++++
> .../kernel/syscalls/statmount/statmount05.c | 138 ++++++++++++++++++
> .../kernel/syscalls/statmount/statmount06.c | 73 +++++++++
> 38 files changed, 989 insertions(+), 1 deletion(-)
> create mode 100644 testcases/kernel/syscalls/listmount/.gitignore
> create mode 100644 testcases/kernel/syscalls/listmount/Makefile
> create mode 100644 testcases/kernel/syscalls/listmount/listmount.h
> create mode 100644 testcases/kernel/syscalls/listmount/listmount01.c
> create mode 100644 testcases/kernel/syscalls/listmount/listmount02.c
> create mode 100644 testcases/kernel/syscalls/statmount/.gitignore
> create mode 100644 testcases/kernel/syscalls/statmount/Makefile
> create mode 100644 testcases/kernel/syscalls/statmount/statmount.h
> create mode 100644 testcases/kernel/syscalls/statmount/statmount01.c
> create mode 100644 testcases/kernel/syscalls/statmount/statmount02.c
> create mode 100644 testcases/kernel/syscalls/statmount/statmount03.c
> create mode 100644 testcases/kernel/syscalls/statmount/statmount04.c
> create mode 100644 testcases/kernel/syscalls/statmount/statmount05.c
> create mode 100644 testcases/kernel/syscalls/statmount/statmount06.c
>
More information about the ltp
mailing list