[LTP] [PATCH v2 0/6] file_setattr/file_getattr testing suite
Andrea Cervesato
andrea.cervesato@suse.de
Mon Aug 4 20:17:09 CEST 2025
This testing suite is validating file_getattr and file_setattr
syscalls, introducing tests for error validation and basic
functionalities. These features have been introduced in the kernel 6.17.
https://lore.kernel.org/lkml/20250725-vfs-fileattr-fcfc534aac44@brauner/
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v2:
- remove unrelated files
- fix fs.h ifndef
- Link to v1: https://lore.kernel.org/r/20250804-file_setattr_getattr-v1-0-6a43c3962c87@suse.com
---
Andrea Cervesato (6):
Update LTP to the latest syscalls
fs: add struct fsxattr fallback definitions
fs: add file_setattr/file_getattr fallback definitions
Add file_attr01 test
Add file_attr02 test
Add file_attr03 test
configure.ac | 3 +
include/lapi/fs.h | 52 +++++++
include/lapi/syscalls/arc.in | 7 +
include/lapi/syscalls/arm.in | 7 +
include/lapi/syscalls/arm64.in | 7 +
include/lapi/syscalls/i386.in | 7 +
include/lapi/syscalls/loongarch64.in | 7 +
include/lapi/syscalls/mips64.in | 7 +
include/lapi/syscalls/mips64n32.in | 7 +
include/lapi/syscalls/mipso32.in | 7 +
include/lapi/syscalls/parisc.in | 7 +
include/lapi/syscalls/powerpc.in | 7 +
include/lapi/syscalls/powerpc64.in | 7 +
include/lapi/syscalls/s390.in | 7 +
include/lapi/syscalls/s390x.in | 7 +
include/lapi/syscalls/sh.in | 7 +
include/lapi/syscalls/sparc.in | 7 +
include/lapi/syscalls/sparc64.in | 7 +
include/lapi/syscalls/x86_64.in | 7 +
runtest/syscalls | 4 +
testcases/kernel/syscalls/file_attr/.gitignore | 3 +
testcases/kernel/syscalls/file_attr/Makefile | 8 +
testcases/kernel/syscalls/file_attr/file_attr01.c | 171 ++++++++++++++++++++++
testcases/kernel/syscalls/file_attr/file_attr02.c | 94 ++++++++++++
testcases/kernel/syscalls/file_attr/file_attr03.c | 81 ++++++++++
25 files changed, 535 insertions(+)
---
base-commit: 6505f9e29960fa842067ee622cdc6632f9142fb7
change-id: 20250801-file_setattr_getattr-74963fd52b05
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list