[LTP] [PATCH v4 0/2] Add listxattr04 test reproducer
Andrea Cervesato
andrea.cervesato@suse.de
Tue Jul 22 08:55:55 CEST 2025
Reproducer for https://lore.kernel.org/linux-fsdevel/m1wm9qund4.fsf@gmail.com/T/
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v4:
- check if SELinux is enabled by looking at the mount point
- Link to v3: https://lore.kernel.org/r/20250709-xattr_bug_repr-v3-0-379c2c291bb7@suse.com
Changes in v3:
- add tst_selinux_enabled() utility
- Link to v2: https://lore.kernel.org/r/20250703-xattr_bug_repr-v2-1-154e9afe2463@suse.com
Changes in v2:
- only check if SELinux is up and running
- Link to v1: https://lore.kernel.org/r/20250703-xattr_bug_repr-v1-1-5dcf5dde8b61@suse.com
---
Andrea Cervesato (2):
core: add tst_selinux_enabled() utility
Add listxattr04 reproducer
include/tst_security.h | 1 +
lib/tst_security.c | 15 ++-
testcases/kernel/syscalls/listxattr/.gitignore | 1 +
testcases/kernel/syscalls/listxattr/Makefile | 2 +
testcases/kernel/syscalls/listxattr/listxattr04.c | 108 ++++++++++++++++++++++
5 files changed, 126 insertions(+), 1 deletion(-)
---
base-commit: 81ba405dfbd9a36284ec83daa3d8938c1558340f
change-id: 20250702-xattr_bug_repr-5873b84792fb
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list